gst/gst.c: Escape a % to make gtkdoc happier; bug 322958.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-02  Michael Smith  <msmith@fluendo.com>
2
3         * gst/gst.c:
4           Escape a % to make gtkdoc happier; bug 322958.
5
6 === release 0.9.7 ===
7
8 2005-12-01   <thomas (at) apestaart (dot) org>
9
10         * configure.ac:
11           releasing 0.9.7, "My Dog Has No Nose"
12
13 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14
15         * common/gst-xmlinspect.py:
16         * configure.ac:
17         * docs/libs/tmpl/gstdataprotocol.sgml:
18         * docs/random/release:
19         * po/af.po:
20         * po/az.po:
21         * po/bg.po:
22         * po/ca.po:
23         * po/cs.po:
24         * po/de.po:
25         * po/en_GB.po:
26         * po/fr.po:
27         * po/it.po:
28         * po/nb.po:
29         * po/nl.po:
30         * po/ru.po:
31         * po/sq.po:
32         * po/sr.po:
33         * po/sv.po:
34         * po/tr.po:
35         * po/uk.po:
36         * po/vi.po:
37         * win32/common/config.h:
38         * win32/common/config.h.in:
39         * win32/vs6/gst_inspect.dsp:
40         * win32/vs6/gst_launch.dsp:
41         * win32/vs6/libgstbase.dsp:
42         * win32/vs6/libgstelements.dsp:
43         * win32/vs6/libgstreamer.dsp:
44         * win32/vs7/GStreamer.vcproj:
45         * win32/vs7/gst-inspect.vcproj:
46         * win32/vs7/gst-launch.vcproj:
47         * win32/vs7/libgstbase.vcproj:
48           bump GST_MAJORMINOR to 0.10
49           reset libtool version
50
51 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
52
53         * po/LINGUAS:
54         * po/bg.po:
55           Added Bulgarian translation by (Alexander Shopov)
56
57 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
58
59         * tests/check/gst/gstplugin.c:
60           fix test
61
62 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
63
64         * common/gst-xmlinspect.py:
65         * common/gtk-doc-plugins.mak:
66         * configure.ac:
67         * docs/Makefile.am:
68         * docs/gst/Makefile.am:
69         * docs/gst/gstreamer-docs.sgml:
70         * docs/gst/gstreamer-sections.txt:
71         * docs/gst/gstreamer.types:
72         * docs/gst/gstreamer.types.in:
73         * docs/plugins/Makefile.am:
74         * docs/plugins/gstreamer-plugins-docs.sgml:
75         * docs/plugins/gstreamer-plugins-sections.txt:
76         * docs/plugins/gstreamer-plugins.types:
77         * docs/plugins/inspect.stamp:
78         * docs/plugins/inspect/plugin-coreelements.xml:
79         * docs/plugins/inspect/plugin-coreindexers.xml:
80         * docs/plugins/scanobj-build.stamp:
81         * gstreamer.spec.in:
82         * plugins/elements/Makefile.am:
83         * plugins/elements/gstelements.c:
84         * plugins/elements/gstfakesink.c:
85         * plugins/elements/gstfakesrc.c:
86         * plugins/elements/gstfilesink.c:
87         * plugins/elements/gstfilesrc.c:
88         * plugins/elements/gstqueue.c:
89         * plugins/indexers/Makefile.am:
90         * plugins/indexers/gstindexers.c:
91           document core plugins in a separate document just like all the
92           others
93           rename these plugins to something starting with core
94
95 2005-12-01  Andy Wingo  <wingo@pobox.com>
96
97         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
98         padding here before, but it missed the commit.
99
100 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
101
102         * libs/gst/controller/gstinterpolation.c:
103           whitespace prices have crashed, we should feel free to use some now
104           use gst_guint64_to_gdouble
105
106 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
107
108         * libs/gst/controller/gstcontroller.c:
109         * libs/gst/controller/gsthelper.c:
110         * libs/gst/controller/gstinterpolation.c:
111         * libs/gst/controller/lib.c:
112           wrap config.h include
113
114 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
115
116         * docs/gst/gstreamer-sections.txt:
117           update docs
118
119 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
120
121         * plugins/elements/gstelements.c:
122         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
123         (gst_fd_sink__class_init), (gst_fd_sink__init),
124         (gst_fd_sink__chain), (gst_fd_sink__set_property),
125         (gst_fd_sink__get_property):
126         * plugins/elements/gstfdsink.h:
127         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
128         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
129         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
130         (gst_fd_src_unlock), (gst_fd_src_set_property),
131         (gst_fd_src_get_property), (gst_fd_src_create),
132         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
133         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
134         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
135         (gst_fd_src_uri_handler_init):
136         * plugins/elements/gstfdsrc.h:
137         * plugins/elements/gstqueue.c: (gst_queue_get_type):
138           more anal cleanup
139
140 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
141
142         * docs/gst/Makefile.am:
143         * docs/gst/gstreamer.types.in:
144         * gst/Makefile.am:
145           fix the docs build
146
147 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
148
149         * configure.ac:
150         * gst/Makefile.am:
151         * gst/gst.c:
152         * gst/gstplugin.h:
153         * gst/gstregistry.h:
154         * tests/benchmarks/complexity.c:
155         * tests/benchmarks/mass-elements.c:
156         * tests/check/Makefile.am:
157         * tools/Makefile.am:
158         * tools/gst-inspect.c:
159         * tools/gst-xmlinspect.c:
160           various fixes to make
161           --disable-nls --disable-registry --disable-loadsave
162           --disable-parse --disable-gst-debug
163           work and get the core .so down to 360444 bytes after stripping
164
165 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
166
167         * Makefile.am:
168         * configure.ac:
169           descend into tests
170         * docs/random/thomasvs/TODO:
171         * tests/Makefile.am:
172         * tests/README:
173           add a README
174
175 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
176
177         * win32/GStreamer.vcproj:
178         * win32/MANIFEST:
179         * win32/Makefile:
180         * win32/Makefile.inspect:
181         * win32/Makefile.launch:
182         * win32/Makefile.register:
183         * win32/README.txt:
184         * win32/gst-inspect.vcproj:
185         * win32/gst-launch.vcproj:
186         * win32/gst-register.vcproj:
187         * win32/gstelements.vcproj:
188         * win32/gstgetbits.def:
189         * win32/gstgetbits.vcproj:
190         * win32/gstreamer-dbg.def:
191         * win32/gstreamer.def:
192         * win32/libgstbase.def:
193         * win32/libgstbase.vcproj:
194         * win32/link_oldruntime.c:
195         * win32/mman.c:
196         * win32/mman.h:
197         * win32/mman.inl:
198         * win32/msvc71.sln:
199           move even more stuff, win32/ is nice and clean now
200
201 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
202
203         * libs/gst/control/.cvsignore:
204         * win32/MANIFEST:
205         * win32/config.h:
206         * win32/dirent.c:
207         * win32/dirent.h:
208         * win32/gstbytestream.def:
209         * win32/gstbytestream.vcproj:
210         * win32/gstconfig.h:
211         * win32/gstenumtypes.c:
212         * win32/gstenumtypes.h:
213         * win32/gstoptimalscheduler.vcproj:
214         * win32/gstversion.h:
215         * win32/gtchar.h:
216         * win32/testsuite/bins.vcproj:
217         * win32/testsuite/bytestream.vcproj:
218         * win32/testsuite/caps.vcproj:
219         * win32/testsuite/cleanup.vcproj:
220         * win32/testsuite/clock.vcproj:
221         * win32/testsuite/debug.vcproj:
222         * win32/testsuite/dlopen.vcproj:
223         * win32/testsuite/dynparams.vcproj:
224         * win32/testsuite/elements.vcproj:
225         * win32/testsuite/ghostpads.vcproj:
226         * win32/testsuite/indexers.vcproj:
227         * win32/testsuite/negotiation.vcproj:
228         * win32/testsuite/parse.vcproj:
229         * win32/testsuite/plugin.vcproj:
230         * win32/testsuite/refcounting.vcproj:
231         * win32/testsuite/schedulers.vcproj:
232         * win32/testsuite/states.vcproj:
233         * win32/testsuite/tags.vcproj:
234         * win32/testsuite/threads.vcproj:
235           remove old win32 stuff that isn't maintained and should be
236           reorganized
237
238 2005-11-30  Andy Wingo  <wingo@pobox.com>
239
240         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
241         loading the gst.interfaces python module bork.
242
243         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
244         available since GLib 2.2. Fixes #318031.
245
246 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
247
248         * Makefile.am:
249         * check/.cvsignore:
250         * check/Makefile.am:
251         * check/elements/.cvsignore:
252         * check/elements/fakesrc.c:
253         * check/elements/fdsrc.c:
254         * check/elements/identity.c:
255         * check/generic/.cvsignore:
256         * check/generic/states.c:
257         * check/gst-libs/.cvsignore:
258         * check/gst-libs/controller.c:
259         * check/gst-libs/gdp.c:
260         * check/gst/.cvsignore:
261         * check/gst/capslist.h:
262         * check/gst/gst.c:
263         * check/gst/gstbin.c:
264         * check/gst/gstbuffer.c:
265         * check/gst/gstbus.c:
266         * check/gst/gstcaps.c:
267         * check/gst/gstelement.c:
268         * check/gst/gstevent.c:
269         * check/gst/gstghostpad.c:
270         * check/gst/gstiterator.c:
271         * check/gst/gstmessage.c:
272         * check/gst/gstminiobject.c:
273         * check/gst/gstobject.c:
274         * check/gst/gstpad.c:
275         * check/gst/gstpipeline.c:
276         * check/gst/gstplugin.c:
277         * check/gst/gstsegment.c:
278         * check/gst/gststructure.c:
279         * check/gst/gstsystemclock.c:
280         * check/gst/gsttag.c:
281         * check/gst/gstutils.c:
282         * check/gst/gstvalue.c:
283         * check/net/.cvsignore:
284         * check/net/gstnetclientclock.c:
285         * check/net/gstnettimeprovider.c:
286         * check/pipelines/.cvsignore:
287         * check/pipelines/cleanup.c:
288         * check/pipelines/simple_launch_lines.c:
289         * check/pipelines/stress.c:
290         * check/states/.cvsignore:
291         * check/states/sinks.c:
292         * configure.ac:
293         * examples/Makefile.am:
294         * examples/appreader/.cvsignore:
295         * examples/appreader/Makefile.am:
296         * examples/appreader/appreader.c:
297         * examples/controller/.cvsignore:
298         * examples/controller/Makefile.am:
299         * examples/controller/audio-example.c:
300         * examples/cutter/.cvsignore:
301         * examples/cutter/Makefile.am:
302         * examples/cutter/cutter.c:
303         * examples/cutter/cutter.h:
304         * examples/events/Makefile.am:
305         * examples/events/seek.c:
306         * examples/helloworld/.cvsignore:
307         * examples/helloworld/Makefile.am:
308         * examples/helloworld/helloworld.c:
309         * examples/helloworld2/.cvsignore:
310         * examples/helloworld2/Makefile.am:
311         * examples/helloworld2/helloworld2.c:
312         * examples/launch/.cvsignore:
313         * examples/launch/Makefile.am:
314         * examples/launch/mp3parselaunch.c:
315         * examples/launch/mp3play:
316         * examples/manual/.cvsignore:
317         * examples/manual/Makefile.am:
318         * examples/manual/extract.pl:
319         * examples/metadata/Makefile.am:
320         * examples/metadata/read-metadata.c:
321         * examples/mixer/.cvsignore:
322         * examples/mixer/Makefile.am:
323         * examples/mixer/mixer.c:
324         * examples/mixer/mixer.h:
325         * examples/pingpong/.cvsignore:
326         * examples/pingpong/Makefile.am:
327         * examples/pingpong/pingpong.c:
328         * examples/plugins/.cvsignore:
329         * examples/plugins/Makefile.am:
330         * examples/plugins/example.c:
331         * examples/plugins/example.h:
332         * examples/pwg/.cvsignore:
333         * examples/pwg/Makefile.am:
334         * examples/pwg/extract.pl:
335         * examples/queue/.cvsignore:
336         * examples/queue/Makefile.am:
337         * examples/queue/queue.c:
338         * examples/queue2/.cvsignore:
339         * examples/queue2/Makefile.am:
340         * examples/queue2/queue2.c:
341         * examples/queue3/.cvsignore:
342         * examples/queue3/Makefile.am:
343         * examples/queue3/queue3.c:
344         * examples/queue4/.cvsignore:
345         * examples/queue4/Makefile.am:
346         * examples/queue4/queue4.c:
347         * examples/retag/.cvsignore:
348         * examples/retag/Makefile.am:
349         * examples/retag/retag.c:
350         * examples/retag/transcode.c:
351         * examples/thread/.cvsignore:
352         * examples/thread/Makefile.am:
353         * examples/thread/thread.c:
354         * examples/typefind/.cvsignore:
355         * examples/typefind/Makefile.am:
356         * examples/typefind/typefind.c:
357         * examples/xml/.cvsignore:
358         * examples/xml/Makefile.am:
359         * examples/xml/createxml.c:
360         * examples/xml/runxml.c:
361         * tests/Makefile.am:
362         * tests/check/Makefile.am:
363         * testsuite/.cvsignore:
364         * testsuite/Makefile.am:
365         * testsuite/Rules:
366         * testsuite/caps/.cvsignore:
367         * testsuite/caps/Makefile.am:
368         * testsuite/caps/app_fixate.c:
369         * testsuite/caps/audioscale.c:
370         * testsuite/caps/caps.c:
371         * testsuite/caps/caps.h:
372         * testsuite/caps/caps_strings:
373         * testsuite/caps/compatibility.c:
374         * testsuite/caps/deserialize.c:
375         * testsuite/caps/enumcaps.c:
376         * testsuite/caps/eratosthenes.c:
377         * testsuite/caps/filtercaps.c:
378         * testsuite/caps/fixed.c:
379         * testsuite/caps/fraction-convert.c:
380         * testsuite/caps/fraction-multiply-and-zero.c:
381         * testsuite/caps/intersect2.c:
382         * testsuite/caps/intersection.c:
383         * testsuite/caps/normalisation.c:
384         * testsuite/caps/random.c:
385         * testsuite/caps/renegotiate.c:
386         * testsuite/caps/sets.c:
387         * testsuite/caps/simplify.c:
388         * testsuite/caps/string-conversions.c:
389         * testsuite/caps/structure.c:
390         * testsuite/caps/subtract.c:
391         * testsuite/caps/union.c:
392         * testsuite/debug/.cvsignore:
393         * testsuite/debug/Makefile.am:
394         * testsuite/debug/category.c:
395         * testsuite/debug/commandline.c:
396         * testsuite/debug/global.c:
397         * testsuite/debug/output.c:
398         * testsuite/debug/printf_extension.c:
399         * testsuite/dlopen/.cvsignore:
400         * testsuite/dlopen/Makefile.am:
401         * testsuite/dlopen/dlopen_gst.c:
402         * testsuite/dlopen/loadgst.c:
403         * testsuite/elements/.cvsignore:
404         * testsuite/elements/Makefile.am:
405         * testsuite/elements/gst-inspect-check.in:
406         * testsuite/elements/struct_i386.h:
407         * testsuite/elements/struct_size.c:
408         * testsuite/indexers/.cvsignore:
409         * testsuite/indexers/Makefile.am:
410         * testsuite/indexers/cache1.c:
411         * testsuite/indexers/indexdump.c:
412         * testsuite/parse/.cvsignore:
413         * testsuite/parse/Makefile.am:
414         * testsuite/parse/parse1.c:
415         * testsuite/parse/parse2.c:
416         * testsuite/plugin/.cvsignore:
417         * testsuite/plugin/Makefile.am:
418         * testsuite/plugin/README:
419         * testsuite/plugin/dynamic.c:
420         * testsuite/plugin/linked.c:
421         * testsuite/plugin/loading.c:
422         * testsuite/plugin/registry.c:
423         * testsuite/plugin/static.c:
424         * testsuite/plugin/static2.c:
425         * testsuite/plugin/testplugin.c:
426         * testsuite/plugin/testplugin2.c:
427         * testsuite/plugin/testplugin2_s.c:
428         * testsuite/plugin/testplugin_s.c:
429         * testsuite/refcounting/.cvsignore:
430         * testsuite/refcounting/Makefile.am:
431         * testsuite/refcounting/bin.c:
432         * testsuite/refcounting/element.c:
433         * testsuite/refcounting/element_pad.c:
434         * testsuite/refcounting/mainloop.c:
435         * testsuite/refcounting/mem.c:
436         * testsuite/refcounting/mem.h:
437         * testsuite/refcounting/object.c:
438         * testsuite/refcounting/pad.c:
439         * testsuite/refcounting/sched.c:
440         * testsuite/refcounting/thread.c:
441         * testsuite/states/.cvsignore:
442         * testsuite/states/Makefile.am:
443         * testsuite/states/bin.c:
444         * testsuite/states/locked.c:
445         * testsuite/states/parent.c:
446         * testsuite/threads/.cvsignore:
447         * testsuite/threads/159566.c:
448         * testsuite/threads/159852.c:
449         * testsuite/threads/Makefile.am:
450         * testsuite/threads/queue.c:
451         * testsuite/threads/signals.c:
452         * testsuite/threads/staticrec.c:
453         * testsuite/threads/thread.c:
454         * testsuite/threads/threadb.c:
455         * testsuite/threads/threadc.c:
456         * testsuite/threads/threadd.c:
457         * testsuite/threads/threade.c:
458         * testsuite/threads/threadf.c:
459         * testsuite/threads/threadg.c:
460         * testsuite/threads/threadh.c:
461         * testsuite/threads/threadi.c:
462           move all of these under tests
463
464 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
465
466         * configure.ac:
467         * tests/Makefile.am:
468           fix distcheck
469
470 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
471
472         * docs/gst/gstreamer-sections.txt:
473         * tests/sched/.cvsignore:
474         * tests/sched/Makefile.am:
475         * tests/sched/cases/(fs-fs).xml:
476         * tests/sched/cases/(fs-i-fs).xml:
477         * tests/sched/cases/(fs-i-i-fs).xml:
478         * tests/sched/cases/(fs-i-q[i-fs]).xml:
479         * tests/sched/dynamic-pipeline.c:
480         * tests/sched/interrupt1.c:
481         * tests/sched/interrupt2.c:
482         * tests/sched/interrupt3.c:
483         * tests/sched/runtestcases:
484         * tests/sched/runxml.c:
485         * tests/sched/sched-stress.c:
486         * tests/sched/sort.c:
487         * tests/sched/testcases:
488         * tests/sched/testcases1.tc:
489         * tests/seeking/.cvsignore:
490         * tests/seeking/Makefile.am:
491         * tests/seeking/seeking1.c:
492         * tests/threadstate/.cvsignore:
493         * tests/threadstate/Makefile.am:
494         * tests/threadstate/test1.c:
495         * tests/threadstate/test2.c:
496         * tests/threadstate/threadstate1.c:
497         * tests/threadstate/threadstate2.c:
498         * tests/threadstate/threadstate3.c:
499         * tests/threadstate/threadstate4.c:
500         * tests/threadstate/threadstate5.c:
501           remove obsolete tests
502         * configure.ac:
503         * tests/bench-complexity.scm:
504         * tests/bench-mass_elements.scm:
505         * tests/complexity.c:
506         * tests/complexity.gnuplot:
507         * tests/instantiate/.cvsignore:
508         * tests/instantiate/Makefile.am:
509         * tests/instantiate/caps.c:
510         * tests/mass_elements.c:
511         * tests/network-clock-utils.scm:
512         * tests/network-clock.scm:
513         * tests/plot-data:
514         First pass at cleaning up tests/ dir before moving the rest
515         Combined with CVS surgery
516
517 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
518
519         * po/POTFILES.in:
520           queue has moved, update
521
522 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
523
524         * docs/gst/gstreamer-sections.txt:
525           remove double entries from the docs
526         * gst/gst_private.h:
527         * gst/gstinfo.c: (_gst_debug_init):
528           remove the THREAD debug category
529         * gst/Makefile.am:
530         * gst/gstqueue.c:
531         * gst/gstqueue.h:
532         * docs/gst/gstreamer.types:
533         * plugins/elements/gstqueue.c: (gst_queue_get_type),
534         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
535           completely move queue and fix up debugging categories
536
537 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
538
539         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
540           make initialization portable, using LL is not
541
542 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
543
544         * win32/common/gstconfig.h:
545           add large padding
546
547 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
548
549         * win32/common/libgstreamer.def:
550           rename symbols; sort base section
551
552 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
553
554         * gst/gstclock.c: (do_linear_regression):
555           remove crack non-portable handrolled DEBUG macro
556
557 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
558
559         * docs/random/release:
560           update notes
561         * win32/common/gstenumtypes.c: (register_gst_object_flags),
562         (gst_object_flags_get_type), (register_gst_bin_flags),
563         (gst_bin_flags_get_type), (register_gst_buffer_flag),
564         (gst_buffer_flag_get_type), (register_gst_bus_flags),
565         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
566         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
567         (gst_caps_flags_get_type), (register_gst_clock_return),
568         (gst_clock_return_get_type), (register_gst_clock_entry_type),
569         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
570         (gst_clock_flags_get_type), (register_gst_state),
571         (gst_state_get_type), (register_gst_state_change_return),
572         (gst_state_change_return_get_type), (register_gst_state_change),
573         (gst_state_change_get_type), (register_gst_element_flags),
574         (gst_element_flags_get_type), (register_gst_core_error),
575         (gst_core_error_get_type), (register_gst_library_error),
576         (gst_library_error_get_type), (register_gst_resource_error),
577         (gst_resource_error_get_type), (register_gst_stream_error),
578         (gst_stream_error_get_type), (register_gst_event_type_flags),
579         (gst_event_type_flags_get_type), (register_gst_event_type),
580         (gst_event_type_get_type), (register_gst_seek_type),
581         (gst_seek_type_get_type), (register_gst_seek_flags),
582         (gst_seek_flags_get_type), (register_gst_format),
583         (gst_format_get_type), (register_gst_index_certainty),
584         (gst_index_certainty_get_type), (register_gst_index_entry_type),
585         (gst_index_entry_type_get_type),
586         (register_gst_index_lookup_method),
587         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
588         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
589         (gst_index_resolver_method_get_type), (register_gst_index_flags),
590         (gst_index_flags_get_type), (register_gst_debug_level),
591         (gst_debug_level_get_type), (register_gst_debug_color_flags),
592         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
593         (gst_iterator_result_get_type), (register_gst_iterator_item),
594         (gst_iterator_item_get_type), (register_gst_message_type),
595         (gst_message_type_get_type), (register_gst_mini_object_flags),
596         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
597         (gst_pad_link_return_get_type), (register_gst_flow_return),
598         (gst_flow_return_get_type), (register_gst_activate_mode),
599         (gst_activate_mode_get_type), (register_gst_pad_direction),
600         (gst_pad_direction_get_type), (register_gst_pad_flags),
601         (gst_pad_flags_get_type), (register_gst_pad_presence),
602         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
603         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
604         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
605         (gst_plugin_error_get_type), (register_gst_plugin_flags),
606         (gst_plugin_flags_get_type), (register_gst_rank),
607         (gst_rank_get_type), (register_gst_query_type),
608         (gst_query_type_get_type), (register_gst_tag_merge_mode),
609         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
610         (gst_tag_flag_get_type), (register_gst_task_state),
611         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
612         (gst_alloc_trace_flags_get_type),
613         (register_gst_type_find_probability),
614         (gst_type_find_probability_get_type), (register_gst_uri_type),
615         (gst_uri_type_get_type), (register_gst_parse_error),
616         (gst_parse_error_get_type):
617         * win32/common/gstenumtypes.h:
618         * win32/common/gstversion.h:
619           update visual studio generated files
620
621 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
622
623         * win32/vs6/libgstbase.dsp:
624         * win32/vs6/libgstelements.dsp:
625           update project files for new locations
626
627 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
628
629         * Makefile.am:
630           remove some files
631         * README:
632           reinstate and update
633         * DEVEL:
634         * REQUIREMENTS:
635           removed
636         * LICENSE:
637         * docs/random/LICENSE:
638           moved to random
639
640 2005-11-30  Edward Hervey  <edward@fluendo.com>
641
642         * gst/gsttypefind.c: (gst_type_find_register):
643         * gst/gsttypefind.h:
644         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
645         (gst_type_find_factory_dispose):
646         * gst/gsttypefindfactory.h:
647         Fix memory leak in GstTypeFindFactory.
648
649 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
650
651         * gst/gst.c:
652         * plugins/elements/Makefile.am:
653         * plugins/elements/gstelements.c:
654         * plugins/elements/gstqueue.c:
655           move queue from core to the elements plugin
656
657 2005-11-29  Andy Wingo  <wingo@pobox.com>
658
659         * libs/gst/base/gstbasetransform.h: 
660         * libs/gst/base/gstbasesrc.h: 
661         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
662
663         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
664         of pointers by which to pad very extensible base classes (like the
665         ones in libs/gst/base).
666
667 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
668
669         * docs/gst/gstreamer-docs.sgml:
670         * docs/gst/gstreamer-sections.txt:
671         * docs/libs/gstreamer-libs-docs.sgml:
672         * docs/libs/gstreamer-libs-sections.txt:
673           moving documentation from core to lib
674
675 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
676
677         * check/Makefile.am:
678         * configure.ac:
679         * docs/gst/Makefile.am:
680         * gst/Makefile.am:
681         * gst/base/.cvsignore:
682         * gst/base/Makefile.am:
683         * gst/base/README:
684         * gst/base/gstadapter.c:
685         * gst/base/gstadapter.h:
686         * gst/base/gstbasesink.c:
687         * gst/base/gstbasesink.h:
688         * gst/base/gstbasesrc.c:
689         * gst/base/gstbasesrc.h:
690         * gst/base/gstbasetransform.c:
691         * gst/base/gstbasetransform.h:
692         * gst/base/gstcollectpads.c:
693         * gst/base/gstcollectpads.h:
694         * gst/base/gstpushsrc.c:
695         * gst/base/gstpushsrc.h:
696         * gst/base/gsttypefindhelper.c:
697         * gst/base/gsttypefindhelper.h:
698         * gst/check/Makefile.am:
699         * gst/check/gstcheck.c:
700         * gst/check/gstcheck.h:
701         * gst/net/Makefile.am:
702         * gst/net/gstnet.h:
703         * gst/net/gstnetclientclock.c:
704         * gst/net/gstnetclientclock.h:
705         * gst/net/gstnettimepacket.c:
706         * gst/net/gstnettimepacket.h:
707         * gst/net/gstnettimeprovider.c:
708         * gst/net/gstnettimeprovider.h:
709         * libs/gst/Makefile.am:
710         * libs/gst/base/Makefile.am:
711         * libs/gst/base/gstbasetransform.c:
712         * libs/gst/check/Makefile.am:
713         * plugins/elements/Makefile.am:
714         * po/POTFILES.in:
715           CVS surgery + support to move base, check, and net out of gst
716           and into libs/gst
717
718 2005-11-29  Andy Wingo  <wingo@pobox.com>
719
720         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
721
722         * gst/gststructure.h (struct _GstStructure): Only one pointer of
723         padding.
724
725         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
726
727         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
728
729         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
730
731         * gst/gstobject.h: (struct _GstObject): Only one pointer of
732         padding; reduces object size by about 30%. We don't expect
733         anything else to go into gstobject.
734
735         * gst/gstminiobject.h (struct _GstMiniObject)
736         (struct _GstMiniObjectClass): Only one pointer of padding; the
737         payload is only a pointer and two ints anyway. For the class there
738         are only two methods as well.
739         
740         * gst/gstelement.h (struct _GstElementClass): Removed
741         the state_changed signal callback, it is not used.
742
743 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
744
745         * docs/gst/gstreamer.types:
746           fix includes, though they are a little dinky
747
748 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
749
750         * check/Makefile.am:
751           look in the right place for elements, a lot more chance of
752           success
753         * gst/Makefile.am:
754           remove indexers and elements subdirs
755         * plugins/Makefile.am:
756           make indexers conditional
757
758 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
759
760         * Makefile.am:
761         * configure.ac:
762         * plugins/elements/Makefile.am:
763         * plugins/elements/gstcapsfilter.c:
764         * plugins/elements/gstfilesink.c:
765         * plugins/elements/gstfilesrc.c:
766         * plugins/elements/gstidentity.c:
767         * plugins/indexers/Makefile.am:
768           do CVS surgery and related build fixery to move elements
769           and indexers in a new gstreamer/plugins directory, out of the
770           gst/ directory
771
772 2005-11-29  Andy Wingo  <wingo@pobox.com>
773
774         * check/Makefile.am:
775         * pkgconfig/gstreamer-net-uninstalled.pc.in:
776         * pkgconfig/gstreamer-net.pc.in:
777         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
778         #322257.
779
780 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
781
782         * tools/Makefile.am:
783         * tools/gst-complete.1.in:
784         * tools/gst-complete.c:
785         * tools/gst-compprep.1.in:
786         * tools/gst-compprep.c:
787           removing -compprep and -complete
788
789 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
790
791         * gst/gstevent.c: (gst_event_new_new_segment),
792         (gst_event_parse_new_segment):
793         * gst/gstevent.h:
794           fix #320529 - clean up new_segment API and structure.
795           Let's hope everyone was using the methods, and not the structure.
796
797 2005-11-29  Edward Hervey  <edward@fluendo.com>
798
799         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
800         (gst_base_sink_event), (gst_base_sink_do_sync),
801         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
802         Properly handle non GST_FORMAT_TIME segment
803         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
804         Properly handle non GST_FORMAT_TIME segment
805         * gst/gstsegment.c:
806         This function is valid if the accumulator is 0 and the format
807         is different from the requested format.
808         
809 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
810
811         * docs/gst/gstreamer-sections.txt:
812         Add gst_query_new_seeking and gst_query_parse_seeking to the
813         docs.
814
815 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
816
817         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
818           Treat a pad alloc with new caps the same as if we were not
819           negotiated, in order to allow a changing upstream output
820           to produce a new format of data.
821
822 2005-11-29  Edward Hervey  <edward@fluendo.com>
823
824         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
825         (gst_base_transform_event), (gst_base_transform_eventfunc):
826         The event virtual method is now properly implemented, with a default
827         handler
828         Sub classes should call the parent_class event method. They should
829         return FALSE if they had a problem handling the given event, or don't
830         want GstBaseTransform to send that even downstream
831         * gst/elements/gstidentity.c: (gst_identity_class_init),
832         (gst_identity_init), (gst_identity_event),
833         (gst_identity_transform_ip), (gst_identity_set_property),
834         (gst_identity_get_property):
835         * gst/elements/gstidentity.h:
836         Added the single-segment boolean property.
837         If set to TRUE, it will output a single segment of data, starting from
838         0, will eat up all incoming newsegment, and modify the timestamp of the
839         buffers accordingly
840
841 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
842
843         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
844           Don't ref NULL target pad (#322751). Improve docs.
845
846 2005-11-29  Michael Smith  <msmith@fluendo.com>
847
848         * gst/gstregistryxml.c: (load_plugin):
849           Don't crash if we failed to load a feature from a plugin. 
850
851 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
852
853         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
854         (GST_START_TEST):
855           use more check API and less GLib API
856
857 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
858
859         * Makefile.am:
860           don't run checks if we don't have check
861         * common/check.mak:
862           remove the registry when running make torture
863         * docs/gst/gstreamer-sections.txt:
864           remove second multiply
865         * gst/gstqueue.c: (gst_queue_loop):
866           fix a compile warning when disabling debug
867
868 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
869
870         * gst/gstinfo.h:
871         Hey! Let's print the pad name if the pointer != NULL instead
872         of when it == NULL :-)
873
874 2005-11-28  Wim Taymans  <wim@fluendo.com>
875
876         * check/gst/gstutils.c: (GST_START_TEST):
877         Updated check, add some scaling accuracy checking code.
878
879         * gst/gstutils.c: (gst_util_div128_64),
880         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
881         (gst_util_uint64_scale_int):
882         Fix 6 times faster division code. Optimize for common 
883         1/1 and less common X/1 cases.
884
885 2005-11-28  Wim Taymans  <wim@fluendo.com>
886
887         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
888         More checks.
889
890         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
891         (do_linear_regression), (gst_clock_add_observation):
892         Cleanups.
893         Release lock when the clock cannot be slaved.
894         Catch the case where the regression returned an invalid denominator.
895
896         * gst/gstutils.c: (gst_util_div128_64_iterate),
897         (gst_util_div128_64), (gst_util_uint64_scale_int64),
898         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
899         Add protentially more performant non-iterative 128/64 divide function
900         that unfortunatly does not work yet.
901         Shortcut the trivial 0/X = 0 case.
902         Remove the warnings on overflow.
903
904 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
905
906         * gst/gstplugin.c: (gst_plugin_register_func):
907           everything causing a plugin not to load should be at least a WARNING
908
909 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
910
911         * docs/random/ensonic/dparams.txt:
912           some TODOs for the next dev cycle
913         * libs/gst/controller/gstcontroller.c:
914         (gst_controlled_property_set_interpolation_mode),
915         (gst_controlled_property_new):
916         * libs/gst/controller/gstcontroller.h:
917           use base type to assign acccessor functions
918
919 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
920
921         * check/Makefile.am:
922         Oops, that should have been top_srcdir
923
924 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
925
926         * check/Makefile.am:
927         * check/elements/fdsrc.c: (GST_START_TEST):
928         Use a cmdline define to specify the location of a file to use for
929         testing, to avoid breaking distcheck.
930
931 2005-11-28  Andy Wingo  <wingo@pobox.com>
932
933         * gst/gstpad.c (fixate_value): Use array functions for arrays.
934
935 2005-11-28  Edward Hervey  <edward@fluendo.com>
936
937         * tools/gst-launch.c: (main):
938         Clarify the output strings, makes it easier to translate.
939         Fixes #322626
940
941 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
942
943         * gst/Makefile.am:
944           don't try and build net if we don't even have <sys/socket.h>
945
946 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
947
948         * check/Makefile.am:
949         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
950         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
951           Add tests for fdsrc seekability
952
953         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
954         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
955         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
956         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
957         * gst/elements/gstfdsrc.h:
958           fdsrc should not be a 'live' source.
959           Implement seeking on seekable fd's.
960
961         * gst/gstquery.c: (gst_query_new_seeking),
962         (gst_query_parse_seeking):
963         * gst/gstquery.h:
964           Implement SEEKING query functions: 
965             *_new_seeking and *_parse_seeking
966
967 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
968
969         * gst/gstelement.c: (gst_element_dispose):
970           don't loop forever
971
972         * gst/gstiterator.c:
973         * gst/gststructure.c:
974           doc fixes
975
976         * libs/gst/controller/gstcontroller.c:
977         (gst_controlled_property_set_interpolation_mode):
978         * libs/gst/controller/gstcontroller.h:
979         * libs/gst/controller/gstinterpolation.c:
980         (interpolate_none_get_enum_value_array):
981           support controlling enums
982
983 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
984
985         * gst/gstvalue.c:
986           Improve documentation for gst_value_union().
987
988         * gst/gstvalue.h:
989           Change return value for union, intersect and subtract functions
990           from gint to gboolean.
991
992 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
993
994         * gst/gstvalue.c: (gst_value_serialize_any_list),
995         (gst_value_transform_any_list_string),
996         (gst_value_deserialize_list), (gst_value_deserialize_array),
997         (gst_value_set_int_range), (gst_value_deserialize_int_range),
998         (gst_value_set_double_range), (gst_value_deserialize_double_range),
999         (gst_value_set_fraction_range_full),
1000         (gst_value_deserialize_fraction_range),
1001         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1002         (gst_value_deserialize_boolean),
1003         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1004         (gst_value_serialize_float), (gst_value_deserialize_float),
1005         (gst_string_wrap), (gst_value_deserialize_string),
1006         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1007         (gst_value_union_int_range_int_range),
1008         (gst_value_intersect_int_range_int_range),
1009         (gst_value_intersect_double_range_double_range),
1010         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1011         (gst_value_subtract_int_range_int_range),
1012         (gst_value_subtract_double_double_range),
1013         (gst_value_subtract_double_range_double_range),
1014         (gst_value_deserialize_fraction):
1015         * gst/gstvalue.h:
1016           Use gint, gdouble and gchar in our API instead of int, double and
1017           char (and make usage in gstvalue.c more consistent).
1018
1019 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1020
1021         * check/Makefile.am:
1022         * libs/gst/controller/Makefile.am:
1023         * libs/gst/dataprotocol/Makefile.am:
1024           fix up Makefile.am and remove GST_ENABLE_NEW
1025
1026 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1027
1028         * configure.ac:
1029         * gst/Makefile.am:
1030         * gst/base/Makefile.am:
1031         * gst/check/Makefile.am:
1032         * gst/elements/Makefile.am:
1033         * gst/net/Makefile.am:
1034           update LDFLAGS use some more
1035
1036 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1037
1038         * common/m4/gst-doc.m4:
1039           Fixes #312589
1040
1041 2005-11-26  Edward Hervey  <edward@fluendo.com>
1042
1043         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1044         This shouldn't issue a g_warning since it returns NULL if it
1045         couldn't find the plugin, and all functions using this behave
1046         properly on a NULL return. Switching to a GST_WARNING.
1047
1048 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1049
1050         * gst/gstbin.c: (gst_bin_handle_message_func):
1051         Don't leak clock messages.
1052
1053 2005-11-25  Wim Taymans  <wim@fluendo.com>
1054
1055         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1056         (gst_util_uint64_scale_int):
1057         Optimisations, remove unneeded vars.
1058
1059 2005-11-25  Wim Taymans  <wim@fluendo.com>
1060
1061         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1062         Added more checks for the high precision uint64 cases.
1063
1064         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1065         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1066         Implement high precision (guint64 * guint64) / guint64.
1067
1068 2005-11-24  Wim Taymans  <wim@fluendo.com>
1069
1070         * gst/base/gstbasesrc.c: (gst_base_src_query):
1071         Fix wrong percentage query.
1072
1073         * gst/gstutils.c: (gst_util_uint64_scale),
1074         (gst_util_uint64_scale_int):
1075         Add some more common cases that can be handled 
1076         efficiently to _scale.
1077
1078 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1079
1080         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1081         (gst_mini_object_suite):
1082           don't use check calls from threads; check probably isn't
1083           threadsafe and using a lock to make it threadsafe would
1084           defeat the purpose of this check
1085         * gst/check/gstcheck.c:
1086         * gst/check/gstcheck.h:
1087           use GST_DEBUG some more
1088
1089 2005-11-24  Wim Taymans  <wim@fluendo.com>
1090
1091         * gst/gstutils.c: (gst_util_uint64_scale),
1092         (gst_util_uint64_scale_int):
1093         Chain trivial case to _scale_int.
1094
1095 2005-11-24  Wim Taymans  <wim@fluendo.com>
1096
1097         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1098         Added test for scaling.
1099
1100         * gst/gstclock.h:
1101         Small doc fix.
1102
1103         * gst/gstutils.c: (gst_util_uint64_scale_int):
1104         Implemented high precision scaling code.
1105
1106 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1107
1108         * gst/gstinfo.h:
1109           do not crash on pad==NULL
1110
1111 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1112
1113         Patch by: Stefan Kost
1114
1115         * common/gtk-doc.mak:
1116         * docs/gst/Makefile.am:
1117         * docs/libs/Makefile.am:
1118           Fix distcheck issues for the libraries docs build
1119           Closes #319599.
1120
1121 2005-11-24  Michael Smith <msmith@fluendo.com>
1122
1123         * docs/manual/basics-helloworld.xml:
1124           Fix bug #315027: memory leak in example code in docs.
1125
1126 2005-11-24  Michael Smith <msmith@fluendo.com>
1127
1128         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1129           Unlock the PREROLL_LOCK in a failure case.
1130
1131 2005-11-24  Wim Taymans  <wim@fluendo.com>
1132
1133         * docs/gst/gstreamer-sections.txt:
1134         * gst/base/gstadapter.h:
1135         * gst/base/gstbasesink.h:
1136         * gst/base/gstbasesrc.h:
1137         * gst/base/gstbasetransform.h:
1138         * gst/base/gstpushsrc.h:
1139         * gst/elements/gstfakesink.h:
1140         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1141         * gst/elements/gstfakesrc.h:
1142         * gst/elements/gstfilesink.h:
1143         * gst/elements/gstfilesrc.h:
1144         * gst/gst.c:
1145         * gst/gstbin.c:
1146         * gst/gstbuffer.c: (_gst_buffer_copy):
1147         * gst/gstbus.h:
1148         * gst/gstcaps.c:
1149         * gst/gstchildproxy.c:
1150         * gst/gstclock.c:
1151         * gst/gstelement.c:
1152         * gst/gstelementfactory.c:
1153         * gst/gstelementfactory.h:
1154         * gst/gstevent.c:
1155         * gst/gstghostpad.h:
1156         * gst/gstindex.h:
1157         * gst/gstinterface.h:
1158         * gst/gstminiobject.c:
1159         * gst/gstminiobject.h:
1160         * gst/gstpad.c:
1161         * gst/gstpad.h:
1162         * gst/gstpadtemplate.h:
1163         * gst/gstpipeline.h:
1164         * gst/gstpluginfeature.h:
1165         * gst/gstquery.h:
1166         * gst/gstqueue.h:
1167         * gst/gsttaglist.c:
1168         * gst/gsttaglist.h:
1169         * gst/gsttagsetter.c:
1170         * gst/gsttagsetter.h:
1171         * gst/gsttrace.c:
1172         * gst/gsttrace.h:
1173         * gst/gsttypefind.h:
1174         * gst/gsturi.h:
1175         * gst/gstvalue.c:
1176         * gst/net/gstnetclientclock.c:
1177         * gst/net/gstnetclientclock.h:
1178         * gst/net/gstnettimepacket.c:
1179         * gst/net/gstnettimeprovider.c:
1180         * gst/net/gstnettimeprovider.h:
1181         Doc fixes.
1182
1183 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1184
1185         * configure.ac: back to HEAD
1186
1187 === release 0.9.6 ===
1188
1189 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1190
1191         * configure.ac:
1192           releasing 0.9.6, "Always On Time"
1193
1194 2005-11-23  Wim Taymans  <wim@fluendo.com>
1195
1196         * docs/gst/gstreamer-sections.txt:
1197         * gst/glib-compat.c:
1198         * gst/gsttagsetter.c:
1199         * gst/gstvalue.c:
1200         * gst/net/gstnetclientclock.c:
1201         * gst/net/gstnettimepacket.h:
1202         Doc updates.
1203
1204 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1205
1206         * docs/faq/using.xml:
1207         * docs/libs/tmpl/gstcontrol.sgml:
1208         * docs/manual/advanced-dparams.xml:
1209         * docs/manual/appendix-checklist.xml:
1210         * docs/manual/basics-elements.xml:
1211         * docs/pwg/other-source.xml:
1212         * docs/random/moving-plugins:
1213         * gst/gstpad.c:
1214         * tools/gst-launch.1.in:
1215           remove mentions of sinesrc
1216
1217 2005-11-23  Michael Smith <msmith@fluendo.com>
1218
1219         * docs/gst/gstreamer-sections.txt:
1220           Update for new API and API changes.
1221         * gst/gstobject.h:
1222           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1223         * gst/gstvalue.c:
1224           Documentation typo fix.
1225         * gst/net/gstnettimepacket.c:
1226           Documentation fixes for arguments.
1227
1228 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1229
1230         * gst/gststructure.c: (gst_structure_get_fraction),
1231         (gst_structure_parse_value),
1232         (gst_structure_fixate_field_nearest_fraction):
1233         * gst/gststructure.h:
1234         * gst/gstutils.c: (gst_util_uint64_scale_int):
1235         * gst/gstutils.h:
1236         * scripts/update-funcnames:
1237         API Changes. 
1238         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1239         Make gst_structure_fixate_field_nearest_fraction take a numerator
1240         and denominator argument instead of a GValue
1241         add gst_structure_get_fraction helper function.
1242
1243 2005-11-23  Wim Taymans  <wim@fluendo.com>
1244
1245         * docs/design/part-TODO.txt:
1246         Update TODO.
1247
1248         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1249         * gst/net/gstnetclientclock.h:
1250         Use parent fields for timeout and window_size.
1251
1252 2005-11-23  Andy Wingo  <wingo@pobox.com>
1253
1254         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1255         rate_num/rate_denom change.
1256
1257         * gst/net/gstnetclientclock.c
1258         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1259         OBJECT_LOCK. Don't call add_observation with the lock.
1260
1261         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1262         fraction.
1263         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1264         rate fraction.
1265         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1266         deal with rate as a fraction whose numerator and denominator are
1267         GstClockTime values.
1268         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1269         master; the other fields are protected by the SLAVE_LOCK.
1270         (do_linear_regression): Note that this must be called with the
1271         SLAVE_LOCK.
1272         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1273         OBJECT_LOCK. Call set_calibration instead of touching the
1274         variables directly.
1275         (gst_clock_set_property, gst_clock_get_property): Protect
1276         master/slave parameters with the SLAVE_LOCK.
1277
1278         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1279         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1280         note that all of the instance variables that add_observation and
1281         the set_master functions use are protected by that lock and not
1282         the OBJECT_LOCK.
1283         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1284
1285         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1286         the caller to take the object lock.
1287
1288 2005-11-23  Wim Taymans  <wim@fluendo.com>
1289
1290         * gst/gsterror.c: (_gst_core_errors_init):
1291         * gst/gsterror.h:
1292         Add error for clock stuff.
1293
1294         * gst/gstpipeline.c: (gst_pipeline_change_state),
1295         (gst_pipeline_set_clock):
1296         Post clock error when clock cannot be used in a pipeline.
1297
1298 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1299
1300         * docs/gst/gstreamer-sections.txt:
1301           make two symbols from gstinfo private for the docs
1302         * gst/base/gstcollectpads.h:
1303         * gst/gstutils.c:
1304           fix doc typos, update docs
1305
1306 2005-11-22  Wim Taymans  <wim@fluendo.com>
1307
1308         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1309         (gst_base_sink_wait), (gst_base_sink_do_sync),
1310         (gst_base_sink_handle_event):
1311         * gst/base/gstbasesink.h:
1312         No need to store the clock, the parent element class already
1313         has it.
1314
1315         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1316         Updates for clock_set returning a gboolean
1317
1318         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1319         (gst_clock_id_wait_async), (gst_clock_class_init),
1320         (gst_clock_init), (gst_clock_finalize),
1321         (gst_clock_get_internal_time), (gst_clock_get_time),
1322         (gst_clock_slave_callback), (gst_clock_set_master),
1323         (gst_clock_get_master), (do_linear_regression),
1324         (gst_clock_add_observation), (gst_clock_set_property),
1325         (gst_clock_get_property):
1326         * gst/gstclock.h:
1327         Implement master/slave. When setting a clock as a slave, a
1328         periodic timeout is scheduled to sample master and slave times.
1329         Then the slave clock is recalibrated to match offset and rate
1330         of the master clock.
1331         Update logging a bit.
1332         Add flag so that a clock can state that is cannot be slaved to
1333         another clock.
1334
1335         * gst/gstelement.c: (gst_element_set_clock):
1336         * gst/gstelement.h:
1337         The set clock returns a gboolean for when an element cannot
1338         deal with the selected clock in the pipeline. 
1339
1340         * gst/gstpipeline.c: (gst_pipeline_change_state),
1341         (gst_pipeline_set_clock):
1342         * gst/gstpipeline.h:
1343         Handle the case where the selected clock cannot be set on
1344         the pipeline.
1345
1346         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1347         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1348         (gst_net_client_clock_set_property),
1349         (gst_net_client_clock_get_property),
1350         (gst_net_client_clock_observe_times):
1351         * gst/net/gstnetclientclock.h:
1352         Use regression code in GstClock parent, remove duplicated
1353         functionality.
1354
1355 2005-11-22  Michael Smith <msmith@fluendo.com>
1356
1357         * gst/gstutils.c: (gst_util_clock_time_scale):
1358         * gst/gstutils.h:
1359         * docs/gst/gstreamer-sections.txt:
1360           Rename method to have extra underscore.
1361
1362 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1363
1364         * gst/elements/Makefile.am:
1365         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1366         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1367         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1368         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1369         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1370         * gst/elements/gstfakesrc.h:
1371         * gst/gstqueue.c: (queue_leaky_get_type):
1372           correctly fix GEnumValues so that nick is the short lowercase
1373           dashed tag
1374         * tools/gst-inspect.c: (print_element_properties_info):
1375           also show the nick, since it's useful to use from parse_launch
1376           syntax
1377           Fixes #322139
1378
1379 2005-11-22  Michael Smith <msmith@fluendo.com>
1380
1381         * gst/gstutils.c: (gst_util_clocktime_scale):
1382         * gst/gstutils.h:
1383         * docs/gst/gstreamer-sections.txt:
1384           Add util method for scaling a clocktime by a fraction. Useful 
1385           implementation is left as an exercise for the reader.
1386
1387 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1388
1389         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1390         If needed, allocate storage in the destination value during
1391         collection.
1392
1393 2005-11-22  Edward Hervey  <edward@fluendo.com>
1394
1395         * docs/gst/gstreamer-sections.txt:
1396         * gst/Makefile.am:
1397         * gst/gst.h:
1398         * gst/gsturitype.c:
1399         * gst/gsturitype.h:
1400         * gst/gstutils.c: (gst_util_set_object_arg):
1401         * tools/gst-compprep.c: (main):
1402         * tools/gst-inspect.c: (print_element_properties_info):
1403         Removed GstURI, closes bug #321061
1404
1405 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1406
1407         * check/gst/gststructure.c: (GST_START_TEST):
1408         * gst/gststructure.c: (gst_structure_parse_value):
1409           Oops, broke automatic string type parsing.
1410           Add a test to catch it in future.
1411
1412 2005-11-22  Andy Wingo  <wingo@pobox.com>
1413
1414         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1415         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1416         Actually rename the function implementations. Grr.
1417
1418 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1419
1420         * check/gst/capslist.h:
1421           Comment test cases
1422         * check/gst/gststructure.c: (GST_START_TEST),
1423         (gst_structure_suite):
1424           Test automatic value type detection in gst_structure_from_string.
1425         * gst/gststructure.c: (gst_structure_parse_value):
1426           Add fraction as a type we try and guess automatically in
1427           caps/structure strings.
1428
1429 2005-11-22  Andy Wingo  <wingo@pobox.com>
1430
1431         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1432
1433         * gst/gsttagsetter.h:
1434         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1435         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1436         (gst_tag_setter_add_tag_valist)
1437         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1438         _add_values, _add_valist, and _add_valist_values. Since this is an
1439         interface the function suffixes should be more explicit so
1440         language binding don't end up with element.add_valist ->
1441         gst_tag_setter_add_valist, for example. Fixes #322069.
1442
1443 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1444
1445         * check/gst/gstcaps.c: (GST_START_TEST):
1446           Extend caps string tests to check that a caps to string
1447           conversion is reversible and produces the same caps.
1448
1449         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1450           Output "fraction" as the generic type fraction range, so caps
1451           serialisation and deserialisation works.
1452         * check/gst/capslist.h:
1453         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1454           Support 'MIN' and 'MAX' for deserialising fractions.
1455
1456 2005-11-22  Andy Wingo  <wingo@pobox.com>
1457
1458         * gst/gstevent.h (gst_event_new_new_segment)
1459         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1460         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1461         Renamed from *_newsegment, *_buffersize, *_notarget.
1462
1463         * scripts/update-funcnames: New script, performs the changes
1464         listed above.
1465
1466 2005-11-22  Wim Taymans  <wim@fluendo.com>
1467
1468         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1469         Make sure the GstFlowReturn is returned.
1470
1471         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1472         (gst_bus_add_signal_watch):
1473         * gst/gstbus.h:
1474         add gst_bus_add_signal_watch_full.
1475
1476         * gst/gstplugin.c: (gst_plugin_load_file):
1477         Small style cleanup.
1478
1479 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1480
1481         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1482           Block the fakesrc srcpad when we send an event, to avoid
1483           contention on the stream_lock causing random test failures.
1484
1485 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1486
1487         * check/gst/gstvalue.c: (GST_START_TEST):
1488         * gst/gstvalue.c: (gst_value_fraction_subtract):
1489           Fix subtraction.
1490
1491 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1492
1493         * gst/gst.h:
1494           include "gstchildproxy.h"
1495         * gst/gstchildproxy.h:
1496         * libs/gst/controller/gstcontroller.h:
1497           use G_GNUC_NULL_TERMINATED
1498
1499 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1500
1501         * check/gst/capslist.h:
1502         * check/gst/gstcaps.c: (GST_START_TEST):
1503         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1504         * gst/gststructure.c: (gst_structure_parse_range),
1505         (gst_structure_fixate_field_nearest_fraction):
1506         * gst/gststructure.h:
1507         * gst/gstvalue.c: (gst_value_init_fraction_range),
1508         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1509         (gst_value_collect_fraction_range),
1510         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1511         (gst_value_set_fraction_range_full),
1512         (gst_value_get_fraction_range_min),
1513         (gst_value_get_fraction_range_max),
1514         (gst_value_serialize_fraction_range),
1515         (gst_value_transform_fraction_range_string),
1516         (gst_value_compare_fraction_range),
1517         (gst_value_deserialize_fraction_range),
1518         (gst_value_intersect_fraction_fraction_range),
1519         (gst_value_intersect_fraction_range_fraction_range),
1520         (gst_value_subtract_fraction_fraction_range),
1521         (gst_value_subtract_fraction_range_fraction),
1522         (gst_value_subtract_fraction_range_fraction_range),
1523         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1524         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1525         (gst_value_transform_string_fraction), (_gst_value_initialize):
1526         * gst/gstvalue.h:
1527           Implement fraction ranges and extend GstFraction to support
1528           arithmetic subtraction, as well as deserialization from integer
1529           strings such as "100"
1530           Add a testsuite as for int and double range set operations
1531
1532 2005-11-21  Andy Wingo  <wingo@pobox.com>
1533
1534         * gst/gsttaglist.h: 
1535         * gst/gstcaps.h: 
1536         * gst/gststructure.h: Add glib-compat.h.
1537
1538 2005-11-21  Wim Taymans  <wim@fluendo.com>
1539
1540         * gst/gstbin.c: (gst_bin_change_state_func):
1541         Fix for #321595
1542
1543 2005-11-21  Wim Taymans  <wim@fluendo.com>
1544
1545         * gst/gstsegment.h:
1546         And add a nice define too.
1547
1548 2005-11-21  Wim Taymans  <wim@fluendo.com>
1549
1550         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1551         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1552         (gst_segment_set_duration), (gst_segment_set_last_stop),
1553         (gst_segment_set_seek), (gst_segment_set_newsegment),
1554         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1555         (gst_segment_clip):
1556         * gst/gstsegment.h:
1557         Make binding friendly.
1558
1559 2005-11-21  Andy Wingo  <wingo@pobox.com>
1560
1561         * gst/gsttagsetter.h: 
1562         * gst/gsttaglist.h: 
1563         * gst/gststructure.h: 
1564         * gst/gstcaps.h: 
1565         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1566         #319940.
1567
1568         * gst/gsterror.c (_gst_core_errors_init):
1569         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1570         category.
1571
1572         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1573         (noinst_HEADERS): noinst the -private.
1574
1575 2005-11-21  Michael Smith <msmith@fluendo.com>
1576
1577         * gst/gstplugin.h:
1578         * gst/gstregistry.h:
1579           Remove unimplemented declarations for which we can see no sensible
1580           use.
1581
1582 2005-11-21  Andy Wingo  <wingo@pobox.com>
1583
1584         * gst/gst.h: Include glib-compat.h.
1585
1586         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1587
1588         * gst/glib-compat.c: Include the public and the private header.
1589
1590         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1591
1592         * gst/gstvalue.c: 
1593         * gst/gstpad.c: 
1594         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1595
1596         * check/gst/gstevent.c (create_custom_events): Check that
1597         FLUSH_STOP is serialized.
1598
1599         * check/elements/identity.c (event_func): 
1600         * check/elements/fakesrc.c (event_func): No stream lock, the core
1601         takes it.
1602
1603         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1604         stream lock taking, yay.
1605
1606         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1607         ensure that core takes the stream lock.
1608
1609         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1610         lock name change.
1611
1612         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1613         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1614         it already. For the flush start we do take it though so we get the
1615         right preroll state change messages.
1616
1617         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1618         the stream lock here, the core does it for us.
1619
1620         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1621         GST_STREAM_GET_LOCK.
1622         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1623         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1624         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1625         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1626         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1627         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1628
1629         * gst/gstpad.c: Update for stream lock name change.
1630
1631         * gst/base/gstbasesink.c: Update for preroll lock name change.
1632
1633 2005-11-21  Wim Taymans  <wim@fluendo.com>
1634
1635         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1636         (gst_clock_get_master):
1637         * gst/gstclock.h:
1638         * gst/gstsystemclock.c: (gst_system_clock_init):
1639         Convert Clock flags to object flags.
1640         Added methods to manage master/slave clocks.
1641
1642 2005-11-21  Wim Taymans  <wim@fluendo.com>
1643
1644         * check/gst/gstsegment.c: (GST_START_TEST):
1645         * docs/design/part-TODO.txt:
1646         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1647         (gst_base_sink_event), (gst_base_sink_do_sync),
1648         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1649         (gst_base_sink_query), (gst_base_sink_change_state):
1650         * gst/base/gstbasesink.h:
1651         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1652         (gst_base_src_default_newsegment),
1653         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1654         (gst_base_src_get_range), (gst_base_src_loop),
1655         (gst_base_src_change_state):
1656         * gst/base/gstbasesrc.h:
1657         * gst/base/gstbasetransform.c:
1658         (gst_base_transform_prepare_output_buf),
1659         (gst_base_transform_event), (gst_base_transform_change_state):
1660         * gst/base/gstbasetransform.h:
1661         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1662         (gst_collect_pads_event):
1663         * gst/base/gstcollectpads.h:
1664         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1665         (gst_fake_src_create):
1666         * gst/elements/gstfakesrc.h:
1667         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1668         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1669         (gst_segment_set_last_stop), (gst_segment_set_seek),
1670         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1671         (gst_segment_to_running_time), (gst_segment_clip):
1672         * gst/gstsegment.h:
1673         More segment updates, replace code in plugins with segment
1674         helper functions.
1675
1676 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1677
1678         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1679         Don't ignore sscanf results
1680
1681 2005-11-21  Andy Wingo  <wingo@pobox.com>
1682
1683         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1684
1685         * *.h:
1686         * *.c: Ran scripts/update-macros. Oh yes.
1687
1688         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1689         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1690         GST_GET_LOCK, etc.
1691
1692         * scripts/update-macros: New script. Run it on your files to
1693         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1694         well.
1695
1696 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1697
1698         * docs/gst/Makefile.am:
1699         * docs/gst/gstreamer-docs.sgml:
1700         * docs/gst/gstreamer-sections.txt:
1701         * docs/gst/gstreamer.types:
1702         * gst/gstinfo.h:
1703           more docs fixes, add new api to the docs
1704
1705 2005-11-21  Andy Wingo  <wingo@pobox.com>
1706
1707         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1708         state_broadcast call.
1709
1710         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1711
1712 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1713
1714         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1715         function calls for arrays.
1716
1717 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1718
1719         * docs/random/ensonic/media-device-daemon.txt:
1720           wild idea, can this be done?
1721         * docs/gst/gstreamer-sections.txt:
1722         * gst/gsterror.h:
1723         * gst/gstfilter.c:
1724         * gst/gstfilter.h:
1725         * gst/gstplugin.h:
1726         * gst/gstpluginfeature.c:
1727         * gst/gsttrace.c:
1728         * gst/gstvalue.c:
1729         * gst/gstvalue.h:
1730           doc fixes and additions
1731
1732 2005-11-21  Andy Wingo  <wingo@pobox.com>
1733
1734         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1735         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1736         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1737         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1738         private to the basesrc implementation.
1739
1740         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1741         behalf of event function if necessary. It should no longer be
1742         necessary to take the stream lock in pad's event functions. Fixes
1743         #320299.
1744
1745 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1746         * docs/gst/gstreamer-sections.txt:
1747         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1748         (gst_structure_fixate_field_nearest_double),
1749         (gst_structure_fixate_field_boolean):
1750         * gst/gststructure.h:
1751         * win32/common/libgstreamer.def:
1752         * win32/gstreamer.def:
1753
1754         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1755         (#322027)
1756
1757 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1758
1759         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1760         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1761         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1762         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1763         (gst_fdsrc_uri_handler_init):
1764         * gst/elements/gstfdsrc.h:
1765           Port fd:// URI handler from 0.8 to fdsrc
1766
1767 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1768
1769         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1770         (gst_value_serialize_fourcc):
1771         * gst/gstvalue.h:
1772           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1773           consistent with our other format defines (#320324).
1774
1775 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1776
1777         * gst/gstvalue.c: (gst_value_is_fixed):
1778           Revert previous commit. Value lists are by definition
1779           not fixed, as they are a list of possible values.
1780
1781 2005-11-21  Andy Wingo  <wingo@pobox.com>
1782
1783         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1784         during the stable series if we need it. Fixes #319178.
1785
1786         * gst/gstevent.c (gst_event_new_filler): Removed.
1787
1788         * check/gst/gstevent.c: Update comment about filler events.
1789
1790 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1791
1792         * gst/gstvalue.c: (gst_value_is_fixed):
1793           Should handle both value arrays and value lists.
1794
1795 2005-11-21  Andy Wingo  <wingo@pobox.com>
1796
1797         patch by: Alessandro Dessina <alessandro nnva org>
1798
1799         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1800         functions to access arrays. Fixes #321962.
1801
1802 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1803
1804         * docs/gst/gstreamer.types:
1805           gst_collectpads_get_type => gst_collect_pads_get_type.
1806           
1807         * gst/base/gstbasetransform.c:
1808           Remove unused SIGNAL_HANDOFF enum.
1809
1810 2005-11-21  Andy Wingo  <wingo@pobox.com>
1811
1812         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1813         the event type (upstream, downstream, serialized). Renamed
1814         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1815         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1816         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1817
1818         * gst/gstevent.c: Update for new CUSTOM event names.
1819
1820         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1821
1822         * gst/gstevent.h:
1823         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1824         bug #319392.
1825
1826 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1827
1828         * docs/gst/gstreamer-sections.txt:
1829         * win32/common/libgstbase.def:
1830         * win32/libgstbase.def:
1831         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1832         (gst_collect_pads_class_init), (gst_collect_pads_init),
1833         (gst_collect_pads_finalize), (gst_collect_pads_new),
1834         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1835         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1836         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1837         (gst_collect_pads_start), (gst_collect_pads_stop),
1838         (gst_collect_pads_peek), (gst_collect_pads_pop),
1839         (gst_collect_pads_available), (gst_collect_pads_read),
1840         (gst_collect_pads_flush), (gst_collect_pads_event),
1841         (gst_collect_pads_chain):
1842         * gst/base/gstcollectpads.h:
1843           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1844           unimplemented functions as unimplemented. Add padding to
1845           GstCollectData. (#320766, #320423)
1846
1847 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1848
1849         * gst/gstmessage.c:
1850           Improve docs for DURATION message (usage of duration parameter)
1851           (#320113)
1852
1853 2005-11-20  Wim Taymans  <wim@fluendo.com>
1854
1855         * check/Makefile.am:
1856         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1857         (main):
1858         * gst/Makefile.am:
1859         * gst/gst.h:
1860         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1861         (gst_segment_set_seek), (gst_segment_set_newsegment),
1862         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1863         (gst_segment_clip):
1864         * gst/gstsegment.h:
1865         Added segment helper structure and methods. Not fully implemented
1866         yet.
1867         Added segment check.
1868
1869 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1870
1871         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1872           Add a deserialisation test for fractions
1873         * examples/metadata/read-metadata.c: (message_loop),
1874         (make_pipeline), (main):
1875           Fix up metadata reading sample.
1876         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1877           Debug format fix
1878         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1879           Don't try and fixate empty caps
1880         * gst/gst_private.h:
1881           Wrap in G_BEGIN_DECLS/G_END_DECLS
1882         * gst/gstvalue.c: (gst_value_collect_fraction),
1883         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1884         (gst_value_transform_string_fraction),
1885         (gst_value_compare_fraction):
1886           Add some extra guards to ensure that we don't end up 
1887           with an invalid denominator of 0 in a gstfraction and
1888           that fractions always get reduced.
1889
1890 2005-11-20  Wim Taymans  <wim@fluendo.com>
1891
1892         * docs/gst/gstreamer-sections.txt:
1893         * gst/gstbuffer.h:
1894         * gst/gstelement.c:
1895         * gst/gstformat.c:
1896         * gst/gstformat.h:
1897         * gst/gstindex.h:
1898         * gst/gstquery.c:
1899         * gst/gstquery.h:
1900         * gst/gstvalue.c:
1901         Doc fixes.
1902
1903 2005-11-20  Wim Taymans  <wim@fluendo.com>
1904
1905         * docs/design/part-TODO.txt:
1906         * gst/gstcaps.h:
1907         Make a proper enum of the flag.
1908
1909 2005-11-19  Wim Taymans  <wim@fluendo.com>
1910
1911         * docs/design/part-TODO.txt:
1912         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1913         (gst_format_to_quark), (gst_format_register):
1914         * gst/gstformat.h:
1915         * gst/gstquery.c: (_gst_query_initialize),
1916         (gst_query_type_get_name), (gst_query_type_to_quark),
1917         (gst_query_type_register):
1918         * gst/gstquery.h:
1919         Add type to quark and type to string conversions.
1920
1921 2005-11-19  Andy Wingo  <wingo@pobox.com>
1922
1923         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1924         #320097.
1925
1926 2005-11-19  Wim Taymans  <wim@fluendo.com>
1927
1928         * docs/design/part-TODO.txt:
1929         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1930         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1931         (gst_bin_handle_message_func):
1932         * gst/gstbin.h:
1933         Make message handling overridable.
1934
1935 2005-11-19  Andy Wingo  <wingo@pobox.com>
1936
1937         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1938
1939         * gst/gstclock.h:
1940         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1941         be a GstClockTime.
1942         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1943         is a GstClockTime. Fixes #321710.
1944
1945         * gst/gstclock.h (GstClock): Remove offset property. Add
1946         internal_calibration and external_calibration. Fix padding. Pad
1947         also by GstClockTime so we don't run into problems.
1948
1949         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1950         (gst_clock_get_rate_offset): Remove.
1951         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1952
1953         * gst/gstutils.h:
1954         * gst/gstutils.c (g_static_rec_cond_wait)
1955         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1956
1957         * gst/gstbin.c: Remove terrible continue_state prototype.
1958
1959         * gst/gstelement.h (gst_element_continue_state): Make public.
1960
1961         * gst/gstelement.h:
1962         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1963         by continue_state. Fixes #319389.
1964
1965         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1966         Really fixes #168438. However I don't see anywhere where the
1967         filter function is called... stupid GStreamer...
1968         
1969         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1970         don't have a dispose function, so it won't get called when the
1971         object is unreffed, but oh well!
1972
1973         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1974         allows a destroy function to be set so user_data can be freed.
1975         Fixes #168438.
1976         (gst_index_set_filter): Call gst_index_set_filter_full.
1977
1978         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1979
1980         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1981         string should produce an error, given the lack of a way to
1982         represent NULL strings. Fixes #165650.
1983         
1984         * gst/gstvalue.h: 
1985         * gst/gstvalue.c (gst_value_array_append_value) 
1986         (gst_value_array_prepend_value, gst_value_array_get_size) 
1987         (gst_value_array_get_value): New API, copied from
1988         gst_value_list_*, only operates on arrays.
1989         (gst_value_list_append_value, gst_value_list_prepend_value) 
1990         (gst_value_list_concat, gst_value_list_get_size) 
1991         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1992
1993         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1994         init_list, because it works on both.
1995         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1996         (gst_value_copy_list_or_array): Renamed from copy_list.
1997         (gst_value_free_list_or_array): Renamed from free_list.
1998         (gst_value_collect_list_or_array): Renamed from collect_list.
1999         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2000         (gst_value_list_or_array_peek_pointer): Renamed from
2001         list_peek_pointer.
2002         (_gst_value_array_value_table, _gst_value_list_value_table):
2003         Update value table functions.
2004         (gst_value_compare_list_or_array): Renamed from compare_list.
2005
2006         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2007         some constness.
2008
2009         * gst/gsttaglist.c:
2010         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2011         GstTagList*. Fixes #143472.
2012
2013         * gst/gststructure.h: Clarify what the foreach/map functions can
2014         or can't do to their arguments.
2015
2016 2005-11-18  Wim Taymans  <wim@fluendo.com>
2017
2018         * gst/gstclock.c: (gst_clock_set_calibration),
2019         (gst_clock_get_calibration):
2020         Doc and API fixes.
2021         Calibration can be set with internal time equal to current
2022         internal time too.
2023
2024 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2025
2026         * gst/gsterror.c:
2027         * gst/gsterror.h:
2028           document
2029
2030 2005-11-18  Andy Wingo  <wingo@pobox.com>
2031
2032         * configure.ac: 
2033         * pkgconfig/gstreamer-net.pc.in:
2034         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2035         * pkgconfig/Makefile.am: Add net pkgconfig files.
2036
2037 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2038
2039         * gst/gstcaps.c:
2040         * gst/gstghostpad.c:
2041         * gst/gsttrace.c:
2042         * gst/gstvalue.c:
2043         * gst/gstvalue.h:
2044           docs fixes
2045
2046 2005-11-18  Andy Wingo  <wingo@pobox.com>
2047
2048         * gst/net/gstnetclientclock.c: Turn off debugging.
2049
2050         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2051         times connverge somewhat. Can't make a real test.
2052
2053         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2054         integer arithmetic. Return the minimum of the domain, which can be
2055         set as "internal" for gst_clock_set_calibration.
2056         (gst_net_client_clock_observe_times): Call _set_calibration.
2057         (gst_net_client_clock_new): Call _set_calibration instead of
2058         rate_offset.
2059
2060         * check/net/gstnetclientclock.c (test_functioning): Use the right
2061         adjustment api.
2062
2063         * gst/gstclock.h:
2064         * gst/gstclock.c (gst_clock_get_calibration) 
2065         (gst_clock_set_calibration): New functions, obsolete the ones I
2066         added yesterday. Doh. Precision issues mean we have to extrapolate
2067         from a point in the more recent past than 1970.
2068         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2069         obsolete.
2070         (gst_clock_adjust_unlocked): Use the right calibration data.
2071
2072 2005-11-18  Edward Hervey  <edward@fluendo.com>
2073
2074         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2075         Also reset the ->current_* values in READY->PAUSED
2076
2077 2005-11-18  Andy Wingo  <wingo@pobox.com>
2078
2079         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2080         Whoops, check the right fd. Also add some debugging.
2081         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2082         (do_linear_regression): Add a crapload of debugging. Subtract off
2083         the minimum values from the input series to discard unneeded bits.
2084         Use only int arithmetic. There is still double arithmetic when
2085         calculating the intercept that needs fixing. Return boolean to
2086         indicate success; FALSE would mean the domain or range is too
2087         great. Still needs fixes.
2088
2089 2005-11-18  Wim Taymans  <wim@fluendo.com>
2090
2091         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2092         For the current position in stream time, we need to subtract
2093         accumulated time.
2094         
2095         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2096         Release lock before calling the callback function of async
2097         entries.
2098
2099 2005-11-18  Andy Wingo  <wingo@pobox.com>
2100
2101         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2102         Port goes all the way to MAXUINT16.
2103
2104         * gst/net/gstnettimeprovider.c: Make the port range the same as
2105         for the kernel: 0 assigns, otherwise ports are less than
2106         MAXUINT16.
2107
2108         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2109         port change.
2110
2111         * check/net/gstnetclientclock.c (test_functioning): Add the start
2112         of another test. 
2113
2114 2005-11-18  Wim Taymans  <wim@fluendo.com>
2115
2116         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2117         (gst_bin_remove_func), (bin_bus_handler):
2118         * gst/gstbin.h:
2119         Removing a clock provider from a bin, triggers a clock lost message
2120         so that a new clock will be selected.
2121         Adding a clock to a bin triggers a clock provider message.
2122         Make sure we reselect a clock when we received a clock lost message.
2123         Keep a reference to the element that provided the clock.
2124
2125 2005-11-18  Andy Wingo  <wingo@pobox.com>
2126
2127         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2128         the clock initially so it produces values around the base time.
2129         (gst_net_client_clock_class_init): Typo fix.
2130         (gst_net_client_clock_thread): Add note on when the socket gets
2131         closed.
2132
2133 2005-11-17  Wim Taymans  <wim@fluendo.com>
2134
2135         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2136         Free remote and local time arrays.
2137
2138 2005-11-17  Wim Taymans  <wim@fluendo.com>
2139
2140         * gst/net/gstnetclientclock.c: (do_linear_regression),
2141         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2142         Fix compilation, uninitialized vars and a forgotten continue.
2143
2144 2005-11-17  Andy Wingo  <wingo@pobox.com>
2145
2146         * check/Makefile.am (check_PROGRAMS): 
2147         * check/net/gstnetclientclock.c: Add a most minimal test for the
2148         net client clock. More to come later.
2149
2150         * gst/net/gstnet.h: 
2151         * gst/net/Makefile.am: Add netclientclock.
2152
2153         * gst/net/gstnetclientclock.h:
2154         * gst/net/gstnetclientclock.c: New files, implement an untested
2155         GstClock that takes its time from a network time provider.
2156         Implements the algorithm in network-clock.scm.
2157
2158         * tests/network-clock.scm (*window-size*): Rename from
2159         *queue-length*.
2160         * tests/network-clock.scm (network-time): 
2161         * tests/network-clock-utils.scm (q-push): Update callers.
2162
2163 2005-11-17  Wim Taymans  <wim@fluendo.com>
2164
2165         * gst/gstbin.c: (gst_bin_provide_clock_func),
2166         (gst_bin_sort_iterator_new):
2167         And unref the child too..
2168
2169 2005-11-17  Wim Taymans  <wim@fluendo.com>
2170
2171         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2172         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2173         Refactor the sort iterator so it can be used while holding the
2174         LOCK too.
2175         Make clock selection select a clock closest to the source.
2176
2177 2005-11-17  Michael Smith <msmith@fluendo.com>
2178
2179         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2180         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2181         * gst/gstclock.h:
2182           Anonymous structs are a gcc (and some other compilers) extension, so
2183           don't use them. Since this is only for ABI-compatibility, and our
2184           API/ABI freeze is over in a few days, this whole thing will only
2185           last a few days, so don't bother trying to think up a meaningful
2186           name for the struct.
2187
2188 2005-11-17  Andy Wingo  <wingo@pobox.com>
2189
2190         * gst/gstclock.h (GstClock): Add rate and offset properties,
2191         preserving ABI stability. Add rate/offset accessors. Will file bug
2192         for the freeze break.
2193
2194         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2195         and offset, trying to keep precision and avoiding
2196         underflow/overflow.
2197         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2198         functions. Make gst_clock_set_time_adjust obsolete.
2199         (gst_clock_set_time_adjust): Note that this function is obsolete.
2200         Will file bug soon.
2201
2202         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2203         greppable by using GST_PADDING-1+1.
2204
2205 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2206
2207         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2208
2209         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2210           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2211
2212         * gst/gstpadtemplate.h:
2213         * gst/gstpluginfeature.h:
2214           Don't use c++ style comments in headers (#321638).
2215
2216 2005-11-16  Andy Wingo  <wingo@pobox.com>
2217
2218         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2219         buffer.
2220
2221         * check/net/gstnettimeprovider.c: Check to see that the time
2222         provider actually provides times. Works, yo!
2223
2224 2005-11-16  Wim Taymans  <wim@fluendo.com>
2225
2226         * check/Makefile.am:
2227         Enable more tests.
2228
2229         * check/elements/fakesrc.c: (GST_START_TEST):
2230         Set element to NULL before disposing it.
2231
2232 2005-11-16  Andy Wingo  <wingo@pobox.com>
2233
2234         * gst/net/Makefile.am:
2235         * gst/net/gstnet.h:
2236         * gst/net/gstnettimeprovider.c: 
2237         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2238         provider, include it from gstnet.h, and add it to the build.
2239
2240         * gst/net/gstnettimepacket.h: 
2241         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2242         sending and receiving.
2243
2244 2005-11-16  Wim Taymans  <wim@fluendo.com>
2245
2246         * check/Makefile.am:
2247         Enable valgrind check.
2248
2249         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2250         (gst_fake_src_alloc_buffer):
2251         Fix memleak.
2252
2253 2005-11-16  Wim Taymans  <wim@fluendo.com>
2254
2255         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2256         Call parent finalize too.
2257
2258 2005-11-16  Wim Taymans  <wim@fluendo.com>
2259
2260         * check/Makefile.am:
2261         Enable valgrind check that should work fine now.
2262
2263         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2264         * gst/gstqueue.c: (gst_queue_init):
2265         Fix memleaks in pad allocation.
2266
2267 2005-11-16  Andy Wingo  <wingo@pobox.com>
2268
2269         * gst/net/Makefile.am:
2270         * gst/net/gstnet.h: New part of core to hold network elements and
2271         objects. Put in core because it exposes API that applications want
2272         to use. The library is named libgstnet-tempname right now because
2273         of the existing libgstnet in gst-plugins-base. Solution is
2274         probably to rename the one in plugins-base; will file a bug for
2275         the freeze break.
2276
2277         * gst/net/gstnettimeprovider.c: 
2278         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2279         get_time call over the network.
2280
2281         * configure.ac: 
2282         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2283
2284         * check/Makefile.am:
2285         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2286         get additions shortly.
2287
2288 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2289
2290         * gst/gstpad.c: (gst_pad_new_from_static_template):
2291         * gst/gstpad.h:
2292           add gst_pad_new_from_static_template functions
2293         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2294         (gst_check_setup_sink_pad):
2295         * gst/elements/gsttee.c: (gst_tee_init):
2296           and use them
2297
2298 2005-11-16  Wim Taymans  <wim@fluendo.com>
2299
2300         * gst/gstpad.c: (gst_pad_pause_task):
2301         Removed warning, it's not really an error either.
2302
2303 2005-11-16  Wim Taymans  <wim@fluendo.com>
2304
2305         * gst/base/gstbasetransform.c:
2306         (gst_base_transform_prepare_output_buf),
2307         (gst_base_transform_event):
2308         Check if the caps are NULL, this can happen if the element
2309         is shutting down and the pad caps are set to NULL.
2310
2311 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2312
2313         * gst/elements/gsttee.c: (gst_tee_init):
2314           fix pad template leak in tee
2315
2316 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2317
2318         * gst/glib-compat.c: (g_value_dup_gst_object):
2319         * gst/glib-compat.h:
2320         * gst/gstpad.c: (gst_pad_set_property):
2321           use gst_object_ref when setting the pad template; this will
2322           trigger the pad template leaks on GLib 2.6 and the slaves
2323
2324 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2325
2326         * gst/glib-compat.c: (gst_flags_get_first_value):
2327         * gst/glib-compat.h:
2328         * gst/gstregistryxml.c:
2329           remove functions copied from GLib 2.6
2330
2331 2005-11-16  Michael Smith <msmith@fluendo.com>
2332
2333         * gst/Makefile.am:
2334           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2335           do, but only breaks with newer valgrind versions. We're not a
2336           valgrind tool, we have no link-time dependencies on libcoregrind.
2337
2338 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2339
2340         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2341           some debug changes
2342         * gst/gstmessage.h:
2343           typo fixes
2344
2345 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2346
2347         * gst/base/gstbasesrc.c: (gst_base_src_init):
2348         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2349         * gst/gstqueue.c: (gst_queue_init):
2350         * gst/gstregistryxml.c: (load_feature):
2351           Revert all these unrefs, they don't even pass make check !
2352
2353 2005-11-15  Johan Dahlin  <johan@gnome.org>
2354
2355         * gst/base/gstbasesrc.c: (gst_base_src_init):
2356         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2357         * gst/gstqueue.c: (gst_queue_init): 
2358         Free pad templates, fixes a couple of leaks.
2359
2360 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2361
2362         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2363
2364         * gst/gstpad.c: (gst_pad_get_property):
2365           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2366           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2367           (#321452)
2368
2369 2005-11-15  Wim Taymans  <wim@fluendo.com>
2370
2371         * gst/gstevent.c:
2372         Small doc update.
2373
2374 2005-11-15  Andy Wingo  <wingo@pobox.com>
2375
2376         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2377
2378         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2379         using GST_CLOCK_TIME_NONE to disable base time management.
2380         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2381         time if it was NONE before.
2382         (gst_pipeline_change_state): Only munge the base time if
2383         stream_time != GST_CLOCK_TIME_NONE.
2384
2385         * check/gst/gstpipeline.c (test_base_time): Punt around the
2386         problem of the probe not being called, because that's not the
2387         issue I'm looking at. Add a check that setting stream_time to NONE
2388         disables base time management.
2389         
2390 2005-11-15  Wim Taymans  <wim@fluendo.com>
2391
2392         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2393         segment_stop == -1 at startup.
2394
2395         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2396         (gst_base_transform_change_state):
2397         Init segment values at start.
2398
2399 2005-11-15  Wim Taymans  <wim@fluendo.com>
2400
2401         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2402         0 segment values are 0 in any format.
2403
2404         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2405         * gst/base/gstbasetransform.h:
2406         Parse newsegment correctly in basetransform
2407
2408         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2409         Sync to clock using updated segment values.
2410
2411 2005-11-15  Andy Wingo  <wingo@pobox.com>
2412
2413         * check/gst/gstpipeline.c (test_base_time): Add check that the
2414         base time and stream time are reset correctly.
2415
2416 2005-11-15  Wim Taymans  <wim@fluendo.com>
2417
2418         * docs/design/part-TODO.txt:
2419         Some more TODO items.
2420
2421 2005-11-15  Andy Wingo  <wingo@pobox.com>
2422
2423         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2424         error if the user selected "no clock" as the clocking method.
2425
2426         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2427         timestamps with live capture.
2428
2429         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2430         is 0 but we are a live source, timestamp the buffers using the
2431         element's clock.
2432
2433 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2434
2435         * docs/gst/gstreamer-sections.txt:
2436         * gst/gsterror.c:
2437         * gst/gstghostpad.c:
2438         * gst/gstobject.h:
2439         * gst/gstxml.c:
2440           more section docs
2441
2442 2005-11-14  Wim Taymans  <wim@fluendo.com>
2443
2444         * common/gst.supp:
2445           add suppressions from Wim's Debian machine
2446
2447 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2448
2449         * common/gst.supp:
2450           add suppressions from Andy's AMD64 Ubuntu machine
2451
2452 2005-11-14  Andy Wingo  <wingo@pobox.com>
2453
2454         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2455         STATE_LOCK not necessary. Fixes #311489.
2456
2457         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2458         #305291.
2459
2460         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2461         this function is not implemented.
2462
2463 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2464
2465         * gst/base/gstbasetransform.c:
2466         (gst_base_transform_prepare_output_buf):
2467         Ref the source pad caps while we need them.
2468         Fixes (#321386)
2469
2470 2005-11-11  Wim Taymans  <wim@fluendo.com>
2471
2472         * docs/gst/gstreamer-sections.txt:
2473         Added some docs for GstCollectData.
2474
2475         * gst/base/gstadapter.c:
2476         Some small code example fix.
2477
2478         * gst/base/gstcollectpads.c:
2479         * gst/base/gstcollectpads.h:
2480         Document some more.
2481
2482 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2483
2484         * configure.ac: back to HEAD
2485
2486 === release 0.9.5 ===
2487
2488 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2489
2490         * configure.ac:
2491           releasing 0.9.5, "Bike Lunch Day"
2492
2493 2005-11-11  Wim Taymans  <wim@fluendo.com>
2494
2495         * gst/gstbuffer.c: (_gst_buffer_copy):
2496         Copy more flags.
2497
2498         * gst/gstcaps.c: (gst_caps_is_equal):
2499         Fix some docs.
2500         Make _is_equal fast in the trivial cases.
2501
2502         * gst/gstminiobject.c:
2503         * gst/gstminiobject.h:
2504         More docs. Spifify .h file.
2505
2506         * gst/gstutils.c:
2507         Small doc update.
2508
2509 2005-11-11  Wim Taymans  <wim@fluendo.com>
2510
2511         * gst/base/gstbasetransform.c:
2512         (gst_base_transform_prepare_output_buf),
2513         (gst_base_transform_handle_buffer):
2514         Small cleanups.
2515         If we're processing a buffer and need to allocate an output
2516         buffer, we cannot accept a format change. If we did get a 
2517         format change, we have to alloc a buffer ourselves of the 
2518         right size.
2519
2520 2005-11-11  Wim Taymans  <wim@fluendo.com>
2521
2522         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2523         While checking the flag for reentrancy in the gstcaps function
2524         is nice to detect recursive invocations, it also makes it 
2525         impossible to call getcaps from multiple threads, which must be
2526         possible. So, checking for recursive calls has to go.
2527
2528 2005-11-11  Michael Smith <msmith@fluendo.com>
2529
2530         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2531           Don't sync on buffers that fall partially outside our current
2532           segment. Prevents an assertion failure/abort playing some files.
2533
2534 2005-11-10  Andy Wingo  <wingo@pobox.com>
2535
2536         * check/gst/gstbin.c (test_message_state_changed_children): Style
2537         fix..
2538
2539         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2540         gst_bus_poll with the signal watch. Ensures that poll and a signal
2541         watch see the same messages.
2542
2543         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2544         a poll and a watch at the same time get the same messages.
2545
2546 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2547
2548         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2549         * gst/gstcaps.c: (gst_caps_intersect):
2550           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2551           and it's not needed.
2552
2553 2005-11-10  Wim Taymans  <wim@fluendo.com>
2554
2555         * docs/design/part-TODO.txt:
2556         Updated todo.
2557
2558 2005-11-10  Wim Taymans  <wim@fluendo.com>
2559
2560         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2561         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2562         (gst_base_src_do_sync), (gst_base_src_get_range):
2563         Implement clock sync in base class.
2564
2565 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2566
2567         patch by: Tim-Philipp Müller <tim at centricular dot net>
2568
2569         * gst/gststructure.c: (gst_structure_parse_field),
2570         (gst_structure_from_string):
2571           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2572           so that gst_parse_launch() can deal with spaces in filtered link
2573           caps (fixes #164479)
2574         * check/gst/capslist.h:
2575         * check/gst/gststructure.c: (GST_START_TEST):
2576           add unit tests for this change
2577
2578 2005-11-10  Wim Taymans  <wim@fluendo.com>
2579
2580         * docs/gst/gstreamer-sections.txt:
2581         * gst/gstelement.c:
2582         * gst/gstelement.h:
2583         Fix docs, move some STATE macros to private.
2584
2585 2005-11-10  Wim Taymans  <wim@fluendo.com>
2586
2587         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2588         Added check for bug #317341
2589
2590         * gst/gstbuffer.c:
2591         * gst/gstbuffer.h:
2592         Some more spiffifying.
2593
2594         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2595         Call peer linkfunction if we are a source pad. Totally fixes
2596         #317341
2597
2598         * gst/gstpad.c:
2599         Update docs, source pads should call the peer linkfunction
2600         so they can atomically perform the pad link.
2601
2602 2005-11-09  Wim Taymans  <wim@fluendo.com>
2603
2604         * gst/gstbuffer.c:
2605         * gst/gstbuffer.h:
2606         Uber-spiffy-spiffify some more.
2607
2608 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2609
2610         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2611         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2612         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2613         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2614         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2615         * gst/gstpad.c: (gst_pad_init):
2616           Use GST_DEBUG_FUNCPTR() more extensively.
2617
2618 2005-11-09  Wim Taymans  <wim@fluendo.com>
2619
2620         * gst/gstobject.c: (gst_object_class_init):
2621         * gst/gstobject.h:
2622         Documentation fixes.
2623
2624 2005-11-09  Edward Hervey  <edward@fluendo.com>
2625
2626         * gst/gsttypefindfactory.c:
2627         Fix docs.
2628         
2629 2005-11-09  Edward Hervey  <edward@fluendo.com>
2630
2631         * gst/base/gsttypefindhelper.c:
2632         * gst/gsttypefind.c:
2633         * gst/gsttypefind.h:
2634         Fix docs.
2635
2636 2005-11-09  Wim Taymans  <wim@fluendo.com>
2637
2638         * gst/gstiterator.c:
2639         Fix revision data.
2640
2641         * gst/gsttask.c:
2642         * gst/gsttask.h:
2643         Fix docs.
2644
2645 2005-11-09  Wim Taymans  <wim@fluendo.com>
2646
2647         * gst/gstevent.h:
2648         * gst/gsturi.h:
2649         Fix docs.
2650
2651 2005-11-09  Wim Taymans  <wim@fluendo.com>
2652
2653         * docs/gst/gstreamer-sections.txt:
2654         Moved the message async delivery private lock and cond
2655         to the private section.
2656
2657         * gst/gstmessage.c:
2658         * gst/gstmessage.h:
2659         Fixed docs.
2660
2661 2005-11-09  Edward Hervey  <edward@fluendo.com>
2662
2663         * docs/gst/gstreamer-sections.txt:
2664         * gst/gsturi.c:
2665         * gst/gsturi.h:
2666         Document GstURIHandler
2667
2668 2005-11-09  Wim Taymans  <wim@fluendo.com>
2669
2670         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2671         (gst_iterator_find_custom):
2672         * gst/gstiterator.h:
2673         Fix iterator docs.
2674
2675 2005-11-09  Wim Taymans  <wim@fluendo.com>
2676
2677         * gst/gstbin.h:
2678         Document another field.
2679
2680         * gst/gststructure.c:
2681         * gst/gststructure.h:
2682         Document.
2683
2684 2005-11-09  Wim Taymans  <wim@fluendo.com>
2685
2686         * gst/gstbin.h:
2687         Documented structs.
2688
2689 2005-11-09  Wim Taymans  <wim@fluendo.com>
2690
2691         * docs/gst/gstreamer-sections.txt:
2692         Added some new macros.
2693
2694         * gst/gstclock.c:
2695         * gst/gstclock.h:
2696         * gst/gstobject.h:
2697         Docs updates.
2698
2699 2005-11-09  Wim Taymans  <wim@fluendo.com>
2700
2701         * docs/design/part-TODO.txt:
2702         Some more items for the TODO
2703
2704         * gst/gstcaps.c:
2705         * gst/gstcaps.h:
2706         Document GstCaps.
2707
2708 2005-11-09  Andy Wingo  <wingo@pobox.com>
2709
2710         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2711         to work on something else now tho...
2712
2713         * gst/base/gstadapter.c: More adapter docs.
2714
2715         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2716         (gst_file_sink_stop): New functions, replace the state change
2717         handler.
2718         (gst_file_sink_class_init): Hook up the start and stop functions.
2719         (gst_file_sink_base_init): Don't set the state change handler any
2720         more. It was a bit ugly too, being set from here...
2721         (gst_file_sink_get_property, gst_file_sink_set_property):
2722         Cleanups...
2723         (gst_file_sink_set_location): More robust check that doesn't call
2724         GST_STATE. Ugggggg.
2725
2726 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2727
2728         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2729           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2730
2731 2005-11-08  Wim Taymans  <wim@fluendo.com>
2732
2733         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2734         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2735         (gst_base_sink_chain), (gst_base_sink_change_state):
2736         * gst/base/gstbasesink.h:
2737         * gst/base/gstbasesrc.h:
2738         * gst/gstelement.h:
2739         * gst/gstevent.h:
2740         Avoid excessive typechecking in macros.
2741
2742         * gst/gstminiobject.c: (gst_mini_object_get_type),
2743         (gst_mini_object_init), (gst_mini_object_new),
2744         (gst_mini_object_free):
2745         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2746         (gst_object_finalize):
2747         Remove cruft code, optimize alloc_trace.
2748
2749 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2750
2751         * docs/faq/gst-uninstalled:
2752           fix up PS1 for systems that try to reset it
2753
2754 2005-11-07  Wim Taymans  <wim@fluendo.com>
2755
2756         * gst/base/gstbasesrc.c: (gst_base_src_init),
2757         (gst_base_src_get_range):
2758         Set the segment_end to -1 initially. Fixed typefind.
2759
2760 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2761
2762         * gst/base/gstadapter.c:
2763           Debug category should be 'adapter', not 'GstAdapter'.
2764           
2765         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2766         (gst_collectpads_class_init), (gst_collectpads_init),
2767         (gst_collectpads_peek), (gst_collectpads_pop),
2768         (gst_collectpads_event), (gst_collectpads_chain):
2769           Add debug category and some debugging output. Use boilerplate
2770           macros. Remove some extraneous words from docs.
2771
2772 2005-11-05  Andy Wingo  <wingo@pobox.com>
2773
2774         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2775         macro.
2776
2777 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2778
2779         * docs/gst/gstreamer-sections.txt:
2780         * gst/gstcaps.h:
2781         * gst/gstinfo.c:
2782         * gst/gstminiobject.h:
2783         * gst/gstobject.h:
2784         * gst/gstutils.h:
2785           more docs added
2786
2787 2005-11-04  Wim Taymans  <wim@fluendo.com>
2788
2789         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2790         Small update to stop at the configured segment_end
2791         position.
2792
2793 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2794
2795         * gst/gstregistry.c:
2796         * gst/gstregistry.h:
2797           added missing docs
2798
2799 2005-11-04  Edward Hervey  <edward@fluendo.com>
2800
2801         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2802         Check if we are doing a segment seek and have arrived at the
2803         end of that segment.
2804
2805 2005-11-04  Wim Taymans  <wim@fluendo.com>
2806
2807         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2808         Don't leak a mutex unlock in case of an error.
2809
2810         * gst/gstbus.h:
2811         Doc fixes.
2812
2813 2005-11-04  Wim Taymans  <wim@fluendo.com>
2814
2815         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2816         (gst_bus_post):
2817         Get the context to wake up only once.
2818
2819 2005-11-03  Wim Taymans  <wim@fluendo.com>
2820
2821         * check/states/sinks.c: (GST_START_TEST):
2822         Uncomment fixed check.
2823
2824         * docs/design/part-TODO.txt:
2825         Updated TODO.
2826
2827         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2828         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2829         (gst_base_sink_get_position):
2830         If we are going to PLAYING, post the right pending state
2831         when we post the intermediate paused message.
2832
2833         * gst/gstelement.c: (gst_element_continue_state),
2834         (gst_element_set_state_func), (gst_element_change_state):
2835         Don't post state changes that were between the same state
2836         and were not ASYNC.
2837
2838 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2839
2840         * docs/gst/gstreamer-sections.txt:
2841         * gst/gstcaps.h:
2842         * gst/gstinfo.c:
2843         * gst/gstminiobject.h:
2844         * gst/gstobject.h:
2845         * gst/gstutils.h:
2846           more docs and doc style fixes
2847
2848 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2849
2850         * docs/gst/gstreamer-sections.txt:
2851         * gst/gstelement.c:
2852         * gst/gstminiobject.c:
2853         doc fixes
2854
2855 2005-11-03  Andy Wingo  <wingo@pobox.com>
2856
2857         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2858         state-changed messages actually have the right order and the right
2859         values.
2860
2861 2005-11-03  Wim Taymans  <wim@fluendo.com>
2862
2863         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2864         Added some more checks. Specifically the case where NO_PREROLL
2865         elements are in the pipeline.
2866
2867         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2868         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2869         (gst_base_sink_get_position):
2870         Post READY->PAUSED state change messages too.
2871         Fix bug where VOID was posted as pending state...
2872
2873         * gst/gstbin.c: (gst_bin_recalc_state):
2874         use _element_continue_state() to continue the state change.
2875
2876         * gst/gstelement.c: (gst_element_continue_state),
2877         (gst_element_commit_state), (gst_element_set_state_func),
2878         (gst_element_change_state), (gst_element_change_state_func):
2879         Lots of state change cleanups, assign the STATE_RETURN in
2880         a new continue_state() function that also propagates the
2881         last return value from a state change to the app.
2882         Update some debug statements with proper category.
2883
2884 2005-11-03  Wim Taymans  <wim@fluendo.com>
2885
2886         * docs/design/part-events.txt:
2887         * docs/design/part-gstpipeline.txt:
2888         * docs/design/part-messages.txt:
2889         * docs/design/part-overview.txt:
2890         * docs/design/part-seeking.txt:
2891         * docs/design/part-states.txt:
2892         * docs/design/part-trickmodes.txt:
2893         * docs/manual/advanced-position.xml:
2894         Small docs updates.
2895
2896         * gst/gstobject.h:
2897         People think !! is ugly, this looks better.
2898
2899         * gst/gstpad.c: (gst_pad_set_blocked_async):
2900         Remove !! since it's fixed elsewhere now.
2901
2902 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2903
2904         * gst/gstminiobject.h:
2905         * gst/gstobject.h:
2906           Add !! to _FLAG_IS_SET macros to make the result boolean.
2907
2908 2005-11-03  Edward Hervey  <edward@fluendo.com>
2909
2910         * gst/gstpad.c: (gst_pad_set_blocked_async):
2911         comparing a flag and a gboolean rarely returns coherent results...
2912         Added two characters (!!) to make that work correctly.
2913         
2914 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2915
2916         * gst/gstbus.c: (gst_bus_class_init):
2917           Fix some typos.
2918           
2919         * gst/gstqueue.c: (gst_queue_loop):
2920           Don't assume a miniobject that isn't a buffer is an
2921           event (it could be that there is a refcounting
2922           problem somewhere and the pointer is stale and
2923           refers to an already destroyed miniobject).
2924
2925 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2926
2927         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2928
2929 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2930
2931         * docs/manual/advanced-position.xml:
2932           Update seek example and explanations to current 0.9 API.
2933
2934         * gst/elements/gsttypefindelement.c:
2935         (gst_type_find_element_activate):
2936           Remove FIXME comment now that the found caps
2937           are unreffed.
2938
2939 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2940
2941         * gst/gstregistryxml.c: (load_feature):
2942           Add another GST_STR_NULL instance
2943
2944 2005-11-02  Edward Hervey  <edward@fluendo.com>
2945
2946         * gst/gstpad.c: (handle_pad_block):
2947         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2948         
2949 2005-11-02  Wim Taymans  <wim@fluendo.com>
2950
2951         * gst/gstbin.c:
2952         Fix typo in docs.
2953
2954         * gst/gstelement.c: (gst_element_commit_state):
2955         Remove unused value.
2956
2957         * gst/gstiterator.c:
2958         Mention that the returned element is reffed in the docs.
2959
2960 2005-11-02  Wim Taymans  <wim@fluendo.com>
2961
2962         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2963         (gst_pad_push), (gst_pad_push_event):
2964         Unlock blocked pads when they are flushed.
2965
2966 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2967
2968         * docs/README:
2969         * docs/gst/gstreamer-sections.txt:
2970         * gst/gstbin.c:
2971           doc updates
2972         * gst/gstregistry.c: (gst_registry_scan_path_level):
2973           fix for a nasty little missed situation where an installed plug-in
2974           which was in the cache did not get overridden by an uninstalled one
2975           which was earlier in the plugin path because the newly created plugin
2976           for the uninstalled one (not in the registry) didn't get its
2977           ->registered set to TRUE
2978
2979 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2980
2981         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2982         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2983         (gst_collectpads_is_active), (gst_collectpads_collect),
2984         (gst_collectpads_collect_range), (gst_collectpads_start),
2985         (gst_collectpads_stop), (gst_collectpads_peek),
2986         (gst_collectpads_pop), (gst_collectpads_available),
2987         (gst_collectpads_read), (gst_collectpads_flush):
2988           Guard public API with assertions.
2989         
2990         * gst/gstpad.c:
2991           Fix docs for gst_pad_set_link_function().
2992
2993 2005-11-02  Johan Dahlin  <johan@gnome.org>
2994
2995         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2996         Unref found_caps after we used it.
2997
2998 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2999
3000         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3001           Don't try to ref NULL.
3002
3003 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3004
3005         * win32/common/config.h.in:
3006           provide a GST_FUNCTION that just gives a string for now
3007
3008 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3009
3010         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3011         (gst_object_flags_get_type), (register_gst_bin_flags),
3012         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3013         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3014         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3015         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3016         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3017         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3018         (gst_clock_flags_get_type), (register_gst_state),
3019         (gst_state_get_type), (register_gst_state_change_return),
3020         (gst_state_change_return_get_type), (register_gst_state_change),
3021         (gst_state_change_get_type), (register_gst_element_flags),
3022         (gst_element_flags_get_type), (register_gst_core_error),
3023         (gst_core_error_get_type), (register_gst_library_error),
3024         (gst_library_error_get_type), (register_gst_resource_error),
3025         (gst_resource_error_get_type), (register_gst_stream_error),
3026         (gst_stream_error_get_type), (register_gst_event_type),
3027         (gst_event_type_get_type), (register_gst_seek_type),
3028         (gst_seek_type_get_type), (register_gst_seek_flags),
3029         (gst_seek_flags_get_type), (register_gst_format),
3030         (gst_format_get_type), (register_gst_index_certainty),
3031         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3032         (gst_index_entry_type_get_type),
3033         (register_gst_index_lookup_method),
3034         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3035         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3036         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3037         (gst_index_flags_get_type), (register_gst_debug_level),
3038         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3039         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3040         (gst_iterator_result_get_type), (register_gst_iterator_item),
3041         (gst_iterator_item_get_type), (register_gst_message_type),
3042         (gst_message_type_get_type), (register_gst_mini_object_flags),
3043         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3044         (gst_pad_link_return_get_type), (register_gst_flow_return),
3045         (gst_flow_return_get_type), (register_gst_activate_mode),
3046         (gst_activate_mode_get_type), (register_gst_pad_direction),
3047         (gst_pad_direction_get_type), (register_gst_pad_flags),
3048         (gst_pad_flags_get_type), (register_gst_pad_presence),
3049         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3050         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3051         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3052         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3053         (gst_plugin_flags_get_type), (register_gst_rank),
3054         (gst_rank_get_type), (register_gst_query_type),
3055         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3056         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3057         (gst_tag_flag_get_type), (register_gst_task_state),
3058         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3059         (gst_alloc_trace_flags_get_type),
3060         (register_gst_type_find_probability),
3061         (gst_type_find_probability_get_type), (register_gst_uri_type),
3062         (gst_uri_type_get_type), (register_gst_parse_error),
3063         (gst_parse_error_get_type):
3064         * win32/common/gstversion.h:
3065           update win32 copies
3066
3067 2005-11-01  Luca Ognibene  <luogni@tin.it>
3068
3069         * gst/gst.c:
3070           fix docs. popt is dead, long live GOption.
3071
3072 2005-10-31  Wim Taymans  <wim@fluendo.com>
3073
3074         * gst/gstbuffer.h:
3075         Small doc fix.
3076
3077 2005-10-31  Andy Wingo  <wingo@pobox.com>
3078
3079         * Boo!
3080
3081         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3082
3083         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3084         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3085         the possibility of deadlocks here if code calling notify() or
3086         set() has a lock that can be taken in another notify handler (ABBA
3087         with class lock and e.g. python GIL state lock).
3088
3089 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3090
3091         * gst/gstbus.c: Doc updates.
3092
3093 2005-10-28  Wim Taymans  <wim@fluendo.com>
3094
3095         * docs/design/part-TODO.txt:
3096         * gst/gstiterator.c:
3097         * gst/gstsystemclock.c:
3098         * gst/gstsystemclock.h:
3099         Doc updates.
3100
3101 2005-10-28  Edward Hervey  <edward@fluendo.com>
3102
3103         * docs/gst/gstreamer-docs.sgml:
3104         * docs/gst/gstreamer-sections.txt:
3105         the GstURIType documentation page is private, it only defines GstURIType
3106         which should be defined in the GstURIHandler page
3107         
3108 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3109
3110         * gst/gstbin.c: (gst_bin_class_init):
3111         * gst/gstbin.h:
3112         * gst/gstutils.c:
3113         Documentation updates.
3114
3115 2005-10-28  Wim Taymans  <wim@fluendo.com>
3116
3117         * docs/gst/gstreamer-sections.txt:
3118         * gst/gstclock.c:
3119         * gst/gstclock.h:
3120         Documented the clocks.
3121
3122 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3123
3124         * docs/gst/gstreamer-sections.txt:
3125           move some macros to private sections
3126         * gst/gstminiobject.c:
3127         * gst/gstminiobject.h:
3128           add descriptions provided by ds and some more
3129         * gst/gstpad.h:
3130           mark macro as to be removed
3131
3132 2005-10-28  Wim Taymans  <wim@fluendo.com>
3133
3134         * docs/design/part-TODO.txt:
3135         Add an item to TODO.
3136
3137         * gst/gstiterator.c: (gst_iterator_fold),
3138         (gst_iterator_find_custom):
3139         * gst/gstiterator.h:
3140         Add iterator docs.
3141
3142 2005-10-28  Wim Taymans  <wim@fluendo.com>
3143
3144         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3145         (gst_base_transform_init):
3146         Don't leak class.
3147
3148         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3149         An EOS event marks the queue as completely filled.
3150
3151 2005-10-27  Wim Taymans  <wim@fluendo.com>
3152
3153         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3154         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3155         Some more debugging.
3156
3157         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3158         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3159         (gst_base_transform_event), (gst_base_transform_getrange),
3160         (gst_base_transform_chain):
3161         * gst/base/gstbasetransform.h:
3162         Fix debugging,
3163         Protect transform and concurrent buffer alloc with a new lock.
3164         Try not to break ABI/API.
3165
3166 2005-10-27  Wim Taymans  <wim@fluendo.com>
3167
3168         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3169         (gst_base_src_init), (gst_base_src_query),
3170         (gst_base_src_default_newsegment),
3171         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3172         (gst_base_src_send_event), (gst_base_src_event_handler),
3173         (gst_base_src_pad_get_range), (gst_base_src_loop),
3174         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3175         (gst_base_src_start), (gst_base_src_deactivate),
3176         (gst_base_src_activate_push), (gst_base_src_change_state):
3177         Move some stuff around and cleanup things.
3178
3179 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3180
3181         * gst/base/gstbasesrc.c: (gst_base_src_query):
3182           Add missing break statements.
3183
3184 2005-10-27  Wim Taymans  <wim@fluendo.com>
3185
3186         * check/gst/gstbin.c: (GST_START_TEST):
3187         An extra refcount is taken in basesrc.
3188
3189         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3190         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3191         (gst_base_src_loop):
3192         Small cleanups, check for flushing after being unlocked from the 
3193         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3194         Don't send out EOS when going to READY.
3195
3196 2005-10-27  Wim Taymans  <wim@fluendo.com>
3197
3198         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3199         (gst_base_sink_get_position):
3200         Some more debug.
3201
3202         * gst/gstbin.c: (message_check), (bin_replace_message),
3203         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3204         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3205         (bin_query_duration_init), (bin_query_duration_fold),
3206         (bin_query_duration_done), (bin_query_generic_fold),
3207         (gst_bin_query):
3208         * tools/gst-launch.c: (main):
3209         Remove old option.
3210
3211 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3212
3213         * examples/controller/audio-example.c: (main):
3214         * examples/queue/queue.c: (event_loop):
3215         * gst/base/gstbasetransform.h:
3216         * gst/gstelement.c: (gst_element_send_event):
3217         * gst/gstevent.h:
3218         * gst/gstpad.c: (gst_pad_send_event):
3219           fixing examples
3220           fixing docs typos
3221           changing log priority in error situations
3222
3223 2005-10-25  Wim Taymans  <wim@fluendo.com>
3224
3225         * gst/gstbin.c: (message_check), (bin_replace_message),
3226         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3227         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3228         (bin_query_duration_init), (bin_query_duration_fold),
3229         (bin_query_duration_done), (bin_query_generic_fold),
3230         (gst_bin_query):
3231         Some doc and debug updates.
3232         Cache previously requested query DURATION for speed. invalidate
3233         cached duration if element posts a DURATION message.
3234
3235 2005-10-25  Wim Taymans  <wim@fluendo.com>
3236
3237         * docs/design/part-TODO.txt:
3238         Update TODO.
3239
3240         * gst/gstbin.c: (message_check), (bin_replace_message),
3241         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3242         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3243         (bin_query_duration_init), (bin_query_duration_fold),
3244         (bin_query_duration_done), (bin_query_generic_fold),
3245         (gst_bin_query):
3246         Handle SEGMENT_START/DONE messages correctly.
3247         More evolved query algorithm that handles duration queries
3248         correctly.
3249
3250         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3251         (gst_element_get_state_func), (gst_element_abort_state),
3252         (gst_element_commit_state), (gst_element_lost_state):
3253         Some more debugging.
3254
3255         * gst/gstmessage.h:
3256         Added doc.
3257
3258 2005-10-25  Wim Taymans  <wim@fluendo.com>
3259
3260         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3261         Don't use invalid stream_time.
3262
3263         * gst/gstevent.c: (gst_event_new_newsegment):
3264         stream_time in newsegment cannot be undefined.
3265
3266 2005-10-24  Wim Taymans  <wim@fluendo.com>
3267
3268         * gst/gstbus.c:
3269         Doc fix.
3270
3271         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3272         (gst_queue_loop):
3273         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3274
3275 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3276
3277         * docs/libs/tmpl/gstdparam.sgml:
3278         * docs/libs/tmpl/gstdplinint.sgml:
3279         * docs/libs/tmpl/gstdpman.sgml:
3280         * docs/libs/tmpl/gstdpsmooth.sgml:
3281         * docs/libs/tmpl/gstunitconvert.sgml:
3282           these are obsolete
3283
3284 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3285
3286         * configure.ac:
3287           back to HEAD
3288
3289 === release 0.9.4 ===
3290
3291 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3292
3293         * configure.ac:
3294           releasing 0.9.4, "Tyrannosaurus Rex"
3295
3296 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3297
3298         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3299         (gst_file_sink_get_current_offset):
3300           Use fseeko() and ftello() if available. When falling back on
3301           lseek() to get the current offset, fflush() first to make sure
3302           everything is up-to-date and we get the right offset.
3303
3304 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3305
3306         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3307         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3308         * gst/gsterror.c: (_gst_stream_errors_init):
3309         * gst/gsterror.h:
3310         * gst/gstqueue.c: (gst_queue_loop):
3311         * po/POTFILES.in:
3312           remove prematurely added error category and clean up the instances
3313
3314 2005-10-21  Wim Taymans  <wim@fluendo.com>
3315
3316         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3317         (gst_base_sink_get_position), (gst_base_sink_query),
3318         (gst_base_sink_change_state):
3319         Simply set the right flag when going to playing, that's all
3320         we need to do instead of calling a function inside the object
3321         lock (that could take the lock as well and deadlock)
3322
3323 2005-10-21  Wim Taymans  <wim@fluendo.com>
3324
3325         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3326         (gst_base_src_loop):
3327         Don't warn, the peer element knows what to do best when
3328         the seek failed, it might try something else.
3329
3330 2005-10-21  Wim Taymans  <wim@fluendo.com>
3331
3332         * gst/base/gstbasesrc.c: (gst_base_src_init),
3333         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3334         Fix seeking.
3335
3336 2005-10-21  Wim Taymans  <wim@fluendo.com>
3337
3338         * docs/design/part-segments.txt:
3339         More docs.
3340
3341         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3342         Correctly set caps, even on the subbufer.
3343
3344 2005-10-21  Wim Taymans  <wim@fluendo.com>
3345
3346         * docs/gst/gstreamer-docs.sgml:
3347         * docs/gst/gstreamer-sections.txt:
3348         * gst/gstelement.h:
3349         * gst/gstevent.c:
3350         * gst/gstevent.h:
3351         * gst/gstmessage.h:
3352         * gst/gstpad.h:
3353         * gst/gstparse.h:
3354         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3355         * gst/gsttask.h:
3356         * gst/gstutils.c:
3357         * gst/gstutils.h:
3358         And 2% more doc coverage.
3359
3360 2005-10-21  Andy Wingo  <wingo@pobox.com>
3361
3362         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3363         position reporting.
3364
3365 2005-10-20  Wim Taymans  <wim@fluendo.com>
3366
3367         * gst/gsterror.c: (gst_error_get_message):
3368         * gst/gstparse.h:
3369         * gst/gstquery.h:
3370         * gst/gststructure.c:
3371         * gst/gsttrace.c:
3372         * gst/gstutils.c:
3373         More docs.
3374
3375 2005-10-20  Wim Taymans  <wim@fluendo.com>
3376
3377         * gst/gstbuffer.h:
3378         * gst/gstpad.c:
3379         * gst/gstparse.c:
3380         Another 1% more coverage.
3381
3382 2005-10-20  Wim Taymans  <wim@fluendo.com>
3383
3384         * docs/gst/gstreamer-sections.txt:
3385         * gst/gstelement.c: (gst_element_get_state_func),
3386         (gst_element_abort_state), (gst_element_commit_state),
3387         (gst_element_lost_state):
3388         * gst/gstevent.h:
3389         * gst/gstquery.c: (gst_query_set_position),
3390         (gst_query_parse_position), (gst_query_set_duration),
3391         (gst_query_parse_duration), (gst_query_new_convert):
3392         * gst/gstutils.c:
3393         Yay! 1% more docs coverage.
3394
3395 2005-10-20  Wim Taymans  <wim@fluendo.com>
3396
3397         * gst/gstpad.h:
3398         * gst/gstquery.c: (gst_query_set_position),
3399         (gst_query_parse_position), (gst_query_set_duration),
3400         (gst_query_parse_duration), (gst_query_new_convert):
3401         * gst/gstquery.h:
3402         * gst/gstutils.c: (gst_element_query_convert):
3403         * gst/gstutils.h:
3404         Docs and consistency fixes.
3405
3406 2005-10-20  Wim Taymans  <wim@fluendo.com>
3407
3408         * gst/gsttask.c:
3409         * gst/gsttask.h:
3410         More docs.
3411
3412 2005-10-20  Wim Taymans  <wim@fluendo.com>
3413
3414         * gst/gstbin.c: (message_check), (bin_replace_message),
3415         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3416         (update_degree), (gst_bin_sort_iterator_next),
3417         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3418         Reworked the message handling a bit, cache the messages instead of
3419         only the senders. alows us to do more in the future.
3420
3421 2005-10-20  Wim Taymans  <wim@fluendo.com>
3422
3423         * docs/design/part-TODO.txt:
3424         Update TODO
3425
3426         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3427         (gst_base_sink_query):
3428         Don't use clock time to report position when in EOS.
3429
3430 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3431
3432         * tools/gst-inspect.c: (print_interfaces),
3433         (print_element_properties_info), (print_element_info):
3434           Fix interface output with gst-inspect -a; don't print
3435           newlines after double/float properties.
3436
3437 2005-10-20  Wim Taymans  <wim@fluendo.com>
3438
3439         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3440         (gst_base_sink_query):
3441         Speed up current position calculation.
3442
3443         * gst/base/gstbasesrc.c: (gst_base_src_query),
3444         (gst_base_src_default_newsegment):
3445         Correctly set stream position in newsegment.
3446
3447         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3448         (update_degree), (gst_bin_sort_iterator_next),
3449         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3450         * gst/gstmessage.c: (gst_message_new_custom):
3451         Clean up debugging info
3452
3453         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3454         (gst_queue_loop), (gst_queue_handle_src_query):
3455         Pause task faster.
3456
3457 2005-10-19  Wim Taymans  <wim@fluendo.com>
3458
3459         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3460         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3461         Fix query handling again.
3462
3463 2005-10-19  Wim Taymans  <wim@fluendo.com>
3464
3465         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3466         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3467         * gst/base/gstbasesrc.c: (gst_base_src_query):
3468         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3469         * gst/elements/gsttypefindelement.c:
3470         (gst_type_find_handle_src_query), (find_element_get_length),
3471         (gst_type_find_element_activate):
3472         API change fix.
3473
3474         * gst/gstquery.c: (gst_query_new_position),
3475         (gst_query_set_position), (gst_query_parse_position),
3476         (gst_query_new_duration), (gst_query_set_duration),
3477         (gst_query_parse_duration), (gst_query_set_segment),
3478         (gst_query_parse_segment):
3479         * gst/gstquery.h:
3480         Bundling query position/duration is not a good idea since duration
3481         does not change much and we don't want to recalculate it for every
3482         position query, so they are separated again..
3483         Base value in segment query is not needed.
3484
3485         * gst/gstqueue.c: (gst_queue_handle_src_query):
3486         * gst/gstutils.c: (gst_element_query_position),
3487         (gst_element_query_duration), (gst_pad_query_position),
3488         (gst_pad_query_duration):
3489         * gst/gstutils.h:
3490         Updates for query API change.
3491         Added some docs here and there.
3492
3493 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3494
3495         * check/gst/gstbin.c: (GST_START_TEST):
3496         * check/gst/gstghostpad.c: (GST_START_TEST):
3497         * check/pipelines/cleanup.c: (GST_START_TEST):
3498           wait on thread to die so we can check refcount correctly
3499
3500 2005-10-18  Wim Taymans  <wim@fluendo.com>
3501
3502         * check/pipelines/stress.c: (GST_START_TEST):
3503         Make check a little more time consuming.
3504
3505 2005-10-18  Wim Taymans  <wim@fluendo.com>
3506
3507         * check/Makefile.am:
3508         * check/pipelines/stress.c: (GST_START_TEST),
3509         (simple_launch_lines_suite), (main):
3510         Small state change torture test.
3511
3512         * docs/design/part-states.txt:
3513         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3514         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3515         (gst_base_sink_change_state):
3516         Never take state lock from streaming thread, clean up ugly
3517         hacks. Unfortunatly core does not yet support nice ways to
3518         async commit state.
3519         
3520         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3521         (bin_bus_handler):
3522         Start state recalc if a STATE_DIRTY message is posted, but only
3523         on the toplevel bin.
3524
3525         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3526         (gst_element_get_state_func), (gst_element_abort_state),
3527         (gst_element_commit_state), (gst_element_lost_state),
3528         (gst_element_set_state_func), (gst_element_change_state):
3529         * gst/gstelement.h:
3530         State variables are now protected with the LOCK, the state
3531         lock is only used to serialize _set_state().
3532
3533 2005-10-18  Wim Taymans  <wim@fluendo.com>
3534
3535         * check/gst/gstbin.c: (GST_START_TEST):
3536         * check/gst/gstmessage.c: (GST_START_TEST):
3537         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3538         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3539         (bin_bus_handler):
3540         * gst/gstelement.c: (gst_element_abort_state),
3541         (gst_element_commit_state), (gst_element_lost_state):
3542         * gst/gstmessage.c: (gst_message_new_state_changed),
3543         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3544         (gst_message_new_segment_done), (gst_message_new_duration),
3545         (gst_message_parse_state_changed),
3546         (gst_message_parse_segment_start),
3547         (gst_message_parse_segment_done), (gst_message_parse_duration):
3548         * gst/gstmessage.h:
3549         * tools/gst-launch.c: (event_loop):
3550         Seriously, this is better than a previous commit as we only need
3551         to notify the fact that an element changed state in a streaming
3552         thread, marking the state of the parents dirty, hence the 
3553         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3554         message.
3555
3556 2005-10-18  Wim Taymans  <wim@fluendo.com>
3557
3558         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3559         (gst_bin_recalc_func):
3560         * gst/gstelement.c: (gst_element_set_clock),
3561         (gst_element_abort_state), (gst_element_lost_state):
3562         Cleanups, prepare for state change fixes.
3563
3564 2005-10-18  Wim Taymans  <wim@fluendo.com>
3565
3566         * gst/gstbin.h:
3567         * gst/gstelement.c: (gst_element_class_init),
3568         (gst_element_set_state), (gst_element_set_state_func):
3569         * gst/gstelement.h:
3570         Pending ABI changes.
3571         GThreadPool in GstBinClass to monitor async state changes.
3572         state_cookie in GstElement to detect concurrent gst/set state.
3573         set_state is now virtual too in case a very complicated element
3574         has to be constructed.
3575
3576 2005-10-18  Wim Taymans  <wim@fluendo.com>
3577
3578         * check/gst/gstbin.c: (GST_START_TEST):
3579         * check/gst/gstmessage.c: (GST_START_TEST):
3580         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3581         * gst/gstbin.c: (bin_bus_handler):
3582         * gst/gstelement.c: (gst_element_commit_state),
3583         (gst_element_lost_state):
3584         * gst/gstmessage.c: (gst_message_new_state_changed),
3585         (gst_message_new_segment_start), (gst_message_new_segment_done),
3586         (gst_message_new_duration), (gst_message_parse_state_changed),
3587         (gst_message_parse_segment_start),
3588         (gst_message_parse_segment_done), (gst_message_parse_duration):
3589         * gst/gstmessage.h:
3590         * tools/gst-launch.c: (event_loop):
3591         Make messages future proof.
3592         state-change gets a flag if it was a message comming from the
3593         streaming thread.
3594         segment-start/stop can also be specified in other formats.
3595         A message to notify an app that a pipeline changed playback 
3596         duration.
3597         Also fix a GstMessage leak in -launch
3598
3599 2005-10-18  Andy Wingo  <wingo@pobox.com>
3600
3601         * gst/gstelement.c (gst_element_dispose): More helpful message.
3602
3603 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3604
3605         reviewed by: <delete if not using a buddy>
3606
3607         * common/gtk-doc.mak:
3608
3609 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3610
3611         * gst/gstregistry.c: (gst_registry_scan_path_level):
3612           unref a plug-in we get that was already initialized
3613
3614 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3615
3616         * docs/gst/gstreamer-sections.txt:
3617         * docs/libs/gstreamer-libs-sections.txt:
3618         * gst/gstelement.h:
3619           add new api entries
3620           hide internal macro
3621
3622 2005-10-17  Andy Wingo  <wingo@pobox.com>
3623
3624         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3625         cleanup.
3626
3627         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3628
3629         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3630
3631         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3632         (gst_element_get_state_func): Better debug message.
3633         (gst_element_commit_state): s/INFO/DEBUG/.
3634         (gst_element_lost_state, gst_element_change_state): 
3635
3636         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3637         (gst_message_new_custom): s/INFO/LOG/.
3638
3639 2005-10-17  Michael Smith <msmith@fluendo.com>
3640
3641         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3642           Check if end time is valid using end time, not start time.
3643
3644 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3645
3646         * check/gst-libs/controller.c: (GST_START_TEST),
3647         (gst_controller_suite):
3648         * libs/gst/controller/gstcontroller.c:
3649         (gst_controlled_property_set_interpolation_mode):
3650         * libs/gst/controller/gstcontroller.h:
3651         * libs/gst/controller/gstinterpolation.c:
3652         * testsuite/controller/.cvsignore:
3653         * testsuite/controller/Makefile.am:
3654         * testsuite/controller/interpolator.c:
3655           merge controller testsuites
3656           fix broken tests
3657           remove mem-chunk from docs
3658
3659 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3660
3661         * gst/gstmemchunk.c:
3662         * gst/gstmemchunk.h:
3663         * gst/gsttrashstack.c:
3664         * gst/gsttrashstack.h:
3665           out.  get out.  you're fired.  to the Attic !
3666
3667 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3668
3669         * gst/gstcaps.c: (gst_caps_intersect):
3670           fix signedness issues in a (hopefully) correct way
3671         * gst/gstelement.c: (gst_element_pads_activate):
3672           some debugging
3673         * gst/gstobject.c: (gst_object_set_parent):
3674           some debugging
3675
3676 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3677
3678         * gst/gstvalue.h: Fix prototypes.
3679
3680 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3681
3682         * docs/gst/gstreamer-sections.txt:
3683         * gst/gst.c: (gst_version_string):
3684         * gst/gst.h:
3685         * gst/gstversion.h.in:
3686         * win32/common/libgstreamer.def:
3687           add gst_version_string ()
3688
3689 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3690
3691         * configure.ac:
3692           clean up further
3693         * gst/gst.c: (init_post):
3694         * win32/common/config.h.in:
3695           it's PLUGINDIR now
3696         * gst/gstcaps.c: (gst_caps_intersect):
3697           use gint64, the range could be bigger than a guint
3698
3699 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3700
3701         * gst/gstclock.h:
3702           document potential problem in 2038
3703
3704 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3705
3706         * gst/gstcaps.c: (gst_caps_intersect):
3707           Fix guint j diving under 0
3708
3709 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3710
3711         * configure.ac:
3712         * win32/common/config.h:
3713         * win32/common/config.h.in:
3714           check for process.h, declares getpid() on Windows
3715         * gst/gstinfo.c:
3716           include process.h if we have it
3717         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3718         * gst/gstmemchunk.h:
3719           fix signedness issues
3720         * win32/common/libgstreamer.def:
3721           fix get_type's
3722
3723 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3724
3725         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3726         fix. Because of unsigned ints, caps intersection was going nuts and
3727         trying to access structures with G_MAXUINT index. That fixes
3728         videotestsrc ! ffmpegcolorspace ! fakesink
3729         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3730         consistency.
3731
3732 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3733
3734         * configure.ac:
3735           use the gettext macro
3736         * gst/elements/gstelements.c:
3737         * gst/gst.c:
3738         * gst/indexers/gstindexers.c:
3739           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3740         * win32/common/config.h:
3741           updated config.h
3742         * win32/common/config.h.in:
3743           add the template to generate config.h
3744         * win32/common/gstenumtypes.c:
3745         * win32/common/gstversion.h:
3746           updated copies
3747
3748 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3749
3750         * gst/gst.c: (gst_version):
3751         * gst/gstversion.h.in:
3752           add the nano
3753
3754 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3755
3756         * gst/gstevent.h:
3757           Oops, add missing closing bracket.
3758
3759 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3760
3761         * configure.ac:
3762           use common m4's for argument checking
3763
3764 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3765
3766         * docs/gst/gstreamer-sections.txt:
3767         * gst/gstevent.h:
3768           Add GST_EVENT_TYPE_NAME() macro.
3769
3770 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3771
3772         * gst/gstinfo.c:
3773         * gst/gstpluginfeature.c:
3774         * gst/gsttask.c:
3775           privatize more symbols
3776
3777 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3778
3779         * configure.ac:
3780           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3781           everything that uses GStreamer API should have the includes
3782
3783 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3784
3785         * docs/gst/gstreamer-sections.txt:
3786         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3787         * gst/gstvalue.h:
3788           give each value a _get_type, removes the DATA exports
3789
3790 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3791
3792         * gst/gst.c:
3793         * gst/gst.h:
3794           remove _gst_registry_auto_load, not used anymore
3795         * gst/gstbin.c: (gst_bin_get_type):
3796         * gst/gstbin.h:
3797         * gst/gstelement.c: (gst_element_get_type):
3798         * gst/gstelement.h:
3799         * gst/gstobject.c: (gst_object_get_type):
3800         * gst/gstobject.h:
3801         * gst/gstpad.c: (gst_pad_get_type):
3802         * gst/gstpad.h:
3803           make _get_type functions similar, fixes data export from library
3804
3805 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3806
3807         * configure.ac:
3808           correctly make conditionals
3809         * gst/elements/Makefile.am:
3810         * gst/elements/gstelements.c:
3811           fix typo causing fdsrc not to build
3812
3813 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3814
3815         * testsuite/Makefile.am:
3816         * testsuite/bytestream/.cvsignore:
3817         * testsuite/bytestream/Makefile.am:
3818         * testsuite/bytestream/filepadsink.c:
3819         * testsuite/bytestream/gstbstest.c:
3820         * testsuite/bytestream/test1.c:
3821         * testsuite/bytestream/testfile1:
3822         * testsuite/caps/normalisation.c:
3823         * testsuite/caps/random.c: (main):
3824         * testsuite/cleanup/.cvsignore:
3825         * testsuite/cleanup/Makefile.am:
3826         * testsuite/cleanup/cleanup1.c:
3827         * testsuite/cleanup/cleanup2.c:
3828         * testsuite/cleanup/cleanup3.c:
3829         * testsuite/cleanup/cleanup4.c:
3830         * testsuite/cleanup/cleanup5.c:
3831         * testsuite/controller/interpolator.c:
3832         * testsuite/debug/printf_extension.c: (main):
3833         * testsuite/elements/tee.c:
3834         * testsuite/negotiation/.cvsignore:
3835         * testsuite/negotiation/Makefile.am:
3836         * testsuite/negotiation/pad_link.c:
3837         * testsuite/pad/Makefile.am:
3838         * testsuite/pad/chainnopull.c:
3839         * testsuite/pad/getnopush.c:
3840         * testsuite/pad/link.c:
3841         * testsuite/refcounting/sched.c: (create_pipeline):
3842         * testsuite/registry/Makefile.am:
3843         * testsuite/registry/gst-print-formats.c:
3844         * testsuite/schedulers/.cvsignore:
3845         * testsuite/schedulers/142183-2.c:
3846         * testsuite/schedulers/142183.c:
3847         * testsuite/schedulers/143777-2.c:
3848         * testsuite/schedulers/143777.c:
3849         * testsuite/schedulers/147713.c:
3850         * testsuite/schedulers/147819.c:
3851         * testsuite/schedulers/147894-2.c:
3852         * testsuite/schedulers/147894.c:
3853         * testsuite/schedulers/Makefile.am:
3854         * testsuite/schedulers/group_link.c:
3855         * testsuite/schedulers/queue_link.c:
3856         * testsuite/schedulers/relink.c:
3857         * testsuite/schedulers/unlink.c:
3858         * testsuite/schedulers/unref.c:
3859         * testsuite/schedulers/useless_iteration.c:
3860         * testsuite/states/bin.c:
3861           clean out/remove some stuff from the testsuite directories
3862
3863 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3864
3865         * configure.ac:
3866           check for some headers
3867         * gst/elements/Makefile.am:
3868         * gst/elements/gstelements.c:
3869           don't compile fdsrc without sys/socket.h
3870         * gst/indexers/Makefile.am:
3871         * gst/indexers/gstindexers.c: (plugin_init):
3872           don't compile fileindex without mmap
3873
3874 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3875
3876         * configure.ac:
3877           reorganize
3878           clean up
3879           document more
3880           remove cruft
3881         * check/Makefile.am:
3882         * docs/gst/Makefile.am:
3883         * examples/helloworld/Makefile.am:
3884         * gst/Makefile.am:
3885         * gst/base/Makefile.am:
3886         * gst/check/Makefile.am:
3887         * gst/elements/Makefile.am:
3888         * gst/indexers/Makefile.am:
3889         * gst/parse/Makefile.am:
3890         * libs/gst/controller/Makefile.am:
3891         * libs/gst/dataprotocol/Makefile.am:
3892         * examples/helloworld/helloworld.c: (event_loop):
3893           compile fixes, though it's not being compiled currently
3894
3895 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3896
3897         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3898           Add some simple tests for the new taglist date API.
3899
3900 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3901
3902         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3903         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3904           Beautify 'last-message' output: print 'none' for buffer timestamps
3905           and durations if none is set; improve alignment with next messages.
3906
3907 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3908
3909         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3910         * gst/gstpluginfeature.h:
3911         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3912         * gst/gstregistry.h:
3913         * docs/gst/gstreamer-sections.txt:
3914           Add new API to check plugin feature version requirements.
3915
3916         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3917           Some basic tests for the above.         
3918
3919 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3920
3921         * gst/gststructure.c: (gst_structure_to_string):
3922           guard against NULL printf - happens when for example
3923           a message structure with GstClock gets serialized
3924
3925 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3926
3927         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3928           Fix presumable copy'n'pasto.
3929
3930 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3931
3932         * gst/elements/gstfakesrc.h:
3933         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3934         * gst/elements/gsttypefindelement.c:
3935           fix some signedness
3936         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3937           I wonder if this could actually write +2GB files before
3938
3939 2005-10-13  Andy Wingo  <wingo@pobox.com>
3940
3941         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3942         Fix Timmeke Waymans bug.
3943         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3944         string of the proper length to gst_caps_from_string. There's a
3945         potential for, before this fix, that this could cause someone
3946         connecting over the network to cause a segfault if the payload is
3947         not NUL-terminated.
3948
3949 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3950
3951         * docs/design/draft-push-pull.txt:
3952         * docs/design/part-overview.txt:
3953         * docs/random/TODO-pre-0.9:
3954         * docs/random/old/ChangeLog.gstreamer:
3955         * gst/base/gstpushsrc.c:
3956         * gst/gstclock.c:
3957           fixed typos
3958
3959 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3960
3961         * gst/glib-compat.c: (gst_flags_get_first_value):
3962         * gst/glib-compat.h:
3963         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3964         (gst_value_compare_double), (gst_value_serialize_flags):
3965           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3966           infinite loop
3967
3968 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3969
3970         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3971         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3972           fix up debugging
3973         * tools/gst-launch.c: (event_loop):
3974           print out clock nicely
3975
3976 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3977
3978         * docs/gst/gstreamer-sections.txt:
3979         * gst/gsttaglist.h:
3980         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3981         (gst_tag_list_get_date_index):
3982           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3983           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3984
3985 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3986
3987         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3988         (gst_collectpads_chain):
3989         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3990         in CollectData.
3991
3992 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3993
3994         * docs/gst/gstreamer-sections.txt:
3995         * gst/gst.c:
3996         * gst/gsterror.h:
3997         * tools/gst-inspect.c: (main):
3998         * tools/gst-launch.c: (main):
3999         * tools/gst-run.c: (main):
4000         * tools/gst-xmlinspect.c: (main):
4001           fix GOption context leaks
4002           doc fixes
4003
4004 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4005
4006         * gst/gstbus.c:
4007           use HAVE_UNISTD_H
4008         * win32/common/config.h:
4009           update config
4010         * win32/vs6/grammar.dsp:
4011         * win32/vs6/libgstelements.dsp:
4012         * win32/vs6/libgstreamer.dsp:
4013           update vs6 files
4014
4015 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4016
4017         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4018         * gst/base/gstbasesrc.c: (gst_base_src_query):
4019           fix more guint64<->gdouble conversions
4020
4021 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4022
4023         * Makefile.am:
4024           add win32-update target
4025         * win32/common/gstconfig.h:
4026         * win32/common/gstenumtypes.c:
4027         * win32/common/gstenumtypes.h:
4028         * win32/common/gstversion.h:
4029           add files that visual studio can't generate
4030
4031 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4032
4033         * Makefile.am:
4034           add a win32-update target
4035         * configure.ac:
4036
4037 2005-10-12  Wim Taymans  <wim@fluendo.com>
4038
4039         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4040         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4041         * gst/gstelement.c: (gst_element_commit_state),
4042         (gst_element_set_state):
4043         Protect flags with proper lock.
4044         unref provided cached clock in dispose.
4045
4046 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4047
4048         * gst/gst.c:
4049         * gst/gstminiobject.h:
4050         * gst/gstpad.h:
4051         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4052           removed unused flags from miniobject
4053           doc fixes
4054
4055 2005-10-12  Wim Taymans  <wim@fluendo.com>
4056
4057         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4058         (gst_file_sink_event), (gst_file_sink_render):
4059         Flush before seeking.
4060
4061 2005-10-12  Andy Wingo  <wingo@pobox.com>
4062
4063         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4064         always been the case.
4065
4066 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4067
4068         * check/gst/gstbin.c: (GST_START_TEST):
4069         * docs/gst/gstreamer-sections.txt:
4070         * gst/base/gstbasesink.c: (gst_base_sink_init):
4071         * gst/base/gstbasesrc.c: (gst_base_src_init),
4072         (gst_base_src_get_range), (gst_base_src_check_get_range),
4073         (gst_base_src_start), (gst_base_src_stop):
4074         * gst/base/gstbasesrc.h:
4075         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4076         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4077         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4078         (bin_bus_handler):
4079         * gst/gstbin.h:
4080         * gst/gstbuffer.h:
4081         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4082         * gst/gstbus.h:
4083         * gst/gstelement.c: (gst_element_is_locked_state),
4084         (gst_element_set_locked_state), (gst_element_commit_state),
4085         (gst_element_set_state):
4086         * gst/gstelement.h:
4087         * gst/gstindex.c: (gst_index_init):
4088         * gst/gstindex.h:
4089         * gst/gstminiobject.h:
4090         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4091         (gst_object_set_parent):
4092         * gst/gstobject.h:
4093         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4094         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4095         * gst/gstpad.h:
4096         * gst/gstpadtemplate.h:
4097         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4098         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4099         * gst/gstpipeline.h:
4100         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4101         (gst_file_index_commit):
4102         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4103         * testsuite/pad/link.c: (gst_test_src_init),
4104         (gst_test_filter_init), (gst_test_sink_init):
4105         * testsuite/states/locked.c: (main):
4106           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4107           moved bitshift from macro to enum definition
4108
4109 2005-10-12  Wim Taymans  <wim@fluendo.com>
4110
4111         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4112         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4113         (gst_file_sink_render):
4114         Some more debugging info.
4115
4116 2005-10-12  Wim Taymans  <wim@fluendo.com>
4117
4118         * docs/design/part-states.txt:
4119         * tools/gst-launch.c: (main):
4120         Some doc updates.
4121         Revert non-intentional change.
4122
4123 2005-10-12  Wim Taymans  <wim@fluendo.com>
4124
4125         * check/gst/gstbin.c: (GST_START_TEST):
4126         * check/gst/gstelement.c: (GST_START_TEST):
4127         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4128         * check/gst/gstghostpad.c: (GST_START_TEST):
4129         * check/gst/gstpipeline.c: (GST_START_TEST):
4130         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4131         * check/states/sinks.c: (GST_START_TEST):
4132         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4133         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4134         (gst_bin_remove_func), (gst_bin_get_state_func),
4135         (gst_bin_recalc_state), (gst_bin_change_state_func),
4136         (bin_bus_handler):
4137         * gst/gstelement.c: (gst_element_get_state_func),
4138         (gst_element_get_state), (gst_element_abort_state),
4139         (gst_element_commit_state), (gst_element_set_state),
4140         (gst_element_change_state), (gst_element_change_state_func):
4141         * gst/gstelement.h:
4142         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4143         (gst_pipeline_provide_clock_func):
4144         * gst/gstutils.c: (gst_element_link_pads_filtered):
4145         * tools/gst-launch.c: (main):
4146         * tools/gst-typefind.c: (main):
4147         Use GstClockTime in _get_state() instead of GTimeVal.
4148         Remove old code in gstutils.c
4149
4150 2005-10-12  Andy Wingo  <wingo@pobox.com>
4151
4152         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4153         removed.
4154
4155         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4156         there is no task. Shouldn't affect any code, as nothing in our
4157         plugins checks this return value.
4158         (gst_pad_stop_task): Also take the stream lock if the pad has no
4159         task. Docs updated.
4160
4161 2005-10-12  Wim Taymans  <wim@fluendo.com>
4162
4163         * gst/gstpad.c: (pre_activate), (post_activate),
4164         (gst_pad_activate_pull), (gst_pad_activate_push):
4165         Cleanup activation code. Reset old state if
4166         activation failed.
4167
4168 2005-10-12  Wim Taymans  <wim@fluendo.com>
4169
4170         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4171         (gst_base_sink_change_state):
4172         No need to prerol after receiving EOS.
4173
4174         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4175         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4176         * gst/elements/gstidentity.c: (gst_identity_event):
4177         Print events more verbosely.
4178
4179 2005-10-12  Wim Taymans  <wim@fluendo.com>
4180
4181         * check/Makefile.am:
4182         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4183         * check/states/sinks2.c:
4184         Moved sinks2 testcode in sinks check.
4185
4186         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4187         (gst_bin_remove_func), (gst_bin_recalc_state),
4188         (gst_bin_change_state_func), (bin_bus_handler):
4189         Fix potential race condition when _get_state() iterated over an
4190         ASYNC element right before it posted a state completion.
4191
4192         * gst/gstclock.h:
4193         Do proper cast here.
4194
4195         * gst/gstevent.c: (gst_event_new_newsegment),
4196         (gst_event_parse_newsegment):
4197         A playback rate of 0.0 is not allowed.
4198
4199 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4200
4201         * win32/common/config.h:
4202         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4203         (_trewinddir), (_ttelldir), (_tseekdir):
4204         * win32/common/dirent.h:
4205         * win32/common/gtchar.h:
4206         * win32/common/libgstbase.def:
4207         * win32/common/libgstreamer.def:
4208         * win32/vs6/grammar.dsp:
4209         * win32/vs6/gst_inspect.dsp:
4210         * win32/vs6/gst_launch.dsp:
4211         * win32/vs6/gstreamer.dsw:
4212         * win32/vs6/libgstbase.dsp:
4213         * win32/vs6/libgstelements.dsp:
4214         * win32/vs6/libgstreamer.dsp:
4215           Visual Studio 6 project files, and a new common directory.
4216           Phear.
4217
4218 2005-10-11  Wim Taymans  <wim@fluendo.com>
4219
4220         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4221         (gst_base_sink_do_sync), (gst_base_sink_query),
4222         (gst_base_sink_change_state):
4223         * gst/base/gstbasesink.h:
4224         Correctly parse newsegment info.
4225
4226 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4227
4228         * gst/gst.c: (init_post):
4229           split plugin paths correctly
4230
4231 2005-10-11  Wim Taymans  <wim@fluendo.com>
4232
4233         * check/gst/gstevent.c: (GST_START_TEST):
4234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4235         (gst_base_sink_change_state):
4236         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4237         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4238         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4239         * gst/gstevent.c: (gst_event_new_newsegment),
4240         (gst_event_parse_newsegment):
4241         * gst/gstevent.h:
4242         Added extra flag to newsegment for future API freeze.
4243         Updated check and base elements.
4244
4245 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4246
4247         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4248         (gst_collectpads_add_pad), (gst_collectpads_pop),
4249         (gst_collectpads_event), (gst_collectpads_chain):
4250         * gst/base/gstcollectpads.h: Handle EOS correctly.
4251
4252 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4253
4254         * tools/gst-launch.c: (main):
4255           more null protecting
4256
4257 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4258
4259         * gst/gst-i18n-lib.h:
4260           check for ENABLE_NLS, not GETTEXT_PACKAGE
4261         * gst/gstregistry.c: (gst_registry_add_plugin),
4262         (gst_registry_scan_path_level),
4263         (_gst_registry_remove_cache_plugins):
4264           protect possibly NULL strings
4265         * gst/parse/types.h:
4266           config.h already included before
4267         * tools/gst-inspect.c: (main):
4268           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4269           check for ENABLE_NLS, not GETTEXT_PACKAGE
4270         * tools/gst-launch.c: (main):
4271           check for ENABLE_NLS, not GETTEXT_PACKAGE
4272
4273 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4274
4275         * configure.ac:
4276           if we don't have glib, fail before testing 2.8
4277         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4278           fix a leak, should fix plugins-base testsuite
4279
4280 2005-10-11  Andy Wingo  <wingo@pobox.com>
4281
4282         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4283         take the mode we're going to as an arg. Go head and set the mode
4284         and flushing flags now, so that if the activate function starts a
4285         thread all the flags will be in the right state.
4286         (post_activate): Renamed also. Just handle making sure streaming
4287         finishes for the deactivation case, and setting the deactivated
4288         mode.
4289         (gst_pad_set_active): Complain loudly if deactivation fails.
4290         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4291         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4292         remove the terrible hack.
4293
4294 2005-10-11  Wim Taymans  <wim@fluendo.com>
4295
4296         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4297         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4298         (gst_bin_recalc_state), (gst_bin_change_state_func),
4299         (gst_bin_dispose), (bin_bus_handler):
4300         * gst/gstbin.h:
4301         Prepare to make current EOS message queue more generic.
4302         Fix some typos.
4303
4304         * gst/gstevent.c: (gst_event_new_newsegment),
4305         (gst_event_parse_newsegment):
4306         * gst/gstevent.h:
4307         Rename base to stream_time.
4308
4309         * gst/gstmessage.h:
4310         Fix typo in docs.
4311
4312 2005-10-11  Wim Taymans  <wim@fluendo.com>
4313
4314         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4315         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4316         (gst_bin_change_state_func), (bin_bus_handler):
4317         * gst/gstbin.h:
4318         Work on proper clock selection.
4319
4320 2005-10-11  Edward Hervey  <edward@fluendo.com>
4321
4322         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4323         * libs/gst/controller/gstcontroller.h:
4324         Added GList* version of _remove_properties() in order to be able to wrap
4325         it in bindings.
4326
4327 2005-10-11  Wim Taymans  <wim@fluendo.com>
4328
4329         * docs/design/part-states.txt:
4330         Some more docs.
4331
4332         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4333         (gst_bin_change_state_func), (bin_bus_handler):
4334         Doc updates. Don't distribute the same clock over and over again.
4335
4336         * gst/gstclock.c:
4337         * gst/gstclock.h:
4338         Doc updates.
4339
4340         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4341         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4342         (gst_pad_send_event):
4343         * gst/gstpad.h:
4344         Make probe emission threadsafe again.
4345         Register quarks and move _get_name() from utils.
4346         Doc updates.
4347
4348         * gst/gstpipeline.c: (gst_pipeline_class_init),
4349         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4350         Only redistribute the clock of it changed.
4351
4352         * gst/gstsystemclock.h:
4353         Doc updates. 
4354
4355         * gst/gstutils.c:
4356         * gst/gstutils.h:
4357         Moved the _flow_get_name() to GstPad.
4358
4359 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4360
4361         * check/gst-libs/gdp.c: (GST_START_TEST):
4362         * check/gst/gstcaps.c: (GST_START_TEST):
4363         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4364         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4365         (gst_dp_packet_from_caps):
4366           fix more valgrind warnings before turning up the heat
4367
4368 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4369
4370         * gst/parse/grammar.y:
4371           some cleanup before the hacking
4372
4373 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4374
4375         * gst/base/gstbasesrc.c: (gst_base_src_query):
4376           use conversions
4377         * gst/gstutils.c: (gst_guint64_to_gdouble),
4378         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4379         * gst/gstutils.h:
4380           externalize, basesrc uses it
4381           obviously the implementation needs testing
4382
4383 2005-10-10  Wim Taymans  <wim@fluendo.com>
4384
4385         * tests/sched/Makefile.am:
4386         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4387         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4388
4389 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4390
4391         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4392           apparently converting from guint64 to double is not implemented
4393           on MSVC
4394
4395 2005-10-10  Wim Taymans  <wim@fluendo.com>
4396
4397         * check/Makefile.am:
4398         * check/generic/states.c: (GST_START_TEST):
4399         * check/gst/gstbin.c: (GST_START_TEST):
4400         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4401         * check/states/sinks.c: (GST_START_TEST):
4402         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4403         (main):
4404         Check fixes, use API as stated in design docs, remove hacks.
4405
4406         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4407         (gst_base_sink_change_state):
4408         Catch stopping our task while we're shutting down.
4409
4410         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4411         (gst_bin_remove_func), (gst_bin_get_state_func),
4412         (gst_bin_recalc_state), (gst_bin_change_state_func),
4413         (bin_bus_handler):
4414         * gst/gstbin.h:
4415         * gst/gstelement.c: (gst_element_init),
4416         (gst_element_get_state_func), (gst_element_abort_state),
4417         (gst_element_commit_state), (gst_element_lost_state),
4418         (gst_element_set_state), (gst_element_change_state),
4419         (gst_element_change_state_func):
4420         * gst/gstelement.h:
4421         New state change algorithm (see #318116)
4422
4423         * gst/gstpipeline.c: (gst_pipeline_class_init),
4424         (gst_pipeline_init), (gst_pipeline_set_property),
4425         (gst_pipeline_get_property), (do_pipeline_seek),
4426         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4427         * gst/gstpipeline.h:
4428         Remove crude state change hacks.
4429
4430         * gst/gstutils.h:
4431         Remove crude hacks.
4432
4433         * tools/gst-launch.c: (main):
4434         Fixes for state change. Needs some more work to fully use the
4435         new stuff.
4436
4437 2005-10-10  Andy Wingo  <wingo@pobox.com>
4438
4439         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4440
4441         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4442         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4443         issue.
4444
4445 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4446
4447         * gst/gstiterator.c: (gst_iterator_new):
4448           Fix my previous commit: GTypes passed to gst_iterator_new()
4449           can be fundamental types.
4450
4451 2005-10-10  Wim Taymans  <wim@fluendo.com>
4452
4453         * gst/gstelement.c: (gst_element_iterate_pad_list),
4454         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4455         (gst_element_iterate_sink_pads):
4456         Use src/sink pads lists for the respective iterators instead
4457         of filtering.
4458
4459 2005-10-10  Andy Wingo  <wingo@pobox.com>
4460
4461         Merged in popt removal + GOption addition patch from Ronald, bug
4462         #169772.
4463
4464         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4465         GstElement macros around, remove popt-related symbols, add goption
4466         stuff.
4467
4468         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4469         
4470         * docs/gst/Makefile.am:
4471         * docs/libs/Makefile.am: No POPT_CFLAGS.
4472         
4473         * examples/manual/Makefile.am:
4474         * docs/manual/basics-init.xml: Doc updates with an example.
4475         
4476         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4477         (gst_init), (parse_one_option), (parse_goption_arg):
4478         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4479         bit of hand merging and debugging to get the GOption stuff working
4480         tho.
4481         
4482         * tests/Makefile.am:
4483         * tools/Makefile.am:
4484         * tools/gst-inspect.c: (main):
4485         * tools/gst-launch.c: (main):
4486         * tools/gst-run.c: (main):
4487         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4488
4489 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4490
4491         * gst/gstiterator.c: (gst_iterator_new):
4492           Add assertions to make sure passed GType is likely to really
4493           be a GType (as the compiler won't catch it if the size and
4494           GType arguments get mixed up, see #318447).
4495
4496 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4497
4498         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4499
4500         * gst/gstbin.c: (gst_bin_iterate_sorted):
4501           Pass GType and size arguments to gst_iterator_new() in the right
4502           order (maybe we should make _new() take the GType as first argument
4503           just like _new_list()?) (#318447).
4504           
4505
4506 2005-10-10  Wim Taymans  <wim@fluendo.com>
4507
4508         * gst/gstelement.c: (gst_element_finalize):
4509         And free the GStaticRecMutex too
4510
4511 2005-10-10  Andy Wingo  <wingo@pobox.com>
4512
4513         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4514         Allocate and free the mutex properly.
4515
4516         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4517         New macros.
4518         (GstElement): The state_lock is now recursive. Rebuild your
4519         plugins, suckers. Old macros adapted.
4520
4521         * docs/gst/gstreamer-sections.txt: Doc updates.
4522
4523         * gst/gstutils.h:
4524         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4525         (g_static_rec_cond_wait): Ported from state changes patch, while
4526         we wait on bug #317802 to be solved in a well-distributed GLib.
4527
4528         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4529         gst_element_change_state, variable name changes.
4530         (gst_element_change_state): Split out of gst_element_set_state in
4531         preparation for the state change merge. Doesn't pay attention to
4532         the 'transition' argument.
4533         (gst_element_set_state): Updates, hopefully purely cosmetic.
4534         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4535         state change patch.
4536         (gst_element_get_state_func): Renamed from get_state, cosmetic
4537         changes.
4538
4539 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4540
4541         * gst/elements/gstelements.c:
4542         * win32/GStreamer.vcproj:
4543         * win32/config.h:
4544         * win32/dirent.c: (_tseekdir):
4545         * win32/gst-inspect.vcproj:
4546         * win32/gst-launch.vcproj:
4547         * win32/gstconfig.h:
4548         * win32/gstelements.vcproj:
4549         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4550         * win32/gstreamer.def:
4551         * win32/msvc71.sln:
4552           updates for the win32 build (patch from Sebastien Moutte)
4553
4554 2005-10-10  Andy Wingo  <wingo@pobox.com>
4555
4556         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4557         gst_bin_get_state, cleaned up (but no logic changes).
4558         (bin_element_is_sink): Comment updates.
4559         (sink_iterator_filter): Remove needless cast.
4560         (gst_bin_iterate_sinks): Doc update.
4561         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4562         cleaned up (but no logic changes).
4563
4564         * check/states/sinks.c (test_src_sink): Cleanups from the state
4565         change patch.
4566         (test_livesrc_sink): Sync on the state.
4567
4568         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4569         the state change patch.
4570
4571         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4572         change patch.
4573
4574         * check/gst/gstbin.c: Merge in some style fixes and additional
4575         checks from Wim's state change patch.
4576
4577 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4578
4579         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4580         (gst_type_find_helper):
4581           Check whether we have the requested data already in our list of
4582           cached buffers before pulling a new buffer; also make the buffer
4583           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4584
4585 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4586
4587         * gst/gstcaps.c:
4588         * gst/gstevent.c:
4589           doc updates
4590         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4591           don't use long long, it's not portable.  Replacing with
4592           gint64 seems to work; let's hope no skeletons fall out of the closet.
4593
4594 2005-10-10  Andy Wingo  <wingo@pobox.com>
4595
4596         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4597
4598 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4599
4600         * docs/gst/gstreamer-sections.txt:
4601         * gst/gstevent.c:
4602         * gst/gstevent.h:
4603         * gst/gstinfo.c:
4604         * gst/gstinfo.h:
4605         * gst/gstmessage.c: (gst_message_parse_state_changed):
4606         * gst/gstpad.c:
4607         * gst/gstpad.h:
4608           more docs, fix compilation
4609
4610 2005-10-09  Philippe Khalaf <burger@speedy.org>
4611         * gst/gstmessage.c:
4612           Fixed a few forgotten variables on previous commit
4613
4614 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4615
4616         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4617           Fix evil typefind crasher: getrange() might return a short
4618           buffer at the end of a file, but gst_type_find_peek() must
4619           either return the full data as requested or NULL, but
4620           never a short buffer.
4621
4622 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4623
4624         * gst/gstmessage.c: (gst_message_new_state_changed),
4625         (gst_message_parse_state_changed):
4626         * gst/gstmessage.h:
4627           don't use "new", it's a C++ keyword
4628
4629 2005-10-08  Wim Taymans  <wim@fluendo.com>
4630
4631         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4632         * gst/gstelement.c: (gst_element_post_message):
4633         * gst/gstpipeline.c: (gst_pipeline_change_state):
4634         Small docs and debug updates.
4635
4636 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4637
4638         * docs/gst/gstreamer-sections.txt:
4639         * gst/gstelementfactory.c:
4640         * gst/gstevent.c:
4641         * gst/gsttaglist.c:
4642           more docs
4643
4644 2005-10-08  Wim Taymans  <wim@fluendo.com>
4645
4646         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4647         (gst_bin_dispose), (bin_bus_handler):
4648         Fix typos, add comments.
4649         Clear EOS list when going to PAUSED from any direction and do it
4650         in a threadsafe way.
4651         Get base time in a threadsafe way too.
4652         Fix confusing debug in the change_state function.
4653         Various other small cleanups.
4654         
4655         * gst/gstelement.c: (gst_element_post_message):
4656         Fix very verbose bus posting code.
4657
4658         * gst/gstpipeline.c: (gst_pipeline_class_init),
4659         (gst_pipeline_set_property), (gst_pipeline_get_property),
4660         (gst_pipeline_change_state):
4661         Small ARG_ -> PROP_ cleanup
4662
4663 2005-10-08  Wim Taymans  <wim@fluendo.com>
4664
4665         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4666         Do a less CPU demanding EOS check because we can.
4667
4668 2005-10-08  Wim Taymans  <wim@fluendo.com>
4669
4670         * libs/gst/dataprotocol/dataprotocol.c:
4671         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4672         (gst_dp_packet_from_event):
4673         * libs/gst/dataprotocol/dataprotocol.h:
4674         * libs/gst/dataprotocol/dp-private.h:
4675         It's about time we bump the version number.
4676         Since event types don't fit in the guint8 anymore describing
4677         the payload type, make payload type 16 bits wide.
4678
4679 2005-10-08  Wim Taymans  <wim@fluendo.com>
4680
4681         * docs/design/part-TODO.txt:
4682         * docs/design/part-clocks.txt:
4683         * docs/design/part-events.txt:
4684         * docs/design/part-gstbin.txt:
4685         * docs/design/part-gstelement.txt:
4686         * docs/design/part-gstpipeline.txt:
4687         * docs/design/part-live-source.txt:
4688         * docs/design/part-messages.txt:
4689         * docs/design/part-overview.txt:
4690         * docs/design/part-states.txt:
4691         Many doc updates.
4692
4693 2005-10-08  Wim Taymans  <wim@fluendo.com>
4694
4695         * gst/gstevent.c:
4696         * gst/gstevent.h:
4697         Fix event quark registration.
4698         Add some space between events so we can insert them in the
4699         right groups.
4700
4701 2005-10-08  Wim Taymans  <wim@fluendo.com>
4702
4703         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4704         (gst_base_sink_handle_buffer):
4705         Better log message.
4706
4707         * gst/gstbus.h:
4708         * gst/gstelement.h:
4709         More docs.
4710
4711         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4712         (gst_queue_set_property), (gst_queue_get_property):
4713         * gst/gstqueue.h:
4714         Remove old unused properties.
4715
4716 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4717         * docs/gst/gstreamer-sections.txt:
4718         * gst/gstmessage.c:
4719         * gst/gstmessage.h:
4720         * gst/gstminiobject.c:
4721         * gst/gstminiobject.h:
4722         * gst/gstobject.h:
4723         * gst/gstpad.h:
4724         * gst/gstutils.h:
4725           lots of new docs and doc fixes
4726
4727 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4728
4729         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4730         * gst/gstplugin.h:
4731         * gst/gstregistry.c: (gst_registry_lookup_locked),
4732         (gst_registry_scan_path_level):
4733         * gst/gstregistryxml.c: (load_plugin):
4734           Only ever load one plugin for a given plugin basename.
4735           This ensures correct overriding of GST_PLUGIN_PATH over
4736           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4737           system installed plugins.
4738
4739 2005-10-08  Wim Taymans  <wim@fluendo.com>
4740
4741         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4742         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4743         Prepare for doing QOS.
4744
4745 2005-10-08  Wim Taymans  <wim@fluendo.com>
4746
4747         * check/gst/gstbin.c: (GST_START_TEST):
4748         * check/pipelines/cleanup.c: (GST_START_TEST):
4749         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4750         Allow new clock message too.
4751
4752 2005-10-08  Wim Taymans  <wim@fluendo.com>
4753
4754         * gst/gstmessage.c: (gst_message_new_error),
4755         (gst_message_new_warning), (gst_message_new_tag),
4756         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4757         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4758         (gst_message_new_segment_start), (gst_message_new_segment_done),
4759         (gst_message_parse_state_changed),
4760         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4761         (gst_message_parse_new_clock):
4762         * gst/gstmessage.h:
4763         Also carry the clock in question.
4764
4765 2005-10-08  Wim Taymans  <wim@fluendo.com>
4766
4767         * gst/gstmessage.c: (gst_message_new_custom),
4768         (gst_message_new_eos), (gst_message_new_error),
4769         (gst_message_new_warning), (gst_message_new_tag),
4770         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4771         (gst_message_new_new_clock), (gst_message_new_segment_start),
4772         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4773         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4774         * gst/gstmessage.h:
4775         Clean up.
4776         Added clock related messages.
4777
4778         * gst/gstpipeline.c: (gst_pipeline_change_state):
4779         Post message when the clock changed.
4780
4781         * tools/gst-launch.c: (event_loop):
4782         Print new clock.
4783
4784 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4785
4786         * tools/gst-inspect.c: (print_element_properties_info):
4787           Can't pass NULL strings to g_print() on windows.
4788
4789 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4790
4791         * docs/Makefile.am:
4792         * docs/gst/Makefile.am:
4793         * docs/gst/gstreamer-docs.sgml:
4794         * docs/gst/running.xml:
4795         * docs/version.entities.in:
4796           add a chapter on running GStreamer.
4797           document GST_DEBUG and GST_PLUGIN* env vars
4798
4799 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4800
4801         * Makefile.am:
4802           remove include dir
4803         * configure.ac:
4804           remove PLUGINS_BUILDDIR stuff
4805         * gst/gst.c: (init_post):
4806           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4807         * idiottest.mak:
4808           remove, it was condescending and not needed
4809
4810 2005-10-08  Wim Taymans  <wim@fluendo.com>
4811
4812         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4813         (gst_base_sink_handle_object), (gst_base_sink_event),
4814         (gst_base_sink_wait), (gst_base_sink_handle_event),
4815         (gst_base_sink_change_state):
4816         * gst/base/gstbasesink.h:
4817         Repost EOS message while going to PLAYING if still EOS.
4818         Make sure that when receiving a FLUSH_START we don't attempt
4819         to sync on the clock anymore.
4820
4821 2005-10-08  Wim Taymans  <wim@fluendo.com>
4822
4823         * tools/gst-launch.c: (event_loop):
4824         Better message printout.
4825
4826 2005-10-08  Wim Taymans  <wim@fluendo.com>
4827
4828         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4829         (gst_bin_child_proxy_get_children_count):
4830         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4831         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4832         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4833         (gst_child_proxy_set_valist):
4834         * gst/parse/grammar.y:
4835         Make ChildProxy threadsafe and fix mem leaks.
4836
4837 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4838
4839         * gst/gst.c: (init_post):
4840           debug the GST_PLUGIN_ env vars
4841
4842 2005-10-08  Wim Taymans  <wim@fluendo.com>
4843
4844         * check/gst/gstbin.c: (GST_START_TEST):
4845         * check/gst/gstmessage.c: (GST_START_TEST):
4846         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4847         * gst/gstelement.c: (gst_element_commit_state),
4848         (gst_element_lost_state):
4849         * gst/gstmessage.c: (gst_message_new_state_changed),
4850         (gst_message_parse_state_changed):
4851         * gst/gstmessage.h:
4852         * tools/gst-launch.c: (event_loop):
4853         Added extra field to STATE_CHANGE message with the pending
4854         state, which will be different from the new state soon.
4855
4856 2005-10-08  Wim Taymans  <wim@fluendo.com>
4857
4858         * gst/gstbus.c: (gst_bus_pop):
4859         * gst/gstclock.c:
4860         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4861         Small cleanups and doc updates.
4862
4863 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4864
4865         * gst/gst.c: (init_pre):
4866         * gst/gstbin.c: (gst_bin_add_func):
4867           log distributing clocks and base time
4868         * gst/gstregistry.c: (gst_registry_add_plugin),
4869         (gst_registry_scan_path_level), (gst_registry_scan_path):
4870           clean up the debugging output a little
4871         * gst/gstutils.c: (gst_element_state_get_name):
4872           warn about a memleak (I've actually seen this be used, though
4873           it was probably a bug)
4874
4875 2005-10-07  Wim Taymans  <wim@fluendo.com>
4876
4877         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4878         (gst_base_src_init), (gst_base_src_default_newsegment),
4879         (gst_base_src_newsegment), (gst_base_src_do_seek),
4880         (gst_base_src_loop), (gst_base_src_start):
4881         * gst/base/gstbasesrc.h:
4882         Make the newsegment event customizable by subclasses.
4883
4884 2005-10-07  Wim Taymans  <wim@fluendo.com>
4885
4886         * gst/gstevent.c: (gst_event_new_buffersize),
4887         (gst_event_parse_buffersize):
4888         * gst/gstevent.h:
4889         New event for future idea.
4890
4891 2005-10-07  Andy Wingo  <wingo@pobox.com>
4892
4893         * gst/gstelement.c (gst_element_post_message): Doc update.
4894
4895         * docs/gst/gstreamer-sections.txt: Update.
4896
4897         * gst/gstmessage.c (gst_message_new_application): Made into a
4898         function like honest API calls.
4899         (gst_message_new_element): New message type.
4900
4901         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4902
4903         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4904         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4905         times.
4906
4907         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4908         NO_PREROLL from gst_element_change_state to fall through.
4909
4910 2005-10-07  Wim Taymans  <wim@fluendo.com>
4911
4912         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4913         (gst_ghost_pad_do_activate_push):
4914         Activating a ghostpad with no internal pad in push mode
4915         is ok.
4916
4917 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4918
4919         * gst/gstobject.h:
4920           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4921           Fixes compilation on Windows.
4922
4923 2005-10-07  Michael Smith <msmith@fluendo.com>
4924
4925         * tools/gst-inspect.c:
4926           Print out feature and plugin count at the end when printing out
4927           all features.
4928
4929 2005-10-04  Michael Smith <msmith@fluendo.com>
4930
4931         * gst/gsterror.c: (_gst_stream_errors_init):
4932           Add another error string used in a few existing plugins.
4933
4934         * gst/gstplugin.c:
4935         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4936         * tools/gst-inspect.c: (print_element_info):
4937           When a feature disappears from a plugin (and the feature exists in
4938           the cached registry file), things went horribly wrong. This isn't a
4939           complete fix, we should actually be removing the 'missing' features
4940           from the features list when we load the actual plugin. That's not
4941           yet implemented. 
4942
4943 2005-10-04  Johan Dahlin  <johan@gnome.org>
4944
4945         * check/gst/gstiterator.c: (GST_START_TEST):
4946         * gst/gstbin.c: (gst_bin_iterate_elements),
4947         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4948         * gst/gstelement.c: (gst_element_iterate_pads):
4949         * gst/gstformat.c: (gst_format_iterate_definitions):
4950         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4951         (gst_iterator_new_list), (gst_iterator_filter):
4952         * gst/gstiterator.h:
4953         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4954         Add a GType to GstIterator, update callsites and tests.
4955
4956 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4957
4958         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4959           give events a chance to be handled by event probes when the pad
4960           is not linked
4961
4962 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4963
4964         * gst/gstevent.c: (gst_event_type_get_name),
4965         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4966         * gst/gstevent.h:
4967           add string representations for event types
4968
4969 2005-10-06  Wim Taymans  <wim@fluendo.com>
4970
4971         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4972         Don't use NULL pointers.
4973
4974 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4975
4976         * gst/gst_private.h:
4977         * gst/gstbus.c:
4978         * gst/gstelement.c:
4979         * gst/gstinfo.c:
4980         * gst/gstpluginfeature.c:
4981           widen the debug category in output to fit the biggest one we have
4982           add a bus category and use it
4983           play with the colors
4984           fix up some categories
4985
4986 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4987
4988         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4989           add push activation of sink ghost pads.
4990           Andye, please verify
4991
4992 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4993
4994         * gst/gstutils.c: (gst_element_link_pads):
4995           fix a bug in the case where neither element has a pad
4996         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4997           add a test for that case
4998
4999 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5000
5001         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5002           emit have-data before checking for peers.  This allows
5003           for probe handlers to connect elements.  This helps autopluggers.
5004         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5005         (gst_pad_suite):
5006           add six checks, linked/unlinked with no/true/false probe
5007
5008 2005-10-04  Wim Taymans  <wim@fluendo.com>
5009
5010         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5011         (gst_fake_sink_event), (gst_fake_sink_preroll),
5012         (gst_fake_sink_render), (gst_fake_sink_change_state):
5013         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5014         (gst_fake_src_get_property), (gst_fake_src_create),
5015         (gst_fake_src_stop):
5016         * gst/elements/gstidentity.c: (gst_identity_stop):
5017         Protect last_message with lock.
5018
5019 2005-10-04  Edward Hervey  <edward@fluendo.com>
5020
5021         * gst/gstformat.h: 
5022         Added precision in the comments for GST_FORMAT_DEFAULT
5023
5024 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5025
5026         * tools/gst-launch.c: (main):
5027           Don't try to run erroneous pipelines.
5028
5029 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5030
5031         * gst/gstbus.c: We don't need this header.
5032
5033 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5034
5035         * configure.ac:
5036           back to development
5037
5038 === release 0.9.3 ===
5039
5040 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5041
5042         * README:
5043         * configure.ac:
5044           Releasing 0.9.3, "Unregistered"
5045
5046 2005-10-03  Andy Wingo  <wingo@pobox.com>
5047
5048         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5049         whereby calling a pad's activatepush() function can start a thread
5050         that starts to push or pull before the pad gets the FLUSHING flag
5051         unset. Hack around it by holding the stream lock until the flag is
5052         set. Need to replace this with a proper solution. Together with
5053         the ghost pad fixes, this fixes mp3 playing/tagreading.
5054
5055         * docs/design/part-gstghostpad.txt: Add a note about activation of
5056         proxy pads outside of ghost pads.
5057
5058         * gst/gstghostpad.c: Implement the ghost pad activation design.
5059
5060 2005-10-02  Andy Wingo  <wingo@pobox.com>
5061
5062         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5063         It is volatile, after all.
5064
5065         * docs/design/part-gstghostpad.txt: Flesh out activation with
5066         ghost pads.
5067
5068         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5069         GST_DEBUG_FUNCPTR.
5070
5071 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5072
5073         * configure.ac:
5074           Fix (unused) AM_CONDITIONAL tests.
5075
5076 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5077
5078         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5079
5080         * gst/gstutils.c: (gst_pad_query_convert):
5081           Add assertion that makes sure src_val is >=0, just like
5082           gst_query_new_convert() has. (#315895)
5083
5084 2005-09-30  Edward Hervey  <edward@fluendo.com>
5085
5086         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5087         Let's not iterate pads we're not interested in, it avoids getting 
5088         sky-high refcounts on sinkpad.
5089
5090 2005-09-30  Wim Taymans  <wim@fluendo.com>
5091
5092         * gst/gstelement.c: (gst_element_set_state),
5093         (gst_element_change_state):
5094         Small tweak, element in ASYNC remains ASYNC.
5095
5096 2005-09-30  Wim Taymans  <wim@fluendo.com>
5097
5098         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5099         Only error is an error.
5100
5101         * gst/gstbin.c: (gst_bin_change_state):
5102         Better debugging.
5103
5104         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5105         Also call pad_block in pad alloc.
5106
5107         * gst/gstutils.c: (gst_flow_get_name):
5108         Better debugging.
5109
5110 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5111
5112         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5113         (gst_base_src_get_range):
5114           Fix documentation typos. Add some more debug info.
5115
5116 2005-09-29  David Schleef  <ds@schleef.org>
5117
5118         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5119           more end-user friendly.
5120         * tools/gst-inspect.c: (main): Check if command-line argument is
5121           a file and attempt to load that file as a plugin.
5122
5123 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5124
5125         * check/gst/gstbin.c:
5126         * check/states/sinks.c:
5127           fix tests for the new warning
5128         * check/gst/gstpipeline.c:
5129           add a test for pipeline and bus interaction
5130         * gst/gstelement.c:
5131           elements should be NULL if they get disposed; add a warning if not
5132
5133 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5134
5135         * gst/gstobject.c:
5136           for 2.6 refcounting, make debug log more correct by printing
5137           the actual refcounts at the time of swap (Wim)
5138
5139 2005-09-29  Andy Wingo  <wingo@pobox.com>
5140
5141         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5142         removes signal watches previously added via
5143         gst_bus_add_signal_watch.
5144         (gst_bus_add_signal_watch): Don't return the source id, just store
5145         it on the bus if there wasn't an id already.
5146
5147         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5148         add_signal_watch and remove_signal_watch.
5149
5150 2005-09-29  Edward Hervey  <edward@fluendo.com>
5151
5152         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5153         Better if we actually iterate the list :)
5154
5155 2005-09-29  Wim Taymans  <wim@fluendo.com>
5156
5157         * check/gst/gstbin.c: (GST_START_TEST):
5158         Change for new bus API.
5159
5160         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5161         (send_messages), (GST_START_TEST), (gstbus_suite):
5162         Change for new bus signal API.
5163
5164         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5165         (gst_bus_source_prepare), (gst_bus_source_check),
5166         (gst_bus_create_watch), (gst_bus_add_watch_full),
5167         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5168         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5169         * gst/gstbus.h:
5170         Remove support for multiple GSources operating on different
5171         message types as it is too complex and unneeded when using
5172         signals.
5173         Added support for receiving signals from the bus.
5174
5175 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5176
5177         * docs/libs/tmpl/gstdataprotocol.sgml:
5178         * docs/manual/advanced-dataaccess.xml:
5179         * gst/elements/gstcapsfilter.c:
5180         * gst/gstutils.c:
5181           rename filter-caps to caps property
5182
5183 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5184
5185         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5186           More robust fraction string parsing.
5187
5188         * docs/pwg/appendix-porting.xml:
5189           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5190
5191 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5192
5193         * gst/gstcaps.c: (gst_caps_do_simplify):
5194           Thou shalt not free a structure and then continue using it
5195           in the next loop iteration.
5196
5197         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5198         (gst_caps_suite):
5199           Add test case for caps simplification.
5200
5201 2005-09-29  Wim Taymans  <wim@fluendo.com>
5202
5203         * check/gst/gstbin.c: (GST_START_TEST):
5204         Oops.
5205
5206 2005-09-29  Wim Taymans  <wim@fluendo.com>
5207
5208         * check/gst/gstbin.c: (GST_START_TEST):
5209         Add bus to bin.
5210
5211         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5212         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5213         (find_element), (gst_bin_sort_iterator_next),
5214         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5215         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5216         (gst_bin_change_state), (gst_bin_dispose):
5217         A bin does not have a bus, it gets the bus from the parent.
5218
5219         * gst/gstelement.c: (gst_element_requires_clock),
5220         (gst_element_provides_clock), (gst_element_is_indexable),
5221         (gst_element_is_locked_state), (gst_element_change_state),
5222         (gst_element_set_bus_func):
5223         Small cleanups.
5224
5225         * gst/gstpipeline.c: (gst_pipeline_class_init),
5226         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5227         The pipeline provides a bus.
5228
5229 2005-09-28  Johan Dahlin  <johan@gnome.org>
5230
5231         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5232         gst_structure_get_enum instead of gst_structure_get_int
5233
5234         * gst/gststructure.c (gst_structure_get_enum): Impl.
5235
5236         * gst/gststructure.h (gst_structure_get_enum): Add
5237
5238         * docs/gst/gstreamer-sections.txt: Ditto
5239
5240         * gst/gstmessage.c (gst_message_new_state_changed): Use
5241         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5242         which does introspection.
5243         Reviewed by Christian Schaller
5244
5245 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5246
5247         * gst/gstinfo.c: (gst_debug_log_default):
5248           don't do dummy g_strdup()s
5249         * libs/gst/controller/gstcontroller.c:
5250         (on_object_controlled_property_changed),
5251         (gst_controlled_property_new), (gst_controller_new_valist),
5252         (gst_controller_new_list),
5253         (gst_controller_remove_properties_valist), (gst_controller_set),
5254         (gst_controller_get), (gst_controller_sync_values),
5255         (gst_controller_get_value_array), (_gst_controller_class_init),
5256         (gst_controller_get_type):
5257         * libs/gst/controller/gstcontroller.h:
5258         * libs/gst/controller/gstinterpolation.c:
5259         (gst_controlled_property_find_timed_value_node):
5260           convert // to /**/ comments
5261
5262 2005-09-28  Wim Taymans  <wim@fluendo.com>
5263
5264         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5265         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5266         (gst_bus_sync_signal_handler):
5267         * gst/gstbus.h:
5268         Added async-message and sync-message signals to the bus.
5269         Added helper BusFunc to emit signals for all posted messages.
5270
5271         * gst/gstmessage.c: (gst_message_type_get_name),
5272         (gst_message_type_to_quark), (gst_message_get_type):
5273         * gst/gstmessage.h:
5274         Register quarks for message names.
5275
5276 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5277
5278         * docs/libs/gstreamer-libs-sections.txt:
5279         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5280         (gst_controller_new_list):
5281         * libs/gst/controller/gstcontroller.h:
5282           added another constructor for language bindings
5283
5284 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5285
5286         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5287           add another check
5288         * gst/gstbus.c:
5289           add some doc
5290         * gst/gstinfo.c: (_gst_debug_init):
5291           slightly more readable color for refcount debugging
5292
5293 2005-09-28  Wim Taymans  <wim@fluendo.com>
5294
5295         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5296         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5297         (find_element), (gst_bin_sort_iterator_next),
5298         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5299         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5300         (gst_bin_change_state), (gst_bin_dispose):
5301         Small doc fixes. get_clock -> provide_clock.
5302
5303         * gst/gstelement.c: (gst_element_class_init),
5304         (gst_element_provides_clock), (gst_element_provide_clock),
5305         (gst_element_get_clock), (gst_element_commit_state),
5306         (gst_element_lost_state):
5307         * gst/gstelement.h:
5308         Make get/set_clock() symetric. Add provide_clock vmethod since
5309         that is actually what this function does.
5310
5311         * gst/gstpipeline.c: (gst_pipeline_class_init),
5312         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5313         (gst_pipeline_get_clock):
5314         get_clock -> provide_clock.
5315
5316 2005-09-28  Andy Wingo  <wingo@pobox.com>
5317
5318         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5319         lieu of real docs...
5320
5321         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5322
5323 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5324
5325         * gst/elements/gstcapsfilter.c:
5326         * gst/elements/gstfakesink.c:
5327         * gst/elements/gstfakesrc.c:
5328         * gst/elements/gstfdsink.c:
5329         * gst/elements/gstfdsrc.c:
5330         * gst/elements/gstfilesink.c:
5331         * gst/elements/gstfilesrc.c:
5332         * gst/elements/gstidentity.c:
5333         * gst/elements/gsttee.c:
5334         * gst/elements/gsttypefindelement.c:
5335           Make element details static.
5336
5337 2005-09-28  Wim Taymans  <wim@fluendo.com>
5338
5339         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5340         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5341         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5342         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5343         (gst_bin_change_state), (gst_bin_dispose):
5344         Some documentation updates.
5345         Clean up dispose handlers.
5346
5347         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5348         * gst/gstpad.c: (gst_pad_dispose):
5349         Clean up dispose handler.
5350
5351         * gst/gstpipeline.c: (gst_pipeline_change_state):
5352         Removed spurious UNLOCK.
5353
5354 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5355
5356         * docs/gst/gstreamer-sections.txt:
5357         * gst/base/gstbasesrc.h:
5358         * gst/gstelement.h:
5359         * gst/gstevent.h:
5360         * gst/gstobject.h:
5361         * gst/gstpad.h:
5362         * gst/gstpipeline.c:
5363         * gst/gstpipeline.h:
5364         * gst/gstutils.h:
5365         * gst/gstxml.h:
5366           added two new functions to the docs
5367                 documents all undocumented GstXXXFlags
5368                 completed some incomplete docs 
5369
5370 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5371
5372         * gst/gstbin.c: (gst_bin_dispose):
5373         * gst/gstelement.c: (gst_element_dispose):
5374           remove now useless and leaky resurrection code in dispose
5375         * gst/base/gstbasesrc.c: (gst_base_src_init):
5376         * gst/gstelementfactory.c: (gst_element_factory_create):
5377         * gst/gstobject.c: (gst_object_set_parent):
5378           add some debugging
5379
5380 2005-09-27  Wim Taymans  <wim@fluendo.com>
5381
5382         * docs/design/part-TODO.txt:
5383         Update TODO.
5384
5385         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5386         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5387         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5388         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5389         (gst_bin_change_state):
5390         * gst/gstelement.h:
5391         Remove element variable, we keep element info in the iterator now.
5392
5393 2005-09-27  Andy Wingo  <wingo@pobox.com>
5394
5395         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5396         values.
5397
5398 2005-09-27  Wim Taymans  <wim@fluendo.com>
5399
5400         * check/gst/gstbin.c: (GST_START_TEST):
5401         Enable check that works now.
5402
5403         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5404         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5405         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5406         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5407         (gst_bin_change_state):
5408         * gst/gstbin.h:
5409         Redid the state change algorithm using a topological sort algo.
5410         Handles all cases correctly.
5411         Exposed iterator for state change order.
5412
5413         * gst/gstelement.h:
5414         Temp storage for state changes. Need to get rid of this soon.
5415
5416 2005-09-27  Wim Taymans  <wim@fluendo.com>
5417
5418         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5419         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5420         (link_fold_func), (gst_pad_proxy_setcaps):
5421         Leak fixes, the fold functions need to unref the passed object and
5422         _get_parent_*() returns ref to parent.
5423
5424 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5425
5426         * check/gst/gstbuffer.c: (test_make_writable):
5427           Plug leak in test case and fix 'make check-valgrind'
5428
5429 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5430
5431         * gst/gstbuffer.c: (gst_subbuffer_init):
5432           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5433           works correctly in all circumstances (we could have just copied
5434           the parent buffer's readonly flag, but conceptually it seems
5435           cleaner to mark all subbuffers as read-only). (based on patch
5436           by Alessandro Decina, #314710).
5437         
5438         * check/gst/gstbuffer.c: (create_read_only_buffer),
5439         (test_make_writable), (test_subbuffer_make_writable),
5440         (gst_test_suite):
5441           Add some tests for gst_buffer_make_writable().
5442
5443 2005-09-27  Wim Taymans  <wim@fluendo.com>
5444
5445         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5446         use gst_object_has_ancestor().
5447
5448         * gst/gstobject.c: (gst_object_has_ancestor):
5449         * gst/gstobject.h:
5450         gst_object_has_ancestor() copied from gstbin.c as it is a
5451         usefull function.
5452
5453         * tests/instantiate/create.c: (create_all_elements):
5454         * tests/lat.c: (handoff_src), (handoff_sink):
5455         * tests/sched/runxml.c: (main):
5456         * tests/seeking/seeking1.c: (main):
5457         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5458         (main):
5459         Fix compilation of some tests.
5460
5461 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5462
5463         * gst/gsterror.h:
5464           Remove comment. GST_TYPE_G_ERROR is here to stay,
5465           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5466           (#316961, #300610).
5467
5468 2005-09-26  Wim Taymans  <wim@fluendo.com>
5469
5470         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5471         Added check that shows error in state change order.
5472
5473 2005-09-26  Wim Taymans  <wim@fluendo.com>
5474
5475         * gst/gstbin.c: (gst_bin_change_state):
5476         Make state change function use 3 queues again, we were
5477         adding elements in the wrong order.
5478
5479         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5480         Some debug info,
5481
5482         * gst/gstpad.c: (gst_pad_dispose):
5483         Added some debug info first.
5484
5485 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5486
5487         * docs/design/draft-push-pull.txt:
5488         * docs/design/part-events.txt:
5489         * docs/design/part-overview.txt:
5490         * docs/design/part-scheduling.txt:
5491           Replace all _pull_region() with _pull_range()
5492           
5493 2005-09-26  Andy Wingo  <wingo@pobox.com>
5494
5495         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5496
5497         * check/gst-libs/controller.c: Update for controller api change.
5498
5499         * configure.ac: 
5500         * tests/Makefile.am:
5501         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5502         over by GLib bug 118439.
5503         
5504         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5505         routines to a function.
5506
5507         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5508
5509         * libs/gst/controller/gsthelper.c:
5510         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5511         (gst_object_sync_values): Renamed from sink_values. Ugh.
5512
5513         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5514
5515         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5516         Renamed from controller_key, as it is exported.
5517
5518         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5519
5520 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5521
5522         * gst/Makefile.am:
5523         * gst/gst.h:
5524         * gst/gstpad.h:
5525         * gst/gstpadtemplate.h:
5526         * gst/gstquery.c:
5527         * gst/gstquery.h:
5528         * gst/gstqueryutils.c:
5529         * gst/gstqueryutils.h:
5530           remove queryutils headers after moving the two used functions
5531           to gstquery.  also fixes build problem for gstsiddec
5532
5533 2005-09-26  Michael Smith <msmith@fluendo.com>
5534
5535         * tools/gst-launch.1.in:
5536         Correct documentation in manpage of debug syntax
5537
5538 2005-09-26  Wim Taymans  <wim@fluendo.com>
5539
5540         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5541         (gst_base_src_is_seekable), (gst_base_src_change_state):
5542         Some more debugging info.
5543
5544 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5545
5546         * docs/gst/gstreamer-sections.txt:
5547         * gst/base/gstbasetransform.h:
5548         * gst/gstindex.h:
5549           added more docs
5550
5551 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5552
5553         * docs/gst/.cvsignore:
5554         * docs/gst/tmpl/.cvsignore:
5555         * docs/gst/tmpl/gstpipeline.sgml:
5556         * docs/gst/tmpl/gstplugin.sgml:
5557         * gst/gstpipeline.c:
5558         * gst/gstplugin.c:
5559         * gst/gstplugin.h:
5560           inlined the last two docs files
5561           removed the tmpl directory from cvs (no more conflicts here!)
5562
5563 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5564
5565         * docs/gst/gstreamer-sections.txt:
5566         * docs/gst/tmpl/.cvsignore:
5567         * docs/gst/tmpl/gstpad.sgml:
5568         * docs/gst/tmpl/gstpadtemplate.sgml:
5569         * gst/Makefile.am:
5570         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5571         (gst_pad_finalize), (gst_pad_set_pad_template):
5572         * gst/gstpad.h:
5573         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5574         (gst_pad_template_class_init), (gst_pad_template_init),
5575         (gst_pad_template_dispose), (name_is_valid),
5576         (gst_static_pad_template_get), (gst_pad_template_new),
5577         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5578         (gst_pad_template_pad_created):
5579         * gst/gstpadtemplate.h:
5580           inlined two more docs
5581           factored gstpadtemplate out of gstpad
5582
5583 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5584
5585         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5586         (test_children_state_change_order_semi_sink):
5587           Fix test case: we can't rely on a fixed state change order when
5588           going from READY => PAUSED because the sink might commit its 
5589           new state first when the first buffer created by the source 
5590           reaches the sink before the source has finished its change state.
5591           (Test case still fails at times, see #316856, comment 5 onwards)
5592
5593 2005-09-24  Wim Taymans  <wim@fluendo.com>
5594
5595         * docs/design/part-events.txt:
5596         * docs/design/part-gstbus.txt:
5597         * docs/design/part-gstpipeline.txt:
5598         * docs/design/part-messages.txt:
5599         * docs/design/part-overview.txt:
5600         * docs/design/part-segments.txt:
5601         * gst/gstbin.c:
5602         * gst/gstbuffer.c:
5603         * gst/gstclock.c:
5604         * gst/gstelement.c:
5605         * gst/gstevent.c:
5606         * gst/gstfilter.c:
5607         * gst/gstiterator.c:
5608         Various documentation updates.
5609
5610 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5611
5612         * gst/gstclock.h:
5613           Well, that's embarassing.  Luckily we weren't using
5614           GST_CLOCK_DIFF anywhere.
5615
5616 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5617
5618         * common/gtk-doc.mak:
5619           don't fail on building XML, FC4 slave shows a bunch of doc
5620           missing bits that I don't get
5621         * gst/gstpad.c:
5622         * gst/gstpipeline.c:
5623         * gst/gststructure.c:
5624           some doc updates
5625
5626 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5627
5628         * docs/design/part-gstbin.txt:
5629         * docs/design/part-gstbus.txt:
5630         * gst/gstbus.c:
5631           Add blurb about how the bus goes into flushing mode and
5632           drops all messages when its bin goes from READY into NULL 
5633           state.
5634
5635 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5636
5637         * docs/gst/gstreamer-sections.txt:
5638         * gst/gststructure.c: (gst_structure_get_clock_time):
5639         * gst/gststructure.h:
5640           add a method to get a GstClockTime out of a structure
5641
5642 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5643
5644         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5645         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5646           Added test to check state change order in bins (can still be made
5647           to fail here under heavy disk load; bails out with 'Push on pad
5648           fakesink:sink0, but it was not activated in push mode').
5649
5650         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5651           Fix state change order when there is only a semi sink (#316856)
5652
5653         * gst/gstbus.c: (gst_bus_class_init):
5654           Use _class_peek_parent(), not _class_ref(); fix docs to say
5655           'default main context' instead of 'mainloop' where that is
5656           what's meant.
5657
5658         * gst/gstelement.c: (gst_element_commit_state),
5659         (gst_element_set_state):
5660           Fix typos in debug messages
5661
5662 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5663
5664         * docs/README:
5665         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5666         * gst/gstpluginfeature.c:
5667         * gst/gstutils.c:
5668           various doc updates
5669         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5670           change an assert into an error until it gets fixed properly
5671
5672 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5673
5674         * docs/gst/gstreamer-sections.txt:
5675         * docs/gst/tmpl/.cvsignore:
5676         * docs/gst/tmpl/gstelement.sgml:
5677         * docs/gst/tmpl/gstinfo.sgml:
5678         * docs/gst/tmpl/gstobject.sgml:
5679         * gst/gstelement.c:
5680         * gst/gstelement.h:
5681         * gst/gstinfo.c:
5682         * gst/gstinfo.h:
5683         * gst/gstobject.c: (gst_object_class_init):
5684         * gst/gstobject.h:
5685           inlined 3 more biiiig doc files and added some missing docs on the fly
5686
5687 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5688
5689         * check/gst/.cvsignore:
5690         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5691         * gst/gstregistryxml.c: (load_plugin),
5692         (gst_registry_xml_save_plugin):
5693           put back source in registry.  add checks for find_plugin.
5694         * testsuite/states/bin.c: (assert_state), (empty_bin),
5695         (test_adding_one_element), (main):
5696         * testsuite/states/locked.c: (main):
5697           some compile/run fixes
5698
5699 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5700
5701         * check/gst/gstvalue.c: (GST_START_TEST):
5702           fix leaks in the test itself
5703
5704 2005-09-22  Wim Taymans  <wim@fluendo.com>
5705
5706         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5707         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5708         (gst_base_sink_query):
5709         Prepare for more accurate position reporting and query
5710         handling.
5711
5712         * gst/gstelement.c: (gst_element_send_event),
5713         (gst_element_set_state):
5714         Add some comment.
5715
5716 2005-09-22  Wim Taymans  <wim@fluendo.com>
5717
5718         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5719         (gst_query_parse_segment):
5720         * gst/gstquery.h:
5721         More documentation.
5722         Add segment query for future use.
5723
5724 2005-09-22  Wim Taymans  <wim@fluendo.com>
5725
5726         * gst/gstbin.c: (gst_bin_add_func):
5727         Some more debug info.
5728
5729         * gst/gstelement.c: (gst_element_send_event):
5730         Simplify send_event
5731
5732         * gst/gstelement.h:
5733         Don't know how flags got broken.
5734
5735         * gst/gstquery.h:
5736         Added new query.
5737
5738 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5739
5740         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5741           Add simplistic test suite for GST_TYPE_DATE serialisation and
5742           deserialisation.
5743
5744 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5745
5746         * docs/gst/gstreamer-sections.txt:
5747         * gst/gststructure.c: (gst_structure_set_valist),
5748         (gst_structure_get_date):
5749         * gst/gststructure.h:
5750         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5751         (gst_date_copy), (gst_value_compare_date),
5752         (gst_value_serialize_date), (gst_value_deserialize_date),
5753         (gst_value_transform_date_string),
5754         (gst_value_transform_string_date), (_gst_value_initialize):
5755         * gst/gstvalue.h:
5756           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5757           bunch of utility functions along with a hack that checks that
5758           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5759           is required. Part of the grand scheme in #170777.
5760
5761 2005-09-22  Andy Wingo  <wingo@pobox.com>
5762
5763         * gst/gstconfig.h.in: Psych out gtk-doc.
5764
5765         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5766
5767         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5768
5769         * tools/gst-inspect.c (print_element_list): Plug some
5770         inconsequential leaks.
5771
5772         * gst/gstregistry.c (gst_registry_get_default): Doc.
5773
5774         * check/gst/gstplugin.c: 
5775         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5776         * gst/gstelementfactory.c (gst_element_factory_create): 
5777         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5778         refcount changes.
5779
5780         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5781         (gst_plugin_feature_load): Doc, don't eat refs.
5782
5783         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5784         (gst_plugin_list_free): Doc.
5785         (gst_plugin_load_file): Doc updates.
5786
5787         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5788         accessors returning refcounted objects, return a ref.
5789
5790         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5791         accessor for caps. IDEMPOTENCE. Oh yes.
5792
5793 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5794
5795         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5796
5797         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5798         (_gst_debug_register_funcptr):
5799           Add mutex to serialise access to the hash table with
5800           the function pointer => function name string mapping;
5801           make that hash table static scope (#316809).
5802
5803         * gst/registries/.cvsignore:
5804           Remove left-over file.
5805
5806 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5807
5808         * docs/pwg/appendix-porting.xml:
5809           And something about newsegment events and caps-on-buffers to
5810           the porting guide (feel free to improve).
5811
5812 2005-09-21  Andy Wingo  <wingo@pobox.com>
5813
5814         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5815         data and event probes on the same pad.
5816         (test_buffer_probe_once): Test that removing probes from within
5817         the probe functions works.
5818
5819 2005-09-21  Andy Wingo  <wingo@pobox.com>
5820
5821         * check/gst/gstutils.c: New file.
5822         (test_buffer_probe_n_times): A simple buffer probe test. More to
5823         come, foolios.
5824
5825         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5826         have-data::buffer, not have-data.
5827         (gst_pad_add_event_probe): Likewise for have-data::event.
5828         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5829         peer' isn't quite right yet though.
5830         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5831         (gst_pad_remove_data_probe): Change to take the guint handler_id
5832         as their arg, not the function+data, which is more glib-like.
5833
5834         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5835         the signal emission to indicate if the data is a buffer or an
5836         event.
5837         (gst_pad_get_type): Initialize buffer and event quarks.
5838         (gst_pad_class_init): have-data is now a detailed signal, yes it
5839         is.
5840
5841 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5842
5843         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5844         * gst/gstutils.c: (gst_util_set_value_from_string),
5845         (gst_util_set_object_arg):
5846           Don't put functional code in g_return_if_fail() or
5847           g_return_val_if_fail() statements, otherwise things will 
5848           break when G_DISABLE_CHECKS is defined during compilation.
5849
5850 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5851
5852         * docs/gst/tmpl/.cvsignore:
5853         * docs/gst/tmpl/gstvalue.sgml:
5854         * gst/gstvalue.c:
5855         * gst/gstvalue.h:
5856           inlied another one and added  some obvious docs
5857
5858 2005-09-21  Wim Taymans  <wim@fluendo.com>
5859
5860         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5861         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5862         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5863         (gst_fdsrc_get_property), (gst_fdsrc_create):
5864         * gst/elements/gstfdsrc.h:
5865         Properly implement fdsrc. Removed signal and timeout,
5866         better implemented somewhere else.
5867
5868 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5869
5870         * docs/gst/tmpl/.cvsignore:
5871         * docs/gst/tmpl/gstimplementsinterface.sgml:
5872         * gst/gstinterface.c:
5873           inlined more docs
5874
5875 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5876
5877         * docs/gst/gstreamer-sections.txt:
5878         * docs/gst/tmpl/.cvsignore:
5879         * docs/gst/tmpl/gstenumtypes.sgml:
5880           remove obsolete doc file
5881
5882 2005-09-21  David Schleef  <ds@schleef.org>
5883
5884         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5885         little beer, fix a little leak.
5886
5887 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5888
5889         * docs/gst/gstreamer-docs.sgml:
5890         * docs/gst/gstreamer-sections.txt:
5891         * docs/gst/tmpl/.cvsignore:
5892         * gst/Makefile.am:
5893         * gst/gst.h:
5894         * gst/gstbin.c:
5895         * gst/gstelement.h:
5896         * gst/gstindex.c: (gst_index_class_init):
5897         * gst/gstindex.h:
5898         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5899         (gst_index_factory_class_init), (gst_index_factory_init),
5900         (gst_index_factory_finalize), (gst_index_factory_new),
5901         (gst_index_factory_destroy), (gst_index_factory_find),
5902         (gst_index_factory_create), (gst_index_factory_make):
5903         * gst/gstindexfactory.h:
5904         * gst/gstpluginfeature.c:
5905         * gst/gstpluginfeature.h:
5906         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5907           more docs inlined, splitted gstindex.{c,h}
5908
5909 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5910
5911         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5912           fix a leak
5913
5914 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5915
5916         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5917           Set sync to FALSE by default.
5918
5919 2005-09-20  Wim Taymans  <wim@fluendo.com>
5920
5921         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5922         (gst_base_sink_init):
5923         Make sync property settable from subclass.
5924
5925         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5926         (gst_fake_sink_change_state):
5927         Set sync to FALSE by default.
5928
5929 2005-09-20  Wim Taymans  <wim@fluendo.com>
5930
5931         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5932         * tools/gst-launch.c: (main):
5933         The timeout handler should have lower priority than the source
5934         so we don't timeout before popping a message with 0 timeout.
5935         Dump error messages after failed state change.
5936
5937 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5938
5939         * tools/gst-inspect.c: (print_element_properties_info):
5940           Fix two typos.
5941
5942 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5943
5944         * check/gst/gstevent.c:
5945         * gst/elements/gstfakesink.c:
5946         * gst/elements/gstfakesink.h:
5947           remove the sync property from fakesink.
5948           has the side effect of setting sync TRUE
5949           for fakesink, which is a change.  Anyone who knows how
5950           to fix this nicely in a GObject-y way, feel free.
5951
5952 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5953
5954         * docs/gst/gstreamer-docs.sgml:
5955           remove probe refsection
5956
5957 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5958
5959         * check/Makefile.am:
5960           disable valgrinding the controller test again
5961         * docs/gst/gstreamer-sections.txt:
5962           update for api-changes
5963
5964 2005-09-20  Wim Taymans  <wim@fluendo.com>
5965
5966         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5967         (gst_base_sink_set_property), (gst_base_sink_get_property),
5968         (gst_base_sink_do_sync):
5969         * gst/base/gstbasesink.h:
5970         Added sync property to basesink to disable clock sync.
5971
5972 2005-09-20  Andy Wingo  <wingo@pobox.com>
5973
5974         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5975         eating the caller's refcount.
5976
5977         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5978         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5979         refcount.
5980
5981         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5982         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5983         of GLib 2.8 public, so we can know which refcount to check in
5984         tests.
5985
5986         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5987         (gst_object_init): Only set the gst refcount if we're going ahead
5988         with the refcount hack.
5989
5990 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5991
5992         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5993         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5994           more leaks plumbed, added more debug-logging
5995         * gst/gstmacros.h:
5996           whitespace fix
5997
5998 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5999
6000         * gst/gstmessage.c:
6001           remove include of gstmemchunk.h
6002
6003 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6004
6005         * gst/gstclock.c: (_gst_clock_id_free):
6006           Commit from the Political Party For More Atomic CVS Commits,
6007           so that people don't waste too much of their day fishing
6008           out obvious leaks out of massive commits.
6009           Oh, and fix a pretty damn obvious leak in the memchunk
6010           removal code.
6011
6012 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6013
6014         * check/Makefile.am:
6015         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6016           plug mem-leak, re-add to valgrindable tests
6017
6018 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6019
6020         * gst/gstplugin.h:
6021           unbreak the build for those who have chronic arthritis
6022           and typing "make check" is just too taxing on the hands
6023
6024 2005-09-20  Andy Wingo  <wingo@pobox.com>
6025
6026         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6027         really want it out, you should fix plugins at the same time.
6028
6029 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6030
6031         * configure.ac:
6032         * docs/gst/gstreamer-sections.txt:
6033         * gst/gstobject.c:
6034           added missing symbols to api docs
6035           disable ref-count hack if we have glib >= 2.8
6036
6037 2005-09-19  David Schleef  <ds@schleef.org>
6038
6039         * docs/gst/Makefile.am: Ignore a few more internal headers
6040         * docs/gst/gstreamer-docs.sgml: Remove old sections
6041         * docs/gst/gstreamer-sections.txt: Remove old sections
6042         * docs/gst/tmpl/gstobject.sgml: update
6043         * docs/gst/tmpl/gstplugin.sgml: update
6044         * docs/gst/tmpl/gstpluginfeature.sgml: update
6045         * docs/random/ds/0.9-suggested-changes: update.
6046         * gst/Makefile.am: remove memchunk and trashstack, since they're
6047           not used.
6048         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6049         * gst/gst.h: don't include some headers
6050         * gst/gstchildproxy.c: add gstmarshal.h
6051         * gst/gstclock.c: Don't use memchunks
6052         * gst/gstminiobject.c: Add some docs
6053         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6054         * gst/gstobject.h: same
6055         * gst/gstplugin.c: include gstmacros.h
6056         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6057         * gst/gstquery.c: don't use memchunks
6058         * gst/gstregistry.c: rename gst_registry_deinit()
6059         * gst/gstregistry.h: same
6060
6061 2005-09-19  David Schleef  <ds@schleef.org>
6062
6063         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6064         * docs/libs/gstreamer-libs-sections.txt:
6065         * docs/libs/tmpl/gstgetbits.sgml:
6066         * docs/libs/tmpl/gstputbits.sgml:
6067
6068 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6069
6070         * win32/gstenumtypes.c:
6071         * win32/gstenumtypes.h:
6072           Update.
6073
6074 2005-09-19  Wim Taymans  <wim@fluendo.com>
6075
6076         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6077         Automatically PAUSE and RESUME a pipeline when a flushing seek
6078         is performed.
6079
6080 2005-09-19  Andy Wingo  <wingo@pobox.com>
6081
6082         * gst/gstregistry.h: Spacing fixen.
6083
6084 2005-09-19  Wim Taymans  <wim@fluendo.com>
6085
6086         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6087         Handle state change failure more correctly.
6088
6089 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6090
6091         * check/Makefile.am:
6092         * check/pipelines/cleanup.c: (run_pipeline):
6093         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6094         (GST_START_TEST):
6095           enable cleanup again after fixing the leak
6096         * docs/README:
6097           some more info on docs
6098
6099 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6100
6101         * check/Makefile.am:
6102           re-enable tests now that leaks are plugged
6103         * check/gst/gst.c:
6104         * check/gst/gstbin.c:
6105         * check/gst/gstpipeline.c:
6106           add some more tests while fixing leaks
6107         * common/check.mak:
6108           make sure binaries are uptodate when valgrinding/gdbing
6109         * gst/gst.c:
6110         * gst/gstelementfactory.c:
6111           remove a ref too many, and add a FIXME for when we get
6112           round to disposing of classes
6113         * gst/gstplugin.c:
6114           fix the refcounting when loading a plugin from a file and
6115           the code pretends that the pointer is the same even though
6116           of course it can change
6117         * gst/gstpluginfeature.c:
6118           unref plugins marked cached (a bit confusing as a name)
6119           as the docs state should be done
6120           various doc additions to explain refcounting
6121         * gst/gstregistry.c:
6122         * gst/gstregistryxml.c:
6123           debugging
6124
6125 2005-09-19  Wim Taymans  <wim@fluendo.com>
6126
6127         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6128         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6129         (send_messages), (GST_START_TEST), (gstbus_suite):
6130         * check/gst/gstpipeline.c: (GST_START_TEST):
6131         * check/pipelines/cleanup.c: (run_pipeline):
6132         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6133         (GST_START_TEST):
6134         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6135         (gst_bus_source_check), (gst_bus_source_dispatch),
6136         (gst_bus_create_watch), (gst_bus_add_watch_full),
6137         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6138         * gst/gstbus.h:
6139         * tools/gst-launch.c: (event_loop):
6140         * tools/gst-md5sum.c: (event_loop):
6141         GstBusHandler -> GstBusFunc, return value has the same meaning as
6142         any other GSource (FALSE == remove source).
6143         _add_watch() and _add_watch_full() now take a MessageType mask to
6144         only handle specific types of messages.
6145         _poll() returns the GstMessage instead of the message type to avoid
6146         race conditions.
6147         _have_pending() takes a MessageType mask now too.
6148         Added testsuite for multiple bus watches.
6149         Fix testsuites and applications for new bus API.
6150
6151 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6152
6153         * check/Makefile.am:
6154           mark a bunch of the tests as to fix until we fix them
6155
6156 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6157
6158         * common/check.mak:
6159           use GST_PLUGIN settings for valgrind tests as well, so we're
6160           valgrinding the correct thing
6161         * gst/gst.c: (init_post):
6162           plug another leak
6163
6164 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6165
6166         * gst/gst.c: (init_post), (gst_deinit):
6167         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6168         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6169         * gst/gstindex.c: (gst_index_factory_class_init),
6170         (gst_index_factory_finalize):
6171         * gst/gstobject.c: (gst_object_dispose):
6172         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6173         (gst_plugin_load_file), (gst_plugin_desc_free):
6174         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6175         (gst_plugin_feature_finalize):
6176         * gst/gstregistry.c: (gst_registry_class_init),
6177         (gst_registry_init), (gst_registry_finalize),
6178         (gst_registry_get_default), (gst_registry_deinit):
6179         * gst/gstregistry.h:
6180         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6181           various cleanups and memleak plugging.  make valgrind is happy now.
6182
6183 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6184
6185         * common/check.mak:
6186           add a check-valgrind target
6187
6188 2005-09-18  David Schleef  <ds@schleef.org>
6189
6190         * tools/gst-inspect.c: Revert the GOption code.
6191
6192 2005-09-17  David Schleef  <ds@schleef.org>
6193
6194         * check/Makefile.am: Fix environment variables.
6195         * check/gst/gstplugin.c: Fix for API changes.
6196         * tools/gst-inspect.c: Fix for API changes.
6197         * tools/gst-xmlinspect.c: Fix for API changes.
6198         * gst/gstelementfactory.c:
6199         * gst/gstplugin.c:
6200         * gst/gstplugin.h:
6201         * gst/gstpluginfeature.c:
6202         * gst/gstpluginfeature.h:
6203         * gst/gstregistry.c:
6204         * gst/gstregistry.h:
6205         * gst/gstregistryxml.c:
6206         * gst/gsttypefind.c:
6207         * gst/gsttypefindfactory.c:
6208         * gst/indexers/gstfileindex.c:
6209         * gst/indexers/gstmemindex.c:
6210         * gst/schedulers/Makefile.am:
6211           Change registry to keep track of both plugins and features,
6212           removing the feature tracking from plugins themselves.
6213
6214 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6215
6216         * check/Makefile.am:
6217         * tools/gst-register.1.in:
6218           remove gst-register
6219
6220 2005-09-15  David Schleef  <ds@schleef.org>
6221
6222         * check/gst/gstplugin.c:
6223         * gst/gstelementfactory.c:
6224         * gst/gstplugin.c:
6225         * gst/gstpluginfeature.c:
6226         * gst/gstregistry.c:
6227           Getting tired of debugging.  Disabled all the unreffing of
6228           plugins and features, which fixes the segfaults, but of
6229           course leaks like crazy.  At least playbin works.
6230
6231 2005-09-15  David Schleef  <ds@schleef.org>
6232
6233         * check/gst/gstplugin.c: (register_check_elements),
6234         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6235         More testing
6236         * gst/elements/gsttypefindelement.c: Fix refcounting.
6237         * gst/gsttypefind.c:
6238         * gst/gsttypefindfactory.c:
6239         * gst/gsttypefindfactory.h:
6240
6241 2005-09-15  David Schleef  <ds@schleef.org>
6242
6243         * gst/gstindex.c: get refcounting correct.
6244         * gst/gstregistry.c: Handle the case where a feature/plugin is
6245           not found.
6246
6247 2005-09-15  David Schleef  <ds@schleef.org>
6248
6249         * check/Makefile.am:
6250         * check/gst/gstplugin.c: Add test
6251         * gst/gstplugin.c: Fix problems noticed by testsuite
6252         * gst/gstplugin.h:
6253         * gst/gstregistry.c: 
6254         * gst/gstregistry.h:
6255
6256 2005-09-15  David Schleef  <ds@schleef.org>
6257
6258         * gst/gstplugin.c: Implement semi-decent recounting and locking
6259           in plugins and plugin features.
6260         * gst/gstplugin.h:
6261         * gst/gstpluginfeature.c:
6262         * gst/gstpluginfeature.h:
6263         * gst/gstregistry.c:
6264
6265 2005-09-15  Michael Smith <msmith@fluendo.com>
6266
6267         * gst/gstregistry.c: (gst_registry_get_feature_list):
6268           Implement this. Makes oggdemux work; decodebin still broken.
6269
6270 2005-09-14  David Schleef  <ds@schleef.org>
6271
6272         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6273           #316076)
6274         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6275         * gst/check/Makefile.am:
6276         * libs/gst/controller/Makefile.am:
6277         * libs/gst/dataprotocol/Makefile.am:
6278
6279 2005-09-14  David Schleef  <ds@schleef.org>
6280
6281         * configure.ac: Remove getbits library.  Nothing uses it, and
6282           it should be in something like liboil if someone did want
6283           to use it.
6284         * libs/gst/Makefile.am:
6285         * libs/gst/getbits/Makefile.am:
6286         * libs/gst/getbits/gbtest.c:
6287         * libs/gst/getbits/getbits.c:
6288         * libs/gst/getbits/getbits.h:
6289         * libs/gst/getbits/gstgetbits_generic.c:
6290         * libs/gst/getbits/gstgetbits_i386.s:
6291         * libs/gst/getbits/gstgetbits_inl.h:
6292
6293 2005-09-14  David Schleef  <ds@schleef.org>
6294
6295         * gst/Makefile.am: Dist glib-compat.h
6296
6297 2005-09-14  David Schleef  <ds@schleef.org>
6298
6299         * configure.ac: Remove gst/registries, since it's no longer used.
6300         * gst/registries/Makefile.am:
6301         * gst/registries/gstlibxmlregistry.c:
6302         * gst/registries/gstlibxmlregistry.h:
6303         * gst/registries/gstxmlregistry.c:
6304         * gst/registries/gstxmlregistry.h:
6305         * gst/registries/registrytest.c:
6306
6307 2005-09-14  David Schleef  <ds@schleef.org>
6308
6309         * gst/glib-compat.h:
6310         * gst/gstregistryxml.c:
6311           Convergence is near.  Seriously.
6312
6313 2005-09-14  David Schleef  <ds@schleef.org>
6314
6315         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6316         * gst/glib-compat.h:
6317           Attempt #4 to appease the buildbots.
6318
6319 2005-09-14  David Schleef  <ds@schleef.org>
6320
6321         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6322           Attempt #3.
6323
6324 2005-09-14  David Schleef  <ds@schleef.org>
6325
6326         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6327         Attempt #2.
6328
6329 2005-09-14  David Schleef  <ds@schleef.org>
6330
6331         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6332           the new functions.
6333
6334 2005-09-14  David Schleef  <ds@schleef.org>
6335
6336         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6337         * gst/glib-compat.h: Add some functions that are in newer versions
6338           of glib than we care to require.
6339         * gst/gstregistryxml.c: Use them.
6340
6341 2005-09-14  David Schleef  <ds@schleef.org>
6342
6343         * po/POTFILES.in: remove gst-register.c
6344
6345 2005-09-14  David Schleef  <ds@schleef.org>
6346
6347         * docs/gst/gstreamer-docs.sgml:
6348         * docs/gst/gstreamer-sections.txt:
6349         * docs/gst/gstreamer.types:
6350         * docs/gst/tmpl/gstelement.sgml:
6351         * docs/gst/tmpl/gstplugin.sgml:
6352         * docs/gst/tmpl/gstpluginfeature.sgml:
6353           Documentation updates for registry changes.
6354
6355 2005-09-14  David Schleef  <ds@schleef.org>
6356
6357         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6358           because we don't require glib-2.8.
6359
6360 2005-09-14  David Schleef  <ds@schleef.org>
6361
6362         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6363           registries directory.
6364
6365 2005-09-14  David Schleef  <ds@schleef.org>
6366
6367         * check/Makefile.am:
6368         * check/generic/states.c:
6369         * gst/Makefile.am:
6370         * gst/gst.c:
6371         * gst/gst.h:
6372         * gst/gst_private.h:
6373         * gst/gstelementfactory.c:
6374         * gst/gstindex.c:
6375         * gst/gstinfo.c:
6376         * gst/gstplugin.c:
6377         * gst/gstplugin.h:
6378         * gst/gstpluginfeature.c:
6379         * gst/gstpluginfeature.h:
6380         * gst/gstregistry.c:
6381         * gst/gstregistry.h:
6382         * gst/gstregistrypool.c: remove
6383         * gst/gstregistrypool.h: remove
6384         * gst/gsttypefind.c:
6385         * gst/gsttypefindfactory.c:
6386         * gst/gsturi.c:
6387         * tools/Makefile.am:
6388         * tools/gst-compprep.c:
6389         * tools/gst-inspect.c:
6390         * tools/gst-register.c: remove
6391         * tools/gst-xmlinspect.c:
6392           Registry rewrite.  Changes registry from being a file created
6393           by a tool into a simple cache file created automatically by 
6394           libgstreamer.  Removed gst-register (because it's no longer
6395           needed).  Remove registry pools, because we only have one
6396           registry implementation (XML).  Fix up other subsystems as
6397           necessary.
6398
6399 2005-09-13  Michael Smith <msmith@fluendo.com>
6400
6401         * gst/gstconfig.h.in:
6402           Don't Use windows linking attributes for MinGW. Fixes #316157
6403
6404 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6405
6406         * gst/gstutils.c: (set_state_async_thread_func),
6407         (gst_element_set_state_async):
6408           Apparently people think it's better if this function doesn't
6409           try to set the state to whatever state was asked for on the first
6410           call to this function for any object.  Seriously.
6411
6412 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6413
6414         * check/gst/gstpipeline.c: (GST_START_TEST):
6415         * docs/gst/gstreamer-sections.txt:
6416         * gst/gstutils.c: (set_state_async_thread_func),
6417         (gst_element_set_state_async):
6418         * gst/gstutils.h:
6419           add a "gst_element_set_state_async" method that
6420           sets the state and starts a thread to make sure the state
6421           change completes as best as it can
6422
6423 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6424
6425         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6426           codify design+behaviour in testsuite after discussion
6427
6428 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6429
6430         * docs/gst/tmpl/gstelement.sgml:
6431         * docs/manual/appendix-quotes.xml:
6432           add a quote
6433         * gst/gstelement.c: (gst_element_set_state):
6434           add some debug
6435
6436 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6437
6438         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6439         (gst_base_transform_prepare_output_buf),
6440         (gst_base_transform_handle_buffer):
6441         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6442         (gst_capsfilter_prepare_buf):
6443           Remove the requirement for sub-classes to call the parent
6444           implementation of prepare_output_buffer with a wrapper function.
6445           
6446         * gst/gsttaglist.h:
6447         * gst/gsttagsetter.h:
6448           Fix #define wrapper
6449
6450 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6451
6452         * docs/gst/gstreamer-sections.txt:
6453           more doc cleanups
6454
6455 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6456
6457         * docs/gst/gstreamer-sections.txt:
6458         * docs/gst/tmpl/gstelement.sgml:
6459         * docs/gst/tmpl/gstplugin.sgml:
6460         * gst/gstminiobject.c:
6461         * gst/gstvalue.h:
6462           docs now stop throwing warnings
6463
6464 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6465
6466         * docs/gst/gstreamer-sections.txt:
6467         * docs/gst/gstreamer.types:
6468         * docs/gst/tmpl/gstpad.sgml:
6469         * docs/gst/tmpl/gsttypes.sgml:
6470         * gst/base/gstadapter.h:
6471         * gst/base/gstbasesink.h:
6472         * gst/base/gstbasesrc.h:
6473         * gst/gstbin.h:
6474         * gst/gstbuffer.h:
6475         * gst/gstbus.h:
6476         * gst/gstcaps.h:
6477         * gst/gstclock.h:
6478         * gst/gstelement.h:
6479         * gst/gstevent.h:
6480         * gst/gstmessage.h:
6481         * gst/gstpad.h:
6482         * gst/gststructure.c:
6483         * gst/registries/gstlibxmlregistry.h:
6484           various documentation fixes
6485
6486 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6487
6488         * docs/gst/gstreamer-sections.txt:
6489         * docs/gst/tmpl/gstvalue.sgml:
6490           rearrange gstvalue section
6491         * gst/gstutils.c: (gst_element_state_get_name):
6492           NONE -> VOID
6493         * gst/gstvalue.c: (_gst_value_initialize):
6494         * gst/gstvalue.h:
6495           doc updates
6496
6497 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6498
6499         * check/gst-libs/controller.c:
6500           Header include fix.
6501         * gst/base/gstbasetransform.c:
6502         (gst_base_transform_default_prepare_buf),
6503         (gst_base_transform_handle_buffer):
6504         * gst/base/gstbasetransform.h:
6505           Some more basetransform changes and fixes to enable sub-classes
6506           that modify buffer metadata only.
6507         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6508         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6509         (gst_capsfilter_prepare_buf):
6510           If the output pad has fixed allowed caps and input buffers 
6511           don't have any, set the fixed caps on outgoing buffers.
6512
6513 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6514         * check/elements/identity.c: (GST_START_TEST):
6515           Make the error a little clearer when the test fails because
6516           identity made a copy of the buffer.
6517         * docs/gst/gstreamer-sections.txt:
6518           New symbols in gstbasetransform.h
6519         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6520         (gst_base_transform_init), (gst_base_transform_transform_size),
6521         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6522         (gst_base_transform_default_prepare_buf),
6523         (gst_base_transform_get_unit_size),
6524         (gst_base_transform_buffer_alloc),
6525         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6526         (gst_base_transform_change_state),
6527         (gst_base_transform_set_passthrough),
6528         (gst_base_transform_set_in_place),
6529         (gst_base_transform_is_in_place):
6530         * gst/base/gstbasetransform.h:
6531           Change BaseTransform to separate in_place operate from same_caps
6532           output. in_place implies that the element can perform the transform
6533           on incoming buffers in-place, even if the caps on the output are
6534           different.
6535           Sub-class elements can now implement special buffer allocation
6536           methods for outgoing buffers if they wish to.
6537           Big documentation addition.
6538         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6539         * gst/elements/gstelements.c:
6540           Changes for basetransform modifications.
6541         * gst/elements/Makefile.am:
6542         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6543           Compile fix. Extra debug output.
6544
6545 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6546
6547         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6548         (gst_pad_suite):
6549           add tests for valid pad naming
6550         * gst/check/gstcheck.c: (gst_check_log_message_func),
6551         (gst_check_log_critical_func):
6552           add ASSERT_WARNING
6553           remove printing of code, it is fragile when the code contains
6554           % and the line number is enough info
6555         * gst/check/gstcheck.h:
6556         * gst/gstpad.c: (gst_pad_template_new):
6557           fix memleaks
6558
6559 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6560
6561         * configure.ac:
6562           say what CHECK flags we use
6563         * docs/libs/gstreamer-libs.types:
6564         * libs/gst/controller/Makefile.am:
6565         * libs/gst/controller/gst-controller.c:
6566         * libs/gst/controller/gst-controller.h:
6567         * libs/gst/controller/gst-helper.c:
6568         * libs/gst/controller/gst-interpolation.c:
6569         * libs/gst/controller/gstcontroller.c:
6570         * libs/gst/controller/gsthelper.c:
6571         * libs/gst/controller/gstinterpolation.c:
6572         * tools/gst-inspect.c: (print_plugin_info):
6573           we don't use dashes in header names
6574
6575 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6576
6577         * check/Makefile.am:
6578         * check/gst/.cvsignore:
6579         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6580         (gst_pipeline_suite), (main):
6581           adding a test for pipelines and state changes
6582         * gst/gstutils.c: (get_state_func):
6583           add some debugging
6584         * gstreamer.spec.in:
6585           fix up spec file
6586
6587 2005-09-08  Michael Smith <msmith@fluendo.com>
6588
6589         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6590         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6591         (gst_file_src_is_seekable), (gst_file_src_get_size),
6592         (gst_file_src_start):
6593         * gst/elements/gstfilesrc.h:
6594           Various fixes for unseekable, unmmapable, and non-normal files, so
6595           that fallback to read() rather than mmap() works.
6596         * gst/gstevent.c: (gst_event_new_newsegment):
6597           Allow newsegment events with segment_start == segment_end, as will
6598           correctly happen if you use filesrc on a zero-size file, for
6599           example.
6600
6601 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6602
6603         * gst/gstplugin.c: (gst_plugin_load_file):
6604           Call g_module_close when we don't load the module
6605
6606         * gst/registries/gstlibxmlregistry.c:
6607         (gst_xml_registry_get_property):
6608           Port leak fix from 0.8
6609
6610 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6611
6612         * docs/gst/gstreamer-docs.sgml:
6613         * docs/gst/tmpl/.cvsignore:
6614         * docs/gst/tmpl/gsttrace.sgml:
6615         * docs/gst/tmpl/gsttrashstack.sgml:
6616         * gst/Makefile.am:
6617         * gst/gst.h:
6618         * gst/gstelement.h:
6619         * gst/gstevent.h:
6620         * gst/gstmessage.c:
6621         * gst/gstmessage.h:
6622         * gst/gsttag.c:
6623         * gst/gsttag.h:
6624         * gst/gsttaginterface.c:
6625         * gst/gsttaginterface.h:
6626         * gst/gsttaglist.c:
6627         * gst/gsttaglist.h:
6628         * gst/gsttagsetter.c:
6629         * gst/gsttagsetter.h:
6630         * gst/gsttrace.c:
6631         * gst/gsttrace.h:
6632         * gst/gsttrashstack.c:
6633           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6634           inlined docs for gsttrace, gsttrashstack
6635
6636 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6637
6638         * gst/Makefile.am:
6639         * gst/elements/gstbufferstore.h:
6640         * gst/elements/gsttypefindelement.c:
6641         * gst/elements/gsttypefindelement.h:
6642         * gst/gst.h:
6643         * gst/gsttypefind.c:
6644         * gst/gsttypefind.h:
6645         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6646         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6647         (gst_type_find_factory_dispose),
6648         (gst_type_find_factory_unload_thyself),
6649         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6650         (gst_type_find_factory_get_caps),
6651         (gst_type_find_factory_get_extensions),
6652         (gst_type_find_factory_call_function):
6653         * gst/gsttypefindfactory.h:
6654         * gst/registries/gstlibxmlregistry.c:
6655         * gst/registries/gstxmlregistry.c:
6656           splitted gsttypefind into gsttypefind, gsttypefindfactory
6657
6658 2005-09-07  Andy Wingo  <wingo@pobox.com>
6659
6660         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6661         condition whereby the pad's task function is entered before the
6662         pad_mode variable was set.
6663
6664 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6665
6666         * gst/gstpad.c: (gst_pad_alloc_buffer):
6667           Catch misbehaving pad_alloc functions that don't
6668           set up caps and do it for them.
6669
6670 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6671
6672         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6673           test for pipe!=NULL
6674         * docs/gst/tmpl/.cvsignore:
6675         * docs/gst/tmpl/gstmemchunk.sgml:
6676         * docs/gst/tmpl/gstparse.sgml:
6677         * docs/gst/tmpl/gsttaglist.sgml:
6678         * docs/gst/tmpl/gsttagsetter.sgml:
6679         * docs/gst/tmpl/gsttypefind.sgml:
6680         * docs/gst/tmpl/gsttypefindfactory.sgml:
6681         * gst/gstmemchunk.c:
6682         * gst/gstparse.c:
6683         * gst/gsttag.c:
6684         * gst/gsttaginterface.c:
6685         * gst/gsttypefind.c:
6686         * gst/gsttypefind.h:
6687           inlined more docs
6688
6689 === release 0.9.2 ===
6690
6691 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6692
6693         * NEWS:
6694         * RELEASE:
6695         * configure.ac:
6696           releasing 0.9.2, "South"
6697
6698 2005-09-05  Andy Wingo  <wingo@pobox.com>
6699
6700         * gst/registries/gstxmlregistry.h:
6701         * gst/registries/gstxmlregistry.c: Um... resurrect...
6702         
6703         * gst/registries/gstxmlregistry.h:
6704         * gst/registries/gstxmlregistry.c: and update to newer API.
6705         Incidentally they should be a bit faster now that they don't have
6706         to parse the caps.
6707         
6708 2005-09-05  Andy Wingo  <wingo@pobox.com>
6709
6710         * gst/registries/gstxmlregistry.h:
6711         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6712         replaced by the libxml registry a while back
6713
6714 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6715
6716         * docs/gst/tmpl/gstplugin.sgml:
6717         * gst/elements/gstelements.c:
6718         * gst/gst.c:
6719         * gst/gstplugin.c: (gst_plugin_register_func),
6720         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6721         (gst_plugin_get_source):
6722         * gst/gstplugin.h:
6723         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6724         (gst_xml_registry_save_plugin):
6725         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6726         (gst_xml_registry_save_plugin):
6727         * tools/gst-inspect.c: (print_plugin_info):
6728           add a "source" plugin description field, to represent the source
6729           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6730           will set it to PACKAGE, which is automake's idea of the name of
6731           the source project.
6732
6733 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6734
6735         * Makefile.am:
6736         * autogen.sh:
6737         * configure.ac:
6738         * docs/Makefile.am:
6739         * docs/faq/Makefile.am:
6740         * docs/gst/tmpl/gstelement.sgml:
6741         * docs/gst/tmpl/gsttypes.sgml:
6742         * docs/htmlinstall.mak:
6743         * docs/manual/Makefile.am:
6744         * docs/pwg/Makefile.am:
6745           reorganize doc build a little
6746           split out docbook and gtk-doc stuff
6747           have two separate --enable's and enable them through autogen
6748           but disable by default in configure (to be similar to other
6749           projects)
6750         * gstreamer.spec.in:
6751           clean up docs install
6752         * po/af.po:
6753         * po/az.po:
6754         * po/ca.po:
6755         * po/cs.po:
6756         * po/de.po:
6757         * po/en_GB.po:
6758         * po/fr.po:
6759         * po/it.po:
6760         * po/nb.po:
6761         * po/nl.po:
6762         * po/ru.po:
6763         * po/sq.po:
6764         * po/sr.po:
6765         * po/sv.po:
6766         * po/tr.po:
6767         * po/uk.po:
6768         * po/vi.po:
6769           translation updates
6770
6771 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6772
6773         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6774           Add comment.
6775           
6776         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6777         (gst_fake_sink_change_state):
6778           Make state change function thread-safe.
6779           
6780         * gst/gstpad.c: (gst_pad_alloc_buffer):
6781           Set offset on generic buffer allocated by fallback.
6782
6783 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6784
6785         * docs/gst/gstreamer-sections.txt:
6786         * docs/gst/tmpl/gstelement.sgml:
6787         * gst/gstpad.c:
6788         * libs/gst/controller/gst-controller.c:
6789         (gst_controlled_property_set_interpolation_mode),
6790         (gst_controlled_property_new),
6791         (gst_controller_find_controlled_property):
6792          run the wingo-magic script against the docs
6793
6794 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6795
6796         * docs/gst/gstreamer-docs.sgml:
6797         * docs/gst/gstreamer-sections.txt:
6798         * docs/gst/tmpl/.cvsignore:
6799         * docs/gst/tmpl/gstelementdetails.sgml:
6800         * docs/gst/tmpl/gstelementfactory.sgml:
6801         * gst/gst.c:
6802         * gst/gstbus.c:
6803         * gst/gstelementfactory.c:
6804         * gst/gstelementfactory.h:
6805           merged elementdetails docs into elementfactory docs
6806           inlined both
6807
6808 2005-09-02  Andy Wingo  <wingo@pobox.com>
6809
6810         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6811         consider this enum an enum and not a flags.
6812
6813 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6814
6815         * docs/gst/gstreamer-docs.sgml:
6816         * docs/gst/tmpl/.cvsignore:
6817         * docs/gst/tmpl/gstghostpad.sgml:
6818         * docs/gst/tmpl/gstiterator.sgml:
6819         * docs/gst/tmpl/gstmacros.sgml:
6820         * docs/gst/tmpl/gstrealpad.sgml:
6821         * docs/gst/tmpl/gstregistry.sgml:
6822         * docs/gst/tmpl/gstregistrypool.sgml:
6823         * docs/gst/tmpl/gststructure.sgml:
6824         * docs/gst/tmpl/gstsystemclock.sgml:
6825         * docs/gst/tmpl/gsttrace.sgml:
6826         * gst/gstghostpad.c:
6827         * gst/gstmacros.h:
6828         * gst/gstmemchunk.c:
6829         * gst/gstmemchunk.h:
6830         * gst/gstqueue.c:
6831         * gst/gstregistry.c:
6832         * gst/gstregistrypool.c:
6833         * gst/gststructure.c:
6834         * gst/gstsystemclock.c:
6835           more docs inlined
6836
6837 2005-09-02  Andy Wingo  <wingo@pobox.com>
6838
6839         * gst/gstelement.h (GstState): Renamed from GstElementState,
6840         changed to be a normal enum instead of flags.
6841         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6842         munged to be GST_STATE_CHANGE_*.
6843         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6844         work with the new state representation.
6845         (GstStateChange): New enumeration of possible state transitions.
6846         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6847         (GstElementClass::change_state): Pass the GstStateChange along as
6848         an argument. Helps language bindings, so they don't have to use
6849         tricky lock-needing macros like GST_STATE_CHANGE ().
6850
6851         * scripts/update-states (file): New script. Run it on a file to
6852         update it for state naming and API changes. Updates files in
6853         place.
6854
6855         * All files updated for the new API.
6856
6857 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6858
6859         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6860         * gst/gstutils.c: (gst_util_set_value_from_string),
6861         (gst_util_set_object_arg):
6862           fix a bunch of unchecked return values
6863         * tools/gst-complete.c: (main):
6864         * gstreamer.spec.in:
6865           clean up a little
6866
6867 2005-09-01  Wim Taymans  <wim@fluendo.com>
6868
6869         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6870         (gst_base_sink_event), (gst_base_sink_do_sync),
6871         (gst_base_sink_handle_event):
6872         * gst/base/gstbasesink.h:
6873         Handle newsegments more correctly.
6874
6875         * gst/gstbus.c:
6876         Fix docs.
6877
6878         * gst/gstevent.c: (gst_event_new_newsegment):
6879         A newsegment cannot have a start_time of -1
6880
6881 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6882
6883         * win32/gstenumtypes.c:
6884         * win32/gstenumtypes.h:
6885           Update
6886
6887 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6888
6889         * libs/gst/controller/gst-controller.c:
6890         (gst_controlled_property_set_interpolation_mode),
6891         (gst_controlled_property_new):
6892          fixed boolean again
6893
6894 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6895
6896         * docs/faq/gst-uninstalled:
6897           add -good
6898         * gst/gstevent.c:
6899         * gst/gstevent.h:
6900           remove wrong docs
6901         * gst/gstutils.c: (gst_element_link_filtered):
6902         * gst/gstutils.h:
6903           add gst_element_link_filtered
6904
6905 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6906
6907         * docs/gst/gstreamer-docs.sgml:
6908         * docs/gst/gstreamer-sections.txt:
6909         * docs/gst/tmpl/.cvsignore:
6910         * docs/gst/tmpl/gsterror.sgml:
6911         * docs/gst/tmpl/gstfilter.sgml:
6912         * docs/gst/tmpl/gsturihandler.sgml:
6913         * docs/gst/tmpl/gsturitype.sgml:
6914         * docs/gst/tmpl/gstutils.sgml:
6915         * docs/gst/tmpl/gstxml.sgml:
6916         * gst/gsterror.c:
6917         * gst/gsterror.h:
6918         * gst/gstfilter.c:
6919         * gst/gsturi.c:
6920         * gst/gsturitype.c:
6921         * gst/gstutils.c:
6922         * gst/gstxml.c:
6923           inlined more docs, fixed double id-ref
6924
6925 2005-08-31  Wim Taymans  <wim@fluendo.com>
6926
6927         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6928         (gst_base_transform_handle_buffer):
6929         Passthrough elements don't need the caps as they don't care.
6930
6931 2005-08-31  Wim Taymans  <wim@fluendo.com>
6932
6933         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6934         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6935         Don't leak refcounts on buffers.
6936
6937 2005-08-31  Wim Taymans  <wim@fluendo.com>
6938
6939         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6940         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6941         (gst_base_transform_chain), (gst_base_transform_change_state):
6942         * gst/base/gstbasetransform.h:
6943         Handle the case where we are not negotiated more gracefully.
6944
6945 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6946
6947         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6948         (gst_file_src_map_region):
6949           Set READONLY flag on mmap'ed buffers, otherwise
6950           gst_buffer_make_writable() won't work properly (#314708).
6951
6952 2005-08-31  Wim Taymans  <wim@fluendo.com>
6953
6954         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6955         passthrough elements can even do inplace on non writable
6956         buffers (as they don't touch them).
6957
6958 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6959
6960         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6961         (gst_test_mono_source_set_property),
6962         (gst_test_mono_source_class_init), (GST_START_TEST),
6963         (gst_controller_suite):
6964           more tests (hehe I have the most)
6965         * gst/gstbus.c:
6966           describe popping messages whenusing mulltiple sources
6967         * libs/gst/controller/gst-controller.c:
6968         (gst_controlled_property_set_interpolation_mode),
6969         (gst_controlled_property_new):
6970         * libs/gst/controller/gst-controller.h:
6971         * libs/gst/controller/gst-interpolation.c:
6972           implement boolean properties
6973
6974 2005-08-31  Wim Taymans  <wim@fluendo.com>
6975
6976         * gst/gstminiobject.c: (gst_mini_object_ref):
6977         Cannot assert that the refcount has to be positive
6978         since a disposed object can be resurrected.
6979
6980 2005-08-31  Wim Taymans  <wim@fluendo.com>
6981
6982         * gst/gstpad.c: (gst_pad_init):
6983         Revert change, need to first fix badly behaving 
6984         apps.
6985
6986 2005-08-30  Wim Taymans  <wim@fluendo.com>
6987
6988         * check/elements/fakesrc.c: (setup_fakesrc):
6989         * check/elements/identity.c: (setup_identity):
6990         Activate pads before using them.
6991
6992 2005-08-30  Wim Taymans  <wim@fluendo.com>
6993
6994         * gst/base/gstadapter.c: (gst_adapter_flush):
6995         Flushing out 0 bytes is ok for this function.
6996
6997         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6998         no newsegment gives a warning and sets the start/stop to 
6999         invalid.
7000
7001         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7002         (gst_base_transform_set_passthrough):
7003         Some debug info.
7004
7005         * gst/gstminiobject.c: (gst_mini_object_ref):
7006         Check refcount here too.
7007
7008         * gst/gstpad.c: (gst_pad_init):
7009         Pads are initially flushing and refusing data.
7010
7011         * gst/gstutils.c: (gst_element_link_pads_filtered):
7012         When adding a capsfilter element make sure it has the
7013         same state as the parent bin.
7014
7015 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7016
7017         * docs/gst/tmpl/.cvsignore:
7018         * docs/gst/tmpl/gstformat.sgml:
7019         * docs/gst/tmpl/gstversion.sgml:
7020         * gst/gstbus.h:
7021         * gst/gstformat.c:
7022         * gst/gstformat.h:
7023         * gst/gstversion.h.in:
7024           more docs and two more inlined
7025
7026 2005-08-30  Wim Taymans  <wim@fluendo.com>
7027
7028         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7029         Don't sync to clock.
7030
7031 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7032
7033         * docs/gst/gstreamer-sections.txt:
7034           ultral33t func10ns deserve to appear in the docs actually
7035         * docs/gst/tmpl/.cvsignore:
7036         * docs/gst/tmpl/gstcompat.sgml:
7037         * docs/gst/tmpl/gstconfig.sgml:
7038         * gst/check/gstcheck.c:
7039         * gst/gstcompat.h:
7040         * gst/gstconfig.h.in:
7041           inlined more docs
7042
7043 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7044
7045         * docs/gst/tmpl/.cvsignore:
7046         * docs/gst/tmpl/gstquery.sgml:
7047         * docs/gst/tmpl/gstutils.sgml:
7048         * gst/gstquery.c:
7049         * gst/gstquery.h:
7050           inlined and extended docs
7051
7052 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7053
7054         * check/gst-libs/controller.c: (GST_START_TEST),
7055         (gst_controller_suite):
7056           more tests
7057         * docs/gst/tmpl/gstutils.sgml:
7058         * docs/libs/gstreamer-libs-sections.txt:
7059         * docs/libs/tmpl/gstdataprotocol.sgml:
7060           include path fixes
7061         * examples/controller/audio-example.c: (main):
7062           controller example works now
7063         * gst/gstclock.h:
7064           doc fixes
7065         * tools/gst-inspect.c: (print_element_properties_info):
7066           show param spec flags
7067
7068 2005-08-29  Andy Wingo  <wingo@pobox.com>
7069
7070         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7071
7072 2005-08-28  Andy Wingo  <wingo@pobox.com>
7073
7074         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7075         as having two arguments instead of just one. Allows superclasses
7076         to access information on subclasses -- see the terrible for() loop
7077         in gtype.c:g_type_create_instance for the reason why. All callers
7078         changed.
7079
7080 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7081
7082         * docs/design/part-messages.txt:
7083           update info
7084         * docs/gst/tmpl/.cvsignore:
7085         * docs/gst/tmpl/gstcaps.sgml:
7086         * docs/gst/tmpl/gstclock.sgml:
7087         * gst/gstbus.c:
7088         * gst/gstcaps.c:
7089         * gst/gstcaps.h:
7090         * gst/gstclock.c:
7091         * gst/gstclock.h:
7092         * gst/gstmessage.c:
7093           added descriptions for bus and message
7094           inline caps and clock docs
7095
7096 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7097
7098         * gst/gstmessage.c:
7099         * gst/gstmessage.h:
7100           doc fixes
7101
7102 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7103
7104         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7105           fix div-by-zero
7106
7107 2005-08-26  Andy Wingo  <wingo@pobox.com>
7108
7109         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7110         element_set_state's return val.
7111         (test_2_elements): Add test that's been disabled for months.
7112
7113         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7114         can-activate-pull properties.
7115
7116         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7117         can-activate-pull properties. Implement is_seekable so fakesrc can
7118         operate in pull mode.
7119
7120         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7121         properties.
7122         (gst_base_sink_activate, gst_base_sink_activate_pull)
7123         (gst_base_sink_activate_push): Make activation mode choosing work.
7124         Cleanups.
7125         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7126         is right. Make pull mode work. Post an eos before pausing in pull
7127         mode.
7128         (gst_base_sink_change_state): Pay attention to the core's
7129         change_state() return val.
7130         
7131         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7132         has-getrange properties. Cleanups.
7133         
7134         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7135         has_getrange and replace with can_activate_pull and
7136         can_activate_push.
7137
7138         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7139         locking comments. Remove has_loop, has_chain and replace with
7140         can_activate_pull and can_activate_push.
7141
7142 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7143
7144         * configure.ac:
7145         * examples/Makefile.am:
7146         * examples/metadata/Makefile.am:
7147         * examples/metadata/read-metadata.c: (message_loop),
7148         (have_pad_handler), (make_pipeline), (print_tag), (main):
7149           Add metadata reading example that loops over a list of filenames,
7150           dumping any tags found.
7151
7152         * gst/gstbus.c: (gst_bus_dispose):
7153         * gst/gstelement.c: (gst_element_dispose):
7154           Release a few potentially-held references in dispose.
7155
7156 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7157
7158         * docs/gst/tmpl/gstminiobject.sgml:
7159           do *not* add tmpl/*.sgml files to CVS!
7160
7161 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7162
7163         * libs/gst/bytestream/.cvsignore:
7164         * libs/gst/bytestream/Makefile.am:
7165         * libs/gst/bytestream/adapter.c:
7166         * libs/gst/bytestream/adapter.h:
7167         * libs/gst/bytestream/bytestream.c:
7168         * libs/gst/bytestream/bytestream.h:
7169         * libs/gst/bytestream/filepad.c:
7170         * libs/gst/bytestream/filepad.h:
7171           removing obsolete files
7172
7173 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7174
7175         * docs/gst/gstreamer-docs.sgml:
7176         * docs/libs/gstreamer-libs-docs.sgml:
7177           disabed additional index entries again, as this makes docs-gen just
7178           slow and they aren't useful yet
7179         * docs/libs/gstreamer-libs-sections.txt:
7180           little -section.txt cleanup for libs
7181
7182 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7183
7184         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7185         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7186           fix up some debugging
7187         (gst_base_transform_get_unit_size),
7188         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7189         (gst_base_transform_handle_buffer):
7190         * gst/base/gstbasetransform.h:
7191           handle and store timed NEWSEGMENT events so that subclasses that
7192           calculate time by counting samples have a segment_start time they
7193           need to add to their timestamps - see audioresample
7194
7195 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7196
7197         * gst/gstbin.h:
7198           removed ';' from the end of macro defs
7199         * docs/gst/gstreamer-docs.sgml:
7200         * docs/gst/gstreamer-sections.txt:
7201         * docs/gst/tmpl/.cvsignore:
7202         * gst/gstbus.h:
7203         * gst/gstelement.c: (gst_element_class_init),
7204         (gst_element_set_state), (activate_pads),
7205         (gst_element_save_thyself):
7206         * gst/gstevent.c: (gst_event_new_newsegment):
7207         * gst/gstevent.h:
7208         * gst/gstiterator.c:
7209         * gst/gstiterator.h:
7210         * gst/gstpad.c:
7211         * gst/gstprobe.h:
7212         * gst/gstutils.c: (gst_pad_query_convert):
7213         * gst/gstutils.h:
7214           fixed parameter name mismatches between source, header and docs
7215           added some more docs, resolved the last batch of unused elements in
7216           docs (now someone needs to doc them)
7217
7218 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7219
7220         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7221         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7222           don't walk through the plugins backwards.  Where is all this
7223           reversed logic coming from ?
7224
7225 2005-08-25  Wim Taymans  <wim@fluendo.com>
7226
7227         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7228         (gst_base_transform_transform_size),
7229         (gst_base_transform_configure_caps),
7230         (gst_base_transform_get_unit_size),
7231         (gst_base_transform_buffer_alloc),
7232         (gst_base_transform_change_state):
7233         * gst/base/gstbasetransform.h:
7234         Cache caps unit_size.
7235         Make sure we cannot negotiate up and downstream at the
7236         same time.
7237
7238 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7239
7240         * gst/gst.c: (init_pre), (init_post):
7241           register the installed plugin path after the env var
7242         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7243         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7244           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7245           directories, so the tests can prefer uninstalled over installed
7246
7247 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7248
7249         * gst/base/gstbasetransform.h:
7250           comment
7251         * gst/gstpad.c:
7252           add to docs
7253
7254 2005-08-25  Wim Taymans  <wim@fluendo.com>
7255
7256         * gst/gstbin.c: (bin_bus_handler):
7257         Be a bit more conservative about the posted message.
7258         
7259         * gst/gstbus.c: (gst_bus_post):
7260         Some cleanups, warn wrong return values.
7261
7262 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7263
7264         * check/gst/gstbin.c: (GST_START_TEST):
7265         * gst/gstbin.c: (bin_bus_handler):
7266         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7267         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7268         (gst_message_new_warning), (gst_message_new_tag),
7269         (gst_message_new_state_changed), (gst_message_new_segment_start),
7270         (gst_message_new_segment_done), (gst_message_new_custom):
7271         * gst/gstmessage.h:
7272         * tools/gst-launch.c: (event_loop):
7273         * tools/gst-md5sum.c: (event_loop):
7274           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7275
7276 2005-08-25  Wim Taymans  <wim@fluendo.com>
7277
7278         * check/generic/states.c: (GST_START_TEST):
7279         Cleanup can be done at the end.
7280
7281         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7282         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7283         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7284         Oh boy.. Thanks for finding this, Thomas. 
7285
7286 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7287
7288         * docs/gst/gstreamer.types:
7289           added missing types
7290
7291 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7292
7293         * docs/gst/gstreamer-docs.sgml:
7294         * docs/gst/gstreamer-sections.txt:
7295         * docs/gst/tmpl/.cvsignore:
7296         * gst/gstbin.c:
7297         * gst/gstiterator.c:
7298         * gst/gstutils.c:
7299         * gst/registries/gstxmlregistry.h:
7300           added missing classes and symbols (123 more to go)
7301           removed removed symbols from section file
7302           fixed many doc-comments
7303
7304 2005-08-24  Wim Taymans  <wim@fluendo.com>
7305
7306         * check/generic/states.c: (GST_START_TEST):
7307         Make sure all tasks are stopped.
7308
7309         * check/gst/gstbin.c: (GST_START_TEST):
7310         Unref after usage for proper valgrinding.
7311
7312         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7313         Really wait for the task to stop before destroying the
7314         mutex.
7315
7316         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7317         (gst_queue_src_activate_push):
7318         Small cleanups. Don't stop the task when we did not start
7319         it.
7320
7321         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7322         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7323         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7324         (gst_task_join):
7325         * gst/gsttask.h:
7326         Protect the stream lock with the object lock.
7327         Disallow setting the stream lock when running.
7328         Add cleanup_all to wait for the threadpool to finish.
7329         Remove code to autoallocate a mutex if none was provided.
7330         Add _join() to wait for a task to stop.
7331         Protect the thread pool with a global lock.
7332
7333 2005-08-24  Wim Taymans  <wim@fluendo.com>
7334
7335         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7336         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7337         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7338         * gst/base/gstbasesink.h:
7339         Handle newsegment events correctly.
7340         Drop buffers out of the segment range.
7341
7342 2005-08-22  Andy Wingo  <wingo@pobox.com>
7343
7344         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7345         macro, implements an interface and gstimplementsinterface for a
7346         new type.
7347
7348 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7349
7350         * check/Makefile.am:
7351         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7352           add a test that does a bunch of state changes on elements
7353           needs some fixing for valgrind
7354         * check/states/sinks.c: (gst_object_suite):
7355           whitespace
7356         * gst/gstcaps.h:
7357           add prototype for gst_caps_is_equal_fixed
7358         * gst/gstplugin.c:
7359         * gst/gstregistrypool.c:
7360           doc fixes
7361
7362 2005-08-24  Andy Wingo  <wingo@pobox.com>
7363
7364         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7365         convert a negative value. Doesn't make much sense. Mostly this is
7366         here to force callers to ensure -1 maps to -1.
7367
7368 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7369
7370         * docs/pwg/advanced-types.xml:
7371           Well done to Michael for catching my deliberate introduction
7372           of this spelling mistake. 
7373         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7374         * gst/gstelement.h:
7375           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7376           unlink pads before removing the element from the bin.
7377
7378 2005-08-24  Andy Wingo  <wingo@pobox.com>
7379
7380         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7381         the same thing as GST_DEBUG=*:4.
7382         (parse_debug_level, parse_debug_category): New helper parsers.
7383
7384 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7385
7386         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7387         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7388         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7389         (gst_base_transform_buffer_alloc),
7390         (gst_base_transform_handle_buffer):
7391           use gboolean return values and pointers to size so we can use the
7392           full GST_BUFFER_SIZE range (guint) for buffer sizes
7393           use GstPadDirection for transform_caps
7394         * gst/base/gstbasetransform.h:
7395           rename get_size to get_unit_size since that's what it is
7396         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7397           use GstPadDirection for transform_caps
7398         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7399         * gst/gstutils.h:
7400           cleanup and debugging
7401
7402 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7403
7404         * gst/gstelement.c: (gst_element_class_init),
7405         (gst_element_set_state), (activate_pads),
7406         (gst_element_save_thyself):
7407         * tools/gst-compprep.c: (main):
7408         * tools/gst-inspect.c: (print_element_properties_info):
7409         * tools/gst-xmlinspect.c: (print_element_properties):
7410           Fixed long standing mem-leak
7411
7412 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7413
7414         * check/gst/gstbin.c: (GST_START_TEST):
7415         * gst/gstbin.c: (bin_bus_handler):
7416         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7417         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7418         (gst_message_new_warning), (gst_message_new_tag),
7419         (gst_message_new_state_changed), (gst_message_new_segment_start),
7420         (gst_message_new_segment_done), (gst_message_new_custom):
7421         * gst/gstmessage.h:
7422         * tools/gst-launch.c: (event_loop):
7423         * tools/gst-md5sum.c: (event_loop):
7424           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7425           that applications can sensibly post custom messages with references
7426           to their own objects.
7427
7428 2005-08-24  Andy Wingo  <wingo@pobox.com>
7429
7430         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7431         already.
7432
7433 2005-08-24  Wim Taymans  <wim@fluendo.com>
7434
7435         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7436         (gst_base_transform_transform_caps),
7437         (gst_base_transform_transform_size),
7438         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7439         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7440         (gst_base_transform_handle_buffer):
7441         * gst/base/gstbasetransform.h:
7442         Many fixes and new features added by Thomas. Can now also do
7443         transforms with variable sizes and a custom fixate_caps function.
7444
7445 2005-08-24  Wim Taymans  <wim@fluendo.com>
7446
7447         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7448         Some debugging.
7449
7450         * gst/gstclock.h:
7451         Cast to ClockTime before formatting to time.
7452
7453         * gst/gstutils.h:
7454         Cleanups.
7455
7456 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7457
7458         * check/gst-libs/controller.c: (GST_START_TEST),
7459         (gst_controller_suite):
7460         * docs/gst/tmpl/gstcaps.sgml:
7461         * docs/gst/tmpl/gstghostpad.sgml:
7462         * docs/gst/tmpl/gstquery.sgml:
7463         * docs/gst/tmpl/gstutils.sgml:
7464         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7465         (gst_object_sink_values), (gst_object_get_value_arrays),
7466         (gst_object_get_value_array):
7467           gracefully handle helper method calls to objects that are not beeing
7468           controlled, added test case for that          
7469
7470 2005-08-23  Wim Taymans  <wim@fluendo.com>
7471
7472         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7473         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7474         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7475         (gst_event_parse_qos), (gst_event_new_seek),
7476         (gst_event_parse_seek):
7477         * gst/gstevent.h:
7478         Some more debugging output and doc cleanups.
7479
7480         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7481         Fix possible deadlock.
7482
7483 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7484
7485         * docs/gst/gstreamer-docs.sgml:
7486         * docs/gst/gstreamer-sections.txt:
7487         * docs/gst/gstreamer.types:
7488         * docs/gst/tmpl/.cvsignore:
7489         * gst/gstbin.h:
7490         * gst/gstbus.c:
7491         * gst/gstelement.c:
7492         * gst/gstevent.h:
7493           added 100 symbols from gstreamer-unused.txt to the right sections
7494           fixed more broken comments
7495           added GstBus to docs
7496
7497 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7498
7499         * docs/gst/gstreamer-sections.txt:
7500         * docs/gst/tmpl/.cvsignore:
7501         * docs/gst/tmpl/gstbin.sgml:
7502         * docs/gst/tmpl/gstbuffer.sgml:
7503         * gst/base/gstbasesrc.c:
7504         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7505         * gst/gstbuffer.c:
7506         * gst/gstbuffer.h:
7507         * tools/gst-launch.1.in:
7508           inlined more doc comments, added missing comments and fixed comments
7509           fixed typos
7510
7511 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7512
7513         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7514           some debugging
7515         * gst/gstcaps.h:
7516           whitespace fixes
7517         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7518           more debugging
7519         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7520         * gst/gststructure.h:
7521           add a fixate function for booleans; add a FIXME that these func
7522           names should probably be gst_structure_fixate_*
7523
7524 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7525
7526         * docs/gst/gstreamer-docs.sgml:
7527         * docs/gst/gstreamer-sections.txt:
7528         * gst/Makefile.am:
7529         * gst/gstbin.c: (gst_bin_get_type),
7530         (gst_bin_child_proxy_get_child_by_index),
7531         (gst_bin_child_proxy_get_children_count),
7532         (gst_bin_child_proxy_init):
7533         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7534         (gst_child_proxy_get_child_by_index),
7535         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7536         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7537         (gst_child_proxy_get), (gst_child_proxy_set_property),
7538         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7539         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7540         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7541         * gst/gstchildproxy.h:
7542         * gst/parse/grammar.y:
7543         * tools/gst-inspect.c: (print_interfaces),
7544         (print_element_properties_info), (print_element_info):
7545           ported gstchildproxy over from 0.8
7546           ported gst-inspect fixes and enhancements over from 0.8
7547
7548 2005-08-22  Wim Taymans  <wim@fluendo.com>
7549
7550         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7551         (gst_base_transform_handle_buffer):
7552         Also call the transform function if we have ANY caps.
7553
7554         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7555         Fix debug info.
7556
7557 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7558
7559         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7560           Don't pretend to handle seek events if the source is not seekable
7561
7562 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7563
7564         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7565           Remove extra parameter to debug output
7566
7567         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7568         (gst_base_src_do_seek), (gst_base_src_activate_push):
7569           Fix seek event handling.
7570
7571         * gst/gstpipeline.c: (gst_pipeline_change_state):
7572         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7573         (gst_queue_src_activate_push):
7574           Don't start the src pad task on FLUSH_STOP if the pad
7575           isn't linked.
7576           Debug changes.
7577
7578 2005-08-22  Wim Taymans  <wim@fluendo.com>
7579
7580         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7581         Added check for gst_static_caps_get() refcounting.
7582
7583 2005-08-22  Wim Taymans  <wim@fluendo.com>
7584
7585         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7586         Make _static_caps_get() refcounting sane.
7587         
7588         * gst/gstelement.c: (gst_element_set_state):
7589         Add g_return_val_if_fail() to protect against segfaults.
7590
7591 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7592
7593         * docs/gst/tmpl/gstevent.sgml:
7594         * gst/gstevent.c:
7595         * gst/gstevent.h:
7596           inlined remaining docs, added missing doc comments
7597
7598 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7599
7600         * check/gst/gstbin.c: (GST_START_TEST):
7601           since we don't know when preroll is done, use refcount range
7602           check for the sink
7603         * gst/check/gstcheck.h:
7604           add macro for checking refcount range
7605
7606 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7607
7608         * check/Makefile.am:
7609           clean up environment for when registry gets built versus
7610           when actual tests are run; valgrind seems to not report
7611           leaks if GST_PLUGIN_PATH is set to some specific values
7612         * check/gst/gstbin.c: (GST_START_TEST):
7613           add more refcounting checks; maybe this exposes a
7614           preroll lock bug ?
7615         * common/check.mak:
7616         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7617         * gst/check/gstcheck.h:
7618         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7619         (gst_bin_change_state):
7620         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7621           add/fix debugging/whitespace
7622
7623 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7624
7625         * check/gst/gstevent.c: (event_probe), (test_event),
7626         (GST_START_TEST):
7627          Er, don't call gst_bin_watch_for_state_change you idiot.
7628
7629 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7630
7631         * check/Makefile.am:
7632           Use CHECK_CFLAGS and CHECK_LIBS
7633         * check/gst/gstevent.c: (event_probe), (test_event),
7634         (GST_START_TEST):
7635           Don't leak events.
7636         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7637         (gst_base_src_start), (gst_base_src_stop),
7638         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7639         (gst_base_src_change_state):
7640           Sprinkle gst_base_src_stop liberally around error paths to fix
7641           problems reusing a source after failed state changes.
7642         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7643         (helper_find_suggest), (gst_type_find_helper):
7644           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7645         * gst/gstevent.h:
7646         * docs/gst/tmpl/gstevent.sgml:
7647           Migrate part of the docs from the SGML file. Wait for ensonic to
7648           tell me how I did it wrong ;)
7649         * tools/gst-typefind.c: (main):
7650           Extra robustness to state changes between files.
7651
7652 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7653
7654         * check/Makefile.am:
7655           don't valgrind the controller test - it's leaking - Stefan, HELP
7656         * gst/check/gstcheck.c: (gst_check_message_error),
7657         (gst_check_chain_func), (gst_check_setup_element),
7658         (gst_check_teardown_element), (gst_check_setup_src_pad),
7659         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7660         (gst_check_teardown_sink_pad):
7661         * gst/check/gstcheck.h:
7662           add a bunch of methods to set up elements, and src and sink pads
7663         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7664         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7665         (GST_START_TEST):
7666           use them
7667         * gst/gstmessage.c:
7668         * gst/gsttag.h:
7669           whitespace/doc fixes
7670
7671 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7672
7673         * gst/gstelement.h:
7674           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7675           be handled by the application and not always printed as well
7676
7677 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7678
7679         * check/Makefile.am:
7680           set GST_TOOLS_DIR
7681         * gst/check/gstcheck.c: (gst_check_message_error):
7682         * gst/check/gstcheck.h:
7683           add a fail_unless_equals_int
7684           add fail_unless for error messages
7685
7686 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7687
7688         * check/Makefile.am:
7689         * check/gst.supp:
7690         * common/Makefile.am:
7691         * common/check.mak:
7692         * common/gst.supp:
7693           factor out some of the common stuff so we can use it
7694
7695 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7696
7697         * check/Makefile.am:
7698         * check/gst/gstiterator.c: (GST_START_TEST):
7699         * check/gst/gstsystemclock.c: (GST_START_TEST),
7700         (gst_systemclock_suite):
7701         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7702         * gst/gstclock.c:
7703           valgrind more tests
7704
7705 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7706
7707         * check/elements/.cvsignore:
7708         * check/elements/gstfakesrc.c:
7709           rename to name of element
7710         * check/elements/identity.c: (chain_func), (event_func),
7711         (setup_identity), (cleanup_identity), (GST_START_TEST),
7712         (identity_suite), (main):
7713           add a test for identity
7714         * check/Makefile.am:
7715         * pkgconfig/Makefile.am:
7716         * pkgconfig/gstreamer-check.pc.in:
7717         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7718         * gst/check:
7719         * gst/Makefile.am:
7720         * configure.ac:
7721           move the check stuff to a library that gets installed
7722         * check/gst-libs/controller.c: (GST_START_TEST):
7723         * check/gst-libs/gdp.c:
7724         * check/gst/gst.c: (GST_START_TEST):
7725         * check/gst/gstbin.c:
7726         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7727         * check/gst/gstbus.c:
7728         * check/gst/gstcaps.c: (GST_START_TEST):
7729         * check/gst/gstelement.c:
7730         * check/gst/gstghostpad.c:
7731         * check/gst/gstiterator.c:
7732         * check/gst/gstmessage.c:
7733         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7734         * check/gst/gstobject.c:
7735         * check/gst/gstpad.c: (GST_START_TEST):
7736         * check/gst/gststructure.c: (GST_START_TEST):
7737         * check/gst/gstsystemclock.c: (GST_START_TEST),
7738         (gst_systemclock_suite):
7739         * check/gst/gsttag.c: (gst_tag_suite):
7740         * check/gst/gstvalue.c:
7741         * check/pipelines/cleanup.c:
7742         * check/pipelines/simple_launch_lines.c:
7743         * check/states/sinks.c:
7744           change include statement
7745
7746         * docs/gst/gstreamer-sections.txt:
7747         * docs/gst/tmpl/gstpad.sgml:
7748           document more pad stuff
7749         * gst/gstminiobject.c: (gst_mini_object_ref),
7750         (gst_mini_object_unref):
7751           debug refcounting
7752
7753 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7754
7755         * docs/gst/tmpl/gst.sgml:
7756         * gst/gst.c:
7757           eliminate another tmpl file, fix spelling in the long-description
7758
7759 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7760
7761         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7762         (test_event), (timediff), (gstevents_suite):
7763           Should fix build on 64-bit arch's
7764
7765 2005-08-18  Andy Wingo  <wingo@pobox.com>
7766
7767         Make sure that when a pipeline goes to PLAYING, that data has
7768         actually hit the sink.
7769
7770         * check/states/sinks.c (test_sink): A sink that doesn't get any
7771         data shouldn't return SUCCESS for going to either PLAYING or
7772         PAUSED. Test also the return values on the way back down.
7773
7774         * gst/gstelement.c (gst_element_set_state): When changing the
7775         state of an element currently changing state asynchronously, go to
7776         lost-state after commiting the pending state. Makes future calls
7777         to get_state continue to return ASYNC.
7778
7779         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7780         ASYNC when going to PLAYING if we still don't have preroll, as can
7781         happen with live sources.
7782
7783 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7784
7785         * docs/pwg/advanced-types.xml:
7786           Hack long paragraph into 2 chunks as a workaround for buggy
7787           jadetex version in sid and breezy that loops infinitely and
7788           eats all RAM.
7789
7790 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7791
7792         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7793         (test_event), (timediff), (gstevents_suite):
7794           Provide more error margin in clock measurements to allow for 
7795           g_get_current_time inaccuracies.
7796
7797 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7798
7799         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7800         (test_event), (timediff), (gstevents_suite):
7801            Fix error message output so I might be able to tell why the
7802            test works here but fails on the build farm.
7803
7804 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7805
7806         * check/Makefile.am:
7807         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7808         (test_event), (timediff), (gstevents_suite), (main):
7809           I wrote a test!
7810
7811         * docs/design/part-seeking.txt:
7812           Spelling correction
7813
7814         * docs/gst/tmpl/gstevent.sgml:
7815         * docs/gst/tmpl/gstfakesrc.sgml:
7816           Docs updates.
7817
7818         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7819           Treat a buffer-without-newsegment the same as a receiving 
7820           a newsegment not in time format, and disable syncing to the clock
7821           with a warning.
7822
7823         * gst/gstbus.c: (gst_bus_set_sync_handler):
7824           Assert if anyone tries to replace the existing sync_handler for bus, 
7825           as only the owner should be setting it.
7826
7827         * gst/gstevent.h:
7828           Have a fixed set of custom event enums with events identified by
7829           their structure name (as in 0.8), rather than a free-for-all
7830           allowing collisions between enum values from different plugins.
7831
7832         * gst/gstpad.c: (gst_pad_class_init):
7833           Docs change.
7834           
7835         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7836           Handle out-of-band downstream events from the sending thread.
7837
7838 2005-08-17  Andy Wingo  <wingo@pobox.com>
7839
7840         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7841         play-timeout==0 to mean no timeout at all. In that case, don't
7842         bother with a get_state or a warning, just return directly, even
7843         if it's ASYNC.
7844
7845         * gst/base/gstbasetransform.c: Debug changes.
7846
7847         * gst/gstutils.h:
7848         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7849         ensure bins post state change messages. A bit of a hack but I can't
7850         think of a way to avoid it.
7851
7852         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7853
7854 2005-08-16  Andy Wingo  <wingo@pobox.com>
7855
7856         * gst/base/gstadapter.h:
7857         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7858         peek() but you own the data. Not terribly efficient atm.
7859
7860 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7861
7862         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7863         (gst_element_found_tags):
7864         * gst/gstutils.h:
7865           Add two utility functions for tag handling.
7866
7867 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7868
7869         * docs/manual/advanced-dataaccess.xml:
7870         * docs/manual/basics-helloworld.xml:
7871           Fix docs to use _bin_add() before _link(), which fixes the examples
7872           with recent core versions (reported by Madhan Raj M
7873           <raj_madan@rediffmail.com>, #313199).
7874
7875 2005-08-16  Wim Taymans  <wim@fluendo.com>
7876
7877         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7878         Added subtract checks.
7879
7880         * docs/design/part-events.txt:
7881         Some more docs about newsegment
7882
7883         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7884         Fix FIXME
7885
7886         * gst/gstcaps.c: (gst_caps_to_string):
7887         Add comments, cleanups.
7888         
7889         * gst/gstelement.c: (gst_element_save_thyself):
7890         cleanups
7891         
7892         * gst/gstvalue.c: (gst_value_collect_int_range),
7893         (gst_string_unwrap), (gst_value_union_int_int_range),
7894         (gst_value_union_int_range_int_range),
7895         (gst_value_intersect_int_int_range),
7896         (gst_value_intersect_int_range_int_range),
7897         (gst_value_intersect_double_double_range),
7898         (gst_value_intersect_double_range_double_range),
7899         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7900         (gst_value_subtract_int_range_int),
7901         (gst_value_subtract_double_range_double),
7902         (gst_value_subtract_double_range_double_range),
7903         (gst_value_subtract_from_list), (gst_value_subtract_list),
7904         (gst_value_can_compare), (gst_value_compare_fraction):
7905         Cleanups, add comments, remove unneeded asserts.
7906
7907 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7908
7909         * tools/gst-launch.c: (event_loop):
7910           don't convert NULL structures to strings
7911
7912 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7913
7914         * docs/gst/gstreamer-sections.txt:
7915           made some defines private
7916         * docs/gst/tmpl/gstconfig.sgml:
7917         * docs/gst/tmpl/gstqueue.sgml:
7918         * docs/gst/tmpl/gsttaglist.sgml:
7919         * docs/gst/tmpl/gsttypes.sgml:
7920         * docs/gst/tmpl/gstutils.sgml:
7921         * docs/pwg/appendix-porting.xml:
7922         * gst/base/gstbasesink.h:
7923         * gst/base/gstbasesrc.c:
7924         * gst/base/gstbasesrc.h:
7925         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7926         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7927         * gst/gstelement.c: (gst_element_class_init):
7928         * gst/gstpad.c: (gst_pad_class_init):
7929         * gst/gstqueue.c: (gst_queue_class_init):
7930         * gst/gstxml.c: (gst_xml_class_init):
7931           documented all undocumented signal inline
7932         * libs/gst/controller/gst-controller.h:
7933           added padding
7934
7935 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7936
7937         * docs/pwg/appendix-porting.xml:
7938           Document _set_link_function -> _set_setcaps_function.
7939
7940 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7941
7942         * check/Makefile.am:
7943           add a .check target for running the check
7944         * check/gst-libs/controller.c: (GST_START_TEST):
7945           cosmetic fixups
7946         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7947           complete checks for gstbuffer; would be nice if I could get the
7948           gcov stuff to work so I can see if I actually completed gstbuffer.c
7949         * check/gstcheck.h:
7950           add ASSERT_BUFFER_REFCOUNT
7951
7952 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7953
7954         * docs/gst/gstreamer-sections.txt:
7955         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7956         * gst/gsttag.h:
7957           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7958           spew out a warning if a tag that is already registered
7959           is re-registered, unless it is re-registered with a 
7960           different type (#308438).
7961
7962 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7963
7964         * docs/pwg/appendix-porting.xml:
7965         * docs/pwg/building-state.xml:
7966           Add some paragraphs about state changes in 0.9 to the PWG
7967           and the porting guide, in particular about the new meaning
7968           of GST_STATE_PAUSED and how to write state change functions
7969           with concurrent access by multiple threads in mind.
7970
7971 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7972
7973         * docs/gst/gstreamer-docs.sgml:
7974         * docs/libs/gstreamer-libs-docs.sgml:
7975           added deprecation and since indexes
7976         * libs/gst/controller/gst-controller.c:
7977         * libs/gst/controller/gst-helper.c:
7978           added since tags
7979
7980
7981 2005-08-11  Wim Taymans  <wim@fluendo.com>
7982
7983         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7984         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7985         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7986         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7987         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7988         (gst_ghost_pad_set_target):
7989         Actually implement (re)setting the target on a ghostpad
7990         as described in the docs.
7991
7992 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7993
7994         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7995           Check whether GST_DEBUG_NO_COLOR environment variable is
7996           set and disable coloured debug output if that is the case.
7997
7998 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7999
8000         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8001         (gst_type_find_helper):
8002           The memory returned by gst_type_find_peek() needs to
8003           stay valid until the end of a typefind function, and
8004           typefind functions may keep results from different 
8005           offsets around, so we can't just unref the buffer from
8006           the previous _peek(), but have to save all buffers 
8007           returned by _peek() until typefinding is done and only
8008           free them then.
8009
8010 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8011
8012         * docs/gst/gstreamer-sections.txt:
8013         * gst/gstutils.h:
8014           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8015
8016 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8017
8018         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8019           Fix a pretty good memleak.
8020
8021 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8022
8023         * gst/gstiterator.h:
8024           Fix wrong include and 'make distcheck'.
8025
8026 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8027
8028         * gst/gstbin.c: (bin_bus_handler):
8029           Use gst_element_post_message() instead.
8030
8031 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8032
8033         * gst/base/gstadapter.h:
8034         * gst/base/gstbasesink.h:
8035         * gst/base/gstbasesrc.h:
8036         * gst/base/gstbasetransform.h:
8037         * gst/base/gstcollectpads.h:
8038         * gst/base/gstpushsrc.h:
8039         * gst/gstiterator.h:
8040           Add padding to our base elements' class and instance structs and
8041           to GstIterator (you will need to rebuild all plugins and apps!)
8042
8043 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8044
8045         * gst/gstbin.c: (bin_bus_handler):
8046           Make default message forwarding from child->bus to bin->bus
8047           threadsafe and make it not emit warnings if the parent has no bus.
8048
8049 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8050
8051         * gst/gstelement.c: (activate_pads):
8052           On paused->ready, set pad->caps to NULL, as is the documented
8053           behaviour in this state change. Fixes playback of series of
8054           media files when visualization is enabled in Totem.
8055
8056 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8057
8058         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8059           Allow NULL as filter-caps (which means "any").
8060
8061 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8062
8063         * docs/libs/gstreamer-libs-sections.txt:
8064         * libs/gst/controller/gst-controller.c:
8065         * libs/gst/controller/gst-controller.h:
8066         * libs/gst/controller/gst-helper.c:
8067           adding more entries to the docs and fix small doc-bugs
8068
8069 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8070
8071         * docs/gst/gstreamer-docs.sgml:
8072         * docs/gst/gstreamer-sections.txt:
8073         * docs/gst/gstreamer.types:
8074         * docs/gst/tmpl/gstbasesink.sgml:
8075         * docs/gst/tmpl/gstbasesrc.sgml:
8076         * docs/gst/tmpl/gstbasetransform.sgml:
8077         * docs/gst/tmpl/gstfakesrc.sgml:
8078         * gst/base/gstcollectpads.c:
8079         * gst/base/gstcollectpads.h:
8080         * libs/gst/controller/gst-controller.c:
8081         * libs/gst/controller/gst-controller.h:
8082         * libs/gst/controller/gst-helper.c:
8083         * libs/gst/controller/gst-interpolation.c:
8084         * libs/gst/controller/lib.c:
8085           added long/short desc for controller docs
8086           added collectpads base class docs
8087           added correct includes to base-class docs
8088
8089 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8090
8091         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8092         (gst_test_mono_source_set_property),
8093         (gst_test_mono_source_class_init), (GST_START_TEST),
8094         (gst_controller_suite):
8095         * docs/gst/gstreamer-docs.sgml:
8096         * docs/gst/gstreamer-sections.txt:
8097         * docs/gst/gstreamer.types:
8098         * docs/libs/gstreamer-libs-docs.sgml:
8099         * docs/libs/gstreamer-libs-sections.txt:
8100         * gst/base/gstadapter.c:
8101         * libs/gst/controller/gst-controller.c:
8102         (gst_controlled_property_new), (gst_controlled_property_free),
8103         (gst_controller_new_valist),
8104         (gst_controller_remove_properties_valist),
8105         (gst_controller_sink_values), (_gst_controller_finalize):
8106         * libs/gst/controller/gst-controller.h:
8107         * libs/gst/controller/gst-helper.c:
8108         (gst_object_control_properties), (gst_object_uncontrol_properties),
8109         (gst_object_get_controller), (gst_object_set_controller),
8110         (gst_object_sink_values), (gst_object_get_value_arrays),
8111         (gst_object_get_value_array):
8112           more tests (and fixes) for the controller
8113           more docs for the controller
8114           integrated companies docs for the adapter 
8115
8116 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8117
8118         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8119         (GST_START_TEST), (fakesrc_suite):
8120           add tests for sizetype
8121
8122 2005-08-04  Andy Wingo  <wingo@pobox.com>
8123
8124         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8125         fixes buffer_alloc proxying among other things.
8126
8127         * gst/base/gstbasetransform.c:
8128         * gst/base/gstbasetransform.h:
8129         Revert patch to gstbasetransform from 7-28 removing
8130         delay_configure.
8131
8132         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8133         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8134         Semantics changed, should return not the size of the output buffer
8135         but the byte size of a buffer with a given caps.
8136
8137         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8138         debug object.
8139         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8140         out) are not the pad caps until setcaps finishes.
8141         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8142         not-in-place case as well. Deal with changing from in-place to
8143         not-in-place within calling pad_alloc_buffer. Still a bit
8144         concerned about the overhead here...
8145
8146 2005-08-03  Andy Wingo  <wingo@pobox.com>
8147
8148         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8149         fixating is an error.
8150
8151 2005-08-04  Edward Hervey  <edward@fluendo.com>
8152
8153         * gst/base/gstadapter.h: 
8154         Added gst_adapter_get_type() to the header
8155
8156 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8157
8158         * check/Makefile.am:
8159         * check/gst-libs/controller.c:
8160         * libs/gst/controller/gst-controller.c:
8161         (gst_controller_new_valist):
8162           added check test suite for the controller
8163         * gst/base/gstpushsrc.c:
8164           fixed a doc typo
8165
8166 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8167
8168         * docs/gst/Makefile.am:
8169         * docs/gst/gstreamer-docs.sgml:
8170         * docs/gst/gstreamer-sections.txt:
8171         * docs/gst/gstreamer.types:
8172         * docs/gst/tmpl/gstfakesrc.sgml:
8173         * gst/base/README:
8174         * gst/base/gstbasesink.c:
8175         * gst/base/gstbasesink.h:
8176         * gst/base/gstbasesrc.c:
8177         * gst/base/gstbasesrc.h:
8178         * gst/base/gstbasetransform.c:
8179         * gst/base/gstpushsrc.c:
8180         * gst/base/gstpushsrc.h:
8181           add short/long description docs to base classes
8182           add pushsrc to the docs
8183           remove consolidated doc fragments
8184
8185 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8186
8187         * configure.ac:
8188         * docs/libs/Makefile.am:
8189         * docs/libs/gstreamer-libs-docs.sgml:
8190         * docs/libs/gstreamer-libs-sections.txt:
8191         * docs/libs/gstreamer-libs.types:
8192         * examples/Makefile.am:
8193         * examples/controller/.cvsignore:
8194         * examples/controller/Makefile.am:
8195         * examples/controller/audio-example.c: (main):
8196         * libs/gst/Makefile.am:
8197         * libs/gst/controller/.cvsignore:
8198         * libs/gst/controller/Makefile.am:
8199         * libs/gst/controller/gst-controller.c:
8200         (on_object_controlled_property_changed), (gst_timed_value_compare),
8201         (gst_timed_value_find),
8202         (gst_controlled_property_set_interpolation_mode),
8203         (gst_controlled_property_new), (gst_controlled_property_free),
8204         (gst_controller_find_controlled_property),
8205         (gst_controller_new_valist), (gst_controller_new),
8206         (gst_controller_remove_properties_valist),
8207         (gst_controller_remove_properties), (gst_controller_set),
8208         (gst_controller_set_from_list), (gst_controller_unset),
8209         (gst_controller_get), (gst_controller_get_all),
8210         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8211         (gst_controller_get_value_array),
8212         (gst_controller_set_interpolation_mode),
8213         (_gst_controller_finalize), (_gst_controller_init),
8214         (_gst_controller_class_init), (gst_controller_get_type):
8215         * libs/gst/controller/gst-controller.h:
8216         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8217         (g_object_uncontrol_properties), (g_object_get_controller),
8218         (g_object_set_controller), (g_object_sink_values),
8219         (g_object_get_value_arrays), (g_object_get_value_array):
8220         * libs/gst/controller/gst-interpolation.c:
8221         (gst_controlled_property_find_timed_value_node),
8222         (interpolate_none_get), (interpolate_trigger_get),
8223         (interpolate_trigger_get_value_array):
8224         * libs/gst/controller/lib.c: (gst_controller_init):
8225         * pkgconfig/Makefile.am:
8226         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8227         * pkgconfig/gstreamer-control.pc.in:
8228         * testsuite/Makefile.am:
8229         * testsuite/controller/.cvsignore:
8230         * testsuite/controller/Makefile.am:
8231         * testsuite/controller/interpolator.c: (main):
8232           added controller code
8233           removed dparam pc files
8234
8235 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8236         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8237         (gst_collectpads_stop):
8238           Broadcast the condition when shutting down, to make sure we wake all
8239           threads up. Shut down pads on finalize, for safety.
8240
8241 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8242         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8243         (gst_base_transform_handle_buffer),
8244         (gst_base_transform_change_state):
8245           Handle PAUSED->READY->PAUSED transition after negotiation
8246           occurred already.
8247         * gst/gstmessage.c: (gst_message_init):
8248           Extra piece of debug for new messages.
8249
8250 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8251
8252         * configure.ac:
8253         * docs/gst/tmpl/gstbasesrc.sgml:
8254         * docs/gst/tmpl/gstelement.sgml:
8255         * docs/gst/tmpl/gstevent.sgml:
8256         * docs/gst/tmpl/gstfakesrc.sgml:
8257         * docs/gst/tmpl/gstformat.sgml:
8258         * docs/gst/tmpl/gstghostpad.sgml:
8259         * docs/gst/tmpl/gstpad.sgml:
8260         * docs/gst/tmpl/gstquery.sgml:
8261         * docs/gst/tmpl/gststructure.sgml:
8262         * docs/gst/tmpl/gsttaglist.sgml:
8263         * docs/gst/tmpl/gstvalue.sgml:
8264         * docs/libs/gstreamer-libs-docs.sgml:
8265         * docs/libs/gstreamer-libs-sections.txt:
8266         * docs/libs/gstreamer-libs.types:
8267         * libs/gst/Makefile.am:
8268         * libs/gst/control/.cvsignore:
8269         * libs/gst/control/Makefile.am:
8270         * libs/gst/control/control.c:
8271         * libs/gst/control/control.h:
8272         * libs/gst/control/dparam.c:
8273         * libs/gst/control/dparam.h:
8274         * libs/gst/control/dparam_smooth.c:
8275         * libs/gst/control/dparam_smooth.h:
8276         * libs/gst/control/dparamcommon.h:
8277         * libs/gst/control/dparammanager.c:
8278         * libs/gst/control/dparammanager.h:
8279         * libs/gst/control/dplinearinterp.c:
8280         * libs/gst/control/dplinearinterp.h:
8281         * libs/gst/control/unitconvert.c:
8282         * libs/gst/control/unitconvert.h:
8283         * testsuite/Makefile.am:
8284         * testsuite/dynparams/.cvsignore:
8285         * testsuite/dynparams/Makefile.am:
8286         * testsuite/dynparams/dparamstest.c:
8287         * tools/Makefile.am:
8288         * tools/gst-inspect.c: (print_element_info), (main):
8289         * tools/gst-xmlinspect.c: (print_element_info), (main):
8290           deactivate and remove dparams (libgstcontrol)
8291
8292 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8293
8294         * gst/elements/gsttypefindelement.c:
8295         (gst_type_find_element_have_type), (gst_type_find_element_init),
8296         (stop_typefinding), (gst_type_find_element_handle_event),
8297         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8298         * gst/elements/gsttypefindelement.h:
8299           Set caps on all outgoing buffers, not just the first one.
8300
8301 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8302
8303         * gst/elements/gsttypefindelement.c:
8304         (gst_type_find_element_have_type),
8305         (gst_type_find_element_check_set_buffer_caps),
8306         (gst_type_find_element_init), (stop_typefinding),
8307         (gst_type_find_element_handle_event),
8308         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8309         * gst/elements/gsttypefindelement.h:
8310           Set caps on first outgoing buffer when we've found the type.
8311
8312 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8313
8314         * docs/gst/gstreamer-docs.sgml:
8315         * docs/gst/gstreamer-sections.txt:
8316         * docs/gst/tmpl/gstscheduler.sgml:
8317         * docs/gst/tmpl/gstschedulerfactory.sgml:
8318           Remove some old cruft from docs.
8319
8320 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8321
8322         * gst/gstpad.h:
8323           Fix inline docs for GstPadLinkReturn.
8324           
8325         * gst/gststructure.c: (gst_structure_has_name):
8326         * gst/gststructure.h:
8327         * docs/gst/gstreamer-sections.txt:
8328           New API: gst_structure_has_name().
8329
8330 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8331
8332         * configure.ac:
8333           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8334           and _LARGEFILE_SOURCE in config.h as required. Do not 
8335           export those flags in our .pc files any longer (#142209).
8336
8337           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8338
8339         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8340         (gst_file_sink_do_seek), (gst_file_sink_event),
8341         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8342           Redo seek/tell calls with large file support in mind; add some
8343           debugging messages; add log message that tells us when large
8344           file support is unavailable or not enabled for some reason.
8345
8346         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8347           Add log message that tells us when large file support 
8348           is unavailable or not enabled for some reason.
8349
8350 2005-07-29  Wim Taymans  <wim@fluendo.com>
8351
8352         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8353         Added test for removing an element with ghostpad from a bin.
8354         Fixed test as current implementation does the right thing.
8355
8356         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8357         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8358         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8359         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8360         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8361         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8362         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8363         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8364         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8365         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8366         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8367         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8368         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8369         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8370         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8371         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8372         * gst/gstghostpad.h:
8373         Clean up ghostpads, remove properties for internal stuff.
8374         Make threadsafe.
8375         Fix refcounting.
8376         Prepare for switching targets, not all use cases work yet.
8377
8378 2005-07-29  Wim Taymans  <wim@fluendo.com>
8379
8380         * docs/design/part-gstghostpad.txt:
8381         Small update.
8382
8383         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8384         (gst_bin_remove_func):
8385         Unlinking pads while holding the bin LOCK is not a good
8386         idea.
8387
8388         * gst/gstpad.c: (gst_pad_class_init),
8389         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8390         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8391         No prob setting template after creating the pad.
8392
8393 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8394
8395         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8396         (gst_bus_peek), (gst_bus_source_dispatch),
8397         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8398         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8399           gst_bus_poll may be called from other threads. Handle
8400           this nicely by not making poll_data disappear off the
8401           stack once gst_bus_poll returns.
8402           gst_bus_peek now increments the refcount on the returned
8403           message.
8404
8405 2005-07-29  Wim Taymans  <wim@fluendo.com>
8406
8407         * docs/design/part-gstghostpad.txt:
8408         Overview of current GhostPad datastructures and use
8409         cases for changing the target.
8410
8411 2005-07-28  Wim Taymans  <wim@fluendo.com>
8412
8413         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8414         Added checks for hierarchy consistency whan adding linked
8415         elements to bins.
8416
8417         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8418         Added check to test element scheduling without bin/pipeline.
8419
8420         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8421         First add elements to bin, then link.
8422         
8423         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8424         (gst_bin_remove_func):
8425         Unlink pads from elements added/removed from bin to maintain
8426         hierarchy consistency.
8427
8428 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8429
8430         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8431         (gst_base_transform_handle_buffer):
8432         * gst/base/gstbasetransform.h:
8433           Remove broken delay_configure (fixes renegotiation of software
8434           scaling pipelines); remove some leftover printf()s.
8435
8436 2005-07-28  Wim Taymans  <wim@fluendo.com>
8437
8438         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8439         Added some more tests for wrong hierarchy
8440
8441         * docs/design/part-overview.txt:
8442         Some updates.
8443
8444         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8445         Cleanups.
8446
8447         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8448         (gst_element_dispose):
8449         Some more cleanups.
8450
8451         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8452         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8453         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8454         (gst_pad_set_caps), (gst_pad_send_event):
8455         Check for correct hierarchy when linking pads. Moving to
8456         strict requirement for ghostpads when linking elements in
8457         different bins.
8458
8459         * gst/gstpad.h:
8460         Clean ups. Added WRONG_HIERARCHY return value.
8461
8462 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8463
8464         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8465           Better debug if no transform is possible.
8466
8467 2005-07-27  Wim Taymans  <wim@fluendo.com>
8468
8469         * docs/random/wtay/network-transp:
8470         Some old doc I had.
8471
8472 2005-07-27  Wim Taymans  <wim@fluendo.com>
8473
8474         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8475         (gst_dp_event_from_packet):
8476         Fix serialization of seek events.
8477
8478 2005-07-27  Wim Taymans  <wim@fluendo.com>
8479
8480         * check/gst-libs/gdp.c: (GST_START_TEST):
8481         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8482         Fix compilation and fix event serialization.
8483
8484 2005-07-27  Wim Taymans  <wim@fluendo.com>
8485
8486         * CHANGES-0.9:
8487         * docs/design/part-TODO.txt:
8488         * docs/design/part-events.txt:
8489         Some docs updates
8490
8491         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8492         (gst_base_sink_event), (gst_base_sink_do_sync),
8493         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8494         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8495         (gst_base_src_do_seek), (gst_base_src_event_handler),
8496         (gst_base_src_loop):
8497         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8498         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8499         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8500         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8501         (gst_base_transform_set_passthrough),
8502         (gst_base_transform_is_passthrough):
8503         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8504         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8505         Event updates.
8506
8507         * gst/gstbuffer.h:
8508         Use faster casts.
8509
8510         * gst/gstelement.c: (gst_element_seek):
8511         * gst/gstelement.h:
8512         Update gst_element_seek.
8513
8514         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8515         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8516         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8517         (gst_event_new_eos), (gst_event_new_newsegment),
8518         (gst_event_parse_newsegment), (gst_event_new_tag),
8519         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8520         (gst_event_parse_qos), (gst_event_new_seek),
8521         (gst_event_parse_seek), (gst_event_new_navigation):
8522         * gst/gstevent.h:
8523         Make GstEvent use GstStructure. Add parsing code, make sure the
8524         API is sufficiently generic.
8525         Mark possible directions of events and serialization.
8526
8527         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8528         (_gst_message_copy), (gst_message_new_segment_start),
8529         (gst_message_new_segment_done), (gst_message_new_custom),
8530         (gst_message_parse_segment_start),
8531         (gst_message_parse_segment_done):
8532         Small cleanups.
8533
8534         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8535         (gst_pad_set_caps), (gst_pad_send_event):
8536         Update for new events. 
8537         Catch events sent in wrong directions.
8538
8539         * gst/gstqueue.c: (gst_queue_link_src),
8540         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8541         (gst_queue_handle_src_query):
8542         Event updates.
8543
8544         * gst/gsttag.c:
8545         * gst/gsttag.h:
8546         Remove event code from this file.
8547
8548         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8549         (gst_dp_event_from_packet):
8550         Event updates.
8551
8552 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8553
8554         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8555         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8556         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8557           Make debugging actually useful.
8558
8559 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8560
8561         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8562         (gst_pad_fixate_caps):
8563           Implement default fixation once again, so that gst_pad_fixate()
8564           actually does anything at all. This probably needs to be some
8565           sort of a last resort, and use profile-based fixation first, but
8566           since that doesn't exist yet, this is the best we have. Fixes
8567           visualization in Totem.
8568
8569 2005-07-22  Wim Taymans  <wim@fluendo.com>
8570
8571         * docs/design/part-events.txt:
8572         Small update.
8573
8574         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8575         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8576         (gst_base_sink_activate_pull):
8577         Some more comments.
8578
8579         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8580         (gst_fake_src_create):
8581         Fix handoff marshall.
8582
8583         * gst/elements/gstidentity.c: (gst_identity_class_init),
8584         (gst_identity_transform_ip):
8585         We're a real inplace element.
8586
8587         * gst/gstbus.c: (gst_bus_post):
8588         Added some comments.
8589
8590         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8591         * tests/muxing/case1.c: (main):
8592         * tests/sched/dynamic-pipeline.c: (main):
8593         * tests/sched/interrupt1.c: (main):
8594         * tests/sched/interrupt2.c: (main):
8595         * tests/sched/interrupt3.c: (main):
8596         * tests/sched/runxml.c: (main):
8597         * tests/sched/sched-stress.c: (main):
8598         * tests/seeking/seeking1.c: (event_received), (main):
8599         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8600         (main):
8601         * tests/threadstate/threadstate3.c: (main):
8602         * tests/threadstate/threadstate4.c: (main):
8603         * tests/threadstate/threadstate5.c: (main):
8604         Fix the tests.
8605
8606 2005-07-21  Wim Taymans  <wim@fluendo.com>
8607
8608         * docs/design/part-seeking.txt:
8609         Some small additions.
8610
8611         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8612         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8613         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8614         * gst/base/gstbasesink.h:
8615         discont values are gint64, handle the math correctly.
8616
8617         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8618         Make the basesrc report error if the source pad is not linked.
8619
8620         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8621         (gst_queue_loop), (gst_queue_handle_src_query),
8622         (gst_queue_src_activate_push):
8623         Make queue collect data even if the srcpad is not linked.
8624         Start pushing out data as soon as it is linked.
8625
8626         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8627         * gst/gstutils.h:
8628         Added gst_flow_get_name() to ease error reporting.
8629
8630 2005-07-20  Wim Taymans  <wim@fluendo.com>
8631
8632         * gst/gstmessage.c: (gst_message_new_segment_start),
8633         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8634         (gst_message_parse_segment_done):
8635         * gst/gstmessage.h:
8636         Added a bunch of messages for advanced seeking.
8637
8638         * gst/parse/grammar.y:
8639         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8640         (gst_dpman_state_changed):
8641         Fix some new-pad -> pad-added signals
8642
8643 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8644
8645         * docs/manual/appendix-porting.xml:
8646         * docs/pwg/appendix-porting.xml:
8647           Document new-pad/state-change signal renames and the FixedList
8648           type rename.
8649
8650 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8651
8652         * docs/manual/advanced-autoplugging.xml:
8653         * docs/manual/basics-helloworld.xml:
8654         * docs/manual/basics-pads.xml:
8655         * docs/random/ds/0.9-suggested-changes:
8656         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8657         * gst/gstelement.h:
8658         * gst/gstevent.h:
8659         * gst/gstformat.h:
8660         * gst/gstquery.h:
8661         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8662         (gst_structure_parse_array), (gst_structure_parse_value):
8663         * gst/gstvalue.c: (gst_type_is_fixed),
8664         (gst_value_list_prepend_value), (gst_value_list_append_value),
8665         (gst_value_list_get_size), (gst_value_list_get_value),
8666         (gst_value_transform_array_string), (gst_value_serialize_array),
8667         (gst_value_deserialize_array), (gst_value_intersect_array),
8668         (gst_value_is_fixed), (_gst_value_initialize):
8669         * gst/gstvalue.h:
8670           GstElement::new-pad -> pad-added, GstElement::state-change ->
8671           state-changed, GstValueFixedList -> GstValueArray, add format and
8672           flags as their own arguments in gst_element_seek() (should improve
8673           "bindeability"), remove function generators since they don't work
8674           under a whole bunch of compilers (they were deprecated already
8675           anyway).
8676
8677 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8678
8679         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8680         (_gst_debug_register_funcptr):
8681         * gst/gstinfo.h:
8682           Fix illegal cast on some platforms (#309253).
8683
8684 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8685
8686         * gst/gstmessage.c: (gst_message_new_custom):
8687         * gst/gstmessage.h:
8688           Add _new_custom, make _new_application a macro to _new_custom.
8689
8690 2005-07-20  Wim Taymans  <wim@fluendo.com>
8691
8692         * gst/base/gstbasesrc.c: (gst_base_src_init),
8693         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8694         * gst/base/gstbasesrc.h:
8695         Add a gboolean to decide when to push out a discont.
8696
8697         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8698         (gst_queue_loop), (gst_queue_handle_src_query),
8699         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8700         (gst_queue_set_property), (gst_queue_get_property):
8701         Some cleanups.
8702
8703         * tests/threadstate/threadstate1.c: (main):
8704         Make a thread test compile and run... very silly..
8705
8706
8707 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8708
8709         * docs/manual/appendix-porting.xml:
8710           Mention removal of libgstgconf-0.9.la and existence of gconf
8711           elements.
8712
8713 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8714
8715         * docs/pwg/advanced-clock.xml:
8716         * docs/pwg/appendix-porting.xml:
8717         * docs/pwg/intro-preface.xml:
8718         * docs/pwg/other-base.xml:
8719         * docs/pwg/other-manager.xml:
8720         * docs/pwg/other-nton.xml:
8721         * docs/pwg/other-ntoone.xml:
8722         * docs/pwg/other-oneton.xml:
8723         * docs/pwg/pwg.xml:
8724           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8725           demuxer), remove n-to-n (was never written), fix some code examples
8726           and links and update the porting section to include all this.
8727
8728 2005-07-19  Wim Taymans  <wim@fluendo.com>
8729
8730         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8731         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8732         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8733         (gst_queue_src_activate_push), (gst_queue_change_state),
8734         (gst_queue_get_property):
8735         * gst/gstqueue.h:
8736         Propagate GstFlowReturn more intelligently upstream and output
8737         an ERROR/EOS when streaming stopped due to fatal error.
8738
8739 2005-07-19  Wim Taymans  <wim@fluendo.com>
8740
8741         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8742         Don't block forever for the state change to complete, the
8743         pipeline already did with a sensible timeout.
8744
8745 2005-07-19  Wim Taymans  <wim@fluendo.com>
8746
8747         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8748         Make sure we never call the create function is we
8749         got deactivated.
8750
8751 2005-07-19  Andy Wingo  <wingo@pobox.com>
8752
8753         * gst/parse/parse.l: Attempt to solve bug #172815.
8754
8755 2005-07-19  Wim Taymans  <wim@fluendo.com>
8756
8757         * docs/design/part-clocks.txt:
8758         * docs/design/part-events.txt:
8759         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8760         Small docs updates.
8761         Only update the seeking values when we are not
8762         busy streaming.
8763
8764 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8765
8766         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8767           Oops, ignore the result of gst_pad_push_event here.
8768
8769 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8770
8771         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8772         (gst_base_src_activate_push):
8773           Send discont event from the loop function, as pads
8774           aren't activated yet in the activate_push handler.
8775
8776         * gst/gstbin.c: (bin_bus_handler):
8777           Don't leak element name.
8778
8779 2005-07-18  Andy Wingo  <wingo@pobox.com>
8780
8781         * configure.ac: Use AS_LIBTOOL_TAGS.
8782
8783 2005-07-18  Wim Taymans  <wim@fluendo.com>
8784
8785         * docs/gst/gstreamer.types:
8786         Remove deleted types.
8787
8788 2005-07-18  Wim Taymans  <wim@fluendo.com>
8789
8790         * check/elements/gstfakesrc.c: (GST_START_TEST):
8791         * configure.ac:
8792         * gst/Makefile.am:
8793         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8794         (init_popt_callback):
8795         * gst/gst.h:
8796         * gst/gst_private.h:
8797         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8798         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8799         * gst/gstbin.h:
8800         * gst/gstbus.h:
8801         * gst/gstconfig.h.in:
8802         * gst/gstelement.c: (gst_element_class_init),
8803         (gst_element_set_base_time), (gst_element_get_base_time),
8804         (iterator_fold_with_resync), (gst_element_change_state),
8805         (gst_element_dispose), (gst_element_get_bus):
8806         * gst/gstelement.h:
8807         * gst/gstelementfactory.h:
8808         * gst/gsterror.c: (_gst_core_errors_init):
8809         * gst/gsterror.h:
8810         * gst/gstevent.h:
8811         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8812         * gst/gstindex.c:
8813         * gst/gstinfo.c: (_gst_debug_init):
8814         * gst/gstmessage.c: (_gst_message_copy):
8815         * gst/gstmessage.h:
8816         * gst/gstminiobject.h:
8817         * gst/gstobject.c:
8818         * gst/gstobject.h:
8819         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8820         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8821         * gst/gstpad.h:
8822         * gst/gstparse.h:
8823         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8824         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8825         (gst_pipeline_get_last_stream_time):
8826         * gst/gstpipeline.h:
8827         * gst/gstpluginfeature.h:
8828         * gst/gstquery.h:
8829         * gst/gstscheduler.c:
8830         * gst/gstscheduler.h:
8831         * gst/gststructure.h:
8832         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8833         (gst_task_finalize), (gst_task_func), (gst_task_create),
8834         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8835         (gst_task_stop), (gst_task_pause):
8836         * gst/gsttask.h:
8837         * gst/gsttypefind.h:
8838         * gst/gsttypes.h:
8839         * gst/registries/gstlibxmlregistry.c: (load_feature),
8840         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8841         * gst/registries/gstxmlregistry.c:
8842         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8843         * gst/schedulers/threadscheduler.c:
8844         * libs/gst/control/dparammanager.h:
8845         * tools/gst-inspect.c: (print_element_list),
8846         (print_plugin_features), (print_element_features):
8847         * tools/gst-xmlinspect.c: (print_element_list),
8848         (print_plugin_info), (main):
8849         Removed plugable schedulers.
8850         Removed Scheduler/Manager from elements.
8851         Removed gsttypes.h, rearranged includes.
8852         Removed dependency pad<->element, element<>pipeline, and
8853         various others,  fix includes.
8854         implement gst_pad_get_parent() with gst_object_get_parent()
8855         Make GstTask sefcontained.
8856         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8857         timeout.
8858         Fix endless loop in iterator_fold_with_resync.
8859
8860
8861 2005-07-18  Wim Taymans  <wim@fluendo.com>
8862
8863         * gst/Makefile.am:
8864         * gst/gstarch.h:
8865         Remove old file.
8866
8867 2005-07-18  Wim Taymans  <wim@fluendo.com>
8868
8869         * gst/Makefile.am:
8870         No more cothreads.h
8871
8872 2005-07-18  Wim Taymans  <wim@fluendo.com>
8873
8874         * gst/cothreads.c:
8875         * gst/cothreads.h:
8876         Let's remove these.
8877
8878 2005-07-18  Wim Taymans  <wim@fluendo.com>
8879
8880         * docs/design/part-dynamic.txt:
8881         * docs/design/part-events.txt:
8882         * docs/design/part-seeking.txt:
8883         Some more docs in the works.
8884
8885         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8886         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8887         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8888         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8889         (gst_base_transform_handle_buffer),
8890         (gst_base_transform_sink_activate_push),
8891         (gst_base_transform_src_activate_pull),
8892         (gst_base_transform_set_passthrough),
8893         (gst_base_transform_is_passthrough):
8894         Refcounting fixes.
8895
8896         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8897         Cleanups.
8898
8899         * gst/gstevent.c: (gst_event_finalize):
8900         Set SRC to NULL.
8901
8902         * gst/gstutils.c: (gst_element_unlink),
8903         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8904         (gst_pad_proxy_setcaps):
8905         * gst/gstutils.h:
8906         Add _get_parent_element() to get a pads parent as an element.
8907
8908 2005-07-18  Wim Taymans  <wim@fluendo.com>
8909
8910         * check/gst/gstbin.c: (GST_START_TEST):
8911         Remove bogus test.
8912
8913 2005-07-18  Wim Taymans  <wim@fluendo.com>
8914
8915         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8916         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8917         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8918         (gst_base_sink_event), (gst_base_sink_do_sync),
8919         (gst_base_sink_chain), (gst_base_sink_loop),
8920         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8921         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8922         Refcounting fixes.
8923         Fix logic for returning ASYNC when not prerolled.
8924
8925 2005-07-18  Wim Taymans  <wim@fluendo.com>
8926
8927         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8928         Fix nasty refcount bug.
8929
8930 2005-07-16 Philippe Khalaf <burger@speedy.org>
8931
8932         * gst/elements/gstfdsrc.c:
8933         * gst/elements/gstfdsrc.h:
8934         * gst/elements/gstelements.c:
8935         * gst/elements/Makefile.am:
8936         Ported fdsrc to 0.9.
8937
8938 2005-07-16  Wim Taymans  <wim@fluendo.com>
8939
8940         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8941         (gst_base_sink_do_sync):
8942         Fix compile error.
8943
8944 2005-07-16  Wim Taymans  <wim@fluendo.com>
8945
8946         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8947         (gst_base_sink_event), (gst_base_sink_get_times),
8948         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8949         * gst/base/gstbasesink.h:
8950         Store and use discont values when syncing buffers as described
8951         in design docs.
8952         
8953         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8954         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8955         (gst_base_src_activate_push):
8956         Push discont event when starting.
8957
8958         * gst/elements/gstidentity.c: (gst_identity_transform):
8959         Small cleanups.
8960
8961         * gst/gstbin.c: (gst_bin_change_state):
8962         Small cleanups in base_time  distribution.
8963
8964         * gst/gstelement.c: (gst_element_set_base_time),
8965         (gst_element_get_base_time), (gst_element_change_state):
8966         * gst/gstelement.h:
8967         Added methods for the base_time of the element.
8968         Some MT fixes.
8969
8970         * gst/gstpipeline.c: (gst_pipeline_send_event),
8971         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8972         (gst_pipeline_get_last_stream_time):
8973         * gst/gstpipeline.h:
8974         MT fixes.
8975         Handle seeking as described in design doc, remove stream_time
8976         hack.
8977         Cleanups clock and stream_time selection code. Added accessors
8978         for the stream_time.
8979         
8980
8981 2005-07-16  Andy Wingo  <wingo@pobox.com>
8982
8983         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8984         (#305291).
8985
8986 2005-07-16  Wim Taymans  <wim@fluendo.com>
8987
8988         * check/gst/gstbin.c: (GST_START_TEST):
8989         Make elements silent as the deep_notify refs the
8990         parent, which might make the test fail.
8991
8992         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8993         Don't hold the lock for too long.
8994
8995 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8996
8997         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8998           Don't unref the caps we passed to gst_caps_make_writable() after
8999           passing them. gst_caps_make_writable() will do that for us.
9000
9001 2005-07-15  Andy Wingo  <wingo@pobox.com>
9002
9003         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9004         (#157311).
9005
9006         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9007         own marshalling function for the handoff signal. Properly type the
9008         buffer as a buffer. Fixes some warnings. Should do a more general
9009         solution.
9010         (gst_identity_class_init): Plug into the right marshaller.
9011
9012 2005-07-15  Wim Taymans  <wim@fluendo.com>
9013
9014         * docs/design/part-TODO.txt:
9015         * docs/design/part-clocks.txt:
9016         * docs/design/part-element-sink.txt:
9017         * docs/design/part-events.txt:
9018         * docs/design/part-gstpipeline.txt:
9019         Updated docs, mostly DISCONT related.
9020
9021 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9022
9023         * docs/pwg/building-pads.xml:
9024           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9025
9026 2005-07-15  Andy Wingo  <wingo@pobox.com>
9027
9028         * tools/gst-typefind.c: Update, add copyright block.
9029
9030         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9031         Normalize and truncate caps before fixation.
9032
9033         * gst/gstcaps.h:
9034         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9035         discards all but the first structure from its argument.
9036
9037 2005-07-15  Wim Taymans  <wim@fluendo.com>
9038
9039         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9040         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9041         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9042         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9043         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9044         (gst_base_transform_chain), (gst_base_transform_change_state),
9045         (gst_base_transform_set_passthrough),
9046         (gst_base_transform_is_passthrough):
9047         * gst/base/gstbasetransform.h:
9048         Make passthrough work using the bufferpools.
9049         Changed API a bit, subclasses have to write into a buffer
9050         provided by the base class.
9051         More debug info in nego functions.
9052         
9053         * gst/elements/gstidentity.c: (gst_identity_init),
9054         (gst_identity_transform):
9055         Port to new base class.
9056
9057 2005-07-15  Wim Taymans  <wim@fluendo.com>
9058
9059         * gst/gstmessage.c: (gst_message_new_state_changed):
9060         * tools/gst-launch.c: (event_loop), (main):
9061         Totally dump messages in -launch with the -m option.
9062         Fix message name for State messages,
9063
9064 2005-07-14  Wim Taymans  <wim@fluendo.com>
9065
9066         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9067         Post error messages on errors.
9068
9069 2005-07-14  Wim Taymans  <wim@fluendo.com>
9070
9071         * gst/gstcaps.c: (gst_caps_do_simplify):
9072         Remove debug info.
9073
9074         * gst/gsterror.h:
9075         Define error for stream stopped.
9076
9077         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9078         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9079         Do proper return values.
9080
9081         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9082         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9083         (gst_pad_get_range):
9084         Better return values.
9085
9086         * gst/gstpad.h:
9087         Reorganise return values, add macro to check for fatal errors.
9088
9089         * gst/gstqueue.c: (gst_queue_chain):
9090         Return proper GstFlowReturn values,
9091
9092 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9093
9094         * docs/gst/gstreamer-sections.txt:
9095         * docs/gst/gstreamer.types:
9096         * docs/gst/tmpl/gst.sgml:
9097         * docs/gst/tmpl/gstbasesink.sgml:
9098         * docs/gst/tmpl/gstbasesrc.sgml:
9099         * docs/gst/tmpl/gstbasetransform.sgml:
9100         * docs/gst/tmpl/gstbin.sgml:
9101         * docs/gst/tmpl/gstbuffer.sgml:
9102         * docs/gst/tmpl/gstcaps.sgml:
9103         * docs/gst/tmpl/gstclock.sgml:
9104         * docs/gst/tmpl/gstcompat.sgml:
9105         * docs/gst/tmpl/gstconfig.sgml:
9106         * docs/gst/tmpl/gstelement.sgml:
9107         * docs/gst/tmpl/gstelementdetails.sgml:
9108         * docs/gst/tmpl/gstelementfactory.sgml:
9109         * docs/gst/tmpl/gstenumtypes.sgml:
9110         * docs/gst/tmpl/gsterror.sgml:
9111         * docs/gst/tmpl/gstevent.sgml:
9112         * docs/gst/tmpl/gstfakesink.sgml:
9113         * docs/gst/tmpl/gstfakesrc.sgml:
9114         * docs/gst/tmpl/gstfilesink.sgml:
9115         * docs/gst/tmpl/gstfilesrc.sgml:
9116         * docs/gst/tmpl/gstfilter.sgml:
9117         * docs/gst/tmpl/gstformat.sgml:
9118         * docs/gst/tmpl/gstghostpad.sgml:
9119         * docs/gst/tmpl/gstimplementsinterface.sgml:
9120         * docs/gst/tmpl/gstindex.sgml:
9121         * docs/gst/tmpl/gstindexfactory.sgml:
9122         * docs/gst/tmpl/gstinfo.sgml:
9123         * docs/gst/tmpl/gstiterator.sgml:
9124         * docs/gst/tmpl/gstmacros.sgml:
9125         * docs/gst/tmpl/gstmemchunk.sgml:
9126         * docs/gst/tmpl/gstminiobject.sgml:
9127         * docs/gst/tmpl/gstobject.sgml:
9128         * docs/gst/tmpl/gstpad.sgml:
9129         * docs/gst/tmpl/gstpadtemplate.sgml:
9130         * docs/gst/tmpl/gstparse.sgml:
9131         * docs/gst/tmpl/gstpipeline.sgml:
9132         * docs/gst/tmpl/gstplugin.sgml:
9133         * docs/gst/tmpl/gstpluginfeature.sgml:
9134         * docs/gst/tmpl/gstquery.sgml:
9135         * docs/gst/tmpl/gstqueue.sgml:
9136         * docs/gst/tmpl/gstregistry.sgml:
9137         * docs/gst/tmpl/gstregistrypool.sgml:
9138         * docs/gst/tmpl/gstscheduler.sgml:
9139         * docs/gst/tmpl/gstschedulerfactory.sgml:
9140         * docs/gst/tmpl/gststructure.sgml:
9141         * docs/gst/tmpl/gstsystemclock.sgml:
9142         * docs/gst/tmpl/gsttaglist.sgml:
9143         * docs/gst/tmpl/gsttagsetter.sgml:
9144         * docs/gst/tmpl/gsttrace.sgml:
9145         * docs/gst/tmpl/gsttrashstack.sgml:
9146         * docs/gst/tmpl/gsttypefind.sgml:
9147         * docs/gst/tmpl/gsttypefindfactory.sgml:
9148         * docs/gst/tmpl/gsttypes.sgml:
9149         * docs/gst/tmpl/gsturihandler.sgml:
9150         * docs/gst/tmpl/gsturitype.sgml:
9151         * docs/gst/tmpl/gstutils.sgml:
9152         * docs/gst/tmpl/gstvalue.sgml:
9153         * docs/gst/tmpl/gstversion.sgml:
9154         * docs/gst/tmpl/gstxml.sgml:
9155         * docs/libs/tmpl/gstcontrol.sgml:
9156         * docs/libs/tmpl/gstdataprotocol.sgml:
9157         * docs/libs/tmpl/gstdparam.sgml:
9158         * docs/libs/tmpl/gstdplinint.sgml:
9159         * docs/libs/tmpl/gstdpman.sgml:
9160         * docs/libs/tmpl/gstdpsmooth.sgml:
9161         * docs/libs/tmpl/gstgetbits.sgml:
9162         * docs/libs/tmpl/gstunitconvert.sgml:
9163         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9164         (gst_push_src_base_init), (gst_push_src_class_init),
9165         (gst_push_src_init), (gst_push_src_create):
9166         * gst/base/gstpushsrc.h:
9167         * gst/elements/gstelements.c:
9168         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9169         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9170         (gst_fake_sink_init), (gst_fake_sink_set_property),
9171         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9172         (gst_fake_sink_event), (gst_fake_sink_preroll),
9173         (gst_fake_sink_render), (gst_fake_sink_change_state):
9174         * gst/elements/gstfakesink.h:
9175         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9176         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9177         (gst_fake_src_base_init), (gst_fake_src_class_init),
9178         (gst_fake_src_init), (gst_fake_src_event_handler),
9179         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9180         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9181         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9182         (gst_fake_src_create_buffer), (gst_fake_src_create),
9183         (gst_fake_src_start), (gst_fake_src_stop):
9184         * gst/elements/gstfakesrc.h:
9185         * gst/elements/gstfilesink.c: (_do_init),
9186         (gst_file_sink_base_init), (gst_file_sink_class_init),
9187         (gst_file_sink_init), (gst_file_sink_dispose),
9188         (gst_file_sink_set_location), (gst_file_sink_set_property),
9189         (gst_file_sink_get_property), (gst_file_sink_open_file),
9190         (gst_file_sink_close_file), (gst_file_sink_query),
9191         (gst_file_sink_event), (gst_file_sink_render),
9192         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9193         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9194         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9195         * gst/elements/gstfilesink.h:
9196         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9197         (gst_file_src_class_init), (gst_file_src_init),
9198         (gst_file_src_finalize), (gst_file_src_set_location),
9199         (gst_file_src_set_property), (gst_file_src_get_property),
9200         (gst_file_src_map_region), (gst_file_src_map_small_region),
9201         (gst_file_src_create_mmap), (gst_file_src_create_read),
9202         (gst_file_src_create), (gst_file_src_is_seekable),
9203         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9204         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9205         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9206         (gst_file_src_uri_handler_init):
9207         * gst/elements/gstfilesrc.h:
9208           more autistic cleanliness in functions/names/defines
9209
9210 2005-07-13  Andy Wingo  <wingo@pobox.com>
9211
9212         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9213         source couldn't negotiate.
9214
9215         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9216         connections again.
9217
9218         * gst/gstutils.h:
9219         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9220         function. I am channeling Hades. Put your boots on suckers!!!
9221
9222 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9223
9224         * testsuite/caps/Makefile.am:
9225         * testsuite/caps/value_compare.c:
9226         * testsuite/caps/value_intersect.c:
9227         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9228           move two testsuite apps over to the check dir
9229
9230 2005-07-12  Wim Taymans  <wim@fluendo.com>
9231
9232         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9233         Added more debug info in the negotiate process.
9234
9235         * gst/gstmessage.h:
9236         Prepare for segment playback.
9237
9238         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9239         Better debugging.
9240
9241         * gst/gstutils.c:
9242         Some more docs.
9243
9244         * tools/gst-launch.c: (main):
9245         NULL pipeline on errors.
9246
9247 2005-07-12  Andy Wingo  <wingo@pobox.com>
9248
9249         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9250         not it comes from a malloc region. Make sure our copy gets freed.
9251
9252 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9253
9254         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9255         * check/gst/gstmessage.c: (GST_START_TEST):
9256         * check/gst/gststructure.c: (GST_START_TEST),
9257         (gst_structure_suite), (main):
9258           more testing
9259         * gst/gstelement.c: (gst_element_message_full):
9260           clean up GError and debug string now that they get copied
9261         * gst/gstmessage.c: (gst_message_new_error),
9262         (gst_message_new_warning), (gst_message_parse_error),
9263         (gst_message_parse_warning):
9264           use GST_TYPE_G_ERROR for structure_new, and take copies of
9265           arguments, so that we don't mess up refcounting
9266
9267 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9268
9269         * check/Makefile.am:
9270           add per-test valgrind targets
9271         * check/gst-libs/gdp.c: (GST_START_TEST),
9272         (gst_data_protocol_suite), (main):
9273           clean up
9274
9275 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9276
9277         * check/Makefile.am:
9278           instate more valgrindable tests
9279         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9280         (GST_START_TEST), (fakesrc_suite):
9281         * check/gst/gstpad.c: (GST_START_TEST):
9282         * check/gst/gststructure.c: (GST_START_TEST):
9283           fix test leaks
9284         * docs/gst/tmpl/gstminiobject.sgml:
9285         * gst/gstpad.c: (gst_pad_finalize):
9286           fix the static mutex leak
9287
9288 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9289
9290         * check/Makefile.am:
9291           add two more tests for valgrinding
9292         * check/gst/gstvalue.c: (GST_START_TEST):
9293           test refcount of deserialized buffer, found a leak
9294         * docs/gst/gstreamer-docs.sgml:
9295         * docs/gst/gstreamer-sections.txt:
9296         * docs/gst/gstreamer.types:
9297         * docs/gst/tmpl/gstminiobject.sgml:
9298           add miniobject to docs
9299         * gst/gstminiobject.c:
9300           add some docs
9301         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9302         (gst_string_unwrap):
9303           fix a hard-to-find invalid write for one of the tests
9304           fix a leak for deserialized buffers
9305
9306 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9307
9308         * docs/pwg/advanced-events.xml:
9309         * docs/pwg/advanced-request.xml:
9310         * docs/pwg/advanced-scheduling.xml:
9311         * docs/pwg/appendix-porting.xml:
9312         * docs/pwg/building-boiler.xml:
9313         * docs/pwg/intro-preface.xml:
9314         * docs/pwg/other-ntoone.xml:
9315           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9316           of example code and explanation for pad activation, loop() and
9317           getrange() functions and a bit more. Remove old comments pointing
9318           to loop-functions.
9319         * examples/pwg/Makefile.am:
9320           Add loop/getrange examples.
9321
9322 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9323
9324         * configure.ac:
9325           check for valgrind binary + some fixes
9326         * check/gst.supp:
9327           valgrind suppressions for the tests
9328         * check/Makefile.am:
9329           add a valgrind: target that valgrinds the unit tests
9330         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9331         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9332         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9333         * check/gst/gstghostpad.c:
9334           added some cleanup
9335         * check/gst/gstdata.c:
9336           removed
9337         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9338         (thread_unref), (gst_mini_object_suite), (main):
9339           added
9340         * gst/gst.c: (gst_deinit):
9341         * gst/gst.h:
9342           add a method to clean up.
9343         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9344         (gst_system_clock_obtain):
9345           allow for disposing the system clock.
9346         * tools/gst-launch.c: (main):
9347           deinit
9348
9349 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9350
9351         * docs/gst/tmpl/gstbasesrc.sgml:
9352         * docs/gst/tmpl/gstfakesrc.sgml:
9353         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9354         (gst_base_src_init), (gst_base_src_set_property),
9355         (gst_base_src_get_property), (gst_base_src_get_range),
9356         (gst_base_src_start):
9357         * gst/base/gstbasesrc.h:
9358           add num-buffers property
9359         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9360         (gst_fakesrc_init), (gst_fakesrc_set_property),
9361         (gst_fakesrc_get_property), (gst_fakesrc_create),
9362         (gst_fakesrc_start):
9363           remove num-buffers property
9364
9365 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9366
9367         * docs/gst/gstreamer-sections.txt:
9368         * docs/gst/tmpl/gstbasesink.sgml:
9369         * docs/gst/tmpl/gstbasesrc.sgml:
9370         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9371         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9372         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9373         (gst_base_sink_set_property), (gst_base_sink_get_property),
9374         (gst_base_sink_handle_object), (gst_base_sink_event),
9375         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9376         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9377         (gst_base_sink_loop), (gst_base_sink_deactivate),
9378         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9379         (gst_base_sink_change_state):
9380         * gst/base/gstbasesink.h:
9381         * gst/base/gstbasesrc.h:
9382         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9383         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9384         (gst_filesink_init):
9385           more macro splitting
9386
9387 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9388
9389         * gst/gstelement.c: (gst_element_get_bus):
9390           add debug
9391         * tools/gst-launch.c: (check_intr), (event_loop):
9392           fix bus leaks
9393
9394 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9395
9396         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9397           fix a caps leak
9398
9399 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9400
9401         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9402         (gst_base_src_finalize):
9403           add finalize method and clean up properly
9404         * gst/gstpipeline.c: (gst_pipeline_dispose):
9405           add debug
9406
9407 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9408
9409         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9410         (gst_bin_suite):
9411           add more things to check
9412         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9413         * gst/gstelement.c:
9414           more debug
9415
9416 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9417
9418         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9419         (GST_START_TEST), (fakesrc_suite):
9420         * check/gst-libs/gdp.c: (GST_START_TEST):
9421         * check/gst/gst.c: (GST_START_TEST):
9422         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9423         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9424         * check/gst/gstbus.c: (GST_START_TEST):
9425         * check/gst/gstcaps.c: (GST_START_TEST):
9426         * check/gst/gstdata.c: (GST_START_TEST):
9427         * check/gst/gstelement.c: (GST_START_TEST):
9428         * check/gst/gstghostpad.c: (GST_START_TEST):
9429         * check/gst/gstiterator.c: (GST_START_TEST):
9430         * check/gst/gstmessage.c: (GST_START_TEST):
9431         * check/gst/gstobject.c: (GST_START_TEST):
9432         * check/gst/gstpad.c: (GST_START_TEST):
9433         * check/gst/gststructure.c: (GST_START_TEST):
9434         * check/gst/gstsystemclock.c: (GST_START_TEST),
9435         (gst_systemclock_suite):
9436         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9437         * check/gst/gstvalue.c: (GST_START_TEST):
9438         * check/pipelines/cleanup.c: (GST_START_TEST):
9439         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9440         * check/states/sinks.c: (GST_START_TEST):
9441         * check/gstcheck.c: (gst_check_init):
9442         * check/gstcheck.h:
9443           add debugging category
9444           use GST_START_TEST now, so we add a debug line
9445
9446 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9447
9448         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9449           add test for state change message on a bin
9450         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9451           add another test
9452         * gst/gstbin.c: (gst_bin_init):
9453         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9454         * gst/gstelement.c: (gst_element_post_message),
9455         (gst_element_set_state):
9456         * gst/gstelementfactory.c: (gst_element_factory_create):
9457         * gst/gstmessage.c: (gst_message_new):
9458         * gst/gstscheduler.c:
9459           various debugging additions and cleanups
9460
9461 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9462
9463         * check/Makefile.am:
9464         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9465         (main):
9466           adding tests for elements
9467         * gst/gstelement.c: (gst_element_dispose):
9468
9469 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9470
9471         * gst/registries/gstlibxmlregistry.c: (load_feature):
9472           plug more leaks.  A simple gst_init() now is leakfree, yay.
9473
9474 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9475
9476         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9477         (gst_xml_registry_load):
9478           plug another memleak
9479
9480 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9481
9482         * configure.ac:
9483           use GST_SET_ERROR_CFLAGS
9484         * docs/faq/cvs.xml:
9485           change to ERROR_CFLAGS
9486
9487 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9488
9489         * configure.ac:
9490           make GST_ERROR_CFLAGS overridable and re-enable Werror
9491         * docs/faq/cvs.xml:
9492           add a note about error CFLAGS
9493         * docs/gst/tmpl/gstfakesrc.sgml:
9494         * gst/elements/gstfakesrc.c:
9495           comment out some unused code
9496         * gst/gst.c: (split_and_iterate):
9497         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9498         (load_feature):
9499           plug some memleaks
9500
9501 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9502
9503         * common/Makefile.am:
9504         * common/gtk-doc.mak:
9505         * docs/gst/Makefile.am:
9506           factor out gtk-doc.mak
9507
9508 2005-07-07  Wim Taymans  <wim@fluendo.com>
9509
9510         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9511         (gst_thread_scheduler_dispose):
9512         Unlock the STREAM_LOCK completely.
9513
9514 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9515
9516         * check/Makefile.am:
9517         * check/elements/.cvsignore:
9518         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9519         (START_TEST), (fakesrc_suite), (main):
9520         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9521         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9522         (gst_fakesrc_create), (gst_fakesrc_start):
9523         * gst/elements/gstfakesrc.h:
9524           adding a first element test
9525
9526 2005-07-07  Andy Wingo  <wingo@pobox.com>
9527
9528         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9529         debug message.
9530
9531 2005-07-07  Wim Taymans  <wim@fluendo.com>
9532
9533         * gst/gstquery.c:
9534         * gst/gstquery.h:
9535         Remove old types
9536
9537 2005-07-07  Wim Taymans  <wim@fluendo.com>
9538
9539         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9540         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9541         Allow subclasses to implement their own negotiation.
9542
9543 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9544
9545         * docs/design/part-gstbin.txt:
9546         * docs/design/part-gstpipeline.txt:
9547           Update design notes to reflect the movement of
9548           responsibility for bus handling from GstPipeline to
9549           GstBin
9550
9551 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9552
9553         * configure.ac:
9554           Remove unnecessary queue2/3/4 examples.
9555
9556 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9557
9558         * examples/Makefile.am:
9559         * examples/helloworld/helloworld.c: (event_loop), (main):
9560         * examples/queue/queue.c: (event_loop), (main):
9561         * examples/queue2/queue2.c: (main):
9562           Update a couple of the examples to work again.
9563
9564         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9565         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9566          Spelling corrections and extra debug.
9567         
9568         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9569         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9570         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9571         * gst/gstbin.h:
9572         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9573         (gst_pipeline_change_state):
9574         * gst/gstpipeline.h:
9575           Move the bus handler for children to the GstBin, and create a
9576           separate bus for receiving messages from children to the one the
9577           bus sends 'upwards' on.
9578
9579 2005-07-06  Wim Taymans  <wim@fluendo.com>
9580
9581         * gst/base/README:
9582         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9583         (gst_base_sink_handle_object), (gst_base_sink_loop),
9584         (gst_base_sink_change_state):
9585         * gst/base/gstbasesink.h:
9586         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9587         (gst_base_src_init), (gst_base_src_setcaps),
9588         (gst_base_src_getcaps), (gst_base_src_loop),
9589         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9590         (gst_base_src_start), (gst_base_src_change_state):
9591         * gst/base/gstbasesrc.h:
9592         Make basesrc negotiate.
9593         Handle the case where preroll fails in basesink.
9594         Update README.
9595
9596 2005-07-06  Wim Taymans  <wim@fluendo.com>
9597
9598         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9599         Implement the fixate function.
9600         Clean up acceptcaps.
9601
9602 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9603
9604         * docs/pwg/building-filterfactory.xml:
9605         * docs/pwg/pwg.xml:
9606           Remove never-written filter-factory chapter; I'll add the various
9607           base classes to part 4 ("other element types") later on.
9608
9609 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9610
9611         * docs/pwg/advanced-negotiation.xml:
9612         * docs/pwg/building-boiler.xml:
9613         * docs/pwg/building-pads.xml:
9614         * docs/pwg/pwg.xml:
9615         * examples/pwg/Makefile.am:
9616           Add a chapter on caps negotiation, simplify the original code
9617           samples a bit w.r.t. caps negotiation, add link to the advanced
9618           section. Add a bunch of examples showing different use cases of
9619           different types of caps negotiation. Upstream renegotiation isn't
9620           fully documented yet since nobody knows how that works.
9621
9622 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9623
9624         * check/gst/gstpad.c:
9625         * check/gstcheck.c:
9626         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9627           if pad has no parent, return NULL as list of internal links
9628
9629 2005-07-05  Andy Wingo  <wingo@pobox.com>
9630
9631         * gst/elements/gstfilesrc.c:
9632         * gst/elements/gstfakesrc.c: 
9633         * gst/base/gstpushsrc.c:
9634         * gst/base/gstbasesrc.h: 
9635         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9636         
9637 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9638
9639         * Makefile.am:
9640           better report generation target (lcov needs a patch)
9641
9642 2005-07-05  Andy Wingo  <wingo@pobox.com>
9643
9644         * gst/elements, testsuite: Null if we got it...
9645
9646 2005-07-05  Wim Taymans  <wim@fluendo.com>
9647
9648         * configure.ac:
9649         * libs/gst/dataprotocol/Makefile.am:
9650         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9651         * libs/gst/dataprotocol/dataprotocol.h:
9652         * pkgconfig/Makefile.am:
9653         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9654         * pkgconfig/gstreamer-dataprotocol.pc.in:
9655         Ported dataprotol to 0.9. 
9656         Added pkgconfig files.
9657
9658 2005-07-05  Andy Wingo  <wingo@pobox.com>
9659
9660         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9661         Default to returning TRUE for the case when tranform_caps returns
9662         a fixed caps, like for identity or volume.
9663
9664         * check/gst/gstbus.c (pound_bus_with_messages): 
9665         * check/gst/gstmessage.c (START_TEST): 
9666         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9667         message API change.
9668
9669         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9670         logic weaks here: always run transform_caps, trying passthrough
9671         operation only if the original caps intersects with the transform.
9672
9673         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9674         source and sink caps.
9675
9676         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9677         Intersect the peer caps with the pad template before going into
9678         transform_caps.
9679         (gst_base_transform_transform_caps): More debugging.
9680
9681         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9682         src argument.
9683
9684 2005-07-04  Edward Hervey  <edward@fluendo.com>
9685
9686         * gst/gstutils.c:
9687         * gst/gstutils.h:
9688         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9689         in bindings.
9690
9691 2005-07-04  Andy Wingo  <wingo@pobox.com>
9692
9693         * check/gst/gstpad.c: Only set explicit caps on pads.
9694
9695 2005-07-01  Andy Wingo  <wingo@pobox.com>
9696
9697         * tests/network-clock.scm: Commentary update.
9698
9699         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9700         Didn't really make sense, not implementable with basetransform,
9701         etc.
9702         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9703         attempt at implementing the sync property, needs an unlock method.
9704
9705         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9706         New func, by default returns the same caps (the identity
9707         transformation).
9708         (gst_base_transform_getcaps): Uses transform_caps to return
9709         something sensible.
9710         (gst_base_transform_setcaps): Complicated logic to get caps on
9711         both pads, even if they are different, and to call set_caps once
9712         for every time both pads get their caps set.
9713         (gst_base_transform_handle_buffer): Give the ref to the transform
9714         function. Allows in-place modification of the buffer.
9715
9716         * gst/base/gstbasetransform.h (transform_caps): New class method.
9717         Given caps on one side, what can I do on the other.
9718         (set_caps): Take two caps, one for each side of the element.
9719
9720         * gst/gstpad.h:
9721         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9722         caps in place. This is safe because we can check the mutability of
9723         the caps, and a good idea because fixate functions are just called
9724         as a matter of last resort. (Not actually implemented.)
9725         (gst_pad_set_caps): If the caps we're setting is actually the same
9726         as the existing pad caps, just update the pointer without calling
9727         setcaps. Assert that caps is either NULL or fixed, as per the
9728         docs.
9729
9730         * gst/gstghostpad.c: Update for fixate changes.
9731
9732 2005-07-02  Andy Wingo  <wingo@pobox.com>
9733
9734         * gst/gstcaps.c:
9735         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9736         two refcounts makes it immutable, which is enough. Doc more.
9737
9738 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9739
9740         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9741           Put the mini_object into GValue as a mini_object,
9742           not a gpointer, since that's how we declared
9743           the signal.
9744
9745 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9746
9747         * examples/pwg/Makefile.am:
9748           Fix buildbot again.
9749
9750 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9751
9752         * docs/pwg/building-testapp.xml:
9753           Add extra check.
9754         * examples/pwg/Makefile.am:
9755           Fix buildbot.
9756
9757 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9758
9759         * configure.ac:
9760         * examples/Makefile.am:
9761         * examples/pwg/Makefile.am:
9762         * examples/pwg/extract.pl:
9763           Enable building the PWG examples.
9764         * docs/pwg/advanced-interfaces.xml:
9765           Add URI interface stub.
9766         * docs/pwg/advanced-types.xml:
9767         * docs/pwg/other-autoplugger.xml:
9768         * docs/pwg/appendix-porting.xml:
9769         * docs/pwg/pwg.xml:
9770           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9771         * docs/pwg/building-boiler.xml:
9772         * docs/pwg/building-chainfn.xml:
9773         * docs/pwg/building-pads.xml:
9774         * docs/pwg/building-props.xml:
9775         * docs/pwg/building-state.xml:
9776         * docs/pwg/building-testapp.xml:
9777           Update the building-*.xml parts for 0.9 changes. All examples
9778           code blocks compile in examples/pwg/*.
9779
9780 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9781
9782         * docs/manual/advanced-autoplugging.xml:
9783         * docs/manual/appendix-checklist.xml:
9784         * docs/manual/appendix-integration.xml:
9785         * docs/manual/highlevel-components.xml:
9786           Fix playbin/decodebin examples, update docs a bit, mention bus
9787           instead of signals in various places, mention kmplayer and
9788           kaffeine since they have a working GStreamer backend in the KDE
9789           section.
9790
9791 2005-06-30  Wim Taymans  <wim@fluendo.com>
9792
9793         * CHANGES-0.9:
9794         * docs/design/draft-ghostpads.txt:
9795         * docs/design/draft-push-pull.txt:
9796         * docs/design/draft-query.txt:
9797         * docs/design/part-TODO.txt:
9798         * docs/design/part-query.txt:
9799         Added CHANGES-0.9 doc, updated status of other docs.
9800         
9801         * gst/gstquery.h:
9802         Remove "hmm" macro
9803
9804 2005-06-30  Wim Taymans  <wim@fluendo.com>
9805
9806         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9807         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9808         (gst_base_sink_change_state):
9809         * gst/base/gstbasesink.h:
9810         Some tweaks, only EOS and a buffer complete a preroll.
9811
9812 2005-06-30  Andy Wingo  <wingo@pobox.com>
9813
9814         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9815         activate_push down to the internal pad as well.
9816
9817 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9818
9819         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9820
9821         * gst/gsttaginterface.c:
9822           Some documentation fixes (#307394 and #307397).
9823
9824 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9825
9826         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9827
9828         * gst/gstvalue.c: (gst_value_intersect_list):
9829           Fix memleak (#309125).
9830
9831 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9832
9833         * docs/manual/advanced-dataaccess.xml:
9834           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9835         * docs/manual/basics-pads.xml:
9836           Add reference for filtered caps to above chapter.
9837
9838 2005-06-30  Wim Taymans  <wim@fluendo.com>
9839
9840         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9841         (gst_bin_change_state):
9842         Probes are gone.
9843         Lame attempt at making the state change function a bit
9844         more readable.
9845
9846 2005-06-30  Wim Taymans  <wim@fluendo.com>
9847
9848         * docs/design/part-clocks.txt:
9849         * docs/design/part-element-sink.txt:
9850         * docs/design/part-events.txt:
9851         * docs/design/part-preroll.txt:
9852         * docs/design/part-states.txt:
9853         Some more tweeks and additions to the docs.
9854
9855 2005-06-30  Wim Taymans  <wim@fluendo.com>
9856
9857         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9858         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9859         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9860         (gst_pad_check_pull_range), (gst_pad_get_range),
9861         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9862         * gst/gstpad.h:
9863         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9864         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9865         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9866         (gst_pad_remove_buffer_probe):
9867         Removed atomic operations, use existing LOCK.
9868         Move exception handling out of main code path.
9869
9870 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9871
9872         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9873         (silly_return_true_function), (gst_pad_class_init),
9874         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9875         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9876         (gst_pad_send_event):
9877           Fix accumulator, add default value by using _emitv() instead
9878           of _emit() for signal emission.
9879
9880 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9881
9882         * docs/manual/advanced-dataaccess.xml:
9883         * examples/manual/Makefile.am:
9884           Add probe example.
9885         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9886           Make work (??).
9887
9888 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9889
9890         * gst/elements/gstfilesink.c: (gst_filesink_render):
9891           Simplify code so that we don't have to handle short
9892           writes and return GST_FLOW_ERROR if an error occured.
9893
9894 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9895
9896         * docs/gst/gstreamer-docs.sgml:
9897           Remove probes more.
9898
9899 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9900
9901         * docs/gst/gstreamer-sections.txt:
9902         * docs/gst/tmpl/gstpad.sgml:
9903         * docs/gst/tmpl/gstprobe.sgml:
9904         * gst/Makefile.am:
9905         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9906         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9907         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9908         (gst_pad_push_event), (gst_pad_send_event):
9909         * gst/gstpad.h:
9910         * gst/gstutils.c: (gst_pad_add_data_probe),
9911         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9912         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9913         (gst_pad_remove_buffer_probe):
9914         * gst/gstutils.h:
9915           Remove old probes, add new g-signal-based probes and some utility
9916           functions.
9917
9918 2005-06-29  Edward Hervey  <edward@fluendo.com>
9919
9920         * gst/gstelementfactory.c:
9921         * gst/gstutils.h:
9922         * gst/gstutils.c:
9923         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9924         the definition to the header file.
9925
9926 2005-06-29  Andy Wingo  <wingo@pobox.com>
9927
9928         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9929         plugins from the source directory.
9930
9931 2005-06-29  Wim Taymans  <wim@fluendo.com>
9932
9933         * docs/gst/tmpl/gstbuffer.sgml:
9934         * docs/gst/tmpl/gstclock.sgml:
9935         Some fixings for blantently wrong text.
9936
9937 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9938
9939         * check/Makefile.am:
9940         * gst/gst.c: (add_path_func), (init_pre):
9941         * gst/gstregistry.c: (gst_registry_add_path):
9942           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9943           only scan the GST_PLUGIN_PATH locations, and not add
9944           system locations
9945
9946 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9947
9948         * docs/gst/gstreamer-sections.txt:
9949         * docs/gst/tmpl/gstbasesrc.sgml:
9950         * gst/gstelement.c:
9951         * gst/gstelement.h:
9952         * gst/gstevent.c:
9953         * gst/gstutils.c:
9954           doc fixes
9955
9956 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9957
9958         * docs/manual/advanced-autoplugging.xml:
9959           Fix autoplugging example.
9960
9961 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9962
9963         * docs/manual/advanced-autoplugging.xml:
9964         * docs/manual/mime-world.fig:
9965           Try to get autoplugging working, fix type detection. Fix text
9966           in hello-world image.
9967
9968 2005-06-29  Wim Taymans  <wim@fluendo.com>
9969
9970         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9971         (gst_base_sink_change_state):
9972         Small debug line.
9973
9974         * gst/gstclock.h:
9975         map SIGNAL and BROADCAST to the right function.
9976
9977         * gst/gstobject.h:
9978         Remove redundant braces.
9979
9980         * gst/gstpad.c: (gst_pad_set_caps):
9981         Don't call setcaps function when reseting caps to NULL.
9982
9983         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9984         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9985         (gst_system_clock_id_unschedule):
9986         Use BROADCAST as this is what we do.
9987
9988 2005-06-29  Wim Taymans  <wim@fluendo.com>
9989
9990         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9991         We are actually prerolling before commiting the state
9992         change. 
9993
9994 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9995
9996         * docs/manual/advanced-clocks.xml:
9997         * docs/manual/advanced-interfaces.xml:
9998         * docs/manual/advanced-metadata.xml:
9999         * docs/manual/advanced-position.xml:
10000         * docs/manual/advanced-schedulers.xml:
10001         * docs/manual/advanced-threads.xml:
10002         * docs/manual/appendix-porting.xml:
10003         * docs/manual/basics-bins.xml:
10004         * docs/manual/basics-bus.xml:
10005         * docs/manual/basics-elements.xml:
10006         * docs/manual/basics-helloworld.xml:
10007         * docs/manual/basics-pads.xml:
10008         * docs/manual/highlevel-components.xml:
10009         * docs/manual/manual.xml:
10010         * docs/manual/thread.fig:
10011           Update (until threads/scheduling) Application Development Manual;
10012           remove GstThread, add GstBus, add simple porting checklist, add
10013           documentation for tag writing, clocks, make all examples until this
10014           part compile and run.
10015         * examples/manual/Makefile.am:
10016           Update from changes to Application Development Manual; add bus
10017           example, remove thread example.
10018
10019 2005-06-28  Wim Taymans  <wim@fluendo.com>
10020
10021         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10022         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10023         (gst_bus_source_dispatch):
10024         Add debugging messages.
10025         Make internal methods static.
10026         Handle the case where the bus is flushed in the handler.
10027         
10028         * gst/gstelement.c: (gst_element_get_bus):
10029         Fix refcount in _get_bus();
10030
10031         * gst/gstpipeline.c: (gst_pipeline_change_state),
10032         (gst_pipeline_get_clock_func):
10033         Clock refcounting fixes.
10034         Handle the case where preroll timed out more gracefully.
10035         
10036         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10037         Clean up the internal thread in dispose. This is needed
10038         for subclasses that actually get disposed.
10039         
10040         * gst/schedulers/threadscheduler.c:
10041         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10042         (gst_thread_scheduler_dispose):
10043         Free thread pool in dispose.
10044
10045 2005-06-28  Andy Wingo  <wingo@pobox.com>
10046
10047         * tests/network-clock-utils.scm (debug, print-event): New utils.
10048
10049         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10050         (*packet-loss*): Unified loss probability.
10051         (network-time): Report out-of-band events.
10052
10053         * tests/plot-data: Add support for out-of-band events. Hack it
10054         into this script instead of passing it down the pipe; should fix
10055         this later.
10056
10057 2005-06-28  Wim Taymans  <wim@fluendo.com>
10058
10059         * docs/gst/gstreamer.types:
10060         * docs/gst/tmpl/gstbasesrc.sgml:
10061         * docs/gst/tmpl/gstpad.sgml:
10062         Docs fixes.
10063
10064 2005-06-28  Wim Taymans  <wim@fluendo.com>
10065
10066         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10067         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10068         (gst_proxy_pad_do_fixatecaps):
10069         Correctly proxy the check_pull_range function.
10070
10071 2005-06-28  Andy Wingo  <wingo@pobox.com>
10072
10073         * tests/network-clock.scm: Removed need for slib.
10074         
10075 2005-06-28  Wim Taymans  <wim@fluendo.com>
10076
10077         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10078         (gst_basesink_preroll_queue_flush):
10079         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10080         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10081         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10082         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10083         (gst_proxy_pad_set_property):
10084         * gst/gstpad.c:
10085         * gst/gstpad.h:
10086         * gst/gstqueue.c: (gst_queue_init):
10087         The deprecated pad loop function is removed now.
10088
10089 2005-06-28  Andy Wingo  <wingo@pobox.com>
10090
10091         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10092         New parameters, simulate network packet loss.
10093
10094         * tests/network-clock-utils.scm: Initialize the RNG.
10095
10096 2005-06-28  Wim Taymans  <wim@fluendo.com>
10097
10098         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10099         (gst_basesink_event), (gst_basesink_deactivate):
10100         Flushing the preroll queue always needs to unlock the waiters.
10101
10102 2005-06-28  Edward Hervey  <edward@fluendo.com>
10103
10104         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10105         Wheen a seek was successful on a pipeline, set the stream_time to the
10106         seek offset in order to have a synchronized stream_time.
10107
10108 2005-06-28  Wim Taymans  <wim@fluendo.com>
10109
10110         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10111         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10112         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10113         (gst_proxy_pad_do_fixatecaps):
10114         Call wrapper function instead of just calling the function
10115         pointers. This takes care of any locking and whatmore.
10116
10117 2005-06-28  Wim Taymans  <wim@fluendo.com>
10118
10119         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10120         (gst_pad_pull_range):
10121         * gst/gstpad.h:
10122         CONNECTED -> LINKED.
10123
10124 2005-06-28  Andy Wingo  <wingo@pobox.com>
10125
10126         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10127         source-munging commit!!!
10128
10129         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10130         (gst_object_sink): Take gpointer arguments, not GstObject --
10131         avoids casts. Like GLib.
10132
10133         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10134         activate.
10135
10136 2005-06-27  Andy Wingo  <wingo@pobox.com>
10137
10138         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10139         remaining buffer.
10140
10141         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10142         returns a sorted copy of the trace list.
10143         (gst_alloc_trace_print_live): New API, only prints traces with
10144         live objects. Sort the list.
10145         (gst_alloc_trace_print_all): Sort the list.
10146         (gst_alloc_trace_print): Align columns.
10147
10148         * gst/elements/gstttypefindelement.c:
10149         * gst/elements/gsttee.c:
10150         * gst/base/gstbasesrc.c:
10151         * gst/base/gstbasesink.c:
10152         * gst/base/gstbasetransform.c:
10153         * gst/gstqueue.c: Adapt for pad activation changes.
10154
10155         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10156         sched.
10157         (gst_pipeline_dispose): Drop ref on sched.
10158
10159         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10160         (gst_pad_activate_default): Push mode by default.
10161         (pre_activate_switch, post_activate_switch): New stubs, things to
10162         do before and after switching activation modes on pads.
10163         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10164         the pad's activate function to choose which mode to activate.
10165         Shortcut on deactivation and call the right function directly.
10166         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10167         mode.
10168         (gst_pad_activate_push): New API, same for push mode.
10169         (gst_pad_set_activate_function) 
10170         (gst_pad_set_activatepull_function) 
10171         (gst_pad_set_activatepush_function): Setters for new API.
10172
10173         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10174         Trace all miniobjects.
10175         (gst_mini_object_make_writable): Unref the arg if we copy, like
10176         gst_caps_make_writable.
10177
10178         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10179
10180         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10181         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10182         Adapt for new pad API.
10183
10184         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10185
10186         * gst/gstelement.h:
10187         * gst/gstelement.c (gst_element_iterate_src_pads) 
10188         (gst_element_iterate_sink_pads): New API functions.
10189         
10190         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10191         should fold into gstiterator.c in some form.
10192         (gst_element_pads_activate): Simplified via use of fold and
10193         delegation of decisions to gstpad->activate.
10194
10195         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10196         help in debugging.
10197
10198         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10199         class once in init, like gstmessage. Didn't run into this issue
10200         but it seems correct. Don't initialize a trace, gstminiobject does
10201         that.
10202
10203         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10204         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10205         to the bus.
10206         (assert_live_count): New util function, uses alloc traces to check
10207         cleanup.
10208
10209         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10210         To be modified when unlink drops the internal pad.
10211
10212 2005-06-27  Wim Taymans  <wim@fluendo.com>
10213
10214         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10215         (gst_bin_change_state):
10216         Cleanup the get_state() function a little, make sure it
10217         iterates the same set of elements.
10218         Added stub iterate_state_order().
10219
10220 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10221
10222         * docs/gst/gstreamer-docs.sgml:
10223         * docs/gst/gstreamer-sections.txt:
10224         * docs/gst/gstreamer.types:
10225         * docs/gst/tmpl/gstbasesink.sgml:
10226         * docs/gst/tmpl/gstbasesrc.sgml:
10227         * docs/gst/tmpl/gstbasetransform.sgml:
10228         * docs/gst/tmpl/gstelement.sgml:
10229         * docs/gst/tmpl/gstiterator.sgml:
10230         * gst/base/gstbasesrc.c:
10231         * gst/base/gstbasesrc.h:
10232         * gst/base/gstbasetransform.h:
10233         * gst/gstelement.c:
10234         * gst/gstiterator.h:
10235           adding basetransform and iterator docs
10236
10237 2005-06-27  Andy Wingo  <wingo@pobox.com>
10238
10239         * docs/design/part-activation.txt: Notes on how activation should
10240         work -- not quite implemented yet.
10241
10242 2005-06-25  Wim Taymans  <wim@fluendo.com>
10243
10244         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10245         At least get the chain function correct, needs more
10246         fixing.
10247
10248 2005-06-25  Wim Taymans  <wim@fluendo.com>
10249
10250         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10251         (gst_basesink_handle_object), (gst_basesink_event),
10252         (gst_basesink_do_sync), (gst_basesink_handle_event),
10253         (gst_basesink_change_state):
10254         * gst/gsttask.h:
10255         Right, two problems here: ghostpads don't take locks and
10256         glib _rec_mutex_lock_full() with depth==0 still locks.
10257         Catch illegal locking and g_warn them.
10258
10259 2005-06-25  Wim Taymans  <wim@fluendo.com>
10260
10261         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10262         Have to check for completion now...
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/gstpad.h:
10271         Unlock STREAM_LOCK whatever the recursion was.
10272
10273 2005-06-25  Wim Taymans  <wim@fluendo.com>
10274
10275         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10276         (gst_basesink_preroll_queue_empty),
10277         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10278         (gst_basesink_event), (gst_basesink_do_sync),
10279         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10280         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10281         (gst_basesink_change_state):
10282         Reworked the base sink, handle event and buffer serialisation
10283         correctly and removed possible deadlock.
10284         Handle EOS correctly.
10285
10286 2005-06-25  Wim Taymans  <wim@fluendo.com>
10287
10288         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10289         (gst_pipeline_change_state):
10290         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10291         Allow elements to post EOS in the state change function.
10292         Fix up -launch, make it exit the poll loop when the
10293         pipeline actually changed state.
10294         Fix up warning parsing in -launch.
10295
10296 2005-06-25  Wim Taymans  <wim@fluendo.com>
10297
10298         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10299         (gst_tee_sink_activate):
10300         Core takes STREAM_LOCK for us now.
10301
10302 2005-06-25  Wim Taymans  <wim@fluendo.com>
10303
10304         * gst/gstelement.c: (gst_element_get_state_func),
10305         (gst_element_set_state):
10306         * gst/gstelement.h:
10307         * gst/gstmessage.c: (gst_message_parse_error),
10308         (gst_message_parse_warning):
10309         Keep track of current target state while performing a state
10310         change so that subclasses can do something interesting.
10311         Fix parsing of warning/error messages when GError is NULL.
10312
10313 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10314
10315         * docs/gst/Makefile.am:
10316         * docs/gst/gstreamer-docs.sgml:
10317         * docs/gst/gstreamer-sections.txt:
10318         * docs/gst/gstreamer.types:
10319         * docs/gst/tmpl/gstbasesink.sgml:
10320         * docs/gst/tmpl/gstbasesrc.sgml:
10321         * docs/gst/tmpl/gstbin.sgml:
10322         * docs/gst/tmpl/gstcompat.sgml:
10323         * docs/gst/tmpl/gstfakesink.sgml:
10324         * docs/gst/tmpl/gstfakesrc.sgml:
10325         * docs/gst/tmpl/gstfilesink.sgml:
10326         * docs/gst/tmpl/gstfilesrc.sgml:
10327         * docs/gst/tmpl/gstindex.sgml:
10328         * docs/manual/appendix-quotes.xml:
10329         * gst/base/gstbasesrc.h:
10330         * gst/elements/gstfakesrc.h:
10331         * gst/gstmessage.h:
10332           start pulling in base classes and elements in our docs
10333
10334 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10335
10336         * docs/gst/Makefile.am:
10337         * docs/libs/Makefile.am:
10338           fixed make distcheck with gtk-doc 1.3
10339
10340 2005-06-23  Wim Taymans  <wim@fluendo.com>
10341
10342         * gst/gstelement.c: (gst_element_get_state_func),
10343         (gst_element_set_state), (gst_element_change_state):
10344         When the state did not change, also report NO_PREROLL
10345         when it matters.
10346
10347 2005-06-23  Wim Taymans  <wim@fluendo.com>
10348
10349         * gst/gstpad.c: (gst_pad_event_default):
10350         * gst/gstqueue.c: (gst_queue_loop):
10351         No unsafe task pausing please.
10352
10353 2005-06-23  Wim Taymans  <wim@fluendo.com>
10354
10355         * gst/schedulers/threadscheduler.c:
10356         (gst_thread_scheduler_task_start),
10357         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10358         Ref the task before pushing it on the threadpool. This
10359         makes sure that we have a ref when the threadfunction is
10360         actually called.
10361
10362 2005-06-23  Andy Wingo  <wingo@pobox.com>
10363
10364         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10365         offset is greater than the file's size.
10366
10367         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10368         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10369         * gst/gstobject.c (gst_object_class_init): Make the class lock
10370         recursive. Wim won't let me drop deep_notify. Decodebin works
10371         again, whoopdy doo.
10372
10373         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10374         internal pad, and hacks accordingly. Doesn't do it on the target
10375         pad because we change its caps. Probably catches all cases of
10376         interest tho.
10377         (gst_ghost_pad_set_property): Connect to notify::caps as
10378         appropritate.
10379
10380         * tests/network-clock.scm (plot-simulation): Pipe data to the
10381         elite python skript.
10382
10383         * tests/network-clock-utils.scm (define-parameter): New macro,
10384         defines a parameter that can be set via the command line.
10385         (set-parameter!, parse-parameter-arguments): Command line args
10386         parser.
10387
10388         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10389         stdin.
10390
10391 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10392
10393         * gst/elements/gsttypefindelement.c:
10394         (gst_type_find_element_handle_event):
10395           Don't restart typefinding on a discont.
10396         * gst/gstelement.c: (gst_element_set_state):
10397           Debug spelling fix.
10398         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10399           Allow changing mode of an active pad.
10400           Debug output fixes.
10401         * gst/registries/gstlibxmlregistry.c: (load_feature):
10402           Don't cast a static pad template to a normal pad template.
10403
10404 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10405
10406         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10407         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10408           remove gst_strtoll completely, since it didn't actually do
10409           anything more than what g_ascii_strtoull already does.
10410           check for range errors when deserializing
10411           do a cast for the unsigned cases; but further fixing needs
10412           a decision on what the interpretation of "(int)" and
10413           deserialization should be for values that fall outside the
10414           type's boundaries (ie, refuse, or interpret as casting)
10415
10416 2005-06-23  Wim Taymans  <wim@fluendo.com>
10417
10418         * check/Makefile.am:
10419         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10420         * docs/design/part-live-source.txt:
10421         * docs/design/part-states.txt:
10422         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10423         (gst_basesrc_set_live), (gst_basesrc_is_live),
10424         (gst_basesrc_get_range), (gst_basesrc_activate),
10425         (gst_basesrc_change_state):
10426         * gst/base/gstbasesrc.h:
10427         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10428         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10429         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10430         * gst/gstelement.c: (gst_element_get_state_func),
10431         (gst_element_set_state):
10432         * gst/gstelement.h:
10433         * gst/gsttypes.h:
10434         * tools/gst-launch.c: (event_loop), (main):
10435         Added support for live sources and other elements that
10436         cannot do preroll.
10437         Updated design docs, added live-source design doc.
10438         Implemented live source functionality in basesrc
10439         Fix error condition in _bin_get_state()
10440         Implement live source handling in -launch.
10441         Added check for live sources.
10442         Fixed case in GstBin where elements were changed state
10443         multiple times.
10444
10445
10446 2005-06-23  Andy Wingo  <wingo@pobox.com>
10447
10448         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10449         borken refcounting.
10450
10451         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10452         gst_caps_replace takes care of this for us.
10453
10454         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10455         gst_pad_set_caps on the target, not just its setcaps() function.
10456
10457         * tests/network-clock.scm: 
10458         * tests/network-clock-utils.scm: A network clock simulator.
10459         Something of an algorithmic testbed before doing something in C.
10460
10461 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10462
10463         * check/Makefile.am:
10464         * check/gst/capslist.h:
10465           copy over from 0.8, and add two with bitmasks specified with
10466           (int) 0xFF...
10467         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10468           add test to parse everything from capslist.h
10469         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10470         (main):
10471           add test for structure deserialization
10472         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10473           add tests for deserialization of strings to int types
10474         * gst/gststructure.c: (gst_structure_nth_field_name):
10475         * gst/gststructure.h:
10476           add a way to get the name of a field referenced by index
10477         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10478           instead of checking if the resulting long long lies between
10479           min and max, we check if the long long would fit into
10480           a number of bytes for the final type.
10481           This fixes cases where a string represents 2^32 - 1, which
10482           when cast to int would be the (valid) -1, but is bigger than
10483           G_MAXINT
10484
10485 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10486
10487         * gst/parse/grammar.y:
10488           add a log line for type deserialization
10489
10490 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10491
10492         * check/gst/gstvalue.c: (START_TEST):
10493         * gst/gstvalue.c: (gst_value_deserialize):
10494           return long long, not int, so gint64 deserialization actually
10495           works.  Is there any flag that makes the compiler check this ?
10496           Fixes #308559
10497
10498 2005-06-22  Wim Taymans  <wim@fluendo.com>
10499
10500         * gst/gstbuffer.h:
10501         Added convenience macros for setting buffers in GValue.
10502
10503 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10504
10505         * check/gst/.cvsignore:
10506         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10507           add a test deserializing int64, and comment part out because
10508           it fails, yay !
10509
10510 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10511
10512         * check/Makefile.am:
10513         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10514         * testsuite/Makefile.am:
10515         * testsuite/caps/Makefile.am:
10516         * testsuite/caps/value_serialize.c:
10517         * testsuite/test_gst_init.c:
10518           move a value_serialize test over
10519
10520 2005-06-20  Wim Taymans  <wim@fluendo.com>
10521
10522         * gst/gstpad.c:
10523         Small doc updates.
10524         
10525         * gst/gstvalue.c: (gst_value_compare_buffer),
10526         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10527         (gst_value_compare_flags), (gst_value_serialize_flags),
10528         (gst_value_deserialize_flags), (_gst_value_initialize):
10529         Fix serialisation of buffers, they are not boxed types anymore
10530
10531 2005-06-20  Wim Taymans  <wim@fluendo.com>
10532
10533         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10534         Testcase to show error in buffer-on-caps serialisation.
10535
10536 2005-06-20  Andy Wingo  <wingo@pobox.com>
10537
10538         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10539         will be adding to later.
10540
10541         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10542         if its socks fill with rocks.
10543         (gst_system_clock_obtain): Set the name on object construction.
10544         Avoid double-checked locking.
10545
10546 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10547
10548         * gst/gsturi.c: (gst_element_make_from_uri):
10549           Fix potential endless loop.
10550
10551 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10552
10553         * check/Makefile.am:
10554           add gsttag
10555         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10556         (main):
10557           move over from testsuite dir and clean up
10558         * configure.ac:
10559         * gst/gsttag.c:
10560         * testsuite/Makefile.am:
10561         * testsuite/tags/.cvsignore:
10562         * testsuite/tags/Makefile.am:
10563         * testsuite/tags/merge.c:
10564           remove testsuite/tags
10565
10566 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10567
10568         * docs/gst/gstreamer-sections.txt:
10569         * docs/gst/tmpl/gstenumtypes.sgml:
10570         * win32/gstenumtypes.c:
10571           clean up documentation build a little
10572
10573 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10574
10575         * check/gstcheck.h:
10576           add macros for checking refcounts on objects and caps
10577         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10578           add some more unit tests
10579         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10580         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10581           fix leaked refcounts (I hope :)) so unittest works
10582         * gst/gstpad.h:
10583           whitespace removal
10584
10585 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10586
10587         * configure.ac: back to HEAD
10588
10589 === release 0.9.1 ===
10590
10591 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10592
10593         * NEWS:
10594         * RELEASE:
10595           updated
10596
10597 2005-06-17  Andy Wingo  <wingo@pobox.com>
10598
10599         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10600         assert; it's always possible that the pad gets deactivated in
10601         between the checks in gstpad.c and the implementation. Rely on
10602         finish_preroll() to return a FLUSHING or similar instead of on the
10603         assert.
10604         
10605         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10606         clock and post an EOS message if we come out of finish_preroll in
10607         the playing state.
10608
10609 2005-06-16  David Schleef  <ds@schleef.org>
10610
10611         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10612         (gst_capsfilter_set_property): Allow NULL as possible value
10613         for filter_caps property, indicating GST_CAPS_ANY.
10614
10615 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10616
10617         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10618           fix debug output
10619         * gst/schedulers/Makefile.am:
10620           use libgst prefix
10621         * gstreamer.spec.in:
10622           fix spec for it
10623
10624 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10625
10626         * gstreamer.spec.in:
10627           clean up
10628
10629 2005-06-08  Andy Wingo  <wingo@pobox.com>
10630
10631         * gst/gstutils.c: RPAD fixes all around.
10632         (gst_element_link_pads): Refcounting fixes.
10633
10634         * tools/gst-inspect.c:
10635         * tools/gst-xmlinspect.c:
10636         * parse/grammar.y:
10637         * gst/base/gsttypefindhelper.c:
10638         * gst/base/gstbasesink.c:
10639         * gst/gstqueue.c: RPAD fixes.
10640
10641         * gst/gstghostpad.h:
10642         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10643         pads. The tricky thing is they provide both source and sink
10644         interfaces, since they proxy the internal pad for the external
10645         pad, and vice versa. Implement with lower-level ProxyPad objects,
10646         with the interior proxy pad as a child of the exterior ghost pad.
10647         Should write a doc on this.
10648         
10649         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10650         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10651         gst_object API.
10652         
10653         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10654         pads are real pads. No ghost pads in this file. Not documenting
10655         the myriad s/RPAD/PAD/ and REALIZE fixes.
10656         (gst_pad_class_init): Add properties for "direction" and
10657         "template". Both are construct-only, so they can't change during
10658         the life of the pad. Fixes properly deriving from GstPad.
10659         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10660         derived objects, just set properties when creating the objects via
10661         g_object_new.
10662         (gst_pad_get_parent): Implement as a function, return NULL if the
10663         parent is not an element.
10664         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10665         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10666         
10667         * gst/gstobject.c (gst_object_class_init): Make name a construct
10668         property. Don't set it in the object init.
10669
10670         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10671         with UNKNOWN direction.
10672         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10673         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10674         (gst_element_remove_pad): Remove ghost-pad special cases.
10675         (gst_element_pads_activate): Remove rpad cruft.
10676
10677         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10678         catch the pad's-parent-not-an-element case.
10679
10680         * gst/gst.h: Include gstghostpad.h.
10681
10682         * gst/gst.c (init_post): No more real, ghost pads.
10683
10684         * gst/Makefile.am: Add gstghostpad.[ch].
10685
10686         * check/Makefile.am:
10687         * check/gst/gstbin.c:
10688         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10689         into a bin creates ghost pads, and that the refcounts are right.
10690         Partly moved from gstbin.c.
10691
10692 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10693
10694         * check/gst-libs/.cvsignore:
10695         * check/gst/.cvsignore:
10696         * check/pipelines/.cvsignore:
10697           ignore more
10698         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10699         (START_TEST), (cleanup_suite), (main):
10700           add some tests related to cleanup after running pipelines
10701
10702 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10703
10704         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10705           add a testsuite for GstBuffer
10706
10707 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10708
10709         * gst/gstminiobject.h:
10710           add defines for accessing the refcount
10711
10712 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10713
10714         * Makefile.am: added support for html unit test coverage reports
10715
10716 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10717
10718         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10719           Free existing caps if the capsfilter changes. Add a FIXME about
10720           setting those caps on the pads.
10721
10722         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10723           Before adding a ghost pad to a parent bin, check that there isn't
10724           already one for the element on the bin. Prevents infinite recursion
10725           when using decodebin in parse pipelines. Andy says he'll rewrite the
10726           way this works anyway, so ignore the hack.
10727
10728 2005-06-02  Andy Wingo  <wingo@pobox.com>
10729
10730         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10731         file size, pass it on to the type find helper.
10732
10733         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10734         segment_start and segment_end properly according to the seek
10735         method. Segment_end is still a bit flaky because offset can be
10736         negative for CUR and END cases, but it takes -1 as an "unset"
10737         value.
10738
10739 2005-06-02  Wim Taymans  <wim@fluendo.com>
10740
10741         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10742         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10743         (gst_basesink_activate):
10744         * gst/base/gstbasesink.h:
10745         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10746         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10747         (gst_pad_query), (gst_pad_start_task):
10748         * gst/gstpad.h:
10749         * gst/gstqueue.c: (gst_queue_bufferalloc),
10750         (gst_queue_handle_sink_event), (gst_queue_chain):
10751         Bufferalloc: return GstFlowReturn to more accuratly report
10752         why allocation failed.
10753
10754 2005-06-02  Wim Taymans  <wim@fluendo.com>
10755
10756         * gst/gstpipeline.c: (gst_pipeline_send_event):
10757         Take snapshot of state without blocking.
10758
10759 2005-06-02  Wim Taymans  <wim@fluendo.com>
10760
10761         * docs/design/part-TODO.txt:
10762         * docs/design/part-caps.txt:
10763         * docs/design/part-clocks.txt:
10764         * docs/design/part-negotiation.txt:
10765         * docs/design/part-preroll.txt:
10766         Small doc updates 
10767
10768 2005-05-30  Wim Taymans  <wim@fluendo.com>
10769
10770         * gst/elements/gstidentity.c: (gst_identity_event),
10771         (gst_identity_transform), (gst_identity_get_property):
10772         Protect last_message property as it is accessed from
10773         multiple threads.
10774
10775 2005-05-30  Wim Taymans  <wim@fluendo.com>
10776
10777         * gst/gstelement.c: (gst_element_init),
10778         (gst_element_pads_activate), (gst_element_change_state):
10779         Slicker pad activation code.
10780
10781 2005-05-30  Wim Taymans  <wim@fluendo.com>
10782
10783         * gst/Makefile.am:
10784         * gst/gstelement.h:
10785         * gst/gstelementfactory.h:
10786         * gst/gsttypes.h:
10787         Move elementfactory methods to separate .h file.
10788
10789 2005-05-30  Wim Taymans  <wim@fluendo.com>
10790
10791         * docs/design/part-overview.txt:
10792         * gst/gstsystemclock.h:
10793         Small typo fixes, doc updates.
10794
10795 2005-05-30  Wim Taymans  <wim@fluendo.com>
10796
10797         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10798         (init_popt_callback):
10799         Remove cpu-opt flag.
10800
10801 2005-05-30  Wim Taymans  <wim@fluendo.com>
10802
10803         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10804         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10805         * gst/gstbuffer.h:
10806         Avoid typechecking in places where not needed.
10807         Added accessor for malloc_data.
10808
10809 2005-05-30  Wim Taymans  <wim@fluendo.com>
10810
10811         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10812         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10813         (gst_pad_configure_sink), (gst_pad_configure_src),
10814         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10815         (gst_pad_start_task):
10816         Propagate errors from _set_caps() in configure_src/sink
10817         functions instead of returning TRUE.
10818         FLUSH events can travel up and downstream
10819
10820
10821 2005-05-30  Wim Taymans  <wim@fluendo.com>
10822
10823         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10824         (gst_basesink_activate):
10825         Handle EOS in preroll.
10826
10827 2005-05-30  Wim Taymans  <wim@fluendo.com>
10828
10829         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10830         (gst_queue_loop), (gst_queue_handle_src_event):
10831         Remove old pieces of code
10832         Flushing the queue in an upstream event is a very bad idea.
10833
10834 2005-05-26  Andy Wingo  <wingo@pobox.com>
10835
10836         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10837         gst_value_set_mini_object so as to add a ref on the object (which
10838         will be removed when the value is unset).
10839
10840         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10841         arg type in ::handoff.
10842
10843         * gst/gstelement.c (gst_element_change_state): Also deactivate
10844         pads in READY->NULL, just in case the element didn't make it to
10845         PAUSED. Wingo tested, Wim approved.
10846
10847 2005-05-26  Wim Taymans  <wim@fluendo.com>
10848
10849         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10850         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10851         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10852         A flushing pad cannot be used to alloc_buffer from.
10853
10854 2005-05-26  Wim Taymans  <wim@fluendo.com>
10855
10856         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10857         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10858         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10859         (gst_bus_create_watch), (gst_bus_add_watch_full):
10860         * gst/gstbus.h:
10861         Implement a real GSource and use g_main_context_wakeup() to
10862         signal new messages instead of the socketpair.
10863
10864 2005-05-25  Wim Taymans  <wim@fluendo.com>
10865
10866         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10867         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10868         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10869         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10870         (gst_pad_send_event), (gst_pad_start_task):
10871         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10872         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10873         (gst_queue_sink_activate), (gst_queue_src_activate),
10874         (gst_queue_change_state):
10875         * gst/gstqueue.h:
10876         Fix state changes for non sinks. We now change sinks, then elements
10877         with unconnected srcpads, then the rest.
10878         More efficient queue unlocking in flush and state changes.
10879         Set the pad activate mode even if it does not have an activate
10880         function.
10881
10882 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10883
10884         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10885           Don't go in pull mode for non-seekable sources.
10886         * gst/elements/gsttypefindelement.h:
10887         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10888         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10889         (free_entry), (stop_typefinding),
10890         (gst_type_find_element_handle_event), (find_peek),
10891         (gst_type_find_element_chain), (do_pull_typefind),
10892         (gst_type_find_element_change_state):
10893           Allow typefinding (w/o seeking) in push-mode, simplified version
10894           of what was in 0.8.
10895         * gst/gstutils.c: (gst_buffer_join):
10896         * gst/gstutils.h:
10897           gst_buffer_join() from 0.8.
10898
10899 2005-05-25  Wim Taymans  <wim@fluendo.com>
10900
10901         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10902         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10903         (gst_pad_send_event), (gst_pad_start_task):
10904         Disable attempt at mode switching until it is figured out.
10905
10906 2005-05-25  Wim Taymans  <wim@fluendo.com>
10907
10908         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10909         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10910         (gst_basesink_finish_preroll), (gst_basesink_chain),
10911         (gst_basesink_loop), (gst_basesink_activate),
10912         (gst_basesink_change_state):
10913         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10914         (gst_basesrc_get_range), (gst_basesrc_loop),
10915         (gst_basesrc_activate):
10916         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10917         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10918         (gst_real_pad_init), (gst_real_pad_set_property),
10919         (gst_real_pad_get_property), (gst_pad_set_active),
10920         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10921         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10922         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10923         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10924         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10925         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10926         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10927         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10928         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10929         (gst_pad_stop_task):
10930         * gst/gstpad.h:
10931         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10932         (gst_queue_loop), (gst_queue_src_activate):
10933         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10934         (gst_task_get_state):
10935         * gst/gsttask.h:
10936         * gst/schedulers/threadscheduler.c:
10937         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10938         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10939         in task function.
10940         Remove ACTIVE pad flag, use FLUSHING everywhere
10941         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10942         functions.
10943         Add locks around IS_FLUSHING when reading.
10944         Take STREAM lock in chain(), get_range() functions so plugins
10945         don't need to take it anymore.
10946         
10947
10948
10949 2005-05-25  Wim Taymans  <wim@fluendo.com>
10950
10951         * tools/gst-launch.c: (event_loop):
10952         Unref message after using its contents instead of
10953         before.
10954
10955 2005-05-24  Wim Taymans  <wim@fluendo.com>
10956
10957         * docs/design/draft-ghostpads.txt:
10958         * docs/design/draft-push-pull.txt:
10959         * docs/design/draft-query.txt:
10960         * docs/design/part-overview.txt:
10961         Docs updates, added general overview doc.
10962
10963 2005-05-21  David Schleef  <ds@schleef.org>
10964
10965         * docs/gst/tmpl/old/GstBin.sgml:
10966         * docs/gst/tmpl/old/GstBuffer.sgml:
10967         * docs/gst/tmpl/old/GstCaps.sgml:
10968         * docs/gst/tmpl/old/GstClock.sgml:
10969         * docs/gst/tmpl/old/GstCompat.sgml:
10970         * docs/gst/tmpl/old/GstData.sgml:
10971         * docs/gst/tmpl/old/GstElement.sgml:
10972         * docs/gst/tmpl/old/GstEvent.sgml:
10973         * docs/gst/tmpl/old/GstIndex.sgml:
10974         * docs/gst/tmpl/old/GstStructure.sgml:
10975         * docs/gst/tmpl/old/GstTag.sgml:
10976         * docs/gst/tmpl/old/cothreads.sgml:
10977         * docs/gst/tmpl/old/cothreads_compat.sgml:
10978         * docs/gst/tmpl/old/gettext.sgml:
10979         * docs/gst/tmpl/old/gobject2gtk.sgml:
10980         * docs/gst/tmpl/old/grammar.tab.sgml:
10981         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10982         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10983         * docs/gst/tmpl/old/gst_private.sgml:
10984         * docs/gst/tmpl/old/gstaggregator.sgml:
10985         * docs/gst/tmpl/old/gstarch.sgml:
10986         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10987         * docs/gst/tmpl/old/gstbufferstore.sgml:
10988         * docs/gst/tmpl/old/gstdata_private.sgml:
10989         * docs/gst/tmpl/old/gstdisksink.sgml:
10990         * docs/gst/tmpl/old/gstdisksrc.sgml:
10991         * docs/gst/tmpl/old/gstelementfactory.sgml:
10992         * docs/gst/tmpl/old/gstextratypes.sgml:
10993         * docs/gst/tmpl/old/gstfakesink.sgml:
10994         * docs/gst/tmpl/old/gstfakesrc.sgml:
10995         * docs/gst/tmpl/old/gstfdsink.sgml:
10996         * docs/gst/tmpl/old/gstfdsrc.sgml:
10997         * docs/gst/tmpl/old/gstfilesink.sgml:
10998         * docs/gst/tmpl/old/gstfilesrc.sgml:
10999         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11000         * docs/gst/tmpl/old/gstidentity.sgml:
11001         * docs/gst/tmpl/old/gstindexfactory.sgml:
11002         * docs/gst/tmpl/old/gstmarshal.sgml:
11003         * docs/gst/tmpl/old/gstmd5sink.sgml:
11004         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11005         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11006         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11007         * docs/gst/tmpl/old/gstpipefilter.sgml:
11008         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11009         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11010         * docs/gst/tmpl/old/gstshaper.sgml:
11011         * docs/gst/tmpl/old/gstspider.sgml:
11012         * docs/gst/tmpl/old/gstspideridentity.sgml:
11013         * docs/gst/tmpl/old/gststatistics.sgml:
11014         * docs/gst/tmpl/old/gsttee.sgml:
11015         * docs/gst/tmpl/old/gsttimecache.sgml:
11016         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11017         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11018         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11019         * docs/gst/tmpl/old/types.sgml:
11020           I didn't intend to add these or check them in.
11021
11022 2005-05-19  David Schleef  <ds@schleef.org>
11023
11024         * configure.ac: Use -no-common everywhere.  In a sane world, it
11025           would be the default in libtool, because without it, you can't
11026           build DLLs on Windows.
11027         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11028         * docs/gst/gstreamer-sections.txt:
11029         * docs/gst/tmpl/gstcpu.sgml:
11030         * docs/gst/tmpl/gstdata.sgml:
11031         * docs/gst/tmpl/gstthread.sgml:
11032
11033 2005-05-19  David Schleef  <ds@schleef.org>
11034
11035         * gst/gstminiobject.c: (gst_value_set_mini_object),
11036         (gst_value_take_mini_object), (gst_value_get_mini_object):
11037         * gst/gstminiobject.h: Add GValue set/get functions.
11038
11039 2005-05-19  Wim Taymans  <wim@fluendo.com>
11040
11041         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11042         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11043         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11044         * gst/gstbuffer.h:
11045         * gst/gstbus.c: (gst_bus_post):
11046         * gst/gstelement.c: (gst_element_get_random_pad):
11047         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11048         Make subbufer unref the parent in finalize.
11049         some more debugging info.
11050
11051
11052 2005-05-19  Wim Taymans  <wim@fluendo.com>
11053
11054         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11055         (gst_basesink_init), (gst_basesink_finalize),
11056         (gst_basesink_activate), (gst_basesink_change_state):
11057         Don't free preroll queue too early.
11058
11059 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11060
11061         * gst/Makefile.am:
11062         * gst/ROADMAP:
11063           Hi, I'm outdated. Please shoot me.
11064
11065 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11066
11067         * gst/gstpipeline.c: (gst_pipeline_send_event):
11068           Do not access variables after they have been deleted.
11069
11070 2005-05-19  Wim Taymans  <wim@fluendo.com>
11071
11072         * tools/gst-inspect.c: (print_plugin_features):
11073         A plugin feature does unfortunatly not use the
11074         object name yet...
11075
11076 2005-05-18  Wim Taymans  <wim@fluendo.com>
11077
11078         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11079         Port _span() functions to new subbuffers.
11080
11081 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11082
11083         * gst/gstbin.c: (gst_bin_add_func):
11084           Fix clock settery in bins when adding kids after the clock has
11085           been selected.
11086
11087 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11088
11089         * gst/elements/gstidentity.c: (gst_identity_class_init):
11090           Workaround until signals support GstMiniObject.
11091
11092 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11093
11094         * gst/gstbuffer.c:
11095         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11096
11097 2005-05-18  Wim Taymans  <wim@fluendo.com>
11098
11099         * gst/base/Makefile.am:
11100         * gst/base/gstadapter.c: (gst_adapter_base_init),
11101         (gst_adapter_class_init), (gst_adapter_init),
11102         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11103         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11104         (gst_adapter_flush), (gst_adapter_available),
11105         (gst_adapter_available_fast):
11106         * gst/base/gstadapter.h:
11107         Ported and added adapter to the base classes.
11108
11109 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11110
11111         * gst/gst.c:
11112         * gst/gstmessage.c:
11113           Make sure the class is reffed/unreffed once before threads can be
11114           used.  Fixes #304551.
11115
11116 2005-05-17  Wim Taymans  <wim@fluendo.com>
11117
11118         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11119         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11120         * gst/gstminiobject.c: (gst_mini_object_get_type),
11121         (gst_mini_object_free):
11122         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11123         (gst_pad_push), (gst_pad_push_event):
11124         * gst/gstqueue.c: (gst_queue_change_state):
11125         Don't queue buffers in basesink when we are flushing.
11126         Unref buffer when flushing in basesink.
11127         Flush queue when going to READY
11128         Unref buffer when _push() returns an error.
11129         Don't free MiniObject instance when refcount is incremented
11130         in _finalize() so that we can recover objects.
11131
11132 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11133
11134         * docs/manual/advanced-schedulers.xml:
11135         * docs/manual/appendix-checklist.xml:
11136         * docs/pwg/advanced-clock.xml:
11137         * docs/pwg/advanced-interfaces.xml:
11138         * docs/pwg/advanced-request.xml:
11139         * docs/pwg/advanced-types.xml:
11140         * docs/pwg/intro-preface.xml:
11141         * examples/plugins/example.c: (gst_example_get_type),
11142         (gst_example_class_init), (gst_example_chain),
11143         (gst_example_set_property), (gst_example_get_property),
11144         (gst_example_change_state), (plugin_init):
11145         * examples/plugins/example.h:
11146           small doc fixes
11147
11148 2005-05-17  Wim Taymans  <wim@fluendo.com>
11149
11150         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11151         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11152         * gst/gstqueue.c: (gst_queue_change_state):
11153         Clear queue when going to READY.
11154         Remove IN_SETCAPS flag too.
11155
11156 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11157
11158         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11159           Remove implicit cast from gboolean to GstElementStateReturn;
11160           make sure we still return failure in paused => ready case if
11161           the parent class fails to change state and our own stop 
11162           vfunc succeeds.
11163
11164 2005-05-17  Wim Taymans  <wim@fluendo.com>
11165
11166         * tools/gst-launch.c: (event_loop):
11167         Message was unreffed too soon.
11168
11169 2005-05-16  Andy Wingo  <wingo@pobox.com>
11170
11171         * gst/gstbin.c (sink_iterator_filter): Err... um...
11172
11173         * check/gst/gstbin.c (test_ghost_pads): New test for the
11174         ghosting-if-elements-not-in-same-bin behavior.
11175
11176 2005-05-16  David Schleef  <ds@schleef.org>
11177
11178         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11179         accessing refcount directly.
11180
11181 2005-05-15  David Schleef  <ds@schleef.org>
11182
11183         * check/Makefile.am: remove GstData checks
11184         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11185         * gst/Makefile.am: add miniobject, remove data
11186         * gst/gst.h: add miniobject, remove data
11187         * gst/gstdata.c: remove
11188         * gst/gstdata.h: remove
11189         * gst/gstdata_private.h: remove
11190         * gst/gsttypes.h: remove GstEvent and GstMessage
11191         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11192         * gst/gstmarshal.list: change BOXED -> OBJECT
11193
11194         Implement GstMiniObject.
11195         * gst/gstminiobject.c:
11196         * gst/gstminiobject.h:
11197
11198         Modify to be subclasses of GstMiniObject.
11199         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11200         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11201         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11202         (gst_subbuffer_get_type), (gst_subbuffer_init),
11203         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11204         (gst_buffer_span):
11205         * gst/gstbuffer.h:
11206         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11207         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11208         (_gst_event_copy), (gst_event_new):
11209         * gst/gstevent.h:
11210         * gst/gstmessage.c: (_gst_message_initialize),
11211         (gst_message_get_type), (gst_message_class_init),
11212         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11213         (gst_message_new), (gst_message_new_error),
11214         (gst_message_new_warning), (gst_message_new_tag),
11215         (gst_message_new_state_changed), (gst_message_new_application):
11216         * gst/gstmessage.h:
11217         * gst/gstprobe.c: (gst_probe_perform),
11218         (gst_probe_dispatcher_dispatch):
11219         * gst/gstprobe.h:
11220         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11221         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11222         (_gst_query_copy), (gst_query_new):
11223
11224         Update elements for GstData -> GstMiniObject changes
11225         * gst/gstquery.h:
11226         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11227         (gst_queue_chain), (gst_queue_loop):
11228         * gst/elements/gstbufferstore.c:
11229         (gst_buffer_store_add_buffer_func),
11230         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11231         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11232         (gst_fakesink_render):
11233         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11234         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11235         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11236         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11237         (gst_filesrc_create_read):
11238         * gst/elements/gstidentity.c: (gst_identity_class_init):
11239         * gst/elements/gsttypefindelement.c:
11240         (gst_type_find_element_src_event), (free_entry_buffers),
11241         (gst_type_find_element_handle_event):
11242         * libs/gst/dataprotocol/dataprotocol.c:
11243         (gst_dp_header_from_buffer):
11244         * libs/gst/dataprotocol/dataprotocol.h:
11245         * libs/gst/dataprotocol/dp-private.h:
11246
11247 2005-05-15  David Schleef  <ds@schleef.org>
11248
11249         * gst/elements/gstelements.c: Don't include headers that were
11250         just removed.
11251
11252 2005-05-15  David Schleef  <ds@schleef.org>
11253
11254         * gst/elements/Makefile.am: Remove some elements that don't
11255         need to be in the core (or even exist at all).
11256         * gst/elements/gstaggregator.c:
11257         * gst/elements/gstaggregator.h:
11258         * gst/elements/gstmd5sink.c:
11259         * gst/elements/gstmd5sink.h:
11260         * gst/elements/gstmultifilesrc.c:
11261         * gst/elements/gstmultifilesrc.h:
11262         * gst/elements/gstpipefilter.c:
11263         * gst/elements/gstpipefilter.h:
11264         * gst/elements/gstshaper.c:
11265         * gst/elements/gstshaper.h:
11266         * gst/elements/gststatistics.c:
11267         * gst/elements/gststatistics.h:
11268         * po/POTFILES.in: Remove above files.
11269
11270 2005-05-14  Andy Wingo  <wingo@pobox.com>
11271
11272         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11273         so as to get the refs right.
11274         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11275         unreffing objects that don't pass the filter.
11276
11277         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11278         gst_element_set_bus.
11279         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11280         normal cases, this will destroy the bus.
11281
11282         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11283         object.
11284
11285         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11286         has no sinks.
11287
11288 2005-05-13  Andy Wingo  <wingo@pobox.com>
11289
11290         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11291         gst_pad_link, call pad_link_maybe_ghosting,
11292         (pad_link_maybe_ghosting): Links pads, making sure that the
11293         elements being linked are in the same bin.
11294         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11295         Helpers for pad_link_maybe_ghosting.
11296
11297 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11298
11299         * configure.ac:
11300           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11301
11302 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11303
11304         * docs/design/part-element-source.txt:
11305           Mention GstPushSrc
11306
11307 2005-05-12  Wim Taymans  <wim@fluendo.com>
11308
11309         * gst/base/gstbasesink.c: (gst_basesink_init),
11310         (gst_basesink_activate):
11311         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11312         (gst_basesrc_is_seekable):
11313         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11314         (bin_element_is_sink), (gst_bin_change_state):
11315         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11316         * gst/gstelement.h:
11317         Identify sinks by their flag to avoid overly complicated
11318         checks (fow now).
11319         Do state changes even for elements not reachable from the
11320         sinks.
11321         BaseSink is a sink now :)
11322         Some more debugging info in the basesrc.
11323
11324
11325 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11326
11327         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11328           Implement _query on a bin, similar to _send_event.
11329
11330 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11331
11332         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11333           Discont event offset format should be GST_FORMAT_BYTES,
11334           not GST_FORMAT_TIME.
11335
11336 2005-05-12  Wim Taymans  <wim@fluendo.com>
11337
11338         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11339         Same fix as Ronald's but without the signal. 
11340
11341 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11342
11343         * gst/gstutils.c: (gst_element_query_position):
11344           No, an element is not a pad.
11345
11346 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11347
11348         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11349         (gst_bin_get_state):
11350           If a child is removed from a bin while we remove the child from
11351           the bin and while we're retrieving its state, signal this to the
11352           get_state function so we abort the wait (instead of waiting for
11353           a timeout) and can immediately re-iterate over all other elements.
11354
11355 2005-05-12  Wim Taymans  <wim@fluendo.com>
11356
11357         * gst/base/Makefile.am:
11358         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11359         (gst_basesrc_start):
11360         * gst/base/gstbasesrc.h:
11361         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11362         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11363         (gst_pushsrc_init), (gst_pushsrc_create):
11364         * gst/base/gstpushsrc.h:
11365         Added is_seekable to BaseSrc
11366         Added simple PushSrc.
11367
11368 2005-05-11  Wim Taymans  <wim@fluendo.com>
11369
11370         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11371         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11372         (gst_element_link_pads), (gst_element_query_position),
11373         (gst_element_query_convert), (intersect_caps_func),
11374         (gst_pad_query_position), (gst_pad_query_convert):
11375         Fix refcounting in utils function.
11376         No point in trying to activate a pad when it's added, it could
11377         be added from the state change function and then we deadlock, the
11378         element has to decide what to do.
11379
11380 2005-05-10  Andy Wingo  <wingo@pobox.com>
11381
11382         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11383         *all* the arguments.
11384
11385         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11386         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11387         lock (according to the docs -- if this is wrong change the docs).
11388
11389         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11390         flush messages in the NULL state.
11391
11392         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11393         message immediately and return.
11394         (gst_bus_set_flushing): New function. If a bus is flushing, it
11395         flushes out any queued messages and immediately unrefs new
11396         messages. This is so when an element goes to NULL, all of the
11397         unhandled messages coming from it can be freed, and their
11398         references to the element dropped. In other words: message source
11399         ref considered harmful :P
11400
11401         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11402         we're finished with it.
11403
11404         * gst/gstmessage.c (gst_message_new_state_changed): 
11405
11406 2005-05-10  Wim Taymans  <wim@fluendo.com>
11407
11408         * gst/gstvalue.c: (gst_value_compare_flags),
11409         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11410         (_gst_value_initialize):
11411         Added flags serialize/deserialize/compare code.
11412
11413 2005-05-09  Andy Wingo  <wingo@pobox.com>
11414
11415         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11416         Intersect the peer's caps with our caps.
11417
11418 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11419
11420         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11421         * gst/elements/gsttypefindelement.c: (find_peek):
11422           Handle negative offsets better. Fixes decodebin.
11423
11424 2005-05-09  Wim Taymans  <wim@fluendo.com>
11425
11426         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11427         (gst_base_transform_event):
11428         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11429         Implement accept_caps.
11430         Fix silly lock/unlock mismatch in base class.
11431
11432 2005-05-09  Wim Taymans  <wim@fluendo.com>
11433
11434         * docs/design/draft-push-pull.txt:
11435         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11436         * gst/elements/gstfilesink.c: (gst_filesink_init),
11437         (gst_filesink_query):
11438         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11439         (gst_type_find_handle_src_query), (find_element_get_length):
11440         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11441         * gst/gstelement.h:
11442         * gst/gstmessage.c:
11443         * gst/gstmessage.h:
11444         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11445         (gst_real_pad_get_caps_unlocked),
11446         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11447         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11448         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11449         (gst_real_pad_dispose), (gst_real_pad_finalize),
11450         (gst_pad_load_and_link), (gst_pad_save_thyself),
11451         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11452         (gst_pad_check_pull_range), (gst_pad_pull_range),
11453         (gst_pad_template_get_type), (gst_pad_template_class_init),
11454         (gst_pad_template_init), (gst_pad_template_dispose),
11455         (name_is_valid), (gst_static_pad_template_get),
11456         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11457         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11458         (gst_pad_get_element_private), (gst_pad_start_task),
11459         (gst_pad_pause_task), (gst_pad_stop_task),
11460         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11461         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11462         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11463         (gst_ghost_pad_new):
11464         * gst/gstpad.h:
11465         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11466         (gst_query_new_position), (gst_query_set_position),
11467         (gst_query_parse_position), (gst_query_new_convert),
11468         (gst_query_set_convert), (gst_query_parse_convert):
11469         * gst/gstquery.h:
11470         * gst/gstqueryutils.c:
11471         * gst/gstqueryutils.h:
11472         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11473         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11474         (gst_queue_handle_src_query):
11475         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11476         (gst_element_query_position), (gst_element_query_convert),
11477         (intersect_caps_func), (gst_pad_query_position),
11478         (gst_pad_query_convert):
11479         * gst/gstutils.h:
11480         * tools/gst-inspect.c: (print_pad_info):
11481         * tools/gst-xmlinspect.c: (print_element_info):
11482         Remove old query functions. Ported old code.
11483         Added position/convert helper functions to gstutils.
11484         Reordered gstpad.c code, grouping relevant things.
11485         Remove gst_message_new(), always need to speficy a specific
11486         message.
11487
11488
11489 2005-05-09  Andy Wingo  <wingo@pobox.com>
11490
11491         * gst/gstiterator.h: Add some includes.
11492
11493         * gst/gstqueryutils.h: Include more headers.
11494
11495         * gst/gstpad.h:
11496         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11497         some uses of gst_pad_query.
11498
11499         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11500         NULL out parameters.
11501         (gst_query_new_position): New proc, allocates a new position
11502         query.
11503
11504         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11505         gstqueryutils.c to the build.
11506
11507         * gst/gststructure.c (gst_structure_set_valist): Implement with
11508         the generic G_VALUE_COLLECT.
11509         
11510 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11511
11512         * gst/Makefile.am: (gst_headers):
11513         Added gstqueryutils.h to the list of headers to install, that was
11514         a 'nachty' move wingo :)
11515
11516 2005-05-06  Andy Wingo  <wingo@pobox.com>
11517
11518         * gst/gstquery.h
11519         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11520         GstData, init a memchunk.
11521         (standard_definitions): Add a few query types, deprecate a few.
11522         (gst_query_get_type): New proc.
11523         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11524         implementation.
11525         (gst_query_new_application, gst_query_get_structure): New public
11526         procs.
11527
11528         * docs/design/draft-query.txt: Removed LINKS from the query types,
11529         because all the rest can be dispatched to other pads -- seemed
11530         ugly to have a query that couldn't be dispatched. internal_links
11531         is fine as a pad method.
11532
11533         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11534         in gstpad.c, but maintain binary compatibility for the moment.
11535         Will fix before 0.9 is out.
11536
11537         * gst/gstqueryutils.c: 
11538         * gst/gstqueryutils.h: New files, implement 3 methods for each
11539         query type: parse_query, parse_response, and set. Probably need an
11540         allocator as well.
11541
11542         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11543
11544         * gst/elements/gstfilesink.c (gst_filesink_query2):
11545         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11546         query_types, and formats methods.
11547
11548         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11549         (gst_pad_set_query2_function): New functions.
11550         (gst_real_pad_init): Set query2_default as the default query2
11551         function. Basically just dispatches to internally linked pads.
11552
11553         Needs review!
11554         
11555         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11556         without using the atomic operations. Only one thread can possibly
11557         be accessing the data at this point. Changed so as to avoid
11558         gst_atomic operations.
11559
11560 2005-05-06  Wim Taymans  <wim@fluendo.com>
11561
11562         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11563         Also set caps if we use the fallback buffer alloc.
11564
11565 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11566
11567         * docs/gst/Makefile.am:
11568         * docs/gst/gstreamer-docs.sgml:
11569         * docs/gst/gstreamer-sections.txt:
11570         * docs/gst/tmpl/gstatomic.sgml:
11571         * docs/gst/tmpl/gstmemchunk.sgml:
11572         * testsuite/elements/struct_i386.h:
11573         * win32/GStreamer.vcproj:
11574         * win32/Makefile:
11575           Purge GstAtomic stuff from docs and win32 makefiles as well
11576
11577 2005-05-06  Wim Taymans  <wim@fluendo.com>
11578
11579         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11580         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11581         * gst/gstpad.c: (gst_pad_peer_get_caps):
11582         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11583         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11584         (gst_queue_src_activate), (gst_queue_change_state):
11585         * gst/gstqueue.h:
11586         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11587         (intersect_caps_func):
11588         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11589         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11590         Some fixes for the peer_get_caps() change.
11591
11592 2005-05-06  Wim Taymans  <wim@fluendo.com>
11593
11594         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11595         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11596         (gst_basesink_activate):
11597         Actually do something with error codes returned from the push
11598         functions.
11599
11600 2005-05-06  Wim Taymans  <wim@fluendo.com>
11601
11602         * docs/design/part-element-sink.txt:
11603         * docs/design/part-element-source.txt:
11604         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11605         (gst_basesink_event), (gst_basesink_activate):
11606         * gst/base/gstbasesink.h:
11607         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11608         (gst_basesrc_activate):
11609         * gst/base/gstbasesrc.h:
11610         * gst/gstelement.c: (gst_element_pads_activate):
11611         Some more documentation.
11612         Fixed scheduling decision in _pads_activate().
11613
11614 2005-05-05  Andy Wingo  <wingo@pobox.com>
11615
11616         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11617         the test suite.
11618
11619 2005-05-05  Wim Taymans  <wim@fluendo.com>
11620
11621         * gst/base/Makefile.am:
11622         * gst/base/gstbasesink.h:
11623         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11624         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11625         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11626         (gst_collectpads_class_init), (gst_collectpads_init),
11627         (gst_collectpads_finalize), (gst_collectpads_new),
11628         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11629         (find_pad), (gst_collectpads_remove_pad),
11630         (gst_collectpads_is_active), (gst_collectpads_collect),
11631         (gst_collectpads_collect_range), (gst_collectpads_start),
11632         (gst_collectpads_stop), (gst_collectpads_peek),
11633         (gst_collectpads_pop), (gst_collectpads_available),
11634         (gst_collectpads_read), (gst_collectpads_flush),
11635         (gst_collectpads_chain):
11636         * gst/base/gstcollectpads.h:
11637         * gst/elements/Makefile.am:
11638         * gst/elements/gstelements.c:
11639         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11640         (gst_fakesink_get_times), (gst_fakesink_event),
11641         (gst_fakesink_preroll), (gst_fakesink_render):
11642         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11643         (gst_filesink_init), (gst_filesink_set_location),
11644         (gst_filesink_open_file), (gst_filesink_close_file),
11645         (gst_filesink_pad_query), (gst_filesink_event),
11646         (gst_filesink_render), (gst_filesink_change_state):
11647         * gst/elements/gstfilesink.h:
11648         Added object to help in making collect pad based elements.
11649         Ported filesink.
11650         Make event function in sink baseclass return gboolean.
11651
11652 2005-05-05  Wim Taymans  <wim@fluendo.com>
11653
11654         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11655         (gst_bin_get_by_name):
11656         * gst/gstbuffer.h:
11657         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11658         (gst_clock_finalize):
11659         * gst/gstdata.c: (gst_data_replace):
11660         * gst/gstdata.h:
11661         * gst/gstelement.c: (gst_element_request_pad),
11662         (gst_element_pads_activate):
11663         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11664         (gst_object_unref):
11665         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11666         (gst_pad_set_checkgetrange_function),
11667         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11668         (gst_pad_check_pull_range), (gst_pad_pull_range),
11669         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11670         (gst_pad_pause_task), (gst_pad_stop_task):
11671         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11672         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11673         Fix name lookup in GstBin.
11674         Added _data_replace() function and _buffer_replace()
11675         Use finalize method to clean up clock.
11676         Fix refcounting on request pads.
11677         Fix pad schedule mode error.
11678         Some more object refcounting debug info,
11679
11680
11681 2005-05-04  Andy Wingo <wingo@pobox.com>
11682
11683         * check/Makefile.am:
11684         * docs/gst/tmpl/gstatomic.sgml:
11685         * docs/gst/tmpl/gstplugin.sgml:
11686         * gst/base/gstbasesink.c: (gst_basesink_activate):
11687         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11688         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11689         (gst_basesrc_query), (gst_basesrc_set_property),
11690         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11691         (gst_basesrc_activate):
11692         * gst/base/gstbasesrc.h:
11693         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11694         (gst_base_transform_src_activate):
11695         * gst/elements/gstelements.c:
11696         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11697         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11698         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11699         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11700         (gst_type_find_element_checkgetrange),
11701         (gst_type_find_element_activate):
11702         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11703         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11704         (gst_caps_load_thyself):
11705         * gst/gstelement.c: (gst_element_pads_activate),
11706         (gst_element_save_thyself), (gst_element_restore_thyself):
11707         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11708         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11709         * gst/gstpad.h:
11710         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11711         (gst_xml_parse_file), (gst_xml_parse_memory),
11712         (gst_xml_get_element), (gst_xml_make_element):
11713         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11714         (_file_index_id_save_xml), (gst_file_index_commit):
11715         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11716         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11717         (load_paths):
11718         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11719         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11720         * tools/gst-complete.c: (main):
11721         * tools/gst-compprep.c: (main):
11722         * tools/gst-inspect.c: (print_element_properties_info):
11723         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11724         * tools/gst-xmlinspect.c: (print_element_properties):
11725         GCC 4 fixen.
11726         
11727 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11728
11729         * gst/gstplugin.c: (gst_plugin_check_module),
11730         (gst_plugin_check_file), (gst_plugin_load_file):
11731             apply patch from #172526 to make register work on MacOSX
11732
11733 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11734
11735         * docs/gst/tmpl/gstconfig.sgml:
11736         * gst/gstconfig.h.in:
11737           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11738         * testsuite/debug/printf_extension.c: (main):
11739           Do not use GST_PTR_FORMAT on pointers to types with
11740           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11741         * testsuite/elements/property.h:
11742           use correct printf format
11743
11744 2005-05-02  Wim Taymans  <wim@fluendo.com>
11745
11746         * docs/design/draft-push-pull.txt:
11747         * docs/design/draft-query.txt:
11748         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11749         (gst_basesrc_start):
11750         Added draft for new query API.
11751         Added draft for better selecting scheduling methods.
11752         Make basesrc ignore length if the subclass does not support
11753         it.
11754
11755 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11756
11757         * gst/Makefile.am:
11758           possible fixes for automake-1.5 - _LIBADD is reserved
11759
11760 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11761
11762         * docs/faq/Makefile.am:
11763         * docs/manual/Makefile.am:
11764         * docs/manuals.mak:
11765         * docs/pwg/Makefile.am:
11766         * gst/Makefile.am:
11767           possible fixes for automake-1.5
11768
11769 2005-04-28  Wim Taymans  <wim@fluendo.com>
11770
11771         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11772         (gst_basesink_pad_getcaps), (gst_basesink_init),
11773         (gst_basesink_do_sync):
11774         * gst/gstclock.c: (gst_clock_entry_new):
11775         * gst/gstevent.c: (gst_event_discont_get_value):
11776         * gst/gstpipeline.c: (pipeline_bus_handler),
11777         (gst_pipeline_change_state):
11778         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11779         Better debugging of clocking info.
11780         Allow NULL values when getting discont values.
11781
11782 2005-04-27  Wim Taymans  <wim@fluendo.com>
11783
11784         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11785         * check/gst/gstpad.c: (gst_pad_suite):
11786         Increase timeout for checks.
11787
11788 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11789
11790         * check/Makefile.am:
11791           fix the broken rule for cleanup.  Apparently this rule is
11792           only needed on FC2, so maybe this warrants further autotool
11793           inspection.
11794
11795 2005-04-26  Wim Taymans  <wim@fluendo.com>
11796
11797         * gst/gsttrashstack.h:
11798         Ooohh. a nasty one! After having a failed pop() from the stack,
11799         it's possible that the stack is empty. In that case, don't
11800         follow the NULL pointer.
11801
11802 2005-04-25  Wim Taymans  <wim@fluendo.com>
11803
11804         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11805         (gst_pad_set_checkgetrange_function),
11806         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11807         (gst_pad_check_pull_range), (gst_pad_pull_range),
11808         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11809         (gst_pad_pause_task), (gst_pad_stop_task):
11810         * gst/gstplugin.c: (gst_plugin_load):
11811         * gst/gstplugin.h:
11812         Remove gst_library_load as it does more harm than good with
11813         the new g_module flags.
11814         Revert bogus caps template check in pad linking, pad caps
11815         are important when linking not the template, which is more
11816         general than the current caps.
11817
11818 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11819
11820         * gst/autoplug/.cvsignore:
11821         * gst/autoplug/Makefile.am:
11822         * gst/autoplug/gstsearchfuncs.c:
11823         * gst/autoplug/gstsearchfuncs.h:
11824         * gst/autoplug/gstspider.c:
11825         * gst/autoplug/gstspider.h:
11826         * gst/autoplug/gstspideridentity.c:
11827         * gst/autoplug/gstspideridentity.h:
11828         * gst/autoplug/spidertest.c:
11829           Die, spider, die.
11830
11831 2005-04-25  Wim Taymans  <wim@fluendo.com>
11832
11833         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11834         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11835         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11836         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11837         * gst/gstpad.h:
11838         Added stubs for unimplemented functions. 
11839
11840 2005-04-24  David Schleef  <ds@schleef.org>
11841
11842         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11843         please fix.
11844
11845 2005-04-24  David Schleef  <ds@schleef.org>
11846
11847         Convert everything from GstAtomicInt to g_atomic_int_*, and
11848         remove gstatomic.
11849         * gst/Makefile.am:
11850         * gst/gstatomic.c:
11851         * gst/gstatomic.h:
11852         * gst/gstatomic_impl.h:
11853         * gst/gstbuffer.c:
11854         * gst/gstcaps.c:
11855         * gst/gstcaps.h:
11856         * gst/gstclock.c:
11857         * gst/gstclock.h:
11858         * gst/gstdata.c:
11859         * gst/gstdata.h:
11860         * gst/gstdata_private.h:
11861         * gst/gstevent.c:
11862         * gst/gstinfo.c:
11863         * gst/gstinfo.h:
11864         * gst/gstmessage.c:
11865         * gst/gstobject.c:
11866         * gst/gstobject.h:
11867         * gst/gststructure.c:
11868         * gst/gststructure.h:
11869         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11870         * gst/gstutils.h:
11871
11872 2005-04-24  David Schleef  <ds@schleef.org>
11873
11874         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11875         make the regressions tests work.  Remove some code that is no
11876         longer true.
11877         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11878         Disable warning for pads without templates.
11879
11880 2005-04-24  David Schleef  <ds@schleef.org>
11881
11882         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11883         functions that handle filtered links.
11884         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11885         removed functions.
11886         * gst/gstutils.c: Fix/remove utility functions that handle
11887         filtered caps.
11888         * gst/gstutils.h:
11889         * gst/gstvalue.c: Add serialization/deserialization of caps
11890         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11891         requires fixing so that the filter caps notation creates
11892         a capsfilter element and sets the filter_caps property.  I
11893         think everyone probably wants to keep the shorthand notation.
11894         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11895         * docs/gst/tmpl/gstpad.sgml:
11896
11897         * gst/elements/gstelements.c: Register capsfilter element.
11898         * gst/Makefile.am: fix spacing
11899         * docs/random/ds/0.9-suggested-changes: random
11900
11901 2005-04-23  David Schleef  <ds@schleef.org>
11902
11903         * gst/elements/Makefile.am:
11904         * gst/elements/gstcapsfilter.c: New element that acts like an
11905         identity, but filters caps.  Will eventually replace filtered
11906         caps in pad linking.
11907         * gst/gstutils.c: (gst_element_create_all_pads): New function
11908         to create all the ALWAYS pads that are registered with an
11909         element class.  This functionality should eventually be
11910         merged in with GstElement initialization.
11911         * gst/gstutils.h:
11912         * testsuite/trigger/README: part of trigger test code that should
11913         have been checked in a long time ago.
11914
11915 2005-04-23  David Schleef  <ds@schleef.org>
11916
11917         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11918         needed with new versions of libtool (nobody will confirm this),
11919         and hard to carry around.
11920         * gst/autoplug/Makefile.am:
11921         * gst/base/Makefile.am:
11922         * gst/elements/Makefile.am:
11923         * gst/indexers/Makefile.am:
11924         * gst/schedulers/Makefile.am:
11925         * libs/gst/bytestream/Makefile.am:
11926         * libs/gst/control/Makefile.am:
11927         * libs/gst/dataprotocol/Makefile.am:
11928         * libs/gst/getbits/Makefile.am:
11929
11930 2005-04-21  Wim Taymans  <wim@fluendo.com>
11931
11932         * docs/design/draft-push-pull.txt:
11933         * docs/design/part-MT-refcounting.txt:
11934         * docs/design/part-TODO.txt:
11935         * docs/design/part-caps.txt:
11936         * docs/design/part-events.txt:
11937         * docs/design/part-gstbus.txt:
11938         * docs/design/part-gstpipeline.txt:
11939         * docs/design/part-messages.txt:
11940         * docs/design/part-push-pull.txt:
11941         * docs/design/part-query.txt:
11942         Some more docs.
11943
11944 2005-04-21  Wim Taymans  <wim@fluendo.com>
11945
11946         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11947         (gst_message_new), (gst_message_new_error),
11948         (gst_message_new_warning), (gst_message_new_tag),
11949         (gst_message_new_state_changed), (gst_message_new_application),
11950         (gst_message_get_structure):
11951         * gst/gstmessage.h:
11952         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11953         (gst_structure_copy_conditional):
11954         Use parent refcount in GstMessage to ensure GstStructure
11955         consistency.
11956         Cleaned up headers a bit.
11957         
11958
11959 2005-04-20  Wim Taymans  <wim@fluendo.com>
11960
11961         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11962         (gst_basesink_pad_getcaps), (gst_basesink_init),
11963         (gst_basesink_chain_unlocked):
11964         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11965         (gst_type_find_helper):
11966         * gst/elements/gsttypefindelement.c:
11967         (gst_type_find_element_have_type), (gst_type_find_element_init),
11968         (stop_typefinding), (gst_type_find_element_handle_event),
11969         (find_suggest), (gst_type_find_element_chain),
11970         (gst_type_find_element_checkgetrange),
11971         (gst_type_find_element_getrange), (do_typefind),
11972         (gst_type_find_element_activate):
11973         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11974         (gst_buffer_default_free), (gst_buffer_default_copy),
11975         (gst_buffer_set_caps):
11976         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11977         (gst_caps_replace):
11978         * gst/gstmessage.c: (gst_message_new),
11979         (gst_message_new_state_changed):
11980         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11981         (gst_pad_set_checkgetrange_function),
11982         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11983         (gst_pad_set_caps), (gst_pad_check_pull_range),
11984         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11985         * gst/gstpad.h:
11986         * gst/gsttypefind.c: (gst_type_find_register):
11987         Make gst_caps_replace() work like other _replace() functions.
11988         Use _caps_replace() where possible.
11989         Make sure _message_new() initialises its field.
11990         Add gst_static_pad_template_get_caps()
11991
11992
11993 2005-04-18  Andy Wingo  <wingo@pobox.com>
11994
11995         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11996         on the peer, not the pad. I think that was a typo. Pass an extra
11997         arg to see if random access is possible. Activate the pads as
11998         PULL_RANGE if possible.
11999
12000         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12001
12002         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12003         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12004         to PROP_....
12005
12006 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12007
12008         * docs/faq/using.xml:
12009           Add note on gstreamer-properties (#154996).
12010
12011 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12012
12013         * docs/random/bbb/optional-properties:
12014           Some analysis on optional properties.
12015
12016 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12017
12018         * docs/gst/tmpl/gstelementfactory.sgml:
12019         * gst/gstelement.h:
12020         * gst/gstelementfactory.c: (gst_element_factory_init),
12021         (gst_element_factory_cleanup), (gst_element_register),
12022         (__gst_element_factory_add_static_pad_template),
12023         (gst_element_factory_get_static_pad_templates),
12024         (gst_element_factory_can_src_caps),
12025         (gst_element_factory_can_sink_caps):
12026         * gst/registries/Makefile.am:
12027         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12028         (gst_xml_registry_class_init), (gst_xml_registry_init),
12029         (gst_xml_registry_new), (gst_xml_registry_set_property),
12030         (gst_xml_registry_get_property), (get_time), (make_dir),
12031         (gst_xml_registry_get_perms_func),
12032         (plugin_times_older_than_recurse), (plugin_times_older_than),
12033         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12034         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12035         (add_to_char_array), (read_string), (read_uint), (read_enum),
12036         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12037         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12038         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12039         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12040         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12041         (gst_xml_registry_rebuild):
12042         * gst/registries/gstlibxmlregistry.h:
12043         * tools/gst-compprep.c: (main):
12044         * tools/gst-inspect.c: (print_pad_templates_info):
12045         * tools/gst-xmlinspect.c: (print_element_info):
12046           Use libxml2 for registry parsing, use staticpadtemplates in
12047           elementfactories. Makes gst_init() +/- 10x faster.
12048
12049 2005-04-12  Wim Taymans  <wim@fluendo.com>
12050
12051         * gst/base/Makefile.am:
12052         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12053         (gst_basesink_pad_getcaps), (gst_basesink_init),
12054         (gst_basesink_event), (gst_basesink_change_state):
12055         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12056         (gst_basesrc_init), (gst_basesrc_query),
12057         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12058         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12059         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12060         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12061         (gst_basesrc_stop), (gst_basesrc_activate),
12062         (gst_basesrc_change_state):
12063         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12064         (helper_find_suggest), (gst_type_find_helper):
12065         * gst/base/gsttypefindhelper.h:
12066         * gst/elements/Makefile.am:
12067         * gst/elements/gstelements.c:
12068         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12069         (gst_fakesink_get_times), (gst_fakesink_event),
12070         (gst_fakesink_preroll), (gst_fakesink_render):
12071         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12072         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12073         (gst_fakesrc_get_property), (gst_fakesrc_create),
12074         (gst_fakesrc_start), (gst_fakesrc_stop):
12075         * gst/elements/gstfakesrc.h:
12076         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12077         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12078         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12079         (gst_filesrc_create_read), (gst_filesrc_create),
12080         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12081         (gst_filesrc_start):
12082         * gst/elements/gsttypefindelement.c:
12083         (gst_type_find_element_have_type), (gst_type_find_element_init),
12084         (start_typefinding), (stop_typefinding), (push_buffer_store),
12085         (gst_type_find_element_handle_event),
12086         (gst_type_find_element_chain),
12087         (gst_type_find_element_checkgetrange),
12088         (gst_type_find_element_getrange), (do_typefind),
12089         (gst_type_find_element_activate),
12090         (gst_type_find_element_change_state):
12091         * gst/elements/gsttypefindelement.h:
12092         * gst/gstpipeline.c: (pipeline_bus_handler):
12093         Added typefind helper.
12094         Small preroll fix in the base sink.
12095         Disable typefind code in basesrc.
12096         Crude port of typefindelement.
12097         Fakesrc cleanups.
12098
12099
12100 2005-04-11  Wim Taymans  <wim@fluendo.com>
12101
12102         * check/gst/gstbus.c: (gstbus_suite):
12103         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12104         * check/gstcheck.h:
12105           Fix up the timeout so that the test does not fail.
12106
12107 2005-04-06  Wim Taymans  <wim@fluendo.com>
12108
12109         * gst/base/README:
12110         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12111         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12112         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12113         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12114         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12115         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12116         (gst_basesrc_stop), (gst_basesrc_activate),
12117         (gst_basesrc_change_state), (basesrc_find_peek),
12118         (basesrc_find_suggest), (gst_basesrc_type_find):
12119         * gst/base/gstbasesrc.h:
12120         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12121         (gst_filesrc_class_init), (gst_filesrc_init),
12122         (gst_filesrc_finalize), (gst_filesrc_set_location),
12123         (gst_filesrc_set_property), (gst_filesrc_get_property),
12124         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12125         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12126         (gst_filesrc_create_read), (gst_filesrc_create),
12127         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12128         * gst/elements/gstfilesrc.h:
12129         * gst/gstelement.c: (gst_element_get_state_func),
12130         (gst_element_lost_state), (gst_element_pads_activate):
12131         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12132         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12133         (gst_pad_pull_range):
12134         * gst/gstpad.h:
12135         More work on the generic source base class, implement seeking,
12136         query.
12137         Make filesrc extend the base source class.
12138         Added gst_pad_set_checkgetrange_function to GstPad.
12139
12140 2005-04-06  Andy Wingo  <wingo@pobox.com>
12141
12142         * pkgconfig/gstreamer-base.pc.in:
12143         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12144
12145         * pkgconfig/Makefile.am:
12146         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12147
12148 2005-04-04  Wim Taymans  <wim@fluendo.com>
12149
12150         * gst/base/Makefile.am:
12151         * gst/base/README:
12152         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12153         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12154         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12155         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12156         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12157         (gst_basesrc_base_init), (gst_basesrc_class_init),
12158         (gst_basesrc_init), (gst_basesrc_get_formats),
12159         (gst_basesrc_get_query_types), (gst_basesrc_query),
12160         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12161         (gst_basesrc_set_property), (gst_basesrc_get_property),
12162         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12163         (gst_basesrc_loop), (gst_basesrc_activate),
12164         (gst_basesrc_change_state):
12165         * gst/base/gstbasesrc.h:
12166         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12167         (gst_fakesrc_class_init), (gst_fakesrc_init),
12168         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12169         (gst_fakesrc_get_property), (gst_fakesrc_create):
12170         * gst/elements/gstfakesrc.h:
12171         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12172         (gst_filesrc_open_file), (gst_filesrc_loop),
12173         (gst_filesrc_activate), (filesrc_find_peek),
12174         (gst_filesrc_type_find):
12175         Made base source class, make fakesrc extend it.
12176         Add comments to basesink class.
12177         Some filesrc cleanup.
12178
12179 2005-03-31  David Schleef  <ds@schleef.org>
12180
12181         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12182         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12183         expected to link against libgstreamer.
12184         * gst/base/Makefile.am: link against libgstreamer
12185         * gst/elements/Makefile.am: same
12186
12187 2005-03-31  Andy Wingo  <wingo@pobox.com>
12188
12189         * tests/instantiate/Makefile.am:
12190         * tests/instantiate/caps.c: Add test to test speed of caps copy
12191         and free.
12192
12193         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12194         GMemChunk to be fair.
12195
12196         * gst/gsttrashstack.h: Remove warning about using the fallback
12197         trash stack implementation, it's still faster than malloc.
12198
12199 2005-03-30  Andy Wingo  <wingo@pobox.com>
12200
12201         * tests/complexity.c: Add a copyright.
12202
12203 2005-03-31  Wim Taymans  <wim@fluendo.com>
12204
12205         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12206         (gst_base_transform_class_init), (gst_base_transform_init),
12207         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12208         (gst_base_transform_get_property),
12209         (gst_base_transform_sink_activate),
12210         (gst_base_transform_src_activate),
12211         (gst_base_transform_change_state):
12212         * gst/base/gstbasetransform.h:
12213         * gst/elements/gstidentity.c: (gst_identity_class_init),
12214         (gst_identity_event), (gst_identity_check_perfect),
12215         (gst_identity_transform), (gst_identity_start),
12216         (gst_identity_stop):
12217         Added start/stop methods to transform base class so subclasses 
12218         don't need to deal with state changes even.
12219
12220 2005-03-31  Wim Taymans  <wim@fluendo.com>
12221
12222         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12223         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12224         * gst/gstevent.h:
12225         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12226         (gst_pad_pull_range):
12227         Added rate to the discont event to prepare for variable speed
12228         and reverse playback.
12229
12230 2005-03-29  David Schleef  <ds@schleef.org>
12231
12232         * configure.ac:
12233         * testsuite/trigger/Makefile.am:
12234         * testsuite/trigger/trigger.c: A little example program to show
12235         how trigger-based elements can work.
12236
12237 2005-03-29  Wim Taymans  <wim@fluendo.com>
12238
12239         * gst/base/Makefile.am:
12240         * gst/base/README:
12241         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12242         (gst_basesink_base_init), (gst_basesink_class_init),
12243         (gst_basesink_pad_getcaps), (gst_basesink_init),
12244         (gst_basesink_activate), (gst_basesink_change_state):
12245         * gst/base/gstbasesink.h:
12246         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12247         (gst_base_transform_base_init), (gst_base_transform_finalize),
12248         (gst_base_transform_class_init), (gst_base_transform_init),
12249         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12250         (gst_base_transform_event), (gst_base_transform_getrange),
12251         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12252         (gst_base_transform_set_property),
12253         (gst_base_transform_get_property),
12254         (gst_base_transform_sink_activate),
12255         (gst_base_transform_src_activate),
12256         (gst_base_transform_change_state):
12257         * gst/base/gstbasetransform.h:
12258         * gst/elements/gstidentity.c: (gst_identity_finalize),
12259         (gst_identity_class_init), (gst_identity_init),
12260         (gst_identity_event), (gst_identity_check_perfect),
12261         (gst_identity_transform), (gst_identity_set_property),
12262         (gst_identity_get_property), (gst_identity_change_state):
12263         * gst/elements/gstidentity.h:
12264         * gst/gstelement.c: (gst_element_get_state_func),
12265         (gst_element_lost_state), (gst_element_pads_activate):
12266         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12267         (gst_pad_check_pull_range), (gst_pad_pull_range):
12268         * gst/gstpad.h:
12269         Simplify pad activation.
12270         Added function to check if pull_range can be performed.
12271         Error out when pulling inactive or flushing pads.
12272         Removed const from refcounted types as it does not make sense.
12273         Simplify pad templates in basesink
12274         Added base class for simple 1-to-1 transforms.
12275         Make identity subclass the base transform.
12276
12277 2005-03-29  Andy Wingo  <wingo@pobox.com>
12278
12279         * docs/libs/gstreamer-libs-overrides.txt: 
12280         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12281         really don't understand what's going on, but like whatever. I want
12282         green buildbot!
12283
12284         * docs/gst/Makefile.am:
12285         * docs/libs/Makefile.am: Dist the overrides files.
12286
12287         * check/Makefile.am (clean-local): Remove .libs directories.
12288
12289         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12290         elements to EXTRA_DIST, so po/ files are happy.
12291
12292         * po/POTFILES.in: Er, remove it here.
12293
12294         * po/POTFILES: Remove gstspider.c.
12295
12296         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12297
12298         * docs/libs/gstreamer-libs-docs.sgml: 
12299         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12300         bytestream.
12301
12302         * tests/complexity.c (main): Set the length of the preroll queue
12303         on the sinks to prevent a lockup.
12304
12305         * libs/gst/dataprotocol/Makefile.am: 
12306         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12307         the same as the one in check/gst-libs/gdp.c.
12308
12309         * po/, docs/gst/: Commit automatic changes to docs and po files.
12310
12311         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12312         the versioned libgstbase.
12313
12314         * check/Makefile.am: Depend on an unversioned gst-register, seems
12315         to make autoconf happier.
12316
12317         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12318
12319 2005-03-28  Wim Taymans  <wim@fluendo.com>
12320
12321         * configure.ac:
12322         * docs/design/part-gstelement.txt:
12323         * docs/design/part-negotiation.txt:
12324         * docs/design/part-preroll.txt:
12325         * docs/design/part-scheduling.txt:
12326         * docs/design/part-states.txt:
12327         * gst/Makefile.am:
12328         * gst/base/Makefile.am:
12329         * gst/base/README:
12330         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12331         (gst_basesink_base_init), (gst_basesink_class_init),
12332         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12333         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12334         (gst_basesink_set_pad_functions),
12335         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12336         (gst_basesink_set_property), (gst_basesink_get_property),
12337         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12338         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12339         (gst_basesink_preroll_queue_push),
12340         (gst_basesink_preroll_queue_empty),
12341         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12342         (gst_basesink_event), (gst_basesink_get_times),
12343         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12344         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12345         (gst_basesink_loop), (gst_basesink_activate),
12346         (gst_basesink_change_state):
12347         * gst/base/gstbasesink.h:
12348         * gst/elements/Makefile.am:
12349         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12350         (gst_fakesink_class_init), (gst_fakesink_init),
12351         (gst_fakesink_set_property), (gst_fakesink_get_property),
12352         (gst_fakesink_get_times), (gst_fakesink_event),
12353         (gst_fakesink_preroll), (gst_fakesink_render),
12354         (gst_fakesink_change_state):
12355         * gst/elements/gstfakesink.h:
12356         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12357         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12358         * gst/gstelement.c: (gst_element_add_pad),
12359         (gst_element_get_state_func), (gst_element_abort_state),
12360         (gst_element_commit_state), (gst_element_lost_state),
12361         (gst_element_set_state), (gst_element_pads_activate):
12362         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12363         * gst/gstpipeline.c: (gst_pipeline_send_event),
12364         (gst_pipeline_change_state):
12365         Added state change code.
12366         Added/updated docs.
12367         Added sink base class, make fakesink extend the base class.
12368         Small cleanups in GstPipeline.
12369
12370 2005-03-26  David Schleef  <ds@schleef.org>
12371
12372         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12373         is broken and should be implemented in a different library.
12374         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12375         * gst/gst.h: remove gstcpu.h
12376         * gst/gstcpu.c: remove
12377         * gst/gstcpu.h: remove
12378         * gst/Makefile.am.future: Remove this file.  It's ancient.
12379
12380 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12381
12382         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12383         (gst_bin_send_event):
12384           Add default event/set_manager handlers. The set_manager handler
12385           takes care that the manager is distributed over kids that were
12386           already in the bin before the manager was set. The event handler
12387           is a utility virtual function that sends the event over all sinks,
12388           so that gst_element_send_event (bin, event); has the expected
12389           behaviour.
12390         * gst/gstpad.c: (gst_pad_event_default):
12391           Re-install default event handling for discontinuities, so that
12392           seeking works without requiring hacks in applications or extra
12393           code in sinks.
12394         * gst/gstpipeline.c: (gst_pipeline_class_init),
12395         (gst_pipeline_send_event):
12396           Half hack, half utility: set a pipeline to PAUSED for seek events,
12397           since that is the only way we can guarantee a/v sync. Means that
12398           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12399           and it "just works".
12400
12401 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12402
12403         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12404           Lock/unlock mismatch.
12405
12406 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12407
12408         * docs/faq/gst-uninstalled:
12409           add gst-plugins-base
12410         * docs/gst/Makefile.am:
12411           don't error out until docs are fixed
12412         * docs/gst/gstreamer.types:
12413           remove thread
12414
12415 2005-03-22  Wim Taymans  <wim@fluendo.com>
12416
12417         * check/Makefile.am:
12418         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12419         * gst/gststructure.c: (gst_structure_set_valist),
12420         (gst_structure_copy_conditional):
12421         Activated more tests.
12422         Added message test.
12423         Added G_TYPE_POINTER to GstStructure.
12424         
12425
12426 2005-03-22  Wim Taymans  <wim@fluendo.com>
12427
12428         * docs/design/part-TODO.txt:
12429         * docs/design/part-events.txt:
12430         * docs/design/part-gstbin.txt:
12431         * docs/design/part-gstbus.txt:
12432         * docs/design/part-gstpipeline.txt:
12433         * docs/design/part-messages.txt:
12434         * gst/gstbus.c:
12435         * gst/gstmessage.c:
12436         Docs updates
12437
12438 2005-03-21  Wim Taymans  <wim@fluendo.com>
12439
12440         * gst/gstbus.c: (gst_bus_post):
12441         Fix copy-and-paste error.
12442
12443 2005-03-21  Wim Taymans  <wim@fluendo.com>
12444
12445         * check/Makefile.am:
12446         * gst/Makefile.am:
12447         * gst/elements/Makefile.am:
12448         * gst/elements/gstelements.c:
12449         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12450         (gst_fakesink_event), (gst_fakesink_chain):
12451         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12452         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12453         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12454         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12455         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12456         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12457         (gst_fakesrc_loop), (gst_fakesrc_activate),
12458         (gst_fakesrc_change_state):
12459         * gst/elements/gstfakesrc.h:
12460         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12461         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12462         (gst_filesrc_open_file), (gst_filesrc_loop),
12463         (gst_filesrc_activate), (gst_filesrc_change_state),
12464         (filesrc_find_peek), (filesrc_find_suggest),
12465         (gst_filesrc_type_find):
12466         * gst/elements/gstidentity.c: (gst_identity_finalize),
12467         (gst_identity_class_init), (gst_identity_init),
12468         (gst_identity_proxy_getcaps), (identity_queue_push),
12469         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12470         (gst_identity_getrange), (gst_identity_chain),
12471         (gst_identity_sink_loop), (gst_identity_src_loop),
12472         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12473         (gst_identity_set_property), (gst_identity_get_property),
12474         (gst_identity_change_state):
12475         * gst/elements/gstidentity.h:
12476         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12477         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12478         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12479         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12480         (gst_tee_sink_activate):
12481         * gst/elements/gsttee.h:
12482         * gst/gst.c: (gst_register_core_elements), (init_post):
12483         * gst/gst.h:
12484         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12485         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12486         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12487         (gst_bin_change_state):
12488         * gst/gstbin.h:
12489         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12490         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12491         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12492         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12493         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12494         (bus_watch_callback), (bus_watch_destroy),
12495         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12496         (poll_timeout), (gst_bus_poll):
12497         * gst/gstbus.h:
12498         * gst/gstcaps.h:
12499         * gst/gstdata.h:
12500         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12501         (gst_element_post_message), (gst_element_message_full),
12502         (gst_element_get_state_func), (gst_element_get_state),
12503         (gst_element_abort_state), (gst_element_commit_state),
12504         (gst_element_lost_state), (gst_element_set_state),
12505         (gst_element_pads_activate), (gst_element_change_state),
12506         (gst_element_dispose), (gst_element_set_manager_func),
12507         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12508         (gst_element_set_manager), (gst_element_get_manager),
12509         (gst_element_set_bus), (gst_element_get_bus),
12510         (gst_element_set_scheduler), (gst_element_get_scheduler):
12511         * gst/gstelement.h:
12512         * gst/gstevent.c: (gst_event_new_segment_seek),
12513         (gst_event_new_flush):
12514         * gst/gstevent.h:
12515         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12516         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12517         (gst_message_new_eos), (gst_message_new_error),
12518         (gst_message_new_warning), (gst_message_new_tag),
12519         (gst_message_new_state_changed), (gst_message_new_application),
12520         (gst_message_get_structure), (gst_message_parse_tag),
12521         (gst_message_parse_state_changed), (gst_message_parse_error),
12522         (gst_message_parse_warning):
12523         * gst/gstmessage.h:
12524         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12525         (gst_real_pad_set_property), (gst_pad_set_active),
12526         (gst_pad_is_active), (gst_pad_set_blocked_async),
12527         (gst_pad_set_blocked), (gst_pad_is_blocked),
12528         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12529         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12530         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12531         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12532         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12533         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12534         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12535         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12536         (gst_pad_set_caps), (gst_pad_configure_sink),
12537         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12538         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12539         (gst_real_pad_dispose), (gst_real_pad_finalize),
12540         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12541         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12542         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12543         * gst/gstpad.h:
12544         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12545         (pipeline_bus_handler), (gst_pipeline_change_state),
12546         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12547         * gst/gstpipeline.h:
12548         * gst/gstprobe.h:
12549         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12550         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12551         (gst_queue_link_src), (gst_queue_bufferalloc),
12552         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12553         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12554         (gst_queue_loop), (gst_queue_handle_src_event),
12555         (gst_queue_handle_src_query), (gst_queue_src_activate),
12556         (gst_queue_change_state):
12557         * gst/gstqueue.h:
12558         * gst/gstscheduler.c: (gst_scheduler_init),
12559         (gst_scheduler_dispose), (gst_scheduler_create_task),
12560         (gst_scheduler_factory_create):
12561         * gst/gstscheduler.h:
12562         * gst/gststructure.c: (gst_structure_get_type),
12563         (gst_structure_copy_conditional):
12564         * gst/gststructure.h:
12565         * gst/gsttaginterface.h:
12566         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12567         (gst_task_init), (gst_task_dispose), (gst_task_create),
12568         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12569         (gst_task_pause):
12570         * gst/gsttask.h:
12571         * gst/gstthread.c:
12572         * gst/gstthread.h:
12573         * gst/gsttypes.h:
12574         * gst/schedulers/Makefile.am:
12575         * gst/schedulers/cothreads_compat.h:
12576         * gst/schedulers/entryscheduler.c:
12577         * gst/schedulers/faircothreads.c:
12578         * gst/schedulers/faircothreads.h:
12579         * gst/schedulers/fairscheduler.c:
12580         * gst/schedulers/gstbasicscheduler.c:
12581         * gst/schedulers/gstoptimalscheduler.c:
12582         * gst/schedulers/gthread-cothreads.h:
12583         * gst/schedulers/threadscheduler.c:
12584         (gst_thread_scheduler_task_get_type),
12585         (gst_thread_scheduler_task_class_init),
12586         (gst_thread_scheduler_task_init),
12587         (gst_thread_scheduler_task_start),
12588         (gst_thread_scheduler_task_stop),
12589         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12590         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12591         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12592         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12593         (plugin_init):
12594         * libs/gst/Makefile.am:
12595         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12596         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12597         (gst_file_pad_parent_set):
12598         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12599         (gst_dp_event_from_packet):
12600         * tests/complexity.c: (main):
12601         * tests/mass_elements.c: (main):
12602         * testsuite/states/locked.c: (message_received), (main):
12603         * testsuite/states/parent.c: (main):
12604         * tools/gst-inspect.c: (print_element_flag_info),
12605         (print_implementation_info), (print_pad_info):
12606         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12607         (main):
12608         * tools/gst-md5sum.c: (event_loop), (main):
12609         * tools/gst-typefind.c: (main):
12610         * tools/gst-xmlinspect.c: (print_element_info):
12611         Next big merge.
12612         Added GstBus for mainloop integration.
12613         Added GstMessage for sending notifications on the bus.
12614         Added GstTask as an abstraction for pipeline entry points.
12615         Removed GstThread.
12616         Removed Schedulers.
12617         Simplified GstQueue for multithreaded core.
12618         Made _link threadsafe, removed old capsnego.
12619         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12620         Added pad blocking functions.
12621         Reworked scheduling functions in GstPad to prepare for
12622         scheduling updates soon.
12623         Moved events out of data stream.
12624         Simplified GstEvent types.
12625         Added return values to push/pull.
12626         Removed clocking from GstElement.
12627         Added prototypes for state change function for next merge.
12628         Removed iterate from bins and state change management.
12629         Fixed some elements, disabled others for now.
12630         Fixed -inspect and -launch.
12631         Added check for GstBus.
12632
12633 2005-03-10  Wim Taymans  <wim@fluendo.com>
12634
12635         * docs/design/part-MT-refcounting.txt:
12636         * docs/design/part-clocks.txt:
12637         * docs/design/part-gstelement.txt:
12638         * docs/design/part-gstobject.txt:
12639         * docs/design/part-standards.txt:
12640         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12641         (gst_bin_remove_func), (gst_bin_remove):
12642         * gst/gstbin.h:
12643         * gst/gstbuffer.c:
12644         * gst/gstcaps.h:
12645         * testsuite/clock/clock1.c: (main):
12646         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12647         (main):
12648         * testsuite/dlopen/loadgst.c: (do_test):
12649         * testsuite/refcounting/bin.c: (add_remove_test1),
12650         (add_remove_test2), (main):
12651         * testsuite/refcounting/element.c: (main):
12652         * testsuite/refcounting/element_pad.c: (main):
12653         * testsuite/refcounting/pad.c: (main):
12654         * tools/gst-launch.c: (sigint_handler_sighandler):
12655         * tools/gst-typefind.c: (main):
12656         Doc updates.
12657         Added doc about clock.
12658         removed gst_bin_iterate_recurse_up(), marked methods
12659         for removal.
12660         Fix more testsuites.
12661
12662 2005-03-09  Wim Taymans  <wim@fluendo.com>
12663
12664         * gst/gstpad.c: (gst_pad_get_direction),
12665         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12666         (gst_pad_collect_valist):
12667         * testsuite/bins/interface.c: (main):
12668         * testsuite/caps/audioscale.c: (test_caps):
12669         * testsuite/caps/caps.c: (test1), (test2), (test3):
12670         * testsuite/caps/deserialize.c: (main):
12671         * testsuite/caps/enumcaps.c: (main):
12672         * testsuite/caps/filtercaps.c: (main):
12673         * testsuite/caps/intersect2.c: (main):
12674         * testsuite/caps/random.c: (main):
12675         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12676         * testsuite/caps/sets.c: (check_caps):
12677         * testsuite/caps/simplify.c: (check_caps), (main):
12678         * testsuite/caps/subtract.c: (check_caps):
12679         Fix _pad_get_direction wrt ghostpads.
12680         Fix caps testsuite.
12681
12682 2005-03-09  Wim Taymans  <wim@fluendo.com>
12683
12684         * check/Makefile.am:
12685         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12686         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12687         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12688         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12689         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12690         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12691         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12692         (bin_element_is_sink), (gst_bin_iterate_sinks),
12693         (gst_bin_iterate_all_by_interface):
12694         * gst/gstbin.h:
12695         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12696         (gst_element_change_state), (gst_element_dispose),
12697         (gst_element_finalize), (gst_element_set_loop_function):
12698         * gst/gstelement.h:
12699         * gst/gstiterator.c: (find_custom_fold_func):
12700         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12701         (gst_pad_collectv), (gst_pad_collect_valist),
12702         (gst_pad_template_new):
12703         * gst/gstpipeline.c: (gst_pipeline_class_init),
12704         (gst_pipeline_dispose), (gst_pipeline_set_property),
12705         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12706         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12707         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12708         * gst/gstutils.h:
12709         * gst/schedulers/entryscheduler.c:
12710         * gst/schedulers/gstbasicscheduler.c:
12711         (gst_basic_scheduler_cothreaded_chain),
12712         (gst_basic_scheduler_chain_add_element):
12713         * testsuite/bins/interface.c: (main):
12714         Added GstBin test.
12715         Added GstSystemClock test.
12716         Implemented clock distribution code in GstBin.
12717         Implemented iterate sinks method for future use.
12718         Rearranged gstelement.h
12719         Fix GstIterator comparison bug.
12720         Moved some code to GstPipeline, mostly clocking related.
12721
12722 2005-03-09  Wim Taymans  <wim@fluendo.com>
12723
12724         * configure.ac:
12725         * gst/gst_private.h:
12726         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12727         (gst_bin_remove_func), (gst_bin_remove),
12728         (gst_bin_get_by_name_recurse_up):
12729         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12730         (gst_clock_id_compare_func), (gst_clock_id_wait),
12731         (gst_clock_id_wait_async), (gst_clock_init),
12732         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12733         * gst/gstelement.h:
12734         * gst/gstinfo.c: (_gst_debug_init):
12735         * gst/gstobject.h:
12736         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12737         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12738         * gst/gstpad.h:
12739         Bump version number, we're now 0.9.0
12740         Add future debugging category.
12741         Fix NULL _unref() in _get_by_name_recurse_up
12742         Rearrange gstpad.h.
12743         Update some docs.
12744
12745 2005-03-08  Wim Taymans  <wim@fluendo.com>
12746
12747         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12748         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12749         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12750         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12751         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12752         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12753         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12754         * gst/elements/gstidentity.c: (gst_identity_class_init):
12755         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12756         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12757         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12758         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12759         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12760         (gst_tee_link):
12761         * gst/gstelement.c: (gst_element_class_init),
12762         (gst_element_base_class_init), (gst_element_init),
12763         (gst_element_get_random_pad), (gst_element_wait_state_change),
12764         (gst_element_change_state), (gst_element_dispose),
12765         (gst_element_finalize), (gst_element_set_loop_function):
12766         * gst/gstelement.h:
12767         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12768         * gst/gstthread.c: (gst_thread_class_init),
12769         (gst_thread_release_children_locks), (gst_thread_change_state):
12770         * gst/schedulers/gstbasicscheduler.c:
12771         (gst_basic_scheduler_loopfunc_wrapper),
12772         (gst_basic_scheduler_chain_wrapper),
12773         (gst_basic_scheduler_src_wrapper),
12774         (gst_basic_scheduler_remove_element):
12775         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12776         Remove threadsafe properties. Fix elements because GObject
12777         complains when installing a property before declaring a
12778         set/get_property handler.
12779         Rearrange gstelement.h file, use STATE macros for state locks.
12780         Free mutexes in the finalize method instead of dispose.
12781
12782 2005-03-08  Wim Taymans  <wim@fluendo.com>
12783
12784         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12785         * gst/gstthread.c: (gst_thread_release_children_locks):
12786         Added parentage check.
12787         Fix build og GstThread again.
12788
12789 2005-03-08  Wim Taymans  <wim@fluendo.com>
12790
12791         * docs/design/part-MT-refcounting.txt:
12792         * docs/design/part-conventions.txt:
12793         * docs/design/part-gstobject.txt:
12794         * docs/design/part-relations.txt:
12795         * docs/design/part-standards.txt:
12796         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12797         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12798         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12799         (gst_bin_iterate_all_by_interface):
12800         * gst/gstbuffer.h:
12801         * gst/gstclock.h:
12802         * gst/gstelement.c: (gst_element_class_init),
12803         (gst_element_change_state), (gst_element_set_loop_function):
12804         * gst/gstelement.h:
12805         * gst/gstiterator.c:
12806         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12807         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12808         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12809         (gst_object_set_parent), (gst_object_unparent),
12810         (gst_object_check_uniqueness):
12811         * gst/gstobject.h:
12812         Docs updates, clean up some headers.
12813
12814 2005-03-07  Wim Taymans  <wim@fluendo.com>
12815
12816         * check/.cvsignore:
12817         * check/Makefile.am:
12818         * check/gst-libs/.cvsignore:
12819         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12820         * check/gst/.cvsignore:
12821         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12822         (START_TEST), (gstbus_suite), (main):
12823         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12824         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12825         (gst_data_suite), (main):
12826         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12827         (add_fold_func), (gstiterator_suite), (main):
12828         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12829         (thread_name_object), (thread_name_object_default),
12830         (gst_object_name_compare), (gst_object_suite), (main):
12831         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12832         (gst_pad_suite), (main):
12833         * check/gstcheck.c: (gst_check_log_message_func),
12834         (gst_check_log_critical_func), (gst_check_init):
12835         * check/gstcheck.h:
12836         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12837         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12838         Added checks.
12839
12840 2005-03-07  Wim Taymans  <wim@fluendo.com>
12841
12842         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12843         (gst_list_iterator_next), (gst_list_iterator_resync),
12844         (gst_list_iterator_free), (gst_iterator_new_list),
12845         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12846         (gst_iterator_free), (gst_iterator_push), (filter_next),
12847         (filter_resync), (filter_uninit), (filter_free),
12848         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12849         (gst_iterator_foreach), (find_custom_fold_func),
12850         (gst_iterator_find_custom):
12851         * gst/gstiterator.h:
12852         Added missing files.
12853
12854 2005-03-07  Wim Taymans  <wim@fluendo.com>
12855
12856         * Makefile.am:
12857         * configure.ac:
12858         * docs/design/part-MT-refcounting.txt:
12859         * docs/design/part-conventions.txt:
12860         * docs/design/part-gstobject.txt:
12861         * docs/design/part-relations.txt:
12862         * examples/mixer/mixer.c: (main):
12863         * examples/thread/thread.c: (eos), (main):
12864         * gst/Makefile.am:
12865         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12866         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12867         (gst_spider_plug_from_srcpad):
12868         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12869         (gst_spider_identity_change_state),
12870         (gst_spider_identity_sink_loop_type_finding):
12871         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12872         * gst/elements/gstidentity.c: (gst_identity_init):
12873         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12874         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12875         * gst/elements/gsttypefindelement.c: (free_entry):
12876         * gst/gst.c:
12877         * gst/gst.h:
12878         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12879         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12880         (gst_bin_set_index), (gst_bin_set_element_sched),
12881         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12882         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12883         (gst_bin_iterate_elements), (iterate_child_recurse),
12884         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12885         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12886         (compare_interface), (gst_bin_get_by_interface),
12887         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12888         * gst/gstbin.h:
12889         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12890         (gst_buffer_default_free), (gst_buffer_default_copy),
12891         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12892         (gst_buffer_create_sub):
12893         * gst/gstbuffer.h:
12894         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12895         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12896         (gst_caps_unref), (gst_static_caps_get),
12897         (gst_caps_remove_and_get_structure), (gst_caps_append),
12898         (gst_caps_append_structure), (gst_caps_remove_structure),
12899         (gst_caps_copy_nth), (gst_caps_set_simple),
12900         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12901         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12902         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12903         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12904         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12905         (gst_caps_structure_figure_out_union),
12906         (gst_caps_switch_structures), (gst_caps_do_simplify),
12907         (gst_caps_replace), (gst_caps_from_string),
12908         (gst_caps_copy_conditional):
12909         * gst/gstcaps.h:
12910         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12911         (_gst_clock_id_free), (gst_clock_id_unref),
12912         (gst_clock_id_compare_func), (gst_clock_id_wait),
12913         (gst_clock_id_wait_async), (gst_clock_class_init),
12914         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12915         (gst_clock_get_time), (gst_clock_set_time_adjust),
12916         (gst_clock_set_property), (gst_clock_get_property):
12917         * gst/gstclock.h:
12918         * gst/gstcompat.h:
12919         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12920         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12921         * gst/gstdata.h:
12922         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12923         (gst_element_requires_clock), (gst_element_provides_clock),
12924         (gst_element_set_clock), (gst_element_clock_wait),
12925         (gst_element_wait), (gst_element_set_time_delay),
12926         (gst_element_is_indexable), (gst_element_add_pad),
12927         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12928         (pad_compare_name), (gst_element_get_static_pad),
12929         (gst_element_request_pad), (gst_element_get_request_pad),
12930         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12931         (gst_element_class_get_pad_template_list),
12932         (gst_element_class_get_pad_template), (gst_element_error_func),
12933         (gst_element_get_random_pad), (gst_element_get_event_masks),
12934         (gst_element_send_event), (gst_element_seek),
12935         (gst_element_get_query_types), (gst_element_query),
12936         (gst_element_get_formats), (gst_element_convert),
12937         (gst_element_is_locked_state), (gst_element_set_locked_state),
12938         (gst_element_sync_state_with_parent), (gst_element_change_state),
12939         (gst_element_finalize), (gst_element_yield),
12940         (gst_element_interrupt), (gst_element_set_scheduler),
12941         (gst_element_get_scheduler), (gst_element_set_loop_function):
12942         * gst/gstelement.h:
12943         * gst/gstevent.h:
12944         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12945         (gst_format_get_by_nick), (gst_format_get_details),
12946         (gst_format_iterate_definitions):
12947         * gst/gstformat.h:
12948         * gst/gstindex.c: (gst_index_gtype_resolver):
12949         * gst/gstinfo.c:
12950         * gst/gstinfo.h:
12951         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12952         (gst_mem_chunk_free):
12953         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12954         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12955         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12956         (gst_object_dispatch_properties_changed),
12957         (gst_object_set_name_default), (gst_object_set_name),
12958         (gst_object_get_name), (gst_object_set_name_prefix),
12959         (gst_object_get_name_prefix), (gst_object_set_parent),
12960         (gst_object_get_parent), (gst_object_unparent),
12961         (gst_object_check_uniqueness), (gst_object_save_thyself),
12962         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12963         (gst_object_set_property), (gst_object_get_property),
12964         (gst_object_get_path_string):
12965         * gst/gstobject.h:
12966         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12967         (gst_real_pad_init), (gst_real_pad_get_property),
12968         (gst_pad_custom_new), (gst_pad_get_direction),
12969         (gst_pad_set_active), (gst_pad_is_active),
12970         (gst_pad_set_event_function), (gst_pad_is_linked),
12971         (gst_pad_link_free), (gst_pad_link_intersect),
12972         (gst_pad_link_fixate), (gst_pad_set_caps),
12973         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12974         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12975         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12976         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12977         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12978         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12979         (gst_pad_realize), (gst_pad_get_allowed_caps),
12980         (gst_real_pad_dispose), (gst_real_pad_finalize),
12981         (gst_pad_collectv), (gst_pad_collect_valist),
12982         (gst_pad_template_dispose), (gst_pad_template_new),
12983         (gst_pad_get_internal_links):
12984         * gst/gstpad.h:
12985         * gst/gstpipeline.c: (gst_pipeline_dispose),
12986         (gst_pipeline_change_state):
12987         * gst/gstpipeline.h:
12988         * gst/gstplugin.c:
12989         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12990         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12991         * gst/gstpluginfeature.h:
12992         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12993         * gst/gstquery.c: (_gst_query_type_initialize),
12994         (gst_query_type_register), (gst_query_type_get_by_nick),
12995         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12996         * gst/gstquery.h:
12997         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12998         * gst/gstscheduler.c: (gst_scheduler_add_element),
12999         (gst_scheduler_factory_create):
13000         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13001         (gst_structure_free), (gst_structure_set_name),
13002         (gst_structure_id_set_value), (gst_structure_set_value),
13003         (gst_structure_set_valist), (gst_structure_remove_field),
13004         (gst_structure_remove_fields),
13005         (gst_structure_remove_fields_valist),
13006         (gst_structure_remove_all_fields), (gst_structure_foreach),
13007         (gst_structure_map_in_place),
13008         (gst_caps_structure_fixate_field_nearest_int),
13009         (gst_caps_structure_fixate_field_nearest_double):
13010         * gst/gststructure.h:
13011         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13012         (gst_system_clock_init), (gst_system_clock_dispose),
13013         (gst_system_clock_async_thread),
13014         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13015         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13016         * gst/gstsystemclock.h:
13017         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13018         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13019         * gst/gsttaginterface.c:
13020         * gst/gstthread.c: (gst_thread_dispose),
13021         (gst_thread_release_children_locks), (gst_thread_change_state),
13022         (gst_thread_main_loop):
13023         * gst/gsttrashstack.h:
13024         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13025         * gst/gsttypes.h:
13026         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13027         (gst_element_request_pad), (gst_element_get_pad_from_template),
13028         (gst_element_request_compatible_pad),
13029         (gst_element_get_compatible_pad_filtered),
13030         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13031         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13032         (gst_element_link_many), (gst_element_link),
13033         (gst_element_link_pads), (gst_element_unlink_pads),
13034         (gst_element_unlink_many), (gst_element_unlink),
13035         (gst_pad_can_link_filtered), (gst_pad_can_link),
13036         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13037         (gst_object_default_error), (gst_bin_add_many),
13038         (gst_bin_remove_many), (gst_element_populate_std_props),
13039         (gst_element_class_install_std_props), (gst_buffer_merge),
13040         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13041         (link_fold_func), (gst_pad_proxy_setcaps):
13042         * gst/gstutils.h:
13043         * gst/gstvalue.c: (gst_value_deserialize_string):
13044         * gst/parse/grammar.y:
13045         * gst/schedulers/gstbasicscheduler.c:
13046         (gst_basic_scheduler_cothreaded_chain),
13047         (gst_basic_scheduler_chain_recursive_add),
13048         (gst_basic_scheduler_pad_link):
13049         * gst/schedulers/gstoptimalscheduler.c:
13050         (get_group_schedule_function),
13051         (gst_opt_scheduler_state_transition),
13052         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13053         * libs/gst/bytestream/bytestream.c:
13054         * libs/gst/dataprotocol/dataprotocol.c:
13055         (gst_dp_header_from_buffer):
13056         * po/nb.po:
13057         * po/ru.po:
13058         * tests/threadstate/threadstate2.c: (eos):
13059         * tools/gst-compprep.c: (main):
13060         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13061         (print_pad_info), (print_children_info):
13062         * tools/gst-launch.c: (idle_func), (main):
13063         * tools/gst-md5sum.c: (idle_func), (main):
13064         * tools/gst-xmlinspect.c: (print_element_info):
13065         First THREADED backport attempt, focusing on adding locks and
13066         making sure the API is threadsafe. Needs more work. More docs
13067         follow this week.
13068
13069 2005-02-24  Andy Wingo  <wingo@pobox.com>
13070
13071         * tests/bench-complexity.scm:
13072         * tests/complexity.gnuplot: New files, good for running complexity
13073         benchmarks.
13074
13075         * tests/Makefile.am:
13076         * tests/complexity.c: New test, sets up N elements, at each level
13077         teeing into M streams per element. Eeeenteresting.
13078
13079         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13080         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13081         running bench-mass_elements.scm.
13082
13083         * tests/bench-mass_elements.scm: New script, runs mass_elements
13084         for various numbers of identities, outputting the results to a
13085         file. Requires guile 1.6. Just for testing.
13086
13087 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13088
13089         * gst/schedulers/fairscheduler.c:
13090           compile with debug disabled
13091
13092 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13093
13094         * configure.ac:
13095           hunting season on 0.9 is now OPEN