Added Bulgarian translation by (Alexander Shopov)
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2
3         * po/LINGUAS:
4         * po/bg.po:
5           Added Bulgarian translation by (Alexander Shopov)
6
7 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8
9         * tests/check/gst/gstplugin.c:
10           fix test
11
12 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13
14         * common/gst-xmlinspect.py:
15         * common/gtk-doc-plugins.mak:
16         * configure.ac:
17         * docs/Makefile.am:
18         * docs/gst/Makefile.am:
19         * docs/gst/gstreamer-docs.sgml:
20         * docs/gst/gstreamer-sections.txt:
21         * docs/gst/gstreamer.types:
22         * docs/gst/gstreamer.types.in:
23         * docs/plugins/Makefile.am:
24         * docs/plugins/gstreamer-plugins-docs.sgml:
25         * docs/plugins/gstreamer-plugins-sections.txt:
26         * docs/plugins/gstreamer-plugins.types:
27         * docs/plugins/inspect.stamp:
28         * docs/plugins/inspect/plugin-coreelements.xml:
29         * docs/plugins/inspect/plugin-coreindexers.xml:
30         * docs/plugins/scanobj-build.stamp:
31         * gstreamer.spec.in:
32         * plugins/elements/Makefile.am:
33         * plugins/elements/gstelements.c:
34         * plugins/elements/gstfakesink.c:
35         * plugins/elements/gstfakesrc.c:
36         * plugins/elements/gstfilesink.c:
37         * plugins/elements/gstfilesrc.c:
38         * plugins/elements/gstqueue.c:
39         * plugins/indexers/Makefile.am:
40         * plugins/indexers/gstindexers.c:
41           document core plugins in a separate document just like all the
42           others
43           rename these plugins to something starting with core
44
45 2005-12-01  Andy Wingo  <wingo@pobox.com>
46
47         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
48         padding here before, but it missed the commit.
49
50 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
51
52         * libs/gst/controller/gstinterpolation.c:
53           whitespace prices have crashed, we should feel free to use some now
54           use gst_guint64_to_gdouble
55
56 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
57
58         * libs/gst/controller/gstcontroller.c:
59         * libs/gst/controller/gsthelper.c:
60         * libs/gst/controller/gstinterpolation.c:
61         * libs/gst/controller/lib.c:
62           wrap config.h include
63
64 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
65
66         * docs/gst/gstreamer-sections.txt:
67           update docs
68
69 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
70
71         * plugins/elements/gstelements.c:
72         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
73         (gst_fd_sink__class_init), (gst_fd_sink__init),
74         (gst_fd_sink__chain), (gst_fd_sink__set_property),
75         (gst_fd_sink__get_property):
76         * plugins/elements/gstfdsink.h:
77         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
78         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
79         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
80         (gst_fd_src_unlock), (gst_fd_src_set_property),
81         (gst_fd_src_get_property), (gst_fd_src_create),
82         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
83         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
84         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
85         (gst_fd_src_uri_handler_init):
86         * plugins/elements/gstfdsrc.h:
87         * plugins/elements/gstqueue.c: (gst_queue_get_type):
88           more anal cleanup
89
90 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
91
92         * docs/gst/Makefile.am:
93         * docs/gst/gstreamer.types.in:
94         * gst/Makefile.am:
95           fix the docs build
96
97 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
98
99         * configure.ac:
100         * gst/Makefile.am:
101         * gst/gst.c:
102         * gst/gstplugin.h:
103         * gst/gstregistry.h:
104         * tests/benchmarks/complexity.c:
105         * tests/benchmarks/mass-elements.c:
106         * tests/check/Makefile.am:
107         * tools/Makefile.am:
108         * tools/gst-inspect.c:
109         * tools/gst-xmlinspect.c:
110           various fixes to make
111           --disable-nls --disable-registry --disable-loadsave
112           --disable-parse --disable-gst-debug
113           work and get the core .so down to 360444 bytes after stripping
114
115 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
116
117         * Makefile.am:
118         * configure.ac:
119           descend into tests
120         * docs/random/thomasvs/TODO:
121         * tests/Makefile.am:
122         * tests/README:
123           add a README
124
125 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
126
127         * win32/GStreamer.vcproj:
128         * win32/MANIFEST:
129         * win32/Makefile:
130         * win32/Makefile.inspect:
131         * win32/Makefile.launch:
132         * win32/Makefile.register:
133         * win32/README.txt:
134         * win32/gst-inspect.vcproj:
135         * win32/gst-launch.vcproj:
136         * win32/gst-register.vcproj:
137         * win32/gstelements.vcproj:
138         * win32/gstgetbits.def:
139         * win32/gstgetbits.vcproj:
140         * win32/gstreamer-dbg.def:
141         * win32/gstreamer.def:
142         * win32/libgstbase.def:
143         * win32/libgstbase.vcproj:
144         * win32/link_oldruntime.c:
145         * win32/mman.c:
146         * win32/mman.h:
147         * win32/mman.inl:
148         * win32/msvc71.sln:
149           move even more stuff, win32/ is nice and clean now
150
151 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
152
153         * libs/gst/control/.cvsignore:
154         * win32/MANIFEST:
155         * win32/config.h:
156         * win32/dirent.c:
157         * win32/dirent.h:
158         * win32/gstbytestream.def:
159         * win32/gstbytestream.vcproj:
160         * win32/gstconfig.h:
161         * win32/gstenumtypes.c:
162         * win32/gstenumtypes.h:
163         * win32/gstoptimalscheduler.vcproj:
164         * win32/gstversion.h:
165         * win32/gtchar.h:
166         * win32/testsuite/bins.vcproj:
167         * win32/testsuite/bytestream.vcproj:
168         * win32/testsuite/caps.vcproj:
169         * win32/testsuite/cleanup.vcproj:
170         * win32/testsuite/clock.vcproj:
171         * win32/testsuite/debug.vcproj:
172         * win32/testsuite/dlopen.vcproj:
173         * win32/testsuite/dynparams.vcproj:
174         * win32/testsuite/elements.vcproj:
175         * win32/testsuite/ghostpads.vcproj:
176         * win32/testsuite/indexers.vcproj:
177         * win32/testsuite/negotiation.vcproj:
178         * win32/testsuite/parse.vcproj:
179         * win32/testsuite/plugin.vcproj:
180         * win32/testsuite/refcounting.vcproj:
181         * win32/testsuite/schedulers.vcproj:
182         * win32/testsuite/states.vcproj:
183         * win32/testsuite/tags.vcproj:
184         * win32/testsuite/threads.vcproj:
185           remove old win32 stuff that isn't maintained and should be
186           reorganized
187
188 2005-11-30  Andy Wingo  <wingo@pobox.com>
189
190         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
191         loading the gst.interfaces python module bork.
192
193         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
194         available since GLib 2.2. Fixes #318031.
195
196 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
197
198         * Makefile.am:
199         * check/.cvsignore:
200         * check/Makefile.am:
201         * check/elements/.cvsignore:
202         * check/elements/fakesrc.c:
203         * check/elements/fdsrc.c:
204         * check/elements/identity.c:
205         * check/generic/.cvsignore:
206         * check/generic/states.c:
207         * check/gst-libs/.cvsignore:
208         * check/gst-libs/controller.c:
209         * check/gst-libs/gdp.c:
210         * check/gst/.cvsignore:
211         * check/gst/capslist.h:
212         * check/gst/gst.c:
213         * check/gst/gstbin.c:
214         * check/gst/gstbuffer.c:
215         * check/gst/gstbus.c:
216         * check/gst/gstcaps.c:
217         * check/gst/gstelement.c:
218         * check/gst/gstevent.c:
219         * check/gst/gstghostpad.c:
220         * check/gst/gstiterator.c:
221         * check/gst/gstmessage.c:
222         * check/gst/gstminiobject.c:
223         * check/gst/gstobject.c:
224         * check/gst/gstpad.c:
225         * check/gst/gstpipeline.c:
226         * check/gst/gstplugin.c:
227         * check/gst/gstsegment.c:
228         * check/gst/gststructure.c:
229         * check/gst/gstsystemclock.c:
230         * check/gst/gsttag.c:
231         * check/gst/gstutils.c:
232         * check/gst/gstvalue.c:
233         * check/net/.cvsignore:
234         * check/net/gstnetclientclock.c:
235         * check/net/gstnettimeprovider.c:
236         * check/pipelines/.cvsignore:
237         * check/pipelines/cleanup.c:
238         * check/pipelines/simple_launch_lines.c:
239         * check/pipelines/stress.c:
240         * check/states/.cvsignore:
241         * check/states/sinks.c:
242         * configure.ac:
243         * examples/Makefile.am:
244         * examples/appreader/.cvsignore:
245         * examples/appreader/Makefile.am:
246         * examples/appreader/appreader.c:
247         * examples/controller/.cvsignore:
248         * examples/controller/Makefile.am:
249         * examples/controller/audio-example.c:
250         * examples/cutter/.cvsignore:
251         * examples/cutter/Makefile.am:
252         * examples/cutter/cutter.c:
253         * examples/cutter/cutter.h:
254         * examples/events/Makefile.am:
255         * examples/events/seek.c:
256         * examples/helloworld/.cvsignore:
257         * examples/helloworld/Makefile.am:
258         * examples/helloworld/helloworld.c:
259         * examples/helloworld2/.cvsignore:
260         * examples/helloworld2/Makefile.am:
261         * examples/helloworld2/helloworld2.c:
262         * examples/launch/.cvsignore:
263         * examples/launch/Makefile.am:
264         * examples/launch/mp3parselaunch.c:
265         * examples/launch/mp3play:
266         * examples/manual/.cvsignore:
267         * examples/manual/Makefile.am:
268         * examples/manual/extract.pl:
269         * examples/metadata/Makefile.am:
270         * examples/metadata/read-metadata.c:
271         * examples/mixer/.cvsignore:
272         * examples/mixer/Makefile.am:
273         * examples/mixer/mixer.c:
274         * examples/mixer/mixer.h:
275         * examples/pingpong/.cvsignore:
276         * examples/pingpong/Makefile.am:
277         * examples/pingpong/pingpong.c:
278         * examples/plugins/.cvsignore:
279         * examples/plugins/Makefile.am:
280         * examples/plugins/example.c:
281         * examples/plugins/example.h:
282         * examples/pwg/.cvsignore:
283         * examples/pwg/Makefile.am:
284         * examples/pwg/extract.pl:
285         * examples/queue/.cvsignore:
286         * examples/queue/Makefile.am:
287         * examples/queue/queue.c:
288         * examples/queue2/.cvsignore:
289         * examples/queue2/Makefile.am:
290         * examples/queue2/queue2.c:
291         * examples/queue3/.cvsignore:
292         * examples/queue3/Makefile.am:
293         * examples/queue3/queue3.c:
294         * examples/queue4/.cvsignore:
295         * examples/queue4/Makefile.am:
296         * examples/queue4/queue4.c:
297         * examples/retag/.cvsignore:
298         * examples/retag/Makefile.am:
299         * examples/retag/retag.c:
300         * examples/retag/transcode.c:
301         * examples/thread/.cvsignore:
302         * examples/thread/Makefile.am:
303         * examples/thread/thread.c:
304         * examples/typefind/.cvsignore:
305         * examples/typefind/Makefile.am:
306         * examples/typefind/typefind.c:
307         * examples/xml/.cvsignore:
308         * examples/xml/Makefile.am:
309         * examples/xml/createxml.c:
310         * examples/xml/runxml.c:
311         * tests/Makefile.am:
312         * tests/check/Makefile.am:
313         * testsuite/.cvsignore:
314         * testsuite/Makefile.am:
315         * testsuite/Rules:
316         * testsuite/caps/.cvsignore:
317         * testsuite/caps/Makefile.am:
318         * testsuite/caps/app_fixate.c:
319         * testsuite/caps/audioscale.c:
320         * testsuite/caps/caps.c:
321         * testsuite/caps/caps.h:
322         * testsuite/caps/caps_strings:
323         * testsuite/caps/compatibility.c:
324         * testsuite/caps/deserialize.c:
325         * testsuite/caps/enumcaps.c:
326         * testsuite/caps/eratosthenes.c:
327         * testsuite/caps/filtercaps.c:
328         * testsuite/caps/fixed.c:
329         * testsuite/caps/fraction-convert.c:
330         * testsuite/caps/fraction-multiply-and-zero.c:
331         * testsuite/caps/intersect2.c:
332         * testsuite/caps/intersection.c:
333         * testsuite/caps/normalisation.c:
334         * testsuite/caps/random.c:
335         * testsuite/caps/renegotiate.c:
336         * testsuite/caps/sets.c:
337         * testsuite/caps/simplify.c:
338         * testsuite/caps/string-conversions.c:
339         * testsuite/caps/structure.c:
340         * testsuite/caps/subtract.c:
341         * testsuite/caps/union.c:
342         * testsuite/debug/.cvsignore:
343         * testsuite/debug/Makefile.am:
344         * testsuite/debug/category.c:
345         * testsuite/debug/commandline.c:
346         * testsuite/debug/global.c:
347         * testsuite/debug/output.c:
348         * testsuite/debug/printf_extension.c:
349         * testsuite/dlopen/.cvsignore:
350         * testsuite/dlopen/Makefile.am:
351         * testsuite/dlopen/dlopen_gst.c:
352         * testsuite/dlopen/loadgst.c:
353         * testsuite/elements/.cvsignore:
354         * testsuite/elements/Makefile.am:
355         * testsuite/elements/gst-inspect-check.in:
356         * testsuite/elements/struct_i386.h:
357         * testsuite/elements/struct_size.c:
358         * testsuite/indexers/.cvsignore:
359         * testsuite/indexers/Makefile.am:
360         * testsuite/indexers/cache1.c:
361         * testsuite/indexers/indexdump.c:
362         * testsuite/parse/.cvsignore:
363         * testsuite/parse/Makefile.am:
364         * testsuite/parse/parse1.c:
365         * testsuite/parse/parse2.c:
366         * testsuite/plugin/.cvsignore:
367         * testsuite/plugin/Makefile.am:
368         * testsuite/plugin/README:
369         * testsuite/plugin/dynamic.c:
370         * testsuite/plugin/linked.c:
371         * testsuite/plugin/loading.c:
372         * testsuite/plugin/registry.c:
373         * testsuite/plugin/static.c:
374         * testsuite/plugin/static2.c:
375         * testsuite/plugin/testplugin.c:
376         * testsuite/plugin/testplugin2.c:
377         * testsuite/plugin/testplugin2_s.c:
378         * testsuite/plugin/testplugin_s.c:
379         * testsuite/refcounting/.cvsignore:
380         * testsuite/refcounting/Makefile.am:
381         * testsuite/refcounting/bin.c:
382         * testsuite/refcounting/element.c:
383         * testsuite/refcounting/element_pad.c:
384         * testsuite/refcounting/mainloop.c:
385         * testsuite/refcounting/mem.c:
386         * testsuite/refcounting/mem.h:
387         * testsuite/refcounting/object.c:
388         * testsuite/refcounting/pad.c:
389         * testsuite/refcounting/sched.c:
390         * testsuite/refcounting/thread.c:
391         * testsuite/states/.cvsignore:
392         * testsuite/states/Makefile.am:
393         * testsuite/states/bin.c:
394         * testsuite/states/locked.c:
395         * testsuite/states/parent.c:
396         * testsuite/threads/.cvsignore:
397         * testsuite/threads/159566.c:
398         * testsuite/threads/159852.c:
399         * testsuite/threads/Makefile.am:
400         * testsuite/threads/queue.c:
401         * testsuite/threads/signals.c:
402         * testsuite/threads/staticrec.c:
403         * testsuite/threads/thread.c:
404         * testsuite/threads/threadb.c:
405         * testsuite/threads/threadc.c:
406         * testsuite/threads/threadd.c:
407         * testsuite/threads/threade.c:
408         * testsuite/threads/threadf.c:
409         * testsuite/threads/threadg.c:
410         * testsuite/threads/threadh.c:
411         * testsuite/threads/threadi.c:
412           move all of these under tests
413
414 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
415
416         * configure.ac:
417         * tests/Makefile.am:
418           fix distcheck
419
420 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
421
422         * docs/gst/gstreamer-sections.txt:
423         * tests/sched/.cvsignore:
424         * tests/sched/Makefile.am:
425         * tests/sched/cases/(fs-fs).xml:
426         * tests/sched/cases/(fs-i-fs).xml:
427         * tests/sched/cases/(fs-i-i-fs).xml:
428         * tests/sched/cases/(fs-i-q[i-fs]).xml:
429         * tests/sched/dynamic-pipeline.c:
430         * tests/sched/interrupt1.c:
431         * tests/sched/interrupt2.c:
432         * tests/sched/interrupt3.c:
433         * tests/sched/runtestcases:
434         * tests/sched/runxml.c:
435         * tests/sched/sched-stress.c:
436         * tests/sched/sort.c:
437         * tests/sched/testcases:
438         * tests/sched/testcases1.tc:
439         * tests/seeking/.cvsignore:
440         * tests/seeking/Makefile.am:
441         * tests/seeking/seeking1.c:
442         * tests/threadstate/.cvsignore:
443         * tests/threadstate/Makefile.am:
444         * tests/threadstate/test1.c:
445         * tests/threadstate/test2.c:
446         * tests/threadstate/threadstate1.c:
447         * tests/threadstate/threadstate2.c:
448         * tests/threadstate/threadstate3.c:
449         * tests/threadstate/threadstate4.c:
450         * tests/threadstate/threadstate5.c:
451           remove obsolete tests
452         * configure.ac:
453         * tests/bench-complexity.scm:
454         * tests/bench-mass_elements.scm:
455         * tests/complexity.c:
456         * tests/complexity.gnuplot:
457         * tests/instantiate/.cvsignore:
458         * tests/instantiate/Makefile.am:
459         * tests/instantiate/caps.c:
460         * tests/mass_elements.c:
461         * tests/network-clock-utils.scm:
462         * tests/network-clock.scm:
463         * tests/plot-data:
464         First pass at cleaning up tests/ dir before moving the rest
465         Combined with CVS surgery
466
467 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
468
469         * po/POTFILES.in:
470           queue has moved, update
471
472 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
473
474         * docs/gst/gstreamer-sections.txt:
475           remove double entries from the docs
476         * gst/gst_private.h:
477         * gst/gstinfo.c: (_gst_debug_init):
478           remove the THREAD debug category
479         * gst/Makefile.am:
480         * gst/gstqueue.c:
481         * gst/gstqueue.h:
482         * docs/gst/gstreamer.types:
483         * plugins/elements/gstqueue.c: (gst_queue_get_type),
484         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
485           completely move queue and fix up debugging categories
486
487 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
488
489         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
490           make initialization portable, using LL is not
491
492 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
493
494         * win32/common/gstconfig.h:
495           add large padding
496
497 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
498
499         * win32/common/libgstreamer.def:
500           rename symbols; sort base section
501
502 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
503
504         * gst/gstclock.c: (do_linear_regression):
505           remove crack non-portable handrolled DEBUG macro
506
507 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
508
509         * docs/random/release:
510           update notes
511         * win32/common/gstenumtypes.c: (register_gst_object_flags),
512         (gst_object_flags_get_type), (register_gst_bin_flags),
513         (gst_bin_flags_get_type), (register_gst_buffer_flag),
514         (gst_buffer_flag_get_type), (register_gst_bus_flags),
515         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
516         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
517         (gst_caps_flags_get_type), (register_gst_clock_return),
518         (gst_clock_return_get_type), (register_gst_clock_entry_type),
519         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
520         (gst_clock_flags_get_type), (register_gst_state),
521         (gst_state_get_type), (register_gst_state_change_return),
522         (gst_state_change_return_get_type), (register_gst_state_change),
523         (gst_state_change_get_type), (register_gst_element_flags),
524         (gst_element_flags_get_type), (register_gst_core_error),
525         (gst_core_error_get_type), (register_gst_library_error),
526         (gst_library_error_get_type), (register_gst_resource_error),
527         (gst_resource_error_get_type), (register_gst_stream_error),
528         (gst_stream_error_get_type), (register_gst_event_type_flags),
529         (gst_event_type_flags_get_type), (register_gst_event_type),
530         (gst_event_type_get_type), (register_gst_seek_type),
531         (gst_seek_type_get_type), (register_gst_seek_flags),
532         (gst_seek_flags_get_type), (register_gst_format),
533         (gst_format_get_type), (register_gst_index_certainty),
534         (gst_index_certainty_get_type), (register_gst_index_entry_type),
535         (gst_index_entry_type_get_type),
536         (register_gst_index_lookup_method),
537         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
538         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
539         (gst_index_resolver_method_get_type), (register_gst_index_flags),
540         (gst_index_flags_get_type), (register_gst_debug_level),
541         (gst_debug_level_get_type), (register_gst_debug_color_flags),
542         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
543         (gst_iterator_result_get_type), (register_gst_iterator_item),
544         (gst_iterator_item_get_type), (register_gst_message_type),
545         (gst_message_type_get_type), (register_gst_mini_object_flags),
546         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
547         (gst_pad_link_return_get_type), (register_gst_flow_return),
548         (gst_flow_return_get_type), (register_gst_activate_mode),
549         (gst_activate_mode_get_type), (register_gst_pad_direction),
550         (gst_pad_direction_get_type), (register_gst_pad_flags),
551         (gst_pad_flags_get_type), (register_gst_pad_presence),
552         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
553         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
554         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
555         (gst_plugin_error_get_type), (register_gst_plugin_flags),
556         (gst_plugin_flags_get_type), (register_gst_rank),
557         (gst_rank_get_type), (register_gst_query_type),
558         (gst_query_type_get_type), (register_gst_tag_merge_mode),
559         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
560         (gst_tag_flag_get_type), (register_gst_task_state),
561         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
562         (gst_alloc_trace_flags_get_type),
563         (register_gst_type_find_probability),
564         (gst_type_find_probability_get_type), (register_gst_uri_type),
565         (gst_uri_type_get_type), (register_gst_parse_error),
566         (gst_parse_error_get_type):
567         * win32/common/gstenumtypes.h:
568         * win32/common/gstversion.h:
569           update visual studio generated files
570
571 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
572
573         * win32/vs6/libgstbase.dsp:
574         * win32/vs6/libgstelements.dsp:
575           update project files for new locations
576
577 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
578
579         * Makefile.am:
580           remove some files
581         * README:
582           reinstate and update
583         * DEVEL:
584         * REQUIREMENTS:
585           removed
586         * LICENSE:
587         * docs/random/LICENSE:
588           moved to random
589
590 2005-11-30  Edward Hervey  <edward@fluendo.com>
591
592         * gst/gsttypefind.c: (gst_type_find_register):
593         * gst/gsttypefind.h:
594         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
595         (gst_type_find_factory_dispose):
596         * gst/gsttypefindfactory.h:
597         Fix memory leak in GstTypeFindFactory.
598
599 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
600
601         * gst/gst.c:
602         * plugins/elements/Makefile.am:
603         * plugins/elements/gstelements.c:
604         * plugins/elements/gstqueue.c:
605           move queue from core to the elements plugin
606
607 2005-11-29  Andy Wingo  <wingo@pobox.com>
608
609         * libs/gst/base/gstbasetransform.h: 
610         * libs/gst/base/gstbasesrc.h: 
611         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
612
613         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
614         of pointers by which to pad very extensible base classes (like the
615         ones in libs/gst/base).
616
617 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
618
619         * docs/gst/gstreamer-docs.sgml:
620         * docs/gst/gstreamer-sections.txt:
621         * docs/libs/gstreamer-libs-docs.sgml:
622         * docs/libs/gstreamer-libs-sections.txt:
623           moving documentation from core to lib
624
625 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
626
627         * check/Makefile.am:
628         * configure.ac:
629         * docs/gst/Makefile.am:
630         * gst/Makefile.am:
631         * gst/base/.cvsignore:
632         * gst/base/Makefile.am:
633         * gst/base/README:
634         * gst/base/gstadapter.c:
635         * gst/base/gstadapter.h:
636         * gst/base/gstbasesink.c:
637         * gst/base/gstbasesink.h:
638         * gst/base/gstbasesrc.c:
639         * gst/base/gstbasesrc.h:
640         * gst/base/gstbasetransform.c:
641         * gst/base/gstbasetransform.h:
642         * gst/base/gstcollectpads.c:
643         * gst/base/gstcollectpads.h:
644         * gst/base/gstpushsrc.c:
645         * gst/base/gstpushsrc.h:
646         * gst/base/gsttypefindhelper.c:
647         * gst/base/gsttypefindhelper.h:
648         * gst/check/Makefile.am:
649         * gst/check/gstcheck.c:
650         * gst/check/gstcheck.h:
651         * gst/net/Makefile.am:
652         * gst/net/gstnet.h:
653         * gst/net/gstnetclientclock.c:
654         * gst/net/gstnetclientclock.h:
655         * gst/net/gstnettimepacket.c:
656         * gst/net/gstnettimepacket.h:
657         * gst/net/gstnettimeprovider.c:
658         * gst/net/gstnettimeprovider.h:
659         * libs/gst/Makefile.am:
660         * libs/gst/base/Makefile.am:
661         * libs/gst/base/gstbasetransform.c:
662         * libs/gst/check/Makefile.am:
663         * plugins/elements/Makefile.am:
664         * po/POTFILES.in:
665           CVS surgery + support to move base, check, and net out of gst
666           and into libs/gst
667
668 2005-11-29  Andy Wingo  <wingo@pobox.com>
669
670         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
671
672         * gst/gststructure.h (struct _GstStructure): Only one pointer of
673         padding.
674
675         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
676
677         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
678
679         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
680
681         * gst/gstobject.h: (struct _GstObject): Only one pointer of
682         padding; reduces object size by about 30%. We don't expect
683         anything else to go into gstobject.
684
685         * gst/gstminiobject.h (struct _GstMiniObject)
686         (struct _GstMiniObjectClass): Only one pointer of padding; the
687         payload is only a pointer and two ints anyway. For the class there
688         are only two methods as well.
689         
690         * gst/gstelement.h (struct _GstElementClass): Removed
691         the state_changed signal callback, it is not used.
692
693 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
694
695         * docs/gst/gstreamer.types:
696           fix includes, though they are a little dinky
697
698 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
699
700         * check/Makefile.am:
701           look in the right place for elements, a lot more chance of
702           success
703         * gst/Makefile.am:
704           remove indexers and elements subdirs
705         * plugins/Makefile.am:
706           make indexers conditional
707
708 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
709
710         * Makefile.am:
711         * configure.ac:
712         * plugins/elements/Makefile.am:
713         * plugins/elements/gstcapsfilter.c:
714         * plugins/elements/gstfilesink.c:
715         * plugins/elements/gstfilesrc.c:
716         * plugins/elements/gstidentity.c:
717         * plugins/indexers/Makefile.am:
718           do CVS surgery and related build fixery to move elements
719           and indexers in a new gstreamer/plugins directory, out of the
720           gst/ directory
721
722 2005-11-29  Andy Wingo  <wingo@pobox.com>
723
724         * check/Makefile.am:
725         * pkgconfig/gstreamer-net-uninstalled.pc.in:
726         * pkgconfig/gstreamer-net.pc.in:
727         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
728         #322257.
729
730 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
731
732         * tools/Makefile.am:
733         * tools/gst-complete.1.in:
734         * tools/gst-complete.c:
735         * tools/gst-compprep.1.in:
736         * tools/gst-compprep.c:
737           removing -compprep and -complete
738
739 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
740
741         * gst/gstevent.c: (gst_event_new_new_segment),
742         (gst_event_parse_new_segment):
743         * gst/gstevent.h:
744           fix #320529 - clean up new_segment API and structure.
745           Let's hope everyone was using the methods, and not the structure.
746
747 2005-11-29  Edward Hervey  <edward@fluendo.com>
748
749         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
750         (gst_base_sink_event), (gst_base_sink_do_sync),
751         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
752         Properly handle non GST_FORMAT_TIME segment
753         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
754         Properly handle non GST_FORMAT_TIME segment
755         * gst/gstsegment.c:
756         This function is valid if the accumulator is 0 and the format
757         is different from the requested format.
758         
759 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
760
761         * docs/gst/gstreamer-sections.txt:
762         Add gst_query_new_seeking and gst_query_parse_seeking to the
763         docs.
764
765 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
766
767         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
768           Treat a pad alloc with new caps the same as if we were not
769           negotiated, in order to allow a changing upstream output
770           to produce a new format of data.
771
772 2005-11-29  Edward Hervey  <edward@fluendo.com>
773
774         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
775         (gst_base_transform_event), (gst_base_transform_eventfunc):
776         The event virtual method is now properly implemented, with a default
777         handler
778         Sub classes should call the parent_class event method. They should
779         return FALSE if they had a problem handling the given event, or don't
780         want GstBaseTransform to send that even downstream
781         * gst/elements/gstidentity.c: (gst_identity_class_init),
782         (gst_identity_init), (gst_identity_event),
783         (gst_identity_transform_ip), (gst_identity_set_property),
784         (gst_identity_get_property):
785         * gst/elements/gstidentity.h:
786         Added the single-segment boolean property.
787         If set to TRUE, it will output a single segment of data, starting from
788         0, will eat up all incoming newsegment, and modify the timestamp of the
789         buffers accordingly
790
791 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
792
793         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
794           Don't ref NULL target pad (#322751). Improve docs.
795
796 2005-11-29  Michael Smith  <msmith@fluendo.com>
797
798         * gst/gstregistryxml.c: (load_plugin):
799           Don't crash if we failed to load a feature from a plugin. 
800
801 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
802
803         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
804         (GST_START_TEST):
805           use more check API and less GLib API
806
807 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
808
809         * Makefile.am:
810           don't run checks if we don't have check
811         * common/check.mak:
812           remove the registry when running make torture
813         * docs/gst/gstreamer-sections.txt:
814           remove second multiply
815         * gst/gstqueue.c: (gst_queue_loop):
816           fix a compile warning when disabling debug
817
818 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
819
820         * gst/gstinfo.h:
821         Hey! Let's print the pad name if the pointer != NULL instead
822         of when it == NULL :-)
823
824 2005-11-28  Wim Taymans  <wim@fluendo.com>
825
826         * check/gst/gstutils.c: (GST_START_TEST):
827         Updated check, add some scaling accuracy checking code.
828
829         * gst/gstutils.c: (gst_util_div128_64),
830         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
831         (gst_util_uint64_scale_int):
832         Fix 6 times faster division code. Optimize for common 
833         1/1 and less common X/1 cases.
834
835 2005-11-28  Wim Taymans  <wim@fluendo.com>
836
837         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
838         More checks.
839
840         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
841         (do_linear_regression), (gst_clock_add_observation):
842         Cleanups.
843         Release lock when the clock cannot be slaved.
844         Catch the case where the regression returned an invalid denominator.
845
846         * gst/gstutils.c: (gst_util_div128_64_iterate),
847         (gst_util_div128_64), (gst_util_uint64_scale_int64),
848         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
849         Add protentially more performant non-iterative 128/64 divide function
850         that unfortunatly does not work yet.
851         Shortcut the trivial 0/X = 0 case.
852         Remove the warnings on overflow.
853
854 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
855
856         * gst/gstplugin.c: (gst_plugin_register_func):
857           everything causing a plugin not to load should be at least a WARNING
858
859 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
860
861         * docs/random/ensonic/dparams.txt:
862           some TODOs for the next dev cycle
863         * libs/gst/controller/gstcontroller.c:
864         (gst_controlled_property_set_interpolation_mode),
865         (gst_controlled_property_new):
866         * libs/gst/controller/gstcontroller.h:
867           use base type to assign acccessor functions
868
869 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
870
871         * check/Makefile.am:
872         Oops, that should have been top_srcdir
873
874 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
875
876         * check/Makefile.am:
877         * check/elements/fdsrc.c: (GST_START_TEST):
878         Use a cmdline define to specify the location of a file to use for
879         testing, to avoid breaking distcheck.
880
881 2005-11-28  Andy Wingo  <wingo@pobox.com>
882
883         * gst/gstpad.c (fixate_value): Use array functions for arrays.
884
885 2005-11-28  Edward Hervey  <edward@fluendo.com>
886
887         * tools/gst-launch.c: (main):
888         Clarify the output strings, makes it easier to translate.
889         Fixes #322626
890
891 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
892
893         * gst/Makefile.am:
894           don't try and build net if we don't even have <sys/socket.h>
895
896 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
897
898         * check/Makefile.am:
899         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
900         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
901           Add tests for fdsrc seekability
902
903         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
904         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
905         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
906         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
907         * gst/elements/gstfdsrc.h:
908           fdsrc should not be a 'live' source.
909           Implement seeking on seekable fd's.
910
911         * gst/gstquery.c: (gst_query_new_seeking),
912         (gst_query_parse_seeking):
913         * gst/gstquery.h:
914           Implement SEEKING query functions: 
915             *_new_seeking and *_parse_seeking
916
917 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
918
919         * gst/gstelement.c: (gst_element_dispose):
920           don't loop forever
921
922         * gst/gstiterator.c:
923         * gst/gststructure.c:
924           doc fixes
925
926         * libs/gst/controller/gstcontroller.c:
927         (gst_controlled_property_set_interpolation_mode):
928         * libs/gst/controller/gstcontroller.h:
929         * libs/gst/controller/gstinterpolation.c:
930         (interpolate_none_get_enum_value_array):
931           support controlling enums
932
933 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
934
935         * gst/gstvalue.c:
936           Improve documentation for gst_value_union().
937
938         * gst/gstvalue.h:
939           Change return value for union, intersect and subtract functions
940           from gint to gboolean.
941
942 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
943
944         * gst/gstvalue.c: (gst_value_serialize_any_list),
945         (gst_value_transform_any_list_string),
946         (gst_value_deserialize_list), (gst_value_deserialize_array),
947         (gst_value_set_int_range), (gst_value_deserialize_int_range),
948         (gst_value_set_double_range), (gst_value_deserialize_double_range),
949         (gst_value_set_fraction_range_full),
950         (gst_value_deserialize_fraction_range),
951         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
952         (gst_value_deserialize_boolean),
953         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
954         (gst_value_serialize_float), (gst_value_deserialize_float),
955         (gst_string_wrap), (gst_value_deserialize_string),
956         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
957         (gst_value_union_int_range_int_range),
958         (gst_value_intersect_int_range_int_range),
959         (gst_value_intersect_double_range_double_range),
960         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
961         (gst_value_subtract_int_range_int_range),
962         (gst_value_subtract_double_double_range),
963         (gst_value_subtract_double_range_double_range),
964         (gst_value_deserialize_fraction):
965         * gst/gstvalue.h:
966           Use gint, gdouble and gchar in our API instead of int, double and
967           char (and make usage in gstvalue.c more consistent).
968
969 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
970
971         * check/Makefile.am:
972         * libs/gst/controller/Makefile.am:
973         * libs/gst/dataprotocol/Makefile.am:
974           fix up Makefile.am and remove GST_ENABLE_NEW
975
976 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
977
978         * configure.ac:
979         * gst/Makefile.am:
980         * gst/base/Makefile.am:
981         * gst/check/Makefile.am:
982         * gst/elements/Makefile.am:
983         * gst/net/Makefile.am:
984           update LDFLAGS use some more
985
986 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
987
988         * common/m4/gst-doc.m4:
989           Fixes #312589
990
991 2005-11-26  Edward Hervey  <edward@fluendo.com>
992
993         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
994         This shouldn't issue a g_warning since it returns NULL if it
995         couldn't find the plugin, and all functions using this behave
996         properly on a NULL return. Switching to a GST_WARNING.
997
998 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
999
1000         * gst/gstbin.c: (gst_bin_handle_message_func):
1001         Don't leak clock messages.
1002
1003 2005-11-25  Wim Taymans  <wim@fluendo.com>
1004
1005         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1006         (gst_util_uint64_scale_int):
1007         Optimisations, remove unneeded vars.
1008
1009 2005-11-25  Wim Taymans  <wim@fluendo.com>
1010
1011         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1012         Added more checks for the high precision uint64 cases.
1013
1014         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1015         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1016         Implement high precission (guint64 * guint64) / guint64.
1017
1018 2005-11-24  Wim Taymans  <wim@fluendo.com>
1019
1020         * gst/base/gstbasesrc.c: (gst_base_src_query):
1021         Fix wrong percentage query.
1022
1023         * gst/gstutils.c: (gst_util_uint64_scale),
1024         (gst_util_uint64_scale_int):
1025         Add some more common cases that can be handled 
1026         efficiently to _scale.
1027
1028 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1029
1030         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1031         (gst_mini_object_suite):
1032           don't use check calls from threads; check probably isn't
1033           threadsafe and using a lock to make it threadsafe would
1034           defeat the purpose of this check
1035         * gst/check/gstcheck.c:
1036         * gst/check/gstcheck.h:
1037           use GST_DEBUG some more
1038
1039 2005-11-24  Wim Taymans  <wim@fluendo.com>
1040
1041         * gst/gstutils.c: (gst_util_uint64_scale),
1042         (gst_util_uint64_scale_int):
1043         Chain trivial case to _scale_int.
1044
1045 2005-11-24  Wim Taymans  <wim@fluendo.com>
1046
1047         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1048         Added test for scaling.
1049
1050         * gst/gstclock.h:
1051         Small doc fix.
1052
1053         * gst/gstutils.c: (gst_util_uint64_scale_int):
1054         Implemented high precision scaling code.
1055
1056 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1057
1058         * gst/gstinfo.h:
1059           do not crash on pad==NULL
1060
1061 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1062
1063         Patch by: Stefan Kost
1064
1065         * common/gtk-doc.mak:
1066         * docs/gst/Makefile.am:
1067         * docs/libs/Makefile.am:
1068           Fix distcheck issues for the libraries docs build
1069           Closes #319599.
1070
1071 2005-11-24  Michael Smith <msmith@fluendo.com>
1072
1073         * docs/manual/basics-helloworld.xml:
1074           Fix bug #315027: memory leak in example code in docs.
1075
1076 2005-11-24  Michael Smith <msmith@fluendo.com>
1077
1078         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1079           Unlock the PREROLL_LOCK in a failure case.
1080
1081 2005-11-24  Wim Taymans  <wim@fluendo.com>
1082
1083         * docs/gst/gstreamer-sections.txt:
1084         * gst/base/gstadapter.h:
1085         * gst/base/gstbasesink.h:
1086         * gst/base/gstbasesrc.h:
1087         * gst/base/gstbasetransform.h:
1088         * gst/base/gstpushsrc.h:
1089         * gst/elements/gstfakesink.h:
1090         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1091         * gst/elements/gstfakesrc.h:
1092         * gst/elements/gstfilesink.h:
1093         * gst/elements/gstfilesrc.h:
1094         * gst/gst.c:
1095         * gst/gstbin.c:
1096         * gst/gstbuffer.c: (_gst_buffer_copy):
1097         * gst/gstbus.h:
1098         * gst/gstcaps.c:
1099         * gst/gstchildproxy.c:
1100         * gst/gstclock.c:
1101         * gst/gstelement.c:
1102         * gst/gstelementfactory.c:
1103         * gst/gstelementfactory.h:
1104         * gst/gstevent.c:
1105         * gst/gstghostpad.h:
1106         * gst/gstindex.h:
1107         * gst/gstinterface.h:
1108         * gst/gstminiobject.c:
1109         * gst/gstminiobject.h:
1110         * gst/gstpad.c:
1111         * gst/gstpad.h:
1112         * gst/gstpadtemplate.h:
1113         * gst/gstpipeline.h:
1114         * gst/gstpluginfeature.h:
1115         * gst/gstquery.h:
1116         * gst/gstqueue.h:
1117         * gst/gsttaglist.c:
1118         * gst/gsttaglist.h:
1119         * gst/gsttagsetter.c:
1120         * gst/gsttagsetter.h:
1121         * gst/gsttrace.c:
1122         * gst/gsttrace.h:
1123         * gst/gsttypefind.h:
1124         * gst/gsturi.h:
1125         * gst/gstvalue.c:
1126         * gst/net/gstnetclientclock.c:
1127         * gst/net/gstnetclientclock.h:
1128         * gst/net/gstnettimepacket.c:
1129         * gst/net/gstnettimeprovider.c:
1130         * gst/net/gstnettimeprovider.h:
1131         Doc fixes.
1132
1133 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1134
1135         * configure.ac: back to HEAD
1136
1137 === release 0.9.6 ===
1138
1139 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1140
1141         * configure.ac:
1142           releasing 0.9.6, "Always On Time"
1143
1144 2005-11-23  Wim Taymans  <wim@fluendo.com>
1145
1146         * docs/gst/gstreamer-sections.txt:
1147         * gst/glib-compat.c:
1148         * gst/gsttagsetter.c:
1149         * gst/gstvalue.c:
1150         * gst/net/gstnetclientclock.c:
1151         * gst/net/gstnettimepacket.h:
1152         Doc updates.
1153
1154 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1155
1156         * docs/faq/using.xml:
1157         * docs/libs/tmpl/gstcontrol.sgml:
1158         * docs/manual/advanced-dparams.xml:
1159         * docs/manual/appendix-checklist.xml:
1160         * docs/manual/basics-elements.xml:
1161         * docs/pwg/other-source.xml:
1162         * docs/random/moving-plugins:
1163         * gst/gstpad.c:
1164         * tools/gst-launch.1.in:
1165           remove mentions of sinesrc
1166
1167 2005-11-23  Michael Smith <msmith@fluendo.com>
1168
1169         * docs/gst/gstreamer-sections.txt:
1170           Update for new API and API changes.
1171         * gst/gstobject.h:
1172           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1173         * gst/gstvalue.c:
1174           Documentation typo fix.
1175         * gst/net/gstnettimepacket.c:
1176           Documentation fixes for arguments.
1177
1178 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1179
1180         * gst/gststructure.c: (gst_structure_get_fraction),
1181         (gst_structure_parse_value),
1182         (gst_structure_fixate_field_nearest_fraction):
1183         * gst/gststructure.h:
1184         * gst/gstutils.c: (gst_util_uint64_scale_int):
1185         * gst/gstutils.h:
1186         * scripts/update-funcnames:
1187         API Changes. 
1188         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1189         Make gst_structure_fixate_field_nearest_fraction take a numerator
1190         and denominator argument instead of a GValue
1191         add gst_structure_get_fraction helper function.
1192
1193 2005-11-23  Wim Taymans  <wim@fluendo.com>
1194
1195         * docs/design/part-TODO.txt:
1196         Update TODO.
1197
1198         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1199         * gst/net/gstnetclientclock.h:
1200         Use parent fields for timeout and window_size.
1201
1202 2005-11-23  Andy Wingo  <wingo@pobox.com>
1203
1204         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1205         rate_num/rate_denom change.
1206
1207         * gst/net/gstnetclientclock.c
1208         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1209         OBJECT_LOCK. Don't call add_observation with the lock.
1210
1211         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1212         fraction.
1213         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1214         rate fraction.
1215         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1216         deal with rate as a fraction whose numerator and denominator are
1217         GstClockTime values.
1218         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1219         master; the other fields are protected by the SLAVE_LOCK.
1220         (do_linear_regression): Note that this must be called with the
1221         SLAVE_LOCK.
1222         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1223         OBJECT_LOCK. Call set_calibration instead of touching the
1224         variables directly.
1225         (gst_clock_set_property, gst_clock_get_property): Protect
1226         master/slave parameters with the SLAVE_LOCK.
1227
1228         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1229         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1230         note that all of the instance variables that add_observation and
1231         the set_master functions use are protected by that lock and not
1232         the OBJECT_LOCK.
1233         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1234
1235         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1236         the caller to take the object lock.
1237
1238 2005-11-23  Wim Taymans  <wim@fluendo.com>
1239
1240         * gst/gsterror.c: (_gst_core_errors_init):
1241         * gst/gsterror.h:
1242         Add error for clock stuff.
1243
1244         * gst/gstpipeline.c: (gst_pipeline_change_state),
1245         (gst_pipeline_set_clock):
1246         Post clock error when clock cannot be used in a pipeline.
1247
1248 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1249
1250         * docs/gst/gstreamer-sections.txt:
1251           make two symbols from gstinfo private for the docs
1252         * gst/base/gstcollectpads.h:
1253         * gst/gstutils.c:
1254           fix doc typos, update docs
1255
1256 2005-11-22  Wim Taymans  <wim@fluendo.com>
1257
1258         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1259         (gst_base_sink_wait), (gst_base_sink_do_sync),
1260         (gst_base_sink_handle_event):
1261         * gst/base/gstbasesink.h:
1262         No need to store the clock, the parent element class already
1263         has it.
1264
1265         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1266         Updates for clock_set returning a gboolean
1267
1268         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1269         (gst_clock_id_wait_async), (gst_clock_class_init),
1270         (gst_clock_init), (gst_clock_finalize),
1271         (gst_clock_get_internal_time), (gst_clock_get_time),
1272         (gst_clock_slave_callback), (gst_clock_set_master),
1273         (gst_clock_get_master), (do_linear_regression),
1274         (gst_clock_add_observation), (gst_clock_set_property),
1275         (gst_clock_get_property):
1276         * gst/gstclock.h:
1277         Implement master/slave. When setting a clock as a slave, a
1278         periodic timeout is scheduled to sample master and slave times.
1279         Then the slave clock is recalibrated to match offset and rate
1280         of the master clock.
1281         Update logging a bit.
1282         Add flag so that a clock can state that is cannot be slaved to
1283         another clock.
1284
1285         * gst/gstelement.c: (gst_element_set_clock):
1286         * gst/gstelement.h:
1287         The set clock returns a gboolean for when an element cannot
1288         deal with the selected clock in the pipeline. 
1289
1290         * gst/gstpipeline.c: (gst_pipeline_change_state),
1291         (gst_pipeline_set_clock):
1292         * gst/gstpipeline.h:
1293         Handle the case where the selected clock cannot be set on
1294         the pipeline.
1295
1296         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1297         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1298         (gst_net_client_clock_set_property),
1299         (gst_net_client_clock_get_property),
1300         (gst_net_client_clock_observe_times):
1301         * gst/net/gstnetclientclock.h:
1302         Use regression code in GstClock parent, remove duplicated
1303         functionality.
1304
1305 2005-11-22  Michael Smith <msmith@fluendo.com>
1306
1307         * gst/gstutils.c: (gst_util_clock_time_scale):
1308         * gst/gstutils.h:
1309         * docs/gst/gstreamer-sections.txt:
1310           Rename method to have extra underscore.
1311
1312 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1313
1314         * gst/elements/Makefile.am:
1315         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1316         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1317         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1318         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1319         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1320         * gst/elements/gstfakesrc.h:
1321         * gst/gstqueue.c: (queue_leaky_get_type):
1322           correctly fix GEnumValues so that nick is the short lowercase
1323           dashed tag
1324         * tools/gst-inspect.c: (print_element_properties_info):
1325           also show the nick, since it's useful to use from parse_launch
1326           syntax
1327           Fixes #322139
1328
1329 2005-11-22  Michael Smith <msmith@fluendo.com>
1330
1331         * gst/gstutils.c: (gst_util_clocktime_scale):
1332         * gst/gstutils.h:
1333         * docs/gst/gstreamer-sections.txt:
1334           Add util method for scaling a clocktime by a fraction. Useful 
1335           implementation is left as an exercise for the reader.
1336
1337 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1338
1339         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1340         If needed, allocate storage in the destination value during
1341         collection.
1342
1343 2005-11-22  Edward Hervey  <edward@fluendo.com>
1344
1345         * docs/gst/gstreamer-sections.txt:
1346         * gst/Makefile.am:
1347         * gst/gst.h:
1348         * gst/gsturitype.c:
1349         * gst/gsturitype.h:
1350         * gst/gstutils.c: (gst_util_set_object_arg):
1351         * tools/gst-compprep.c: (main):
1352         * tools/gst-inspect.c: (print_element_properties_info):
1353         Removed GstURI, closes bug #321061
1354
1355 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1356
1357         * check/gst/gststructure.c: (GST_START_TEST):
1358         * gst/gststructure.c: (gst_structure_parse_value):
1359           Oops, broke automatic string type parsing.
1360           Add a test to catch it in future.
1361
1362 2005-11-22  Andy Wingo  <wingo@pobox.com>
1363
1364         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1365         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1366         Actually rename the function implementations. Grr.
1367
1368 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1369
1370         * check/gst/capslist.h:
1371           Comment test cases
1372         * check/gst/gststructure.c: (GST_START_TEST),
1373         (gst_structure_suite):
1374           Test automatic value type detection in gst_structure_from_string.
1375         * gst/gststructure.c: (gst_structure_parse_value):
1376           Add fraction as a type we try and guess automatically in
1377           caps/structure strings.
1378
1379 2005-11-22  Andy Wingo  <wingo@pobox.com>
1380
1381         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1382
1383         * gst/gsttagsetter.h:
1384         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1385         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1386         (gst_tag_setter_add_tag_valist)
1387         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1388         _add_values, _add_valist, and _add_valist_values. Since this is an
1389         interface the function suffixes should be more explicit so
1390         language binding don't end up with element.add_valist ->
1391         gst_tag_setter_add_valist, for example. Fixes #322069.
1392
1393 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1394
1395         * check/gst/gstcaps.c: (GST_START_TEST):
1396           Extend caps string tests to check that a caps to string
1397           conversion is reversible and produces the same caps.
1398
1399         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1400           Output "fraction" as the generic type fraction range, so caps
1401           serialisation and deserialisation works.
1402         * check/gst/capslist.h:
1403         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1404           Support 'MIN' and 'MAX' for deserialising fractions.
1405
1406 2005-11-22  Andy Wingo  <wingo@pobox.com>
1407
1408         * gst/gstevent.h (gst_event_new_new_segment)
1409         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1410         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1411         Renamed from *_newsegment, *_buffersize, *_notarget.
1412
1413         * scripts/update-funcnames: New script, performs the changes
1414         listed above.
1415
1416 2005-11-22  Wim Taymans  <wim@fluendo.com>
1417
1418         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1419         Make sure the GstFlowReturn is returned.
1420
1421         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1422         (gst_bus_add_signal_watch):
1423         * gst/gstbus.h:
1424         add gst_bus_add_signal_watch_full.
1425
1426         * gst/gstplugin.c: (gst_plugin_load_file):
1427         Small style cleanup.
1428
1429 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1430
1431         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1432           Block the fakesrc srcpad when we send an event, to avoid
1433           contention on the stream_lock causing random test failures.
1434
1435 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1436
1437         * check/gst/gstvalue.c: (GST_START_TEST):
1438         * gst/gstvalue.c: (gst_value_fraction_subtract):
1439           Fix subtraction.
1440
1441 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1442
1443         * gst/gst.h:
1444           include "gstchildproxy.h"
1445         * gst/gstchildproxy.h:
1446         * libs/gst/controller/gstcontroller.h:
1447           use G_GNUC_NULL_TERMINATED
1448
1449 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1450
1451         * check/gst/capslist.h:
1452         * check/gst/gstcaps.c: (GST_START_TEST):
1453         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1454         * gst/gststructure.c: (gst_structure_parse_range),
1455         (gst_structure_fixate_field_nearest_fraction):
1456         * gst/gststructure.h:
1457         * gst/gstvalue.c: (gst_value_init_fraction_range),
1458         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1459         (gst_value_collect_fraction_range),
1460         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1461         (gst_value_set_fraction_range_full),
1462         (gst_value_get_fraction_range_min),
1463         (gst_value_get_fraction_range_max),
1464         (gst_value_serialize_fraction_range),
1465         (gst_value_transform_fraction_range_string),
1466         (gst_value_compare_fraction_range),
1467         (gst_value_deserialize_fraction_range),
1468         (gst_value_intersect_fraction_fraction_range),
1469         (gst_value_intersect_fraction_range_fraction_range),
1470         (gst_value_subtract_fraction_fraction_range),
1471         (gst_value_subtract_fraction_range_fraction),
1472         (gst_value_subtract_fraction_range_fraction_range),
1473         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1474         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1475         (gst_value_transform_string_fraction), (_gst_value_initialize):
1476         * gst/gstvalue.h:
1477           Implement fraction ranges and extend GstFraction to support
1478           arithmetic subtraction, as well as deserialization from integer
1479           strings such as "100"
1480           Add a testsuite as for int and double range set operations
1481
1482 2005-11-21  Andy Wingo  <wingo@pobox.com>
1483
1484         * gst/gsttaglist.h: 
1485         * gst/gstcaps.h: 
1486         * gst/gststructure.h: Add glib-compat.h.
1487
1488 2005-11-21  Wim Taymans  <wim@fluendo.com>
1489
1490         * gst/gstbin.c: (gst_bin_change_state_func):
1491         Fix for #321595
1492
1493 2005-11-21  Wim Taymans  <wim@fluendo.com>
1494
1495         * gst/gstsegment.h:
1496         And add a nice define too.
1497
1498 2005-11-21  Wim Taymans  <wim@fluendo.com>
1499
1500         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1501         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1502         (gst_segment_set_duration), (gst_segment_set_last_stop),
1503         (gst_segment_set_seek), (gst_segment_set_newsegment),
1504         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1505         (gst_segment_clip):
1506         * gst/gstsegment.h:
1507         Make binding friendly.
1508
1509 2005-11-21  Andy Wingo  <wingo@pobox.com>
1510
1511         * gst/gsttagsetter.h: 
1512         * gst/gsttaglist.h: 
1513         * gst/gststructure.h: 
1514         * gst/gstcaps.h: 
1515         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1516         #319940.
1517
1518         * gst/gsterror.c (_gst_core_errors_init):
1519         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1520         category.
1521
1522         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1523         (noinst_HEADERS): noinst the -private.
1524
1525 2005-11-21  Michael Smith <msmith@fluendo.com>
1526
1527         * gst/gstplugin.h:
1528         * gst/gstregistry.h:
1529           Remove unimplemented declarations for which we can see no sensible
1530           use.
1531
1532 2005-11-21  Andy Wingo  <wingo@pobox.com>
1533
1534         * gst/gst.h: Include glib-compat.h.
1535
1536         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1537
1538         * gst/glib-compat.c: Include the public and the private header.
1539
1540         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1541
1542         * gst/gstvalue.c: 
1543         * gst/gstpad.c: 
1544         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1545
1546         * check/gst/gstevent.c (create_custom_events): Check that
1547         FLUSH_STOP is serialized.
1548
1549         * check/elements/identity.c (event_func): 
1550         * check/elements/fakesrc.c (event_func): No stream lock, the core
1551         takes it.
1552
1553         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1554         stream lock taking, yay.
1555
1556         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1557         ensure that core takes the stream lock.
1558
1559         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1560         lock name change.
1561
1562         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1563         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1564         it already. For the flush start we do take it though so we get the
1565         right preroll state change messages.
1566
1567         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1568         the stream lock here, the core does it for us.
1569
1570         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1571         GST_STREAM_GET_LOCK.
1572         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1573         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1574         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1575         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1576         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1577         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1578
1579         * gst/gstpad.c: Update for stream lock name change.
1580
1581         * gst/base/gstbasesink.c: Update for preroll lock name change.
1582
1583 2005-11-21  Wim Taymans  <wim@fluendo.com>
1584
1585         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1586         (gst_clock_get_master):
1587         * gst/gstclock.h:
1588         * gst/gstsystemclock.c: (gst_system_clock_init):
1589         Convert Clock flags to object flags.
1590         Added methods to manage master/slave clocks.
1591
1592 2005-11-21  Wim Taymans  <wim@fluendo.com>
1593
1594         * check/gst/gstsegment.c: (GST_START_TEST):
1595         * docs/design/part-TODO.txt:
1596         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1597         (gst_base_sink_event), (gst_base_sink_do_sync),
1598         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1599         (gst_base_sink_query), (gst_base_sink_change_state):
1600         * gst/base/gstbasesink.h:
1601         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1602         (gst_base_src_default_newsegment),
1603         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1604         (gst_base_src_get_range), (gst_base_src_loop),
1605         (gst_base_src_change_state):
1606         * gst/base/gstbasesrc.h:
1607         * gst/base/gstbasetransform.c:
1608         (gst_base_transform_prepare_output_buf),
1609         (gst_base_transform_event), (gst_base_transform_change_state):
1610         * gst/base/gstbasetransform.h:
1611         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1612         (gst_collect_pads_event):
1613         * gst/base/gstcollectpads.h:
1614         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1615         (gst_fake_src_create):
1616         * gst/elements/gstfakesrc.h:
1617         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1618         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1619         (gst_segment_set_last_stop), (gst_segment_set_seek),
1620         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1621         (gst_segment_to_running_time), (gst_segment_clip):
1622         * gst/gstsegment.h:
1623         More segment updates, replace code in plugins with segment
1624         helper functions.
1625
1626 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1627
1628         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1629         Don't ignore sscanf results
1630
1631 2005-11-21  Andy Wingo  <wingo@pobox.com>
1632
1633         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1634
1635         * *.h:
1636         * *.c: Ran scripts/update-macros. Oh yes.
1637
1638         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1639         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1640         GST_GET_LOCK, etc.
1641
1642         * scripts/update-macros: New script. Run it on your files to
1643         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1644         well.
1645
1646 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1647
1648         * docs/gst/Makefile.am:
1649         * docs/gst/gstreamer-docs.sgml:
1650         * docs/gst/gstreamer-sections.txt:
1651         * docs/gst/gstreamer.types:
1652         * gst/gstinfo.h:
1653           more docs fixes, add new api to the docs
1654
1655 2005-11-21  Andy Wingo  <wingo@pobox.com>
1656
1657         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1658         state_broadcast call.
1659
1660         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1661
1662 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1663
1664         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1665         function calls for arrays.
1666
1667 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1668
1669         * docs/random/ensonic/media-device-daemon.txt:
1670           wild idea, can this be done?
1671         * docs/gst/gstreamer-sections.txt:
1672         * gst/gsterror.h:
1673         * gst/gstfilter.c:
1674         * gst/gstfilter.h:
1675         * gst/gstplugin.h:
1676         * gst/gstpluginfeature.c:
1677         * gst/gsttrace.c:
1678         * gst/gstvalue.c:
1679         * gst/gstvalue.h:
1680           doc fixes and additions
1681
1682 2005-11-21  Andy Wingo  <wingo@pobox.com>
1683
1684         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1685         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1686         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1687         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1688         private to the basesrc implementation.
1689
1690         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1691         behalf of event function if necessary. It should no longer be
1692         necessary to take the stream lock in pad's event functions. Fixes
1693         #320299.
1694
1695 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1696         * docs/gst/gstreamer-sections.txt:
1697         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1698         (gst_structure_fixate_field_nearest_double),
1699         (gst_structure_fixate_field_boolean):
1700         * gst/gststructure.h:
1701         * win32/common/libgstreamer.def:
1702         * win32/gstreamer.def:
1703
1704         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1705         (#322027)
1706
1707 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1708
1709         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1710         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1711         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1712         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1713         (gst_fdsrc_uri_handler_init):
1714         * gst/elements/gstfdsrc.h:
1715           Port fd:// URI handler from 0.8 to fdsrc
1716
1717 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1718
1719         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1720         (gst_value_serialize_fourcc):
1721         * gst/gstvalue.h:
1722           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1723           consistent with our other format defines (#320324).
1724
1725 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1726
1727         * gst/gstvalue.c: (gst_value_is_fixed):
1728           Revert previous commit. Value lists are by definition
1729           not fixed, as they are a list of possible values.
1730
1731 2005-11-21  Andy Wingo  <wingo@pobox.com>
1732
1733         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1734         during the stable series if we need it. Fixes #319178.
1735
1736         * gst/gstevent.c (gst_event_new_filler): Removed.
1737
1738         * check/gst/gstevent.c: Update comment about filler events.
1739
1740 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1741
1742         * gst/gstvalue.c: (gst_value_is_fixed):
1743           Should handle both value arrays and value lists.
1744
1745 2005-11-21  Andy Wingo  <wingo@pobox.com>
1746
1747         patch by: Alessandro Dessina <alessandro nnva org>
1748
1749         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1750         functions to access arrays. Fixes #321962.
1751
1752 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1753
1754         * docs/gst/gstreamer.types:
1755           gst_collectpads_get_type => gst_collect_pads_get_type.
1756           
1757         * gst/base/gstbasetransform.c:
1758           Remove unused SIGNAL_HANDOFF enum.
1759
1760 2005-11-21  Andy Wingo  <wingo@pobox.com>
1761
1762         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1763         the event type (upstream, downstream, serialized). Renamed
1764         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1765         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1766         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1767
1768         * gst/gstevent.c: Update for new CUSTOM event names.
1769
1770         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1771
1772         * gst/gstevent.h:
1773         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1774         bug #319392.
1775
1776 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1777
1778         * docs/gst/gstreamer-sections.txt:
1779         * win32/common/libgstbase.def:
1780         * win32/libgstbase.def:
1781         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1782         (gst_collect_pads_class_init), (gst_collect_pads_init),
1783         (gst_collect_pads_finalize), (gst_collect_pads_new),
1784         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1785         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1786         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1787         (gst_collect_pads_start), (gst_collect_pads_stop),
1788         (gst_collect_pads_peek), (gst_collect_pads_pop),
1789         (gst_collect_pads_available), (gst_collect_pads_read),
1790         (gst_collect_pads_flush), (gst_collect_pads_event),
1791         (gst_collect_pads_chain):
1792         * gst/base/gstcollectpads.h:
1793           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1794           unimplemented functions as unimplemented. Add padding to
1795           GstCollectData. (#320766, #320423)
1796
1797 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1798
1799         * gst/gstmessage.c:
1800           Improve docs for DURATION message (usage of duration parameter)
1801           (#320113)
1802
1803 2005-11-20  Wim Taymans  <wim@fluendo.com>
1804
1805         * check/Makefile.am:
1806         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1807         (main):
1808         * gst/Makefile.am:
1809         * gst/gst.h:
1810         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1811         (gst_segment_set_seek), (gst_segment_set_newsegment),
1812         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1813         (gst_segment_clip):
1814         * gst/gstsegment.h:
1815         Added segment helper structure and methods. Not fully implemented
1816         yet.
1817         Added segment check.
1818
1819 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1820
1821         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1822           Add a deserialisation test for fractions
1823         * examples/metadata/read-metadata.c: (message_loop),
1824         (make_pipeline), (main):
1825           Fix up metadata reading sample.
1826         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1827           Debug format fix
1828         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1829           Don't try and fixate empty caps
1830         * gst/gst_private.h:
1831           Wrap in G_BEGIN_DECLS/G_END_DECLS
1832         * gst/gstvalue.c: (gst_value_collect_fraction),
1833         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1834         (gst_value_transform_string_fraction),
1835         (gst_value_compare_fraction):
1836           Add some extra guards to ensure that we don't end up 
1837           with an invalid denominator of 0 in a gstfraction and
1838           that fractions always get reduced.
1839
1840 2005-11-20  Wim Taymans  <wim@fluendo.com>
1841
1842         * docs/gst/gstreamer-sections.txt:
1843         * gst/gstbuffer.h:
1844         * gst/gstelement.c:
1845         * gst/gstformat.c:
1846         * gst/gstformat.h:
1847         * gst/gstindex.h:
1848         * gst/gstquery.c:
1849         * gst/gstquery.h:
1850         * gst/gstvalue.c:
1851         Doc fixes.
1852
1853 2005-11-20  Wim Taymans  <wim@fluendo.com>
1854
1855         * docs/design/part-TODO.txt:
1856         * gst/gstcaps.h:
1857         Make a proper enum of the flag.
1858
1859 2005-11-19  Wim Taymans  <wim@fluendo.com>
1860
1861         * docs/design/part-TODO.txt:
1862         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1863         (gst_format_to_quark), (gst_format_register):
1864         * gst/gstformat.h:
1865         * gst/gstquery.c: (_gst_query_initialize),
1866         (gst_query_type_get_name), (gst_query_type_to_quark),
1867         (gst_query_type_register):
1868         * gst/gstquery.h:
1869         Add type to quark and type to string conversions.
1870
1871 2005-11-19  Andy Wingo  <wingo@pobox.com>
1872
1873         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1874         #320097.
1875
1876 2005-11-19  Wim Taymans  <wim@fluendo.com>
1877
1878         * docs/design/part-TODO.txt:
1879         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1880         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1881         (gst_bin_handle_message_func):
1882         * gst/gstbin.h:
1883         Make message handling overridable.
1884
1885 2005-11-19  Andy Wingo  <wingo@pobox.com>
1886
1887         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1888
1889         * gst/gstclock.h:
1890         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1891         be a GstClockTime.
1892         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1893         is a GstClockTime. Fixes #321710.
1894
1895         * gst/gstclock.h (GstClock): Remove offset property. Add
1896         internal_calibration and external_calibration. Fix padding. Pad
1897         also by GstClockTime so we don't run into problems.
1898
1899         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1900         (gst_clock_get_rate_offset): Remove.
1901         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1902
1903         * gst/gstutils.h:
1904         * gst/gstutils.c (g_static_rec_cond_wait)
1905         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1906
1907         * gst/gstbin.c: Remove terrible continue_state prototype.
1908
1909         * gst/gstelement.h (gst_element_continue_state): Make public.
1910
1911         * gst/gstelement.h:
1912         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1913         by continue_state. Fixes #319389.
1914
1915         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1916         Really fixes #168438. However I don't see anywhere where the
1917         filter function is called... stupid GStreamer...
1918         
1919         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1920         don't have a dispose function, so it won't get called when the
1921         object is unreffed, but oh well!
1922
1923         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1924         allows a destroy function to be set so user_data can be freed.
1925         Fixes #168438.
1926         (gst_index_set_filter): Call gst_index_set_filter_full.
1927
1928         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1929
1930         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1931         string should produce an error, given the lack of a way to
1932         represent NULL strings. Fixes #165650.
1933         
1934         * gst/gstvalue.h: 
1935         * gst/gstvalue.c (gst_value_array_append_value) 
1936         (gst_value_array_prepend_value, gst_value_array_get_size) 
1937         (gst_value_array_get_value): New API, copied from
1938         gst_value_list_*, only operates on arrays.
1939         (gst_value_list_append_value, gst_value_list_prepend_value) 
1940         (gst_value_list_concat, gst_value_list_get_size) 
1941         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1942
1943         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1944         init_list, because it works on both.
1945         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1946         (gst_value_copy_list_or_array): Renamed from copy_list.
1947         (gst_value_free_list_or_array): Renamed from free_list.
1948         (gst_value_collect_list_or_array): Renamed from collect_list.
1949         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1950         (gst_value_list_or_array_peek_pointer): Renamed from
1951         list_peek_pointer.
1952         (_gst_value_array_value_table, _gst_value_list_value_table):
1953         Update value table functions.
1954         (gst_value_compare_list_or_array): Renamed from compare_list.
1955
1956         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1957         some constness.
1958
1959         * gst/gsttaglist.c:
1960         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1961         GstTagList*. Fixes #143472.
1962
1963         * gst/gststructure.h: Clarify what the foreach/map functions can
1964         or can't do to their arguments.
1965
1966 2005-11-18  Wim Taymans  <wim@fluendo.com>
1967
1968         * gst/gstclock.c: (gst_clock_set_calibration),
1969         (gst_clock_get_calibration):
1970         Doc and API fixes.
1971         Calibration can be set with internal time equal to current
1972         internal time too.
1973
1974 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1975
1976         * gst/gsterror.c:
1977         * gst/gsterror.h:
1978           document
1979
1980 2005-11-18  Andy Wingo  <wingo@pobox.com>
1981
1982         * configure.ac: 
1983         * pkgconfig/gstreamer-net.pc.in:
1984         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1985         * pkgconfig/Makefile.am: Add net pkgconfig files.
1986
1987 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1988
1989         * gst/gstcaps.c:
1990         * gst/gstghostpad.c:
1991         * gst/gsttrace.c:
1992         * gst/gstvalue.c:
1993         * gst/gstvalue.h:
1994           docs fixes
1995
1996 2005-11-18  Andy Wingo  <wingo@pobox.com>
1997
1998         * gst/net/gstnetclientclock.c: Turn off debugging.
1999
2000         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2001         times connverge somewhat. Can't make a real test.
2002
2003         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2004         integer arithmetic. Return the minimum of the domain, which can be
2005         set as "internal" for gst_clock_set_calibration.
2006         (gst_net_client_clock_observe_times): Call _set_calibration.
2007         (gst_net_client_clock_new): Call _set_calibration instead of
2008         rate_offset.
2009
2010         * check/net/gstnetclientclock.c (test_functioning): Use the right
2011         adjustment api.
2012
2013         * gst/gstclock.h:
2014         * gst/gstclock.c (gst_clock_get_calibration) 
2015         (gst_clock_set_calibration): New functions, obsolete the ones I
2016         added yesterday. Doh. Precision issues mean we have to extrapolate
2017         from a point in the more recent past than 1970.
2018         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2019         obsolete.
2020         (gst_clock_adjust_unlocked): Use the right calibration data.
2021
2022 2005-11-18  Edward Hervey  <edward@fluendo.com>
2023
2024         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2025         Also reset the ->current_* values in READY->PAUSED
2026
2027 2005-11-18  Andy Wingo  <wingo@pobox.com>
2028
2029         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2030         Whoops, check the right fd. Also add some debugging.
2031         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2032         (do_linear_regression): Add a crapload of debugging. Subtract off
2033         the minimum values from the input series to discard unneeded bits.
2034         Use only int arithmetic. There is still double arithmetic when
2035         calculating the intercept that needs fixing. Return boolean to
2036         indicate success; FALSE would mean the domain or range is too
2037         great. Still needs fixes.
2038
2039 2005-11-18  Wim Taymans  <wim@fluendo.com>
2040
2041         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2042         For the current position in stream time, we need to subtract
2043         accumulated time.
2044         
2045         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2046         Release lock before calling the callback function of async
2047         entries.
2048
2049 2005-11-18  Andy Wingo  <wingo@pobox.com>
2050
2051         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2052         Port goes all the way to MAXUINT16.
2053
2054         * gst/net/gstnettimeprovider.c: Make the port range the same as
2055         for the kernel: 0 assigns, otherwise ports are less than
2056         MAXUINT16.
2057
2058         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2059         port change.
2060
2061         * check/net/gstnetclientclock.c (test_functioning): Add the start
2062         of another test. 
2063
2064 2005-11-18  Wim Taymans  <wim@fluendo.com>
2065
2066         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2067         (gst_bin_remove_func), (bin_bus_handler):
2068         * gst/gstbin.h:
2069         Removing a clock provider from a bin, triggers a clock lost message
2070         so that a new clock will be selected.
2071         Adding a clock to a bin triggers a clock provider message.
2072         Make sure we reselect a clock when we received a clock lost message.
2073         Keep a reference to the element that provided the clock.
2074
2075 2005-11-18  Andy Wingo  <wingo@pobox.com>
2076
2077         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2078         the clock initially so it produces values around the base time.
2079         (gst_net_client_clock_class_init): Typo fix.
2080         (gst_net_client_clock_thread): Add note on when the socket gets
2081         closed.
2082
2083 2005-11-17  Wim Taymans  <wim@fluendo.com>
2084
2085         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2086         Free remote and local time arrays.
2087
2088 2005-11-17  Wim Taymans  <wim@fluendo.com>
2089
2090         * gst/net/gstnetclientclock.c: (do_linear_regression),
2091         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2092         Fix compilation, uninitialized vars and a forgotten continue.
2093
2094 2005-11-17  Andy Wingo  <wingo@pobox.com>
2095
2096         * check/Makefile.am (check_PROGRAMS): 
2097         * check/net/gstnetclientclock.c: Add a most minimal test for the
2098         net client clock. More to come later.
2099
2100         * gst/net/gstnet.h: 
2101         * gst/net/Makefile.am: Add netclientclock.
2102
2103         * gst/net/gstnetclientclock.h:
2104         * gst/net/gstnetclientclock.c: New files, implement an untested
2105         GstClock that takes its time from a network time provider.
2106         Implements the algorithm in network-clock.scm.
2107
2108         * tests/network-clock.scm (*window-size*): Rename from
2109         *queue-length*.
2110         * tests/network-clock.scm (network-time): 
2111         * tests/network-clock-utils.scm (q-push): Update callers.
2112
2113 2005-11-17  Wim Taymans  <wim@fluendo.com>
2114
2115         * gst/gstbin.c: (gst_bin_provide_clock_func),
2116         (gst_bin_sort_iterator_new):
2117         And unref the child too..
2118
2119 2005-11-17  Wim Taymans  <wim@fluendo.com>
2120
2121         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2122         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2123         Refactor the sort iterator so it can be used while holding the
2124         LOCK too.
2125         Make clock selection select a clock closest to the source.
2126
2127 2005-11-17  Michael Smith <msmith@fluendo.com>
2128
2129         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2130         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2131         * gst/gstclock.h:
2132           Anonymous structs are a gcc (and some other compilers) extension, so
2133           don't use them. Since this is only for ABI-compatibility, and our
2134           API/ABI freeze is over in a few days, this whole thing will only
2135           last a few days, so don't bother trying to think up a meaningful
2136           name for the struct.
2137
2138 2005-11-17  Andy Wingo  <wingo@pobox.com>
2139
2140         * gst/gstclock.h (GstClock): Add rate and offset properties,
2141         preserving ABI stability. Add rate/offset accessors. Will file bug
2142         for the freeze break.
2143
2144         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2145         and offset, trying to keep precision and avoiding
2146         underflow/overflow.
2147         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2148         functions. Make gst_clock_set_time_adjust obsolete.
2149         (gst_clock_set_time_adjust): Note that this function is obsolete.
2150         Will file bug soon.
2151
2152         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2153         greppable by using GST_PADDING-1+1.
2154
2155 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2156
2157         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2158
2159         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2160           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2161
2162         * gst/gstpadtemplate.h:
2163         * gst/gstpluginfeature.h:
2164           Don't use c++ style comments in headers (#321638).
2165
2166 2005-11-16  Andy Wingo  <wingo@pobox.com>
2167
2168         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2169         buffer.
2170
2171         * check/net/gstnettimeprovider.c: Check to see that the time
2172         provider actually provides times. Works, yo!
2173
2174 2005-11-16  Wim Taymans  <wim@fluendo.com>
2175
2176         * check/Makefile.am:
2177         Enable more tests.
2178
2179         * check/elements/fakesrc.c: (GST_START_TEST):
2180         Set element to NULL before disposing it.
2181
2182 2005-11-16  Andy Wingo  <wingo@pobox.com>
2183
2184         * gst/net/Makefile.am:
2185         * gst/net/gstnet.h:
2186         * gst/net/gstnettimeprovider.c: 
2187         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2188         provider, include it from gstnet.h, and add it to the build.
2189
2190         * gst/net/gstnettimepacket.h: 
2191         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2192         sending and receiving.
2193
2194 2005-11-16  Wim Taymans  <wim@fluendo.com>
2195
2196         * check/Makefile.am:
2197         Enable valgrind check.
2198
2199         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2200         (gst_fake_src_alloc_buffer):
2201         Fix memleak.
2202
2203 2005-11-16  Wim Taymans  <wim@fluendo.com>
2204
2205         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2206         Call parent finalize too.
2207
2208 2005-11-16  Wim Taymans  <wim@fluendo.com>
2209
2210         * check/Makefile.am:
2211         Enable valgrind check that should work fine now.
2212
2213         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2214         * gst/gstqueue.c: (gst_queue_init):
2215         Fix memleaks in pad allocation.
2216
2217 2005-11-16  Andy Wingo  <wingo@pobox.com>
2218
2219         * gst/net/Makefile.am:
2220         * gst/net/gstnet.h: New part of core to hold network elements and
2221         objects. Put in core because it exposes API that applications want
2222         to use. The library is named libgstnet-tempname right now because
2223         of the existing libgstnet in gst-plugins-base. Solution is
2224         probably to rename the one in plugins-base; will file a bug for
2225         the freeze break.
2226
2227         * gst/net/gstnettimeprovider.c: 
2228         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2229         get_time call over the network.
2230
2231         * configure.ac: 
2232         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2233
2234         * check/Makefile.am:
2235         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2236         get additions shortly.
2237
2238 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2239
2240         * gst/gstpad.c: (gst_pad_new_from_static_template):
2241         * gst/gstpad.h:
2242           add gst_pad_new_from_static_template functions
2243         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2244         (gst_check_setup_sink_pad):
2245         * gst/elements/gsttee.c: (gst_tee_init):
2246           and use them
2247
2248 2005-11-16  Wim Taymans  <wim@fluendo.com>
2249
2250         * gst/gstpad.c: (gst_pad_pause_task):
2251         Removed warning, it's not really an error either.
2252
2253 2005-11-16  Wim Taymans  <wim@fluendo.com>
2254
2255         * gst/base/gstbasetransform.c:
2256         (gst_base_transform_prepare_output_buf),
2257         (gst_base_transform_event):
2258         Check if the caps are NULL, this can happen if the element
2259         is shutting down and the pad caps are set to NULL.
2260
2261 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2262
2263         * gst/elements/gsttee.c: (gst_tee_init):
2264           fix pad template leak in tee
2265
2266 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2267
2268         * gst/glib-compat.c: (g_value_dup_gst_object):
2269         * gst/glib-compat.h:
2270         * gst/gstpad.c: (gst_pad_set_property):
2271           use gst_object_ref when setting the pad template; this will
2272           trigger the pad template leaks on GLib 2.6 and the slaves
2273
2274 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2275
2276         * gst/glib-compat.c: (gst_flags_get_first_value):
2277         * gst/glib-compat.h:
2278         * gst/gstregistryxml.c:
2279           remove functions copied from GLib 2.6
2280
2281 2005-11-16  Michael Smith <msmith@fluendo.com>
2282
2283         * gst/Makefile.am:
2284           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2285           do, but only breaks with newer valgrind versions. We're not a
2286           valgrind tool, we have no link-time dependencies on libcoregrind.
2287
2288 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2289
2290         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2291           some debug changes
2292         * gst/gstmessage.h:
2293           typo fixes
2294
2295 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2296
2297         * gst/base/gstbasesrc.c: (gst_base_src_init):
2298         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2299         * gst/gstqueue.c: (gst_queue_init):
2300         * gst/gstregistryxml.c: (load_feature):
2301           Revert all these unrefs, they don't even pass make check !
2302
2303 2005-11-15  Johan Dahlin  <johan@gnome.org>
2304
2305         * gst/base/gstbasesrc.c: (gst_base_src_init):
2306         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2307         * gst/gstqueue.c: (gst_queue_init): 
2308         Free pad templates, fixes a couple of leaks.
2309
2310 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2311
2312         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2313
2314         * gst/gstpad.c: (gst_pad_get_property):
2315           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2316           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2317           (#321452)
2318
2319 2005-11-15  Wim Taymans  <wim@fluendo.com>
2320
2321         * gst/gstevent.c:
2322         Small doc update.
2323
2324 2005-11-15  Andy Wingo  <wingo@pobox.com>
2325
2326         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2327
2328         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2329         using GST_CLOCK_TIME_NONE to disable base time management.
2330         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2331         time if it was NONE before.
2332         (gst_pipeline_change_state): Only munge the base time if
2333         stream_time != GST_CLOCK_TIME_NONE.
2334
2335         * check/gst/gstpipeline.c (test_base_time): Punt around the
2336         problem of the probe not being called, because that's not the
2337         issue I'm looking at. Add a check that setting stream_time to NONE
2338         disables base time management.
2339         
2340 2005-11-15  Wim Taymans  <wim@fluendo.com>
2341
2342         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2343         segment_stop == -1 at startup.
2344
2345         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2346         (gst_base_transform_change_state):
2347         Init segment values at start.
2348
2349 2005-11-15  Wim Taymans  <wim@fluendo.com>
2350
2351         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2352         0 segment values are 0 in any format.
2353
2354         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2355         * gst/base/gstbasetransform.h:
2356         Parse newsegment correctly in basetransform
2357
2358         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2359         Sync to clock using updated segment values.
2360
2361 2005-11-15  Andy Wingo  <wingo@pobox.com>
2362
2363         * check/gst/gstpipeline.c (test_base_time): Add check that the
2364         base time and stream time are reset correctly.
2365
2366 2005-11-15  Wim Taymans  <wim@fluendo.com>
2367
2368         * docs/design/part-TODO.txt:
2369         Some more TODO items.
2370
2371 2005-11-15  Andy Wingo  <wingo@pobox.com>
2372
2373         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2374         error if the user selected "no clock" as the clocking method.
2375
2376         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2377         timestamps with live capture.
2378
2379         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2380         is 0 but we are a live source, timestamp the buffers using the
2381         element's clock.
2382
2383 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2384
2385         * docs/gst/gstreamer-sections.txt:
2386         * gst/gsterror.c:
2387         * gst/gstghostpad.c:
2388         * gst/gstobject.h:
2389         * gst/gstxml.c:
2390           more section docs
2391
2392 2005-11-14  Wim Taymans  <wim@fluendo.com>
2393
2394         * common/gst.supp:
2395           add suppressions from Wim's Debian machine
2396
2397 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2398
2399         * common/gst.supp:
2400           add suppressions from Andy's AMD64 Ubuntu machine
2401
2402 2005-11-14  Andy Wingo  <wingo@pobox.com>
2403
2404         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2405         STATE_LOCK not necessary. Fixes #311489.
2406
2407         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2408         #305291.
2409
2410         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2411         this function is not implemented.
2412
2413 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2414
2415         * gst/base/gstbasetransform.c:
2416         (gst_base_transform_prepare_output_buf):
2417         Ref the source pad caps while we need them.
2418         Fixes (#321386)
2419
2420 2005-11-11  Wim Taymans  <wim@fluendo.com>
2421
2422         * docs/gst/gstreamer-sections.txt:
2423         Added some docs for GstCollectData.
2424
2425         * gst/base/gstadapter.c:
2426         Some small code example fix.
2427
2428         * gst/base/gstcollectpads.c:
2429         * gst/base/gstcollectpads.h:
2430         Document some more.
2431
2432 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2433
2434         * configure.ac: back to HEAD
2435
2436 === release 0.9.5 ===
2437
2438 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2439
2440         * configure.ac:
2441           releasing 0.9.5, "Bike Lunch Day"
2442
2443 2005-11-11  Wim Taymans  <wim@fluendo.com>
2444
2445         * gst/gstbuffer.c: (_gst_buffer_copy):
2446         Copy more flags.
2447
2448         * gst/gstcaps.c: (gst_caps_is_equal):
2449         Fix some docs.
2450         Make _is_equal fast in the trivial cases.
2451
2452         * gst/gstminiobject.c:
2453         * gst/gstminiobject.h:
2454         More docs. Spifify .h file.
2455
2456         * gst/gstutils.c:
2457         Small doc update.
2458
2459 2005-11-11  Wim Taymans  <wim@fluendo.com>
2460
2461         * gst/base/gstbasetransform.c:
2462         (gst_base_transform_prepare_output_buf),
2463         (gst_base_transform_handle_buffer):
2464         Small cleanups.
2465         If we're processing a buffer and need to allocate an output
2466         buffer, we cannot accept a format change. If we did get a 
2467         format change, we have to alloc a buffer ourselves of the 
2468         right size.
2469
2470 2005-11-11  Wim Taymans  <wim@fluendo.com>
2471
2472         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2473         While checking the flag for reentrancy in the gstcaps function
2474         is nice to detect recursive invocations, it also makes it 
2475         impossible to call getcaps from multiple threads, which must be
2476         possible. So, checking for recursive calls has to go.
2477
2478 2005-11-11  Michael Smith <msmith@fluendo.com>
2479
2480         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2481           Don't sync on buffers that fall partially outside our current
2482           segment. Prevents an assertion failure/abort playing some files.
2483
2484 2005-11-10  Andy Wingo  <wingo@pobox.com>
2485
2486         * check/gst/gstbin.c (test_message_state_changed_children): Style
2487         fix..
2488
2489         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2490         gst_bus_poll with the signal watch. Ensures that poll and a signal
2491         watch see the same messages.
2492
2493         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2494         a poll and a watch at the same time get the same messages.
2495
2496 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2497
2498         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2499         * gst/gstcaps.c: (gst_caps_intersect):
2500           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2501           and it's not needed.
2502
2503 2005-11-10  Wim Taymans  <wim@fluendo.com>
2504
2505         * docs/design/part-TODO.txt:
2506         Updated todo.
2507
2508 2005-11-10  Wim Taymans  <wim@fluendo.com>
2509
2510         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2511         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2512         (gst_base_src_do_sync), (gst_base_src_get_range):
2513         Implement clock sync in base class.
2514
2515 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2516
2517         patch by: Tim-Philipp Müller <tim at centricular dot net>
2518
2519         * gst/gststructure.c: (gst_structure_parse_field),
2520         (gst_structure_from_string):
2521           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2522           so that gst_parse_launch() can deal with spaces in filtered link
2523           caps (fixes #164479)
2524         * check/gst/capslist.h:
2525         * check/gst/gststructure.c: (GST_START_TEST):
2526           add unit tests for this change
2527
2528 2005-11-10  Wim Taymans  <wim@fluendo.com>
2529
2530         * docs/gst/gstreamer-sections.txt:
2531         * gst/gstelement.c:
2532         * gst/gstelement.h:
2533         Fix docs, move some STATE macros to private.
2534
2535 2005-11-10  Wim Taymans  <wim@fluendo.com>
2536
2537         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2538         Added check for bug #317341
2539
2540         * gst/gstbuffer.c:
2541         * gst/gstbuffer.h:
2542         Some more spiffifying.
2543
2544         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2545         Call peer linkfunction if we are a source pad. Totally fixes
2546         #317341
2547
2548         * gst/gstpad.c:
2549         Update docs, source pads should call the peer linkfunction
2550         so they can atomically perform the pad link.
2551
2552 2005-11-09  Wim Taymans  <wim@fluendo.com>
2553
2554         * gst/gstbuffer.c:
2555         * gst/gstbuffer.h:
2556         Uber-spiffy-spiffify some more.
2557
2558 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2559
2560         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2561         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2562         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2563         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2564         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2565         * gst/gstpad.c: (gst_pad_init):
2566           Use GST_DEBUG_FUNCPTR() more extensively.
2567
2568 2005-11-09  Wim Taymans  <wim@fluendo.com>
2569
2570         * gst/gstobject.c: (gst_object_class_init):
2571         * gst/gstobject.h:
2572         Documentation fixes.
2573
2574 2005-11-09  Edward Hervey  <edward@fluendo.com>
2575
2576         * gst/gsttypefindfactory.c:
2577         Fix docs.
2578         
2579 2005-11-09  Edward Hervey  <edward@fluendo.com>
2580
2581         * gst/base/gsttypefindhelper.c:
2582         * gst/gsttypefind.c:
2583         * gst/gsttypefind.h:
2584         Fix docs.
2585
2586 2005-11-09  Wim Taymans  <wim@fluendo.com>
2587
2588         * gst/gstiterator.c:
2589         Fix revision data.
2590
2591         * gst/gsttask.c:
2592         * gst/gsttask.h:
2593         Fix docs.
2594
2595 2005-11-09  Wim Taymans  <wim@fluendo.com>
2596
2597         * gst/gstevent.h:
2598         * gst/gsturi.h:
2599         Fix docs.
2600
2601 2005-11-09  Wim Taymans  <wim@fluendo.com>
2602
2603         * docs/gst/gstreamer-sections.txt:
2604         Moved the message async delivery private lock and cond
2605         to the private section.
2606
2607         * gst/gstmessage.c:
2608         * gst/gstmessage.h:
2609         Fixed docs.
2610
2611 2005-11-09  Edward Hervey  <edward@fluendo.com>
2612
2613         * docs/gst/gstreamer-sections.txt:
2614         * gst/gsturi.c:
2615         * gst/gsturi.h:
2616         Document GstURIHandler
2617
2618 2005-11-09  Wim Taymans  <wim@fluendo.com>
2619
2620         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2621         (gst_iterator_find_custom):
2622         * gst/gstiterator.h:
2623         Fix iterator docs.
2624
2625 2005-11-09  Wim Taymans  <wim@fluendo.com>
2626
2627         * gst/gstbin.h:
2628         Document another field.
2629
2630         * gst/gststructure.c:
2631         * gst/gststructure.h:
2632         Document.
2633
2634 2005-11-09  Wim Taymans  <wim@fluendo.com>
2635
2636         * gst/gstbin.h:
2637         Documented structs.
2638
2639 2005-11-09  Wim Taymans  <wim@fluendo.com>
2640
2641         * docs/gst/gstreamer-sections.txt:
2642         Added some new macros.
2643
2644         * gst/gstclock.c:
2645         * gst/gstclock.h:
2646         * gst/gstobject.h:
2647         Docs updates.
2648
2649 2005-11-09  Wim Taymans  <wim@fluendo.com>
2650
2651         * docs/design/part-TODO.txt:
2652         Some more items for the TODO
2653
2654         * gst/gstcaps.c:
2655         * gst/gstcaps.h:
2656         Document GstCaps.
2657
2658 2005-11-09  Andy Wingo  <wingo@pobox.com>
2659
2660         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2661         to work on something else now tho...
2662
2663         * gst/base/gstadapter.c: More adapter docs.
2664
2665         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2666         (gst_file_sink_stop): New functions, replace the state change
2667         handler.
2668         (gst_file_sink_class_init): Hook up the start and stop functions.
2669         (gst_file_sink_base_init): Don't set the state change handler any
2670         more. It was a bit ugly too, being set from here...
2671         (gst_file_sink_get_property, gst_file_sink_set_property):
2672         Cleanups...
2673         (gst_file_sink_set_location): More robust check that doesn't call
2674         GST_STATE. Ugggggg.
2675
2676 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2677
2678         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2679           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2680
2681 2005-11-08  Wim Taymans  <wim@fluendo.com>
2682
2683         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2684         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2685         (gst_base_sink_chain), (gst_base_sink_change_state):
2686         * gst/base/gstbasesink.h:
2687         * gst/base/gstbasesrc.h:
2688         * gst/gstelement.h:
2689         * gst/gstevent.h:
2690         Avoid excessive typechecking in macros.
2691
2692         * gst/gstminiobject.c: (gst_mini_object_get_type),
2693         (gst_mini_object_init), (gst_mini_object_new),
2694         (gst_mini_object_free):
2695         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2696         (gst_object_finalize):
2697         Remove cruft code, optimize alloc_trace.
2698
2699 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2700
2701         * docs/faq/gst-uninstalled:
2702           fix up PS1 for systems that try to reset it
2703
2704 2005-11-07  Wim Taymans  <wim@fluendo.com>
2705
2706         * gst/base/gstbasesrc.c: (gst_base_src_init),
2707         (gst_base_src_get_range):
2708         Set the segment_end to -1 initially. Fixed typefind.
2709
2710 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2711
2712         * gst/base/gstadapter.c:
2713           Debug category should be 'adapter', not 'GstAdapter'.
2714           
2715         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2716         (gst_collectpads_class_init), (gst_collectpads_init),
2717         (gst_collectpads_peek), (gst_collectpads_pop),
2718         (gst_collectpads_event), (gst_collectpads_chain):
2719           Add debug category and some debugging output. Use boilerplate
2720           macros. Remove some extraneous words from docs.
2721
2722 2005-11-05  Andy Wingo  <wingo@pobox.com>
2723
2724         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2725         macro.
2726
2727 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2728
2729         * docs/gst/gstreamer-sections.txt:
2730         * gst/gstcaps.h:
2731         * gst/gstinfo.c:
2732         * gst/gstminiobject.h:
2733         * gst/gstobject.h:
2734         * gst/gstutils.h:
2735           more docs added
2736
2737 2005-11-04  Wim Taymans  <wim@fluendo.com>
2738
2739         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2740         Small update to stop at the configured segment_end
2741         position.
2742
2743 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2744
2745         * gst/gstregistry.c:
2746         * gst/gstregistry.h:
2747           added missing docs
2748
2749 2005-11-04  Edward Hervey  <edward@fluendo.com>
2750
2751         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2752         Check if we are doing a segment seek and have arrived at the
2753         end of that segment.
2754
2755 2005-11-04  Wim Taymans  <wim@fluendo.com>
2756
2757         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2758         Don't leak a mutex unlock in case of an error.
2759
2760         * gst/gstbus.h:
2761         Doc fixes.
2762
2763 2005-11-04  Wim Taymans  <wim@fluendo.com>
2764
2765         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2766         (gst_bus_post):
2767         Get the context to wake up only once.
2768
2769 2005-11-03  Wim Taymans  <wim@fluendo.com>
2770
2771         * check/states/sinks.c: (GST_START_TEST):
2772         Uncomment fixed check.
2773
2774         * docs/design/part-TODO.txt:
2775         Updated TODO.
2776
2777         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2778         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2779         (gst_base_sink_get_position):
2780         If we are going to PLAYING, post the right pending state
2781         when we post the intermediate paused message.
2782
2783         * gst/gstelement.c: (gst_element_continue_state),
2784         (gst_element_set_state_func), (gst_element_change_state):
2785         Don't post state changes that were between the same state
2786         and were not ASYNC.
2787
2788 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2789
2790         * docs/gst/gstreamer-sections.txt:
2791         * gst/gstcaps.h:
2792         * gst/gstinfo.c:
2793         * gst/gstminiobject.h:
2794         * gst/gstobject.h:
2795         * gst/gstutils.h:
2796           more docs and doc style fixes
2797
2798 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2799
2800         * docs/gst/gstreamer-sections.txt:
2801         * gst/gstelement.c:
2802         * gst/gstminiobject.c:
2803         doc fixes
2804
2805 2005-11-03  Andy Wingo  <wingo@pobox.com>
2806
2807         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2808         state-changed messages actually have the right order and the right
2809         values.
2810
2811 2005-11-03  Wim Taymans  <wim@fluendo.com>
2812
2813         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2814         Added some more checks. Specifically the case where NO_PREROLL
2815         elements are in the pipeline.
2816
2817         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2818         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2819         (gst_base_sink_get_position):
2820         Post READY->PAUSED state change messages too.
2821         Fix bug where VOID was posted as pending state...
2822
2823         * gst/gstbin.c: (gst_bin_recalc_state):
2824         use _element_continue_state() to continue the state change.
2825
2826         * gst/gstelement.c: (gst_element_continue_state),
2827         (gst_element_commit_state), (gst_element_set_state_func),
2828         (gst_element_change_state), (gst_element_change_state_func):
2829         Lots of state change cleanups, assign the STATE_RETURN in
2830         a new continue_state() function that also propagates the
2831         last return value from a state change to the app.
2832         Update some debug statements with proper category.
2833
2834 2005-11-03  Wim Taymans  <wim@fluendo.com>
2835
2836         * docs/design/part-events.txt:
2837         * docs/design/part-gstpipeline.txt:
2838         * docs/design/part-messages.txt:
2839         * docs/design/part-overview.txt:
2840         * docs/design/part-seeking.txt:
2841         * docs/design/part-states.txt:
2842         * docs/design/part-trickmodes.txt:
2843         * docs/manual/advanced-position.xml:
2844         Small docs updates.
2845
2846         * gst/gstobject.h:
2847         People think !! is ugly, this looks better.
2848
2849         * gst/gstpad.c: (gst_pad_set_blocked_async):
2850         Remove !! since it's fixed elsewhere now.
2851
2852 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2853
2854         * gst/gstminiobject.h:
2855         * gst/gstobject.h:
2856           Add !! to _FLAG_IS_SET macros to make the result boolean.
2857
2858 2005-11-03  Edward Hervey  <edward@fluendo.com>
2859
2860         * gst/gstpad.c: (gst_pad_set_blocked_async):
2861         comparing a flag and a gboolean rarely returns coherent results...
2862         Added two characters (!!) to make that work correctly.
2863         
2864 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2865
2866         * gst/gstbus.c: (gst_bus_class_init):
2867           Fix some typos.
2868           
2869         * gst/gstqueue.c: (gst_queue_loop):
2870           Don't assume a miniobject that isn't a buffer is an
2871           event (it could be that there is a refcounting
2872           problem somewhere and the pointer is stale and
2873           refers to an already destroyed miniobject).
2874
2875 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2876
2877         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2878
2879 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2880
2881         * docs/manual/advanced-position.xml:
2882           Update seek example and explanations to current 0.9 API.
2883
2884         * gst/elements/gsttypefindelement.c:
2885         (gst_type_find_element_activate):
2886           Remove FIXME comment now that the found caps
2887           are unreffed.
2888
2889 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2890
2891         * gst/gstregistryxml.c: (load_feature):
2892           Add another GST_STR_NULL instance
2893
2894 2005-11-02  Edward Hervey  <edward@fluendo.com>
2895
2896         * gst/gstpad.c: (handle_pad_block):
2897         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2898         
2899 2005-11-02  Wim Taymans  <wim@fluendo.com>
2900
2901         * gst/gstbin.c:
2902         Fix typo in docs.
2903
2904         * gst/gstelement.c: (gst_element_commit_state):
2905         Remove unused value.
2906
2907         * gst/gstiterator.c:
2908         Mention that the returned element is reffed in the docs.
2909
2910 2005-11-02  Wim Taymans  <wim@fluendo.com>
2911
2912         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2913         (gst_pad_push), (gst_pad_push_event):
2914         Unlock blocked pads when they are flushed.
2915
2916 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2917
2918         * docs/README:
2919         * docs/gst/gstreamer-sections.txt:
2920         * gst/gstbin.c:
2921           doc updates
2922         * gst/gstregistry.c: (gst_registry_scan_path_level):
2923           fix for a nasty little missed situation where an installed plug-in
2924           which was in the cache did not get overridden by an uninstalled one
2925           which was earlier in the plugin path because the newly created plugin
2926           for the uninstalled one (not in the registry) didn't get its
2927           ->registered set to TRUE
2928
2929 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2930
2931         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2932         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2933         (gst_collectpads_is_active), (gst_collectpads_collect),
2934         (gst_collectpads_collect_range), (gst_collectpads_start),
2935         (gst_collectpads_stop), (gst_collectpads_peek),
2936         (gst_collectpads_pop), (gst_collectpads_available),
2937         (gst_collectpads_read), (gst_collectpads_flush):
2938           Guard public API with assertions.
2939         
2940         * gst/gstpad.c:
2941           Fix docs for gst_pad_set_link_function().
2942
2943 2005-11-02  Johan Dahlin  <johan@gnome.org>
2944
2945         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2946         Unref found_caps after we used it.
2947
2948 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2949
2950         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2951           Don't try to ref NULL.
2952
2953 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2954
2955         * win32/common/config.h.in:
2956           provide a GST_FUNCTION that just gives a string for now
2957
2958 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2959
2960         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2961         (gst_object_flags_get_type), (register_gst_bin_flags),
2962         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2963         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2964         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2965         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2966         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2967         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2968         (gst_clock_flags_get_type), (register_gst_state),
2969         (gst_state_get_type), (register_gst_state_change_return),
2970         (gst_state_change_return_get_type), (register_gst_state_change),
2971         (gst_state_change_get_type), (register_gst_element_flags),
2972         (gst_element_flags_get_type), (register_gst_core_error),
2973         (gst_core_error_get_type), (register_gst_library_error),
2974         (gst_library_error_get_type), (register_gst_resource_error),
2975         (gst_resource_error_get_type), (register_gst_stream_error),
2976         (gst_stream_error_get_type), (register_gst_event_type),
2977         (gst_event_type_get_type), (register_gst_seek_type),
2978         (gst_seek_type_get_type), (register_gst_seek_flags),
2979         (gst_seek_flags_get_type), (register_gst_format),
2980         (gst_format_get_type), (register_gst_index_certainty),
2981         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2982         (gst_index_entry_type_get_type),
2983         (register_gst_index_lookup_method),
2984         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2985         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2986         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2987         (gst_index_flags_get_type), (register_gst_debug_level),
2988         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2989         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2990         (gst_iterator_result_get_type), (register_gst_iterator_item),
2991         (gst_iterator_item_get_type), (register_gst_message_type),
2992         (gst_message_type_get_type), (register_gst_mini_object_flags),
2993         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2994         (gst_pad_link_return_get_type), (register_gst_flow_return),
2995         (gst_flow_return_get_type), (register_gst_activate_mode),
2996         (gst_activate_mode_get_type), (register_gst_pad_direction),
2997         (gst_pad_direction_get_type), (register_gst_pad_flags),
2998         (gst_pad_flags_get_type), (register_gst_pad_presence),
2999         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3000         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3001         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3002         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3003         (gst_plugin_flags_get_type), (register_gst_rank),
3004         (gst_rank_get_type), (register_gst_query_type),
3005         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3006         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3007         (gst_tag_flag_get_type), (register_gst_task_state),
3008         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3009         (gst_alloc_trace_flags_get_type),
3010         (register_gst_type_find_probability),
3011         (gst_type_find_probability_get_type), (register_gst_uri_type),
3012         (gst_uri_type_get_type), (register_gst_parse_error),
3013         (gst_parse_error_get_type):
3014         * win32/common/gstversion.h:
3015           update win32 copies
3016
3017 2005-11-01  Luca Ognibene  <luogni@tin.it>
3018
3019         * gst/gst.c:
3020           fix docs. popt is dead, long live GOption.
3021
3022 2005-10-31  Wim Taymans  <wim@fluendo.com>
3023
3024         * gst/gstbuffer.h:
3025         Small doc fix.
3026
3027 2005-10-31  Andy Wingo  <wingo@pobox.com>
3028
3029         * Boo!
3030
3031         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3032
3033         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3034         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3035         the possibility of deadlocks here if code calling notify() or
3036         set() has a lock that can be taken in another notify handler (ABBA
3037         with class lock and e.g. python GIL state lock).
3038
3039 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3040
3041         * gst/gstbus.c: Doc updates.
3042
3043 2005-10-28  Wim Taymans  <wim@fluendo.com>
3044
3045         * docs/design/part-TODO.txt:
3046         * gst/gstiterator.c:
3047         * gst/gstsystemclock.c:
3048         * gst/gstsystemclock.h:
3049         Doc updates.
3050
3051 2005-10-28  Edward Hervey  <edward@fluendo.com>
3052
3053         * docs/gst/gstreamer-docs.sgml:
3054         * docs/gst/gstreamer-sections.txt:
3055         the GstURIType documentation page is private, it only defines GstURIType
3056         which should be defined in the GstURIHandler page
3057         
3058 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3059
3060         * gst/gstbin.c: (gst_bin_class_init):
3061         * gst/gstbin.h:
3062         * gst/gstutils.c:
3063         Documentation updates.
3064
3065 2005-10-28  Wim Taymans  <wim@fluendo.com>
3066
3067         * docs/gst/gstreamer-sections.txt:
3068         * gst/gstclock.c:
3069         * gst/gstclock.h:
3070         Documented the clocks.
3071
3072 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3073
3074         * docs/gst/gstreamer-sections.txt:
3075           move some macros to private sections
3076         * gst/gstminiobject.c:
3077         * gst/gstminiobject.h:
3078           add descriptions provided by ds and some more
3079         * gst/gstpad.h:
3080           mark macro as to be removed
3081
3082 2005-10-28  Wim Taymans  <wim@fluendo.com>
3083
3084         * docs/design/part-TODO.txt:
3085         Add an item to TODO.
3086
3087         * gst/gstiterator.c: (gst_iterator_fold),
3088         (gst_iterator_find_custom):
3089         * gst/gstiterator.h:
3090         Add iterator docs.
3091
3092 2005-10-28  Wim Taymans  <wim@fluendo.com>
3093
3094         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3095         (gst_base_transform_init):
3096         Don't leak class.
3097
3098         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3099         An EOS event marks the queue as completely filled.
3100
3101 2005-10-27  Wim Taymans  <wim@fluendo.com>
3102
3103         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3104         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3105         Some more debugging.
3106
3107         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3108         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3109         (gst_base_transform_event), (gst_base_transform_getrange),
3110         (gst_base_transform_chain):
3111         * gst/base/gstbasetransform.h:
3112         Fix debugging,
3113         Protect transform and concurrent buffer alloc with a new lock.
3114         Try not to break ABI/API.
3115
3116 2005-10-27  Wim Taymans  <wim@fluendo.com>
3117
3118         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3119         (gst_base_src_init), (gst_base_src_query),
3120         (gst_base_src_default_newsegment),
3121         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3122         (gst_base_src_send_event), (gst_base_src_event_handler),
3123         (gst_base_src_pad_get_range), (gst_base_src_loop),
3124         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3125         (gst_base_src_start), (gst_base_src_deactivate),
3126         (gst_base_src_activate_push), (gst_base_src_change_state):
3127         Move some stuff around and cleanup things.
3128
3129 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3130
3131         * gst/base/gstbasesrc.c: (gst_base_src_query):
3132           Add missing break statements.
3133
3134 2005-10-27  Wim Taymans  <wim@fluendo.com>
3135
3136         * check/gst/gstbin.c: (GST_START_TEST):
3137         An extra refcount is taken in basesrc.
3138
3139         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3140         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3141         (gst_base_src_loop):
3142         Small cleanups, check for flushing after being unlocked from the 
3143         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3144         Don't send out EOS when going to READY.
3145
3146 2005-10-27  Wim Taymans  <wim@fluendo.com>
3147
3148         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3149         (gst_base_sink_get_position):
3150         Some more debug.
3151
3152         * gst/gstbin.c: (message_check), (bin_replace_message),
3153         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3154         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3155         (bin_query_duration_init), (bin_query_duration_fold),
3156         (bin_query_duration_done), (bin_query_generic_fold),
3157         (gst_bin_query):
3158         * tools/gst-launch.c: (main):
3159         Remove old option.
3160
3161 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3162
3163         * examples/controller/audio-example.c: (main):
3164         * examples/queue/queue.c: (event_loop):
3165         * gst/base/gstbasetransform.h:
3166         * gst/gstelement.c: (gst_element_send_event):
3167         * gst/gstevent.h:
3168         * gst/gstpad.c: (gst_pad_send_event):
3169           fixing examples
3170           fixing docs typos
3171           changing log priority in error situations
3172
3173 2005-10-25  Wim Taymans  <wim@fluendo.com>
3174
3175         * gst/gstbin.c: (message_check), (bin_replace_message),
3176         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3177         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3178         (bin_query_duration_init), (bin_query_duration_fold),
3179         (bin_query_duration_done), (bin_query_generic_fold),
3180         (gst_bin_query):
3181         Some doc and debug updates.
3182         Cache previously requested query DURATION for speed. invalidate
3183         cached duration if element posts a DURATION message.
3184
3185 2005-10-25  Wim Taymans  <wim@fluendo.com>
3186
3187         * docs/design/part-TODO.txt:
3188         Update TODO.
3189
3190         * gst/gstbin.c: (message_check), (bin_replace_message),
3191         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3192         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3193         (bin_query_duration_init), (bin_query_duration_fold),
3194         (bin_query_duration_done), (bin_query_generic_fold),
3195         (gst_bin_query):
3196         Handle SEGMENT_START/DONE messages correctly.
3197         More evolved query algorithm that handles duration queries
3198         correctly.
3199
3200         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3201         (gst_element_get_state_func), (gst_element_abort_state),
3202         (gst_element_commit_state), (gst_element_lost_state):
3203         Some more debugging.
3204
3205         * gst/gstmessage.h:
3206         Added doc.
3207
3208 2005-10-25  Wim Taymans  <wim@fluendo.com>
3209
3210         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3211         Don't use invalid stream_time.
3212
3213         * gst/gstevent.c: (gst_event_new_newsegment):
3214         stream_time in newsegment cannot be undefined.
3215
3216 2005-10-24  Wim Taymans  <wim@fluendo.com>
3217
3218         * gst/gstbus.c:
3219         Doc fix.
3220
3221         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3222         (gst_queue_loop):
3223         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3224
3225 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3226
3227         * docs/libs/tmpl/gstdparam.sgml:
3228         * docs/libs/tmpl/gstdplinint.sgml:
3229         * docs/libs/tmpl/gstdpman.sgml:
3230         * docs/libs/tmpl/gstdpsmooth.sgml:
3231         * docs/libs/tmpl/gstunitconvert.sgml:
3232           these are obsolete
3233
3234 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3235
3236         * configure.ac:
3237           back to HEAD
3238
3239 === release 0.9.4 ===
3240
3241 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3242
3243         * configure.ac:
3244           releasing 0.9.4, "Tyrannosaurus Rex"
3245
3246 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3247
3248         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3249         (gst_file_sink_get_current_offset):
3250           Use fseeko() and ftello() if available. When falling back on
3251           lseek() to get the current offset, fflush() first to make sure
3252           everything is up-to-date and we get the right offset.
3253
3254 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3255
3256         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3257         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3258         * gst/gsterror.c: (_gst_stream_errors_init):
3259         * gst/gsterror.h:
3260         * gst/gstqueue.c: (gst_queue_loop):
3261         * po/POTFILES.in:
3262           remove prematurely added error category and clean up the instances
3263
3264 2005-10-21  Wim Taymans  <wim@fluendo.com>
3265
3266         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3267         (gst_base_sink_get_position), (gst_base_sink_query),
3268         (gst_base_sink_change_state):
3269         Simply set the right flag when going to playing, that's all
3270         we need to do instead of calling a function inside the object
3271         lock (that could take the lock as well and deadlock)
3272
3273 2005-10-21  Wim Taymans  <wim@fluendo.com>
3274
3275         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3276         (gst_base_src_loop):
3277         Don't warn, the peer element knows what to do best when
3278         the seek failed, it might try something else.
3279
3280 2005-10-21  Wim Taymans  <wim@fluendo.com>
3281
3282         * gst/base/gstbasesrc.c: (gst_base_src_init),
3283         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3284         Fix seeking.
3285
3286 2005-10-21  Wim Taymans  <wim@fluendo.com>
3287
3288         * docs/design/part-segments.txt:
3289         More docs.
3290
3291         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3292         Correctly set caps, even on the subbufer.
3293
3294 2005-10-21  Wim Taymans  <wim@fluendo.com>
3295
3296         * docs/gst/gstreamer-docs.sgml:
3297         * docs/gst/gstreamer-sections.txt:
3298         * gst/gstelement.h:
3299         * gst/gstevent.c:
3300         * gst/gstevent.h:
3301         * gst/gstmessage.h:
3302         * gst/gstpad.h:
3303         * gst/gstparse.h:
3304         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3305         * gst/gsttask.h:
3306         * gst/gstutils.c:
3307         * gst/gstutils.h:
3308         And 2% more doc coverage.
3309
3310 2005-10-21  Andy Wingo  <wingo@pobox.com>
3311
3312         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3313         position reporting.
3314
3315 2005-10-20  Wim Taymans  <wim@fluendo.com>
3316
3317         * gst/gsterror.c: (gst_error_get_message):
3318         * gst/gstparse.h:
3319         * gst/gstquery.h:
3320         * gst/gststructure.c:
3321         * gst/gsttrace.c:
3322         * gst/gstutils.c:
3323         More docs.
3324
3325 2005-10-20  Wim Taymans  <wim@fluendo.com>
3326
3327         * gst/gstbuffer.h:
3328         * gst/gstpad.c:
3329         * gst/gstparse.c:
3330         Another 1% more coverage.
3331
3332 2005-10-20  Wim Taymans  <wim@fluendo.com>
3333
3334         * docs/gst/gstreamer-sections.txt:
3335         * gst/gstelement.c: (gst_element_get_state_func),
3336         (gst_element_abort_state), (gst_element_commit_state),
3337         (gst_element_lost_state):
3338         * gst/gstevent.h:
3339         * gst/gstquery.c: (gst_query_set_position),
3340         (gst_query_parse_position), (gst_query_set_duration),
3341         (gst_query_parse_duration), (gst_query_new_convert):
3342         * gst/gstutils.c:
3343         Yay! 1% more docs coverage.
3344
3345 2005-10-20  Wim Taymans  <wim@fluendo.com>
3346
3347         * gst/gstpad.h:
3348         * gst/gstquery.c: (gst_query_set_position),
3349         (gst_query_parse_position), (gst_query_set_duration),
3350         (gst_query_parse_duration), (gst_query_new_convert):
3351         * gst/gstquery.h:
3352         * gst/gstutils.c: (gst_element_query_convert):
3353         * gst/gstutils.h:
3354         Docs and consistency fixes.
3355
3356 2005-10-20  Wim Taymans  <wim@fluendo.com>
3357
3358         * gst/gsttask.c:
3359         * gst/gsttask.h:
3360         More docs.
3361
3362 2005-10-20  Wim Taymans  <wim@fluendo.com>
3363
3364         * gst/gstbin.c: (message_check), (bin_replace_message),
3365         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3366         (update_degree), (gst_bin_sort_iterator_next),
3367         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3368         Reworked the message handling a bit, cache the messages instead of
3369         only the senders. alows us to do more in the future.
3370
3371 2005-10-20  Wim Taymans  <wim@fluendo.com>
3372
3373         * docs/design/part-TODO.txt:
3374         Update TODO
3375
3376         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3377         (gst_base_sink_query):
3378         Don't use clock time to report position when in EOS.
3379
3380 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3381
3382         * tools/gst-inspect.c: (print_interfaces),
3383         (print_element_properties_info), (print_element_info):
3384           Fix interface output with gst-inspect -a; don't print
3385           newlines after double/float properties.
3386
3387 2005-10-20  Wim Taymans  <wim@fluendo.com>
3388
3389         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3390         (gst_base_sink_query):
3391         Speed up current position calculation.
3392
3393         * gst/base/gstbasesrc.c: (gst_base_src_query),
3394         (gst_base_src_default_newsegment):
3395         Correctly set stream position in newsegment.
3396
3397         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3398         (update_degree), (gst_bin_sort_iterator_next),
3399         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3400         * gst/gstmessage.c: (gst_message_new_custom):
3401         Clean up debugging info
3402
3403         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3404         (gst_queue_loop), (gst_queue_handle_src_query):
3405         Pause task faster.
3406
3407 2005-10-19  Wim Taymans  <wim@fluendo.com>
3408
3409         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3410         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3411         Fix query handling again.
3412
3413 2005-10-19  Wim Taymans  <wim@fluendo.com>
3414
3415         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3416         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3417         * gst/base/gstbasesrc.c: (gst_base_src_query):
3418         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3419         * gst/elements/gsttypefindelement.c:
3420         (gst_type_find_handle_src_query), (find_element_get_length),
3421         (gst_type_find_element_activate):
3422         API change fix.
3423
3424         * gst/gstquery.c: (gst_query_new_position),
3425         (gst_query_set_position), (gst_query_parse_position),
3426         (gst_query_new_duration), (gst_query_set_duration),
3427         (gst_query_parse_duration), (gst_query_set_segment),
3428         (gst_query_parse_segment):
3429         * gst/gstquery.h:
3430         Bundling query position/duration is not a good idea since duration
3431         does not change much and we don't want to recalculate it for every
3432         position query, so they are separated again..
3433         Base value in segment query is not needed.
3434
3435         * gst/gstqueue.c: (gst_queue_handle_src_query):
3436         * gst/gstutils.c: (gst_element_query_position),
3437         (gst_element_query_duration), (gst_pad_query_position),
3438         (gst_pad_query_duration):
3439         * gst/gstutils.h:
3440         Updates for query API change.
3441         Added some docs here and there.
3442
3443 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3444
3445         * check/gst/gstbin.c: (GST_START_TEST):
3446         * check/gst/gstghostpad.c: (GST_START_TEST):
3447         * check/pipelines/cleanup.c: (GST_START_TEST):
3448           wait on thread to die so we can check refcount correctly
3449
3450 2005-10-18  Wim Taymans  <wim@fluendo.com>
3451
3452         * check/pipelines/stress.c: (GST_START_TEST):
3453         Make check a little more time consuming.
3454
3455 2005-10-18  Wim Taymans  <wim@fluendo.com>
3456
3457         * check/Makefile.am:
3458         * check/pipelines/stress.c: (GST_START_TEST),
3459         (simple_launch_lines_suite), (main):
3460         Small state change torture test.
3461
3462         * docs/design/part-states.txt:
3463         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3464         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3465         (gst_base_sink_change_state):
3466         Never take state lock from streaming thread, clean up ugly
3467         hacks. Unfortunatly core does not yet support nice ways to
3468         async commit state.
3469         
3470         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3471         (bin_bus_handler):
3472         Start state recalc if a STATE_DIRTY message is posted, but only
3473         on the toplevel bin.
3474
3475         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3476         (gst_element_get_state_func), (gst_element_abort_state),
3477         (gst_element_commit_state), (gst_element_lost_state),
3478         (gst_element_set_state_func), (gst_element_change_state):
3479         * gst/gstelement.h:
3480         State variables are now protected with the LOCK, the state
3481         lock is only used to serialize _set_state().
3482
3483 2005-10-18  Wim Taymans  <wim@fluendo.com>
3484
3485         * check/gst/gstbin.c: (GST_START_TEST):
3486         * check/gst/gstmessage.c: (GST_START_TEST):
3487         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3488         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3489         (bin_bus_handler):
3490         * gst/gstelement.c: (gst_element_abort_state),
3491         (gst_element_commit_state), (gst_element_lost_state):
3492         * gst/gstmessage.c: (gst_message_new_state_changed),
3493         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3494         (gst_message_new_segment_done), (gst_message_new_duration),
3495         (gst_message_parse_state_changed),
3496         (gst_message_parse_segment_start),
3497         (gst_message_parse_segment_done), (gst_message_parse_duration):
3498         * gst/gstmessage.h:
3499         * tools/gst-launch.c: (event_loop):
3500         Seriously, this is better than a previous commit as we only need
3501         to notify the fact that an element changed state in a streaming
3502         thread, marking the state of the parents dirty, hence the 
3503         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3504         message.
3505
3506 2005-10-18  Wim Taymans  <wim@fluendo.com>
3507
3508         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3509         (gst_bin_recalc_func):
3510         * gst/gstelement.c: (gst_element_set_clock),
3511         (gst_element_abort_state), (gst_element_lost_state):
3512         Cleanups, prepare for state change fixes.
3513
3514 2005-10-18  Wim Taymans  <wim@fluendo.com>
3515
3516         * gst/gstbin.h:
3517         * gst/gstelement.c: (gst_element_class_init),
3518         (gst_element_set_state), (gst_element_set_state_func):
3519         * gst/gstelement.h:
3520         Pending ABI changes.
3521         GThreadPool in GstBinClass to monitor async state changes.
3522         state_cookie in GstElement to detect concurrent gst/set state.
3523         set_state is now virtual too in case a very complicated element
3524         has to be constructed.
3525
3526 2005-10-18  Wim Taymans  <wim@fluendo.com>
3527
3528         * check/gst/gstbin.c: (GST_START_TEST):
3529         * check/gst/gstmessage.c: (GST_START_TEST):
3530         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3531         * gst/gstbin.c: (bin_bus_handler):
3532         * gst/gstelement.c: (gst_element_commit_state),
3533         (gst_element_lost_state):
3534         * gst/gstmessage.c: (gst_message_new_state_changed),
3535         (gst_message_new_segment_start), (gst_message_new_segment_done),
3536         (gst_message_new_duration), (gst_message_parse_state_changed),
3537         (gst_message_parse_segment_start),
3538         (gst_message_parse_segment_done), (gst_message_parse_duration):
3539         * gst/gstmessage.h:
3540         * tools/gst-launch.c: (event_loop):
3541         Make messages future proof.
3542         state-change gets a flag if it was a message comming from the
3543         streaming thread.
3544         segment-start/stop can also be specified in other formats.
3545         A message to notify an app that a pipeline changed playback 
3546         duration.
3547         Also fix a GstMessage leak in -launch
3548
3549 2005-10-18  Andy Wingo  <wingo@pobox.com>
3550
3551         * gst/gstelement.c (gst_element_dispose): More helpful message.
3552
3553 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3554
3555         reviewed by: <delete if not using a buddy>
3556
3557         * common/gtk-doc.mak:
3558
3559 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3560
3561         * gst/gstregistry.c: (gst_registry_scan_path_level):
3562           unref a plug-in we get that was already initialized
3563
3564 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3565
3566         * docs/gst/gstreamer-sections.txt:
3567         * docs/libs/gstreamer-libs-sections.txt:
3568         * gst/gstelement.h:
3569           add new api entries
3570           hide internal macro
3571
3572 2005-10-17  Andy Wingo  <wingo@pobox.com>
3573
3574         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3575         cleanup.
3576
3577         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3578
3579         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3580
3581         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3582         (gst_element_get_state_func): Better debug message.
3583         (gst_element_commit_state): s/INFO/DEBUG/.
3584         (gst_element_lost_state, gst_element_change_state): 
3585
3586         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3587         (gst_message_new_custom): s/INFO/LOG/.
3588
3589 2005-10-17  Michael Smith <msmith@fluendo.com>
3590
3591         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3592           Check if end time is valid using end time, not start time.
3593
3594 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3595
3596         * check/gst-libs/controller.c: (GST_START_TEST),
3597         (gst_controller_suite):
3598         * libs/gst/controller/gstcontroller.c:
3599         (gst_controlled_property_set_interpolation_mode):
3600         * libs/gst/controller/gstcontroller.h:
3601         * libs/gst/controller/gstinterpolation.c:
3602         * testsuite/controller/.cvsignore:
3603         * testsuite/controller/Makefile.am:
3604         * testsuite/controller/interpolator.c:
3605           merge controller testsuites
3606           fix broken tests
3607           remove mem-chunk from docs
3608
3609 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3610
3611         * gst/gstmemchunk.c:
3612         * gst/gstmemchunk.h:
3613         * gst/gsttrashstack.c:
3614         * gst/gsttrashstack.h:
3615           out.  get out.  you're fired.  to the Attic !
3616
3617 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3618
3619         * gst/gstcaps.c: (gst_caps_intersect):
3620           fix signedness issues in a (hopefully) correct way
3621         * gst/gstelement.c: (gst_element_pads_activate):
3622           some debugging
3623         * gst/gstobject.c: (gst_object_set_parent):
3624           some debugging
3625
3626 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3627
3628         * gst/gstvalue.h: Fix prototypes.
3629
3630 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3631
3632         * docs/gst/gstreamer-sections.txt:
3633         * gst/gst.c: (gst_version_string):
3634         * gst/gst.h:
3635         * gst/gstversion.h.in:
3636         * win32/common/libgstreamer.def:
3637           add gst_version_string ()
3638
3639 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3640
3641         * configure.ac:
3642           clean up further
3643         * gst/gst.c: (init_post):
3644         * win32/common/config.h.in:
3645           it's PLUGINDIR now
3646         * gst/gstcaps.c: (gst_caps_intersect):
3647           use gint64, the range could be bigger than a guint
3648
3649 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3650
3651         * gst/gstclock.h:
3652           document potential problem in 2038
3653
3654 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3655
3656         * gst/gstcaps.c: (gst_caps_intersect):
3657           Fix guint j diving under 0
3658
3659 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3660
3661         * configure.ac:
3662         * win32/common/config.h:
3663         * win32/common/config.h.in:
3664           check for process.h, declares getpid() on Windows
3665         * gst/gstinfo.c:
3666           include process.h if we have it
3667         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3668         * gst/gstmemchunk.h:
3669           fix signedness issues
3670         * win32/common/libgstreamer.def:
3671           fix get_type's
3672
3673 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3674
3675         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3676         fix. Because of unsigned ints, caps intersection was going nuts and
3677         trying to access structures with G_MAXUINT index. That fixes
3678         videotestsrc ! ffmpegcolorspace ! fakesink
3679         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3680         consistency.
3681
3682 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3683
3684         * configure.ac:
3685           use the gettext macro
3686         * gst/elements/gstelements.c:
3687         * gst/gst.c:
3688         * gst/indexers/gstindexers.c:
3689           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3690         * win32/common/config.h:
3691           updated config.h
3692         * win32/common/config.h.in:
3693           add the template to generate config.h
3694         * win32/common/gstenumtypes.c:
3695         * win32/common/gstversion.h:
3696           updated copies
3697
3698 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3699
3700         * gst/gst.c: (gst_version):
3701         * gst/gstversion.h.in:
3702           add the nano
3703
3704 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3705
3706         * gst/gstevent.h:
3707           Oops, add missing closing bracket.
3708
3709 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3710
3711         * configure.ac:
3712           use common m4's for argument checking
3713
3714 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3715
3716         * docs/gst/gstreamer-sections.txt:
3717         * gst/gstevent.h:
3718           Add GST_EVENT_TYPE_NAME() macro.
3719
3720 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3721
3722         * gst/gstinfo.c:
3723         * gst/gstpluginfeature.c:
3724         * gst/gsttask.c:
3725           privatize more symbols
3726
3727 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3728
3729         * configure.ac:
3730           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3731           everything that uses GStreamer API should have the includes
3732
3733 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3734
3735         * docs/gst/gstreamer-sections.txt:
3736         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3737         * gst/gstvalue.h:
3738           give each value a _get_type, removes the DATA exports
3739
3740 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3741
3742         * gst/gst.c:
3743         * gst/gst.h:
3744           remove _gst_registry_auto_load, not used anymore
3745         * gst/gstbin.c: (gst_bin_get_type):
3746         * gst/gstbin.h:
3747         * gst/gstelement.c: (gst_element_get_type):
3748         * gst/gstelement.h:
3749         * gst/gstobject.c: (gst_object_get_type):
3750         * gst/gstobject.h:
3751         * gst/gstpad.c: (gst_pad_get_type):
3752         * gst/gstpad.h:
3753           make _get_type functions similar, fixes data export from library
3754
3755 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3756
3757         * configure.ac:
3758           correctly make conditionals
3759         * gst/elements/Makefile.am:
3760         * gst/elements/gstelements.c:
3761           fix typo causing fdsrc not to build
3762
3763 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3764
3765         * testsuite/Makefile.am:
3766         * testsuite/bytestream/.cvsignore:
3767         * testsuite/bytestream/Makefile.am:
3768         * testsuite/bytestream/filepadsink.c:
3769         * testsuite/bytestream/gstbstest.c:
3770         * testsuite/bytestream/test1.c:
3771         * testsuite/bytestream/testfile1:
3772         * testsuite/caps/normalisation.c:
3773         * testsuite/caps/random.c: (main):
3774         * testsuite/cleanup/.cvsignore:
3775         * testsuite/cleanup/Makefile.am:
3776         * testsuite/cleanup/cleanup1.c:
3777         * testsuite/cleanup/cleanup2.c:
3778         * testsuite/cleanup/cleanup3.c:
3779         * testsuite/cleanup/cleanup4.c:
3780         * testsuite/cleanup/cleanup5.c:
3781         * testsuite/controller/interpolator.c:
3782         * testsuite/debug/printf_extension.c: (main):
3783         * testsuite/elements/tee.c:
3784         * testsuite/negotiation/.cvsignore:
3785         * testsuite/negotiation/Makefile.am:
3786         * testsuite/negotiation/pad_link.c:
3787         * testsuite/pad/Makefile.am:
3788         * testsuite/pad/chainnopull.c:
3789         * testsuite/pad/getnopush.c:
3790         * testsuite/pad/link.c:
3791         * testsuite/refcounting/sched.c: (create_pipeline):
3792         * testsuite/registry/Makefile.am:
3793         * testsuite/registry/gst-print-formats.c:
3794         * testsuite/schedulers/.cvsignore:
3795         * testsuite/schedulers/142183-2.c:
3796         * testsuite/schedulers/142183.c:
3797         * testsuite/schedulers/143777-2.c:
3798         * testsuite/schedulers/143777.c:
3799         * testsuite/schedulers/147713.c:
3800         * testsuite/schedulers/147819.c:
3801         * testsuite/schedulers/147894-2.c:
3802         * testsuite/schedulers/147894.c:
3803         * testsuite/schedulers/Makefile.am:
3804         * testsuite/schedulers/group_link.c:
3805         * testsuite/schedulers/queue_link.c:
3806         * testsuite/schedulers/relink.c:
3807         * testsuite/schedulers/unlink.c:
3808         * testsuite/schedulers/unref.c:
3809         * testsuite/schedulers/useless_iteration.c:
3810         * testsuite/states/bin.c:
3811           clean out/remove some stuff from the testsuite directories
3812
3813 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3814
3815         * configure.ac:
3816           check for some headers
3817         * gst/elements/Makefile.am:
3818         * gst/elements/gstelements.c:
3819           don't compile fdsrc without sys/socket.h
3820         * gst/indexers/Makefile.am:
3821         * gst/indexers/gstindexers.c: (plugin_init):
3822           don't compile fileindex without mmap
3823
3824 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3825
3826         * configure.ac:
3827           reorganize
3828           clean up
3829           document more
3830           remove cruft
3831         * check/Makefile.am:
3832         * docs/gst/Makefile.am:
3833         * examples/helloworld/Makefile.am:
3834         * gst/Makefile.am:
3835         * gst/base/Makefile.am:
3836         * gst/check/Makefile.am:
3837         * gst/elements/Makefile.am:
3838         * gst/indexers/Makefile.am:
3839         * gst/parse/Makefile.am:
3840         * libs/gst/controller/Makefile.am:
3841         * libs/gst/dataprotocol/Makefile.am:
3842         * examples/helloworld/helloworld.c: (event_loop):
3843           compile fixes, though it's not being compiled currently
3844
3845 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3846
3847         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3848           Add some simple tests for the new taglist date API.
3849
3850 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3851
3852         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3853         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3854           Beautify 'last-message' output: print 'none' for buffer timestamps
3855           and durations if none is set; improve alignment with next messages.
3856
3857 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3858
3859         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3860         * gst/gstpluginfeature.h:
3861         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3862         * gst/gstregistry.h:
3863         * docs/gst/gstreamer-sections.txt:
3864           Add new API to check plugin feature version requirements.
3865
3866         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3867           Some basic tests for the above.         
3868
3869 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3870
3871         * gst/gststructure.c: (gst_structure_to_string):
3872           guard against NULL printf - happens when for example
3873           a message structure with GstClock gets serialized
3874
3875 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3876
3877         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3878           Fix presumable copy'n'pasto.
3879
3880 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3881
3882         * gst/elements/gstfakesrc.h:
3883         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3884         * gst/elements/gsttypefindelement.c:
3885           fix some signedness
3886         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3887           I wonder if this could actually write +2GB files before
3888
3889 2005-10-13  Andy Wingo  <wingo@pobox.com>
3890
3891         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3892         Fix Timmeke Waymans bug.
3893         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3894         string of the proper length to gst_caps_from_string. There's a
3895         potential for, before this fix, that this could cause someone
3896         connecting over the network to cause a segfault if the payload is
3897         not NUL-terminated.
3898
3899 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3900
3901         * docs/design/draft-push-pull.txt:
3902         * docs/design/part-overview.txt:
3903         * docs/random/TODO-pre-0.9:
3904         * docs/random/old/ChangeLog.gstreamer:
3905         * gst/base/gstpushsrc.c:
3906         * gst/gstclock.c:
3907           fixed typos
3908
3909 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3910
3911         * gst/glib-compat.c: (gst_flags_get_first_value):
3912         * gst/glib-compat.h:
3913         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3914         (gst_value_compare_double), (gst_value_serialize_flags):
3915           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3916           infinite loop
3917
3918 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3919
3920         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3921         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3922           fix up debugging
3923         * tools/gst-launch.c: (event_loop):
3924           print out clock nicely
3925
3926 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         * docs/gst/gstreamer-sections.txt:
3929         * gst/gsttaglist.h:
3930         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3931         (gst_tag_list_get_date_index):
3932           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3933           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3934
3935 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3936
3937         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3938         (gst_collectpads_chain):
3939         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3940         in CollectData.
3941
3942 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3943
3944         * docs/gst/gstreamer-sections.txt:
3945         * gst/gst.c:
3946         * gst/gsterror.h:
3947         * tools/gst-inspect.c: (main):
3948         * tools/gst-launch.c: (main):
3949         * tools/gst-run.c: (main):
3950         * tools/gst-xmlinspect.c: (main):
3951           fix GOption context leaks
3952           doc fixes
3953
3954 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3955
3956         * gst/gstbus.c:
3957           use HAVE_UNISTD_H
3958         * win32/common/config.h:
3959           update config
3960         * win32/vs6/grammar.dsp:
3961         * win32/vs6/libgstelements.dsp:
3962         * win32/vs6/libgstreamer.dsp:
3963           update vs6 files
3964
3965 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3966
3967         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3968         * gst/base/gstbasesrc.c: (gst_base_src_query):
3969           fix more guint64<->gdouble conversions
3970
3971 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3972
3973         * Makefile.am:
3974           add win32-update target
3975         * win32/common/gstconfig.h:
3976         * win32/common/gstenumtypes.c:
3977         * win32/common/gstenumtypes.h:
3978         * win32/common/gstversion.h:
3979           add files that visual studio can't generate
3980
3981 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3982
3983         * Makefile.am:
3984           add a win32-update target
3985         * configure.ac:
3986
3987 2005-10-12  Wim Taymans  <wim@fluendo.com>
3988
3989         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3990         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3991         * gst/gstelement.c: (gst_element_commit_state),
3992         (gst_element_set_state):
3993         Protect flags with proper lock.
3994         unref provided cached clock in dispose.
3995
3996 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3997
3998         * gst/gst.c:
3999         * gst/gstminiobject.h:
4000         * gst/gstpad.h:
4001         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4002           removed unused flags from miniobject
4003           doc fixes
4004
4005 2005-10-12  Wim Taymans  <wim@fluendo.com>
4006
4007         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4008         (gst_file_sink_event), (gst_file_sink_render):
4009         Flush before seeking.
4010
4011 2005-10-12  Andy Wingo  <wingo@pobox.com>
4012
4013         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4014         always been the case.
4015
4016 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4017
4018         * check/gst/gstbin.c: (GST_START_TEST):
4019         * docs/gst/gstreamer-sections.txt:
4020         * gst/base/gstbasesink.c: (gst_base_sink_init):
4021         * gst/base/gstbasesrc.c: (gst_base_src_init),
4022         (gst_base_src_get_range), (gst_base_src_check_get_range),
4023         (gst_base_src_start), (gst_base_src_stop):
4024         * gst/base/gstbasesrc.h:
4025         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4026         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4027         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4028         (bin_bus_handler):
4029         * gst/gstbin.h:
4030         * gst/gstbuffer.h:
4031         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4032         * gst/gstbus.h:
4033         * gst/gstelement.c: (gst_element_is_locked_state),
4034         (gst_element_set_locked_state), (gst_element_commit_state),
4035         (gst_element_set_state):
4036         * gst/gstelement.h:
4037         * gst/gstindex.c: (gst_index_init):
4038         * gst/gstindex.h:
4039         * gst/gstminiobject.h:
4040         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4041         (gst_object_set_parent):
4042         * gst/gstobject.h:
4043         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4044         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4045         * gst/gstpad.h:
4046         * gst/gstpadtemplate.h:
4047         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4048         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4049         * gst/gstpipeline.h:
4050         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4051         (gst_file_index_commit):
4052         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4053         * testsuite/pad/link.c: (gst_test_src_init),
4054         (gst_test_filter_init), (gst_test_sink_init):
4055         * testsuite/states/locked.c: (main):
4056           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4057           moved bitshift from macro to enum definition
4058
4059 2005-10-12  Wim Taymans  <wim@fluendo.com>
4060
4061         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4062         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4063         (gst_file_sink_render):
4064         Some more debugging info.
4065
4066 2005-10-12  Wim Taymans  <wim@fluendo.com>
4067
4068         * docs/design/part-states.txt:
4069         * tools/gst-launch.c: (main):
4070         Some doc updates.
4071         Revert non-intentional change.
4072
4073 2005-10-12  Wim Taymans  <wim@fluendo.com>
4074
4075         * check/gst/gstbin.c: (GST_START_TEST):
4076         * check/gst/gstelement.c: (GST_START_TEST):
4077         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4078         * check/gst/gstghostpad.c: (GST_START_TEST):
4079         * check/gst/gstpipeline.c: (GST_START_TEST):
4080         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4081         * check/states/sinks.c: (GST_START_TEST):
4082         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4083         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4084         (gst_bin_remove_func), (gst_bin_get_state_func),
4085         (gst_bin_recalc_state), (gst_bin_change_state_func),
4086         (bin_bus_handler):
4087         * gst/gstelement.c: (gst_element_get_state_func),
4088         (gst_element_get_state), (gst_element_abort_state),
4089         (gst_element_commit_state), (gst_element_set_state),
4090         (gst_element_change_state), (gst_element_change_state_func):
4091         * gst/gstelement.h:
4092         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4093         (gst_pipeline_provide_clock_func):
4094         * gst/gstutils.c: (gst_element_link_pads_filtered):
4095         * tools/gst-launch.c: (main):
4096         * tools/gst-typefind.c: (main):
4097         Use GstClockTime in _get_state() instead of GTimeVal.
4098         Remove old code in gstutils.c
4099
4100 2005-10-12  Andy Wingo  <wingo@pobox.com>
4101
4102         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4103         removed.
4104
4105         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4106         there is no task. Shouldn't affect any code, as nothing in our
4107         plugins checks this return value.
4108         (gst_pad_stop_task): Also take the stream lock if the pad has no
4109         task. Docs updated.
4110
4111 2005-10-12  Wim Taymans  <wim@fluendo.com>
4112
4113         * gst/gstpad.c: (pre_activate), (post_activate),
4114         (gst_pad_activate_pull), (gst_pad_activate_push):
4115         Cleanup activation code. Reset old state if
4116         activation failed.
4117
4118 2005-10-12  Wim Taymans  <wim@fluendo.com>
4119
4120         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4121         (gst_base_sink_change_state):
4122         No need to prerol after receiving EOS.
4123
4124         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4125         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4126         * gst/elements/gstidentity.c: (gst_identity_event):
4127         Print events more verbosely.
4128
4129 2005-10-12  Wim Taymans  <wim@fluendo.com>
4130
4131         * check/Makefile.am:
4132         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4133         * check/states/sinks2.c:
4134         Moved sinks2 testcode in sinks check.
4135
4136         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4137         (gst_bin_remove_func), (gst_bin_recalc_state),
4138         (gst_bin_change_state_func), (bin_bus_handler):
4139         Fix potential race condition when _get_state() iterated over an
4140         ASYNC element right before it posted a state completion.
4141
4142         * gst/gstclock.h:
4143         Do proper cast here.
4144
4145         * gst/gstevent.c: (gst_event_new_newsegment),
4146         (gst_event_parse_newsegment):
4147         A playback rate of 0.0 is not allowed.
4148
4149 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4150
4151         * win32/common/config.h:
4152         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4153         (_trewinddir), (_ttelldir), (_tseekdir):
4154         * win32/common/dirent.h:
4155         * win32/common/gtchar.h:
4156         * win32/common/libgstbase.def:
4157         * win32/common/libgstreamer.def:
4158         * win32/vs6/grammar.dsp:
4159         * win32/vs6/gst_inspect.dsp:
4160         * win32/vs6/gst_launch.dsp:
4161         * win32/vs6/gstreamer.dsw:
4162         * win32/vs6/libgstbase.dsp:
4163         * win32/vs6/libgstelements.dsp:
4164         * win32/vs6/libgstreamer.dsp:
4165           Visual Studio 6 project files, and a new common directory.
4166           Phear.
4167
4168 2005-10-11  Wim Taymans  <wim@fluendo.com>
4169
4170         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4171         (gst_base_sink_do_sync), (gst_base_sink_query),
4172         (gst_base_sink_change_state):
4173         * gst/base/gstbasesink.h:
4174         Correctly parse newsegment info.
4175
4176 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4177
4178         * gst/gst.c: (init_post):
4179           split plugin paths correctly
4180
4181 2005-10-11  Wim Taymans  <wim@fluendo.com>
4182
4183         * check/gst/gstevent.c: (GST_START_TEST):
4184         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4185         (gst_base_sink_change_state):
4186         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4187         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4188         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4189         * gst/gstevent.c: (gst_event_new_newsegment),
4190         (gst_event_parse_newsegment):
4191         * gst/gstevent.h:
4192         Added extra flag to newsegment for future API freeze.
4193         Updated check and base elements.
4194
4195 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4196
4197         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4198         (gst_collectpads_add_pad), (gst_collectpads_pop),
4199         (gst_collectpads_event), (gst_collectpads_chain):
4200         * gst/base/gstcollectpads.h: Handle EOS correctly.
4201
4202 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4203
4204         * tools/gst-launch.c: (main):
4205           more null protecting
4206
4207 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4208
4209         * gst/gst-i18n-lib.h:
4210           check for ENABLE_NLS, not GETTEXT_PACKAGE
4211         * gst/gstregistry.c: (gst_registry_add_plugin),
4212         (gst_registry_scan_path_level),
4213         (_gst_registry_remove_cache_plugins):
4214           protect possibly NULL strings
4215         * gst/parse/types.h:
4216           config.h already included before
4217         * tools/gst-inspect.c: (main):
4218           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4219           check for ENABLE_NLS, not GETTEXT_PACKAGE
4220         * tools/gst-launch.c: (main):
4221           check for ENABLE_NLS, not GETTEXT_PACKAGE
4222
4223 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4224
4225         * configure.ac:
4226           if we don't have glib, fail before testing 2.8
4227         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4228           fix a leak, should fix plugins-base testsuite
4229
4230 2005-10-11  Andy Wingo  <wingo@pobox.com>
4231
4232         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4233         take the mode we're going to as an arg. Go head and set the mode
4234         and flushing flags now, so that if the activate function starts a
4235         thread all the flags will be in the right state.
4236         (post_activate): Renamed also. Just handle making sure streaming
4237         finishes for the deactivation case, and setting the deactivated
4238         mode.
4239         (gst_pad_set_active): Complain loudly if deactivation fails.
4240         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4241         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4242         remove the terrible hack.
4243
4244 2005-10-11  Wim Taymans  <wim@fluendo.com>
4245
4246         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4247         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4248         (gst_bin_recalc_state), (gst_bin_change_state_func),
4249         (gst_bin_dispose), (bin_bus_handler):
4250         * gst/gstbin.h:
4251         Prepare to make current EOS message queue more generic.
4252         Fix some typos.
4253
4254         * gst/gstevent.c: (gst_event_new_newsegment),
4255         (gst_event_parse_newsegment):
4256         * gst/gstevent.h:
4257         Rename base to stream_time.
4258
4259         * gst/gstmessage.h:
4260         Fix typo in docs.
4261
4262 2005-10-11  Wim Taymans  <wim@fluendo.com>
4263
4264         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4265         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4266         (gst_bin_change_state_func), (bin_bus_handler):
4267         * gst/gstbin.h:
4268         Work on proper clock selection.
4269
4270 2005-10-11  Edward Hervey  <edward@fluendo.com>
4271
4272         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4273         * libs/gst/controller/gstcontroller.h:
4274         Added GList* version of _remove_properties() in order to be able to wrap
4275         it in bindings.
4276
4277 2005-10-11  Wim Taymans  <wim@fluendo.com>
4278
4279         * docs/design/part-states.txt:
4280         Some more docs.
4281
4282         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4283         (gst_bin_change_state_func), (bin_bus_handler):
4284         Doc updates. Don't distribute the same clock over and over again.
4285
4286         * gst/gstclock.c:
4287         * gst/gstclock.h:
4288         Doc updates.
4289
4290         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4291         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4292         (gst_pad_send_event):
4293         * gst/gstpad.h:
4294         Make probe emission threadsafe again.
4295         Register quarks and move _get_name() from utils.
4296         Doc updates.
4297
4298         * gst/gstpipeline.c: (gst_pipeline_class_init),
4299         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4300         Only redistribute the clock of it changed.
4301
4302         * gst/gstsystemclock.h:
4303         Doc updates. 
4304
4305         * gst/gstutils.c:
4306         * gst/gstutils.h:
4307         Moved the _flow_get_name() to GstPad.
4308
4309 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4310
4311         * check/gst-libs/gdp.c: (GST_START_TEST):
4312         * check/gst/gstcaps.c: (GST_START_TEST):
4313         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4314         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4315         (gst_dp_packet_from_caps):
4316           fix more valgrind warnings before turning up the heat
4317
4318 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4319
4320         * gst/parse/grammar.y:
4321           some cleanup before the hacking
4322
4323 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4324
4325         * gst/base/gstbasesrc.c: (gst_base_src_query):
4326           use conversions
4327         * gst/gstutils.c: (gst_guint64_to_gdouble),
4328         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4329         * gst/gstutils.h:
4330           externalize, basesrc uses it
4331           obviously the implementation needs testing
4332
4333 2005-10-10  Wim Taymans  <wim@fluendo.com>
4334
4335         * tests/sched/Makefile.am:
4336         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4337         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4338
4339 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4340
4341         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4342           apparently converting from guint64 to double is not implemented
4343           on MSVC
4344
4345 2005-10-10  Wim Taymans  <wim@fluendo.com>
4346
4347         * check/Makefile.am:
4348         * check/generic/states.c: (GST_START_TEST):
4349         * check/gst/gstbin.c: (GST_START_TEST):
4350         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4351         * check/states/sinks.c: (GST_START_TEST):
4352         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4353         (main):
4354         Check fixes, use API as stated in design docs, remove hacks.
4355
4356         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4357         (gst_base_sink_change_state):
4358         Catch stopping our task while we're shutting down.
4359
4360         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4361         (gst_bin_remove_func), (gst_bin_get_state_func),
4362         (gst_bin_recalc_state), (gst_bin_change_state_func),
4363         (bin_bus_handler):
4364         * gst/gstbin.h:
4365         * gst/gstelement.c: (gst_element_init),
4366         (gst_element_get_state_func), (gst_element_abort_state),
4367         (gst_element_commit_state), (gst_element_lost_state),
4368         (gst_element_set_state), (gst_element_change_state),
4369         (gst_element_change_state_func):
4370         * gst/gstelement.h:
4371         New state change algorithm (see #318116)
4372
4373         * gst/gstpipeline.c: (gst_pipeline_class_init),
4374         (gst_pipeline_init), (gst_pipeline_set_property),
4375         (gst_pipeline_get_property), (do_pipeline_seek),
4376         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4377         * gst/gstpipeline.h:
4378         Remove crude state change hacks.
4379
4380         * gst/gstutils.h:
4381         Remove crude hacks.
4382
4383         * tools/gst-launch.c: (main):
4384         Fixes for state change. Needs some more work to fully use the
4385         new stuff.
4386
4387 2005-10-10  Andy Wingo  <wingo@pobox.com>
4388
4389         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4390
4391         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4392         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4393         issue.
4394
4395 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4396
4397         * gst/gstiterator.c: (gst_iterator_new):
4398           Fix my previous commit: GTypes passed to gst_iterator_new()
4399           can be fundamental types.
4400
4401 2005-10-10  Wim Taymans  <wim@fluendo.com>
4402
4403         * gst/gstelement.c: (gst_element_iterate_pad_list),
4404         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4405         (gst_element_iterate_sink_pads):
4406         Use src/sink pads lists for the respective iterators instead
4407         of filtering.
4408
4409 2005-10-10  Andy Wingo  <wingo@pobox.com>
4410
4411         Merged in popt removal + GOption addition patch from Ronald, bug
4412         #169772.
4413
4414         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4415         GstElement macros around, remove popt-related symbols, add goption
4416         stuff.
4417
4418         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4419         
4420         * docs/gst/Makefile.am:
4421         * docs/libs/Makefile.am: No POPT_CFLAGS.
4422         
4423         * examples/manual/Makefile.am:
4424         * docs/manual/basics-init.xml: Doc updates with an example.
4425         
4426         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4427         (gst_init), (parse_one_option), (parse_goption_arg):
4428         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4429         bit of hand merging and debugging to get the GOption stuff working
4430         tho.
4431         
4432         * tests/Makefile.am:
4433         * tools/Makefile.am:
4434         * tools/gst-inspect.c: (main):
4435         * tools/gst-launch.c: (main):
4436         * tools/gst-run.c: (main):
4437         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4438
4439 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4440
4441         * gst/gstiterator.c: (gst_iterator_new):
4442           Add assertions to make sure passed GType is likely to really
4443           be a GType (as the compiler won't catch it if the size and
4444           GType arguments get mixed up, see #318447).
4445
4446 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4447
4448         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4449
4450         * gst/gstbin.c: (gst_bin_iterate_sorted):
4451           Pass GType and size arguments to gst_iterator_new() in the right
4452           order (maybe we should make _new() take the GType as first argument
4453           just like _new_list()?) (#318447).
4454           
4455
4456 2005-10-10  Wim Taymans  <wim@fluendo.com>
4457
4458         * gst/gstelement.c: (gst_element_finalize):
4459         And free the GStaticRecMutex too
4460
4461 2005-10-10  Andy Wingo  <wingo@pobox.com>
4462
4463         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4464         Allocate and free the mutex properly.
4465
4466         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4467         New macros.
4468         (GstElement): The state_lock is now recursive. Rebuild your
4469         plugins, suckers. Old macros adapted.
4470
4471         * docs/gst/gstreamer-sections.txt: Doc updates.
4472
4473         * gst/gstutils.h:
4474         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4475         (g_static_rec_cond_wait): Ported from state changes patch, while
4476         we wait on bug #317802 to be solved in a well-distributed GLib.
4477
4478         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4479         gst_element_change_state, variable name changes.
4480         (gst_element_change_state): Split out of gst_element_set_state in
4481         preparation for the state change merge. Doesn't pay attention to
4482         the 'transition' argument.
4483         (gst_element_set_state): Updates, hopefully purely cosmetic.
4484         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4485         state change patch.
4486         (gst_element_get_state_func): Renamed from get_state, cosmetic
4487         changes.
4488
4489 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4490
4491         * gst/elements/gstelements.c:
4492         * win32/GStreamer.vcproj:
4493         * win32/config.h:
4494         * win32/dirent.c: (_tseekdir):
4495         * win32/gst-inspect.vcproj:
4496         * win32/gst-launch.vcproj:
4497         * win32/gstconfig.h:
4498         * win32/gstelements.vcproj:
4499         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4500         * win32/gstreamer.def:
4501         * win32/msvc71.sln:
4502           updates for the win32 build (patch from Sebastien Moutte)
4503
4504 2005-10-10  Andy Wingo  <wingo@pobox.com>
4505
4506         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4507         gst_bin_get_state, cleaned up (but no logic changes).
4508         (bin_element_is_sink): Comment updates.
4509         (sink_iterator_filter): Remove needless cast.
4510         (gst_bin_iterate_sinks): Doc update.
4511         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4512         cleaned up (but no logic changes).
4513
4514         * check/states/sinks.c (test_src_sink): Cleanups from the state
4515         change patch.
4516         (test_livesrc_sink): Sync on the state.
4517
4518         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4519         the state change patch.
4520
4521         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4522         change patch.
4523
4524         * check/gst/gstbin.c: Merge in some style fixes and additional
4525         checks from Wim's state change patch.
4526
4527 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4528
4529         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4530         (gst_type_find_helper):
4531           Check whether we have the requested data already in our list of
4532           cached buffers before pulling a new buffer; also make the buffer
4533           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4534
4535 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4536
4537         * gst/gstcaps.c:
4538         * gst/gstevent.c:
4539           doc updates
4540         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4541           don't use long long, it's not portable.  Replacing with
4542           gint64 seems to work; let's hope no skeletons fall out of the closet.
4543
4544 2005-10-10  Andy Wingo  <wingo@pobox.com>
4545
4546         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4547
4548 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4549
4550         * docs/gst/gstreamer-sections.txt:
4551         * gst/gstevent.c:
4552         * gst/gstevent.h:
4553         * gst/gstinfo.c:
4554         * gst/gstinfo.h:
4555         * gst/gstmessage.c: (gst_message_parse_state_changed):
4556         * gst/gstpad.c:
4557         * gst/gstpad.h:
4558           more docs, fix compilation
4559
4560 2005-10-09  Philippe Khalaf <burger@speedy.org>
4561         * gst/gstmessage.c:
4562           Fixed a few forgotten variables on previous commit
4563
4564 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4565
4566         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4567           Fix evil typefind crasher: getrange() might return a short
4568           buffer at the end of a file, but gst_type_find_peek() must
4569           either return the full data as requested or NULL, but
4570           never a short buffer.
4571
4572 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4573
4574         * gst/gstmessage.c: (gst_message_new_state_changed),
4575         (gst_message_parse_state_changed):
4576         * gst/gstmessage.h:
4577           don't use "new", it's a C++ keyword
4578
4579 2005-10-08  Wim Taymans  <wim@fluendo.com>
4580
4581         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4582         * gst/gstelement.c: (gst_element_post_message):
4583         * gst/gstpipeline.c: (gst_pipeline_change_state):
4584         Small docs and debug updates.
4585
4586 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4587
4588         * docs/gst/gstreamer-sections.txt:
4589         * gst/gstelementfactory.c:
4590         * gst/gstevent.c:
4591         * gst/gsttaglist.c:
4592           more docs
4593
4594 2005-10-08  Wim Taymans  <wim@fluendo.com>
4595
4596         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4597         (gst_bin_dispose), (bin_bus_handler):
4598         Fix typos, add comments.
4599         Clear EOS list when going to PAUSED from any direction and do it
4600         in a threadsafe way.
4601         Get base time in a threadsafe way too.
4602         Fix confusing debug in the change_state function.
4603         Various other small cleanups.
4604         
4605         * gst/gstelement.c: (gst_element_post_message):
4606         Fix very verbose bus posting code.
4607
4608         * gst/gstpipeline.c: (gst_pipeline_class_init),
4609         (gst_pipeline_set_property), (gst_pipeline_get_property),
4610         (gst_pipeline_change_state):
4611         Small ARG_ -> PROP_ cleanup
4612
4613 2005-10-08  Wim Taymans  <wim@fluendo.com>
4614
4615         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4616         Do a less CPU demanding EOS check because we can.
4617
4618 2005-10-08  Wim Taymans  <wim@fluendo.com>
4619
4620         * libs/gst/dataprotocol/dataprotocol.c:
4621         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4622         (gst_dp_packet_from_event):
4623         * libs/gst/dataprotocol/dataprotocol.h:
4624         * libs/gst/dataprotocol/dp-private.h:
4625         It's about time we bump the version number.
4626         Since event types don't fit in the guint8 anymore describing
4627         the payload type, make payload type 16 bits wide.
4628
4629 2005-10-08  Wim Taymans  <wim@fluendo.com>
4630
4631         * docs/design/part-TODO.txt:
4632         * docs/design/part-clocks.txt:
4633         * docs/design/part-events.txt:
4634         * docs/design/part-gstbin.txt:
4635         * docs/design/part-gstelement.txt:
4636         * docs/design/part-gstpipeline.txt:
4637         * docs/design/part-live-source.txt:
4638         * docs/design/part-messages.txt:
4639         * docs/design/part-overview.txt:
4640         * docs/design/part-states.txt:
4641         Many doc updates.
4642
4643 2005-10-08  Wim Taymans  <wim@fluendo.com>
4644
4645         * gst/gstevent.c:
4646         * gst/gstevent.h:
4647         Fix event quark registration.
4648         Add some space between events so we can insert them in the
4649         right groups.
4650
4651 2005-10-08  Wim Taymans  <wim@fluendo.com>
4652
4653         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4654         (gst_base_sink_handle_buffer):
4655         Better log message.
4656
4657         * gst/gstbus.h:
4658         * gst/gstelement.h:
4659         More docs.
4660
4661         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4662         (gst_queue_set_property), (gst_queue_get_property):
4663         * gst/gstqueue.h:
4664         Remove old unused properties.
4665
4666 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4667         * docs/gst/gstreamer-sections.txt:
4668         * gst/gstmessage.c:
4669         * gst/gstmessage.h:
4670         * gst/gstminiobject.c:
4671         * gst/gstminiobject.h:
4672         * gst/gstobject.h:
4673         * gst/gstpad.h:
4674         * gst/gstutils.h:
4675           lots of new docs and doc fixes
4676
4677 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4678
4679         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4680         * gst/gstplugin.h:
4681         * gst/gstregistry.c: (gst_registry_lookup_locked),
4682         (gst_registry_scan_path_level):
4683         * gst/gstregistryxml.c: (load_plugin):
4684           Only ever load one plugin for a given plugin basename.
4685           This ensures correct overriding of GST_PLUGIN_PATH over
4686           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4687           system installed plugins.
4688
4689 2005-10-08  Wim Taymans  <wim@fluendo.com>
4690
4691         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4692         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4693         Prepare for doing QOS.
4694
4695 2005-10-08  Wim Taymans  <wim@fluendo.com>
4696
4697         * check/gst/gstbin.c: (GST_START_TEST):
4698         * check/pipelines/cleanup.c: (GST_START_TEST):
4699         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4700         Allow new clock message too.
4701
4702 2005-10-08  Wim Taymans  <wim@fluendo.com>
4703
4704         * gst/gstmessage.c: (gst_message_new_error),
4705         (gst_message_new_warning), (gst_message_new_tag),
4706         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4707         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4708         (gst_message_new_segment_start), (gst_message_new_segment_done),
4709         (gst_message_parse_state_changed),
4710         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4711         (gst_message_parse_new_clock):
4712         * gst/gstmessage.h:
4713         Also carry the clock in question.
4714
4715 2005-10-08  Wim Taymans  <wim@fluendo.com>
4716
4717         * gst/gstmessage.c: (gst_message_new_custom),
4718         (gst_message_new_eos), (gst_message_new_error),
4719         (gst_message_new_warning), (gst_message_new_tag),
4720         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4721         (gst_message_new_new_clock), (gst_message_new_segment_start),
4722         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4723         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4724         * gst/gstmessage.h:
4725         Clean up.
4726         Added clock related messages.
4727
4728         * gst/gstpipeline.c: (gst_pipeline_change_state):
4729         Post message when the clock changed.
4730
4731         * tools/gst-launch.c: (event_loop):
4732         Print new clock.
4733
4734 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4735
4736         * tools/gst-inspect.c: (print_element_properties_info):
4737           Can't pass NULL strings to g_print() on windows.
4738
4739 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4740
4741         * docs/Makefile.am:
4742         * docs/gst/Makefile.am:
4743         * docs/gst/gstreamer-docs.sgml:
4744         * docs/gst/running.xml:
4745         * docs/version.entities.in:
4746           add a chapter on running GStreamer.
4747           document GST_DEBUG and GST_PLUGIN* env vars
4748
4749 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4750
4751         * Makefile.am:
4752           remove include dir
4753         * configure.ac:
4754           remove PLUGINS_BUILDDIR stuff
4755         * gst/gst.c: (init_post):
4756           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4757         * idiottest.mak:
4758           remove, it was condescending and not needed
4759
4760 2005-10-08  Wim Taymans  <wim@fluendo.com>
4761
4762         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4763         (gst_base_sink_handle_object), (gst_base_sink_event),
4764         (gst_base_sink_wait), (gst_base_sink_handle_event),
4765         (gst_base_sink_change_state):
4766         * gst/base/gstbasesink.h:
4767         Repost EOS message while going to PLAYING if still EOS.
4768         Make sure that when receiving a FLUSH_START we don't attempt
4769         to sync on the clock anymore.
4770
4771 2005-10-08  Wim Taymans  <wim@fluendo.com>
4772
4773         * tools/gst-launch.c: (event_loop):
4774         Better message printout.
4775
4776 2005-10-08  Wim Taymans  <wim@fluendo.com>
4777
4778         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4779         (gst_bin_child_proxy_get_children_count):
4780         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4781         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4782         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4783         (gst_child_proxy_set_valist):
4784         * gst/parse/grammar.y:
4785         Make ChildProxy threadsafe and fix mem leaks.
4786
4787 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4788
4789         * gst/gst.c: (init_post):
4790           debug the GST_PLUGIN_ env vars
4791
4792 2005-10-08  Wim Taymans  <wim@fluendo.com>
4793
4794         * check/gst/gstbin.c: (GST_START_TEST):
4795         * check/gst/gstmessage.c: (GST_START_TEST):
4796         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4797         * gst/gstelement.c: (gst_element_commit_state),
4798         (gst_element_lost_state):
4799         * gst/gstmessage.c: (gst_message_new_state_changed),
4800         (gst_message_parse_state_changed):
4801         * gst/gstmessage.h:
4802         * tools/gst-launch.c: (event_loop):
4803         Added extra field to STATE_CHANGE message with the pending
4804         state, which will be different from the new state soon.
4805
4806 2005-10-08  Wim Taymans  <wim@fluendo.com>
4807
4808         * gst/gstbus.c: (gst_bus_pop):
4809         * gst/gstclock.c:
4810         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4811         Small cleanups and doc updates.
4812
4813 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4814
4815         * gst/gst.c: (init_pre):
4816         * gst/gstbin.c: (gst_bin_add_func):
4817           log distributing clocks and base time
4818         * gst/gstregistry.c: (gst_registry_add_plugin),
4819         (gst_registry_scan_path_level), (gst_registry_scan_path):
4820           clean up the debugging output a little
4821         * gst/gstutils.c: (gst_element_state_get_name):
4822           warn about a memleak (I've actually seen this be used, though
4823           it was probably a bug)
4824
4825 2005-10-07  Wim Taymans  <wim@fluendo.com>
4826
4827         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4828         (gst_base_src_init), (gst_base_src_default_newsegment),
4829         (gst_base_src_newsegment), (gst_base_src_do_seek),
4830         (gst_base_src_loop), (gst_base_src_start):
4831         * gst/base/gstbasesrc.h:
4832         Make the newsegment event customizable by subclasses.
4833
4834 2005-10-07  Wim Taymans  <wim@fluendo.com>
4835
4836         * gst/gstevent.c: (gst_event_new_buffersize),
4837         (gst_event_parse_buffersize):
4838         * gst/gstevent.h:
4839         New event for future idea.
4840
4841 2005-10-07  Andy Wingo  <wingo@pobox.com>
4842
4843         * gst/gstelement.c (gst_element_post_message): Doc update.
4844
4845         * docs/gst/gstreamer-sections.txt: Update.
4846
4847         * gst/gstmessage.c (gst_message_new_application): Made into a
4848         function like honest API calls.
4849         (gst_message_new_element): New message type.
4850
4851         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4852
4853         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4854         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4855         times.
4856
4857         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4858         NO_PREROLL from gst_element_change_state to fall through.
4859
4860 2005-10-07  Wim Taymans  <wim@fluendo.com>
4861
4862         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4863         (gst_ghost_pad_do_activate_push):
4864         Activating a ghostpad with no internal pad in push mode
4865         is ok.
4866
4867 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4868
4869         * gst/gstobject.h:
4870           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4871           Fixes compilation on Windows.
4872
4873 2005-10-07  Michael Smith <msmith@fluendo.com>
4874
4875         * tools/gst-inspect.c:
4876           Print out feature and plugin count at the end when printing out
4877           all features.
4878
4879 2005-10-04  Michael Smith <msmith@fluendo.com>
4880
4881         * gst/gsterror.c: (_gst_stream_errors_init):
4882           Add another error string used in a few existing plugins.
4883
4884         * gst/gstplugin.c:
4885         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4886         * tools/gst-inspect.c: (print_element_info):
4887           When a feature disappears from a plugin (and the feature exists in
4888           the cached registry file), things went horribly wrong. This isn't a
4889           complete fix, we should actually be removing the 'missing' features
4890           from the features list when we load the actual plugin. That's not
4891           yet implemented. 
4892
4893 2005-10-04  Johan Dahlin  <johan@gnome.org>
4894
4895         * check/gst/gstiterator.c: (GST_START_TEST):
4896         * gst/gstbin.c: (gst_bin_iterate_elements),
4897         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4898         * gst/gstelement.c: (gst_element_iterate_pads):
4899         * gst/gstformat.c: (gst_format_iterate_definitions):
4900         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4901         (gst_iterator_new_list), (gst_iterator_filter):
4902         * gst/gstiterator.h:
4903         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4904         Add a GType to GstIterator, update callsites and tests.
4905
4906 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4907
4908         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4909           give events a chance to be handled by event probes when the pad
4910           is not linked
4911
4912 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4913
4914         * gst/gstevent.c: (gst_event_type_get_name),
4915         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4916         * gst/gstevent.h:
4917           add string representations for event types
4918
4919 2005-10-06  Wim Taymans  <wim@fluendo.com>
4920
4921         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4922         Don't use NULL pointers.
4923
4924 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4925
4926         * gst/gst_private.h:
4927         * gst/gstbus.c:
4928         * gst/gstelement.c:
4929         * gst/gstinfo.c:
4930         * gst/gstpluginfeature.c:
4931           widen the debug category in output to fit the biggest one we have
4932           add a bus category and use it
4933           play with the colors
4934           fix up some categories
4935
4936 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4937
4938         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4939           add push activation of sink ghost pads.
4940           Andye, please verify
4941
4942 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4943
4944         * gst/gstutils.c: (gst_element_link_pads):
4945           fix a bug in the case where neither element has a pad
4946         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4947           add a test for that case
4948
4949 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4950
4951         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4952           emit have-data before checking for peers.  This allows
4953           for probe handlers to connect elements.  This helps autopluggers.
4954         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4955         (gst_pad_suite):
4956           add six checks, linked/unlinked with no/true/false probe
4957
4958 2005-10-04  Wim Taymans  <wim@fluendo.com>
4959
4960         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4961         (gst_fake_sink_event), (gst_fake_sink_preroll),
4962         (gst_fake_sink_render), (gst_fake_sink_change_state):
4963         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4964         (gst_fake_src_get_property), (gst_fake_src_create),
4965         (gst_fake_src_stop):
4966         * gst/elements/gstidentity.c: (gst_identity_stop):
4967         Protect last_message with lock.
4968
4969 2005-10-04  Edward Hervey  <edward@fluendo.com>
4970
4971         * gst/gstformat.h: 
4972         Added precision in the comments for GST_FORMAT_DEFAULT
4973
4974 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4975
4976         * tools/gst-launch.c: (main):
4977           Don't try to run erroneous pipelines.
4978
4979 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4980
4981         * gst/gstbus.c: We don't need this header.
4982
4983 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4984
4985         * configure.ac:
4986           back to development
4987
4988 === release 0.9.3 ===
4989
4990 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4991
4992         * README:
4993         * configure.ac:
4994           Releasing 0.9.3, "Unregistered"
4995
4996 2005-10-03  Andy Wingo  <wingo@pobox.com>
4997
4998         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4999         whereby calling a pad's activatepush() function can start a thread
5000         that starts to push or pull before the pad gets the FLUSHING flag
5001         unset. Hack around it by holding the stream lock until the flag is
5002         set. Need to replace this with a proper solution. Together with
5003         the ghost pad fixes, this fixes mp3 playing/tagreading.
5004
5005         * docs/design/part-gstghostpad.txt: Add a note about activation of
5006         proxy pads outside of ghost pads.
5007
5008         * gst/gstghostpad.c: Implement the ghost pad activation design.
5009
5010 2005-10-02  Andy Wingo  <wingo@pobox.com>
5011
5012         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5013         It is volatile, after all.
5014
5015         * docs/design/part-gstghostpad.txt: Flesh out activation with
5016         ghost pads.
5017
5018         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5019         GST_DEBUG_FUNCPTR.
5020
5021 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5022
5023         * configure.ac:
5024           Fix (unused) AM_CONDITIONAL tests.
5025
5026 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5027
5028         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5029
5030         * gst/gstutils.c: (gst_pad_query_convert):
5031           Add assertion that makes sure src_val is >=0, just like
5032           gst_query_new_convert() has. (#315895)
5033
5034 2005-09-30  Edward Hervey  <edward@fluendo.com>
5035
5036         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5037         Let's not iterate pads we're not interested in, it avoids getting 
5038         sky-high refcounts on sinkpad.
5039
5040 2005-09-30  Wim Taymans  <wim@fluendo.com>
5041
5042         * gst/gstelement.c: (gst_element_set_state),
5043         (gst_element_change_state):
5044         Small tweak, element in ASYNC remains ASYNC.
5045
5046 2005-09-30  Wim Taymans  <wim@fluendo.com>
5047
5048         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5049         Only error is an error.
5050
5051         * gst/gstbin.c: (gst_bin_change_state):
5052         Better debugging.
5053
5054         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5055         Also call pad_block in pad alloc.
5056
5057         * gst/gstutils.c: (gst_flow_get_name):
5058         Better debugging.
5059
5060 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5061
5062         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5063         (gst_base_src_get_range):
5064           Fix documentation typos. Add some more debug info.
5065
5066 2005-09-29  David Schleef  <ds@schleef.org>
5067
5068         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5069           more end-user friendly.
5070         * tools/gst-inspect.c: (main): Check if command-line argument is
5071           a file and attempt to load that file as a plugin.
5072
5073 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5074
5075         * check/gst/gstbin.c:
5076         * check/states/sinks.c:
5077           fix tests for the new warning
5078         * check/gst/gstpipeline.c:
5079           add a test for pipeline and bus interaction
5080         * gst/gstelement.c:
5081           elements should be NULL if they get disposed; add a warning if not
5082
5083 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5084
5085         * gst/gstobject.c:
5086           for 2.6 refcounting, make debug log more correct by printing
5087           the actual refcounts at the time of swap (Wim)
5088
5089 2005-09-29  Andy Wingo  <wingo@pobox.com>
5090
5091         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5092         removes signal watches previously added via
5093         gst_bus_add_signal_watch.
5094         (gst_bus_add_signal_watch): Don't return the source id, just store
5095         it on the bus if there wasn't an id already.
5096
5097         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5098         add_signal_watch and remove_signal_watch.
5099
5100 2005-09-29  Edward Hervey  <edward@fluendo.com>
5101
5102         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5103         Better if we actually iterate the list :)
5104
5105 2005-09-29  Wim Taymans  <wim@fluendo.com>
5106
5107         * check/gst/gstbin.c: (GST_START_TEST):
5108         Change for new bus API.
5109
5110         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5111         (send_messages), (GST_START_TEST), (gstbus_suite):
5112         Change for new bus signal API.
5113
5114         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5115         (gst_bus_source_prepare), (gst_bus_source_check),
5116         (gst_bus_create_watch), (gst_bus_add_watch_full),
5117         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5118         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5119         * gst/gstbus.h:
5120         Remove support for multiple GSources operating on different
5121         message types as it is too complex and unneeded when using
5122         signals.
5123         Added support for receiving signals from the bus.
5124
5125 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5126
5127         * docs/libs/tmpl/gstdataprotocol.sgml:
5128         * docs/manual/advanced-dataaccess.xml:
5129         * gst/elements/gstcapsfilter.c:
5130         * gst/gstutils.c:
5131           rename filter-caps to caps property
5132
5133 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5134
5135         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5136           More robust fraction string parsing.
5137
5138         * docs/pwg/appendix-porting.xml:
5139           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5140
5141 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5142
5143         * gst/gstcaps.c: (gst_caps_do_simplify):
5144           Thou shalt not free a structure and then continue using it
5145           in the next loop iteration.
5146
5147         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5148         (gst_caps_suite):
5149           Add test case for caps simplification.
5150
5151 2005-09-29  Wim Taymans  <wim@fluendo.com>
5152
5153         * check/gst/gstbin.c: (GST_START_TEST):
5154         Oops.
5155
5156 2005-09-29  Wim Taymans  <wim@fluendo.com>
5157
5158         * check/gst/gstbin.c: (GST_START_TEST):
5159         Add bus to bin.
5160
5161         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5162         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5163         (find_element), (gst_bin_sort_iterator_next),
5164         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5165         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5166         (gst_bin_change_state), (gst_bin_dispose):
5167         A bin does not have a bus, it gets the bus from the parent.
5168
5169         * gst/gstelement.c: (gst_element_requires_clock),
5170         (gst_element_provides_clock), (gst_element_is_indexable),
5171         (gst_element_is_locked_state), (gst_element_change_state),
5172         (gst_element_set_bus_func):
5173         Small cleanups.
5174
5175         * gst/gstpipeline.c: (gst_pipeline_class_init),
5176         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5177         The pipeline provides a bus.
5178
5179 2005-09-28  Johan Dahlin  <johan@gnome.org>
5180
5181         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5182         gst_structure_get_enum instead of gst_structure_get_int
5183
5184         * gst/gststructure.c (gst_structure_get_enum): Impl.
5185
5186         * gst/gststructure.h (gst_structure_get_enum): Add
5187
5188         * docs/gst/gstreamer-sections.txt: Ditto
5189
5190         * gst/gstmessage.c (gst_message_new_state_changed): Use
5191         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5192         which does introspection.
5193         Reviewed by Christian Schaller
5194
5195 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5196
5197         * gst/gstinfo.c: (gst_debug_log_default):
5198           don't do dummy g_strdup()s
5199         * libs/gst/controller/gstcontroller.c:
5200         (on_object_controlled_property_changed),
5201         (gst_controlled_property_new), (gst_controller_new_valist),
5202         (gst_controller_new_list),
5203         (gst_controller_remove_properties_valist), (gst_controller_set),
5204         (gst_controller_get), (gst_controller_sync_values),
5205         (gst_controller_get_value_array), (_gst_controller_class_init),
5206         (gst_controller_get_type):
5207         * libs/gst/controller/gstcontroller.h:
5208         * libs/gst/controller/gstinterpolation.c:
5209         (gst_controlled_property_find_timed_value_node):
5210           convert // to /**/ comments
5211
5212 2005-09-28  Wim Taymans  <wim@fluendo.com>
5213
5214         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5215         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5216         (gst_bus_sync_signal_handler):
5217         * gst/gstbus.h:
5218         Added async-message and sync-message signals to the bus.
5219         Added helper BusFunc to emit signals for all posted messages.
5220
5221         * gst/gstmessage.c: (gst_message_type_get_name),
5222         (gst_message_type_to_quark), (gst_message_get_type):
5223         * gst/gstmessage.h:
5224         Register quarks for message names.
5225
5226 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5227
5228         * docs/libs/gstreamer-libs-sections.txt:
5229         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5230         (gst_controller_new_list):
5231         * libs/gst/controller/gstcontroller.h:
5232           added another constructor for language bindings
5233
5234 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5235
5236         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5237           add another check
5238         * gst/gstbus.c:
5239           add some doc
5240         * gst/gstinfo.c: (_gst_debug_init):
5241           slightly more readable color for refcount debugging
5242
5243 2005-09-28  Wim Taymans  <wim@fluendo.com>
5244
5245         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5246         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5247         (find_element), (gst_bin_sort_iterator_next),
5248         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5249         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5250         (gst_bin_change_state), (gst_bin_dispose):
5251         Small doc fixes. get_clock -> provide_clock.
5252
5253         * gst/gstelement.c: (gst_element_class_init),
5254         (gst_element_provides_clock), (gst_element_provide_clock),
5255         (gst_element_get_clock), (gst_element_commit_state),
5256         (gst_element_lost_state):
5257         * gst/gstelement.h:
5258         Make get/set_clock() symetric. Add provide_clock vmethod since
5259         that is actually what this function does.
5260
5261         * gst/gstpipeline.c: (gst_pipeline_class_init),
5262         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5263         (gst_pipeline_get_clock):
5264         get_clock -> provide_clock.
5265
5266 2005-09-28  Andy Wingo  <wingo@pobox.com>
5267
5268         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5269         lieu of real docs...
5270
5271         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5272
5273 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5274
5275         * gst/elements/gstcapsfilter.c:
5276         * gst/elements/gstfakesink.c:
5277         * gst/elements/gstfakesrc.c:
5278         * gst/elements/gstfdsink.c:
5279         * gst/elements/gstfdsrc.c:
5280         * gst/elements/gstfilesink.c:
5281         * gst/elements/gstfilesrc.c:
5282         * gst/elements/gstidentity.c:
5283         * gst/elements/gsttee.c:
5284         * gst/elements/gsttypefindelement.c:
5285           Make element details static.
5286
5287 2005-09-28  Wim Taymans  <wim@fluendo.com>
5288
5289         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5290         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5291         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5292         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5293         (gst_bin_change_state), (gst_bin_dispose):
5294         Some documentation updates.
5295         Clean up dispose handlers.
5296
5297         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5298         * gst/gstpad.c: (gst_pad_dispose):
5299         Clean up dispose handler.
5300
5301         * gst/gstpipeline.c: (gst_pipeline_change_state):
5302         Removed spurious UNLOCK.
5303
5304 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5305
5306         * docs/gst/gstreamer-sections.txt:
5307         * gst/base/gstbasesrc.h:
5308         * gst/gstelement.h:
5309         * gst/gstevent.h:
5310         * gst/gstobject.h:
5311         * gst/gstpad.h:
5312         * gst/gstpipeline.c:
5313         * gst/gstpipeline.h:
5314         * gst/gstutils.h:
5315         * gst/gstxml.h:
5316           added two new functions to the docs
5317                 documents all undocumented GstXXXFlags
5318                 completed some incomplete docs 
5319
5320 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5321
5322         * gst/gstbin.c: (gst_bin_dispose):
5323         * gst/gstelement.c: (gst_element_dispose):
5324           remove now useless and leaky resurrection code in dispose
5325         * gst/base/gstbasesrc.c: (gst_base_src_init):
5326         * gst/gstelementfactory.c: (gst_element_factory_create):
5327         * gst/gstobject.c: (gst_object_set_parent):
5328           add some debugging
5329
5330 2005-09-27  Wim Taymans  <wim@fluendo.com>
5331
5332         * docs/design/part-TODO.txt:
5333         Update TODO.
5334
5335         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5336         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5337         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5338         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5339         (gst_bin_change_state):
5340         * gst/gstelement.h:
5341         Remove element variable, we keep element info in the iterator now.
5342
5343 2005-09-27  Andy Wingo  <wingo@pobox.com>
5344
5345         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5346         values.
5347
5348 2005-09-27  Wim Taymans  <wim@fluendo.com>
5349
5350         * check/gst/gstbin.c: (GST_START_TEST):
5351         Enable check that works now.
5352
5353         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5354         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5355         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5356         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5357         (gst_bin_change_state):
5358         * gst/gstbin.h:
5359         Redid the state change algorithm using a topological sort algo.
5360         Handles all cases correctly.
5361         Exposed iterator for state change order.
5362
5363         * gst/gstelement.h:
5364         Temp storage for state changes. Need to get rid of this soon.
5365
5366 2005-09-27  Wim Taymans  <wim@fluendo.com>
5367
5368         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5369         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5370         (link_fold_func), (gst_pad_proxy_setcaps):
5371         Leak fixes, the fold functions need to unref the passed object and
5372         _get_parent_*() returns ref to parent.
5373
5374 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5375
5376         * check/gst/gstbuffer.c: (test_make_writable):
5377           Plug leak in test case and fix 'make check-valgrind'
5378
5379 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5380
5381         * gst/gstbuffer.c: (gst_subbuffer_init):
5382           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5383           works correctly in all circumstances (we could have just copied
5384           the parent buffer's readonly flag, but conceptually it seems
5385           cleaner to mark all subbuffers as read-only). (based on patch
5386           by Alessandro Decina, #314710).
5387         
5388         * check/gst/gstbuffer.c: (create_read_only_buffer),
5389         (test_make_writable), (test_subbuffer_make_writable),
5390         (gst_test_suite):
5391           Add some tests for gst_buffer_make_writable().
5392
5393 2005-09-27  Wim Taymans  <wim@fluendo.com>
5394
5395         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5396         use gst_object_has_ancestor().
5397
5398         * gst/gstobject.c: (gst_object_has_ancestor):
5399         * gst/gstobject.h:
5400         gst_object_has_ancestor() copied from gstbin.c as it is a
5401         usefull function.
5402
5403         * tests/instantiate/create.c: (create_all_elements):
5404         * tests/lat.c: (handoff_src), (handoff_sink):
5405         * tests/sched/runxml.c: (main):
5406         * tests/seeking/seeking1.c: (main):
5407         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5408         (main):
5409         Fix compilation of some tests.
5410
5411 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5412
5413         * gst/gsterror.h:
5414           Remove comment. GST_TYPE_G_ERROR is here to stay,
5415           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5416           (#316961, #300610).
5417
5418 2005-09-26  Wim Taymans  <wim@fluendo.com>
5419
5420         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5421         Added check that shows error in state change order.
5422
5423 2005-09-26  Wim Taymans  <wim@fluendo.com>
5424
5425         * gst/gstbin.c: (gst_bin_change_state):
5426         Make state change function use 3 queues again, we were
5427         adding elements in the wrong order.
5428
5429         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5430         Some debug info,
5431
5432         * gst/gstpad.c: (gst_pad_dispose):
5433         Added some debug info first.
5434
5435 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5436
5437         * docs/design/draft-push-pull.txt:
5438         * docs/design/part-events.txt:
5439         * docs/design/part-overview.txt:
5440         * docs/design/part-scheduling.txt:
5441           Replace all _pull_region() with _pull_range()
5442           
5443 2005-09-26  Andy Wingo  <wingo@pobox.com>
5444
5445         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5446
5447         * check/gst-libs/controller.c: Update for controller api change.
5448
5449         * configure.ac: 
5450         * tests/Makefile.am:
5451         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5452         over by GLib bug 118439.
5453         
5454         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5455         routines to a function.
5456
5457         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5458
5459         * libs/gst/controller/gsthelper.c:
5460         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5461         (gst_object_sync_values): Renamed from sink_values. Ugh.
5462
5463         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5464
5465         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5466         Renamed from controller_key, as it is exported.
5467
5468         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5469
5470 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5471
5472         * gst/Makefile.am:
5473         * gst/gst.h:
5474         * gst/gstpad.h:
5475         * gst/gstpadtemplate.h:
5476         * gst/gstquery.c:
5477         * gst/gstquery.h:
5478         * gst/gstqueryutils.c:
5479         * gst/gstqueryutils.h:
5480           remove queryutils headers after moving the two used functions
5481           to gstquery.  also fixes build problem for gstsiddec
5482
5483 2005-09-26  Michael Smith <msmith@fluendo.com>
5484
5485         * tools/gst-launch.1.in:
5486         Correct documentation in manpage of debug syntax
5487
5488 2005-09-26  Wim Taymans  <wim@fluendo.com>
5489
5490         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5491         (gst_base_src_is_seekable), (gst_base_src_change_state):
5492         Some more debugging info.
5493
5494 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5495
5496         * docs/gst/gstreamer-sections.txt:
5497         * gst/base/gstbasetransform.h:
5498         * gst/gstindex.h:
5499           added more docs
5500
5501 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5502
5503         * docs/gst/.cvsignore:
5504         * docs/gst/tmpl/.cvsignore:
5505         * docs/gst/tmpl/gstpipeline.sgml:
5506         * docs/gst/tmpl/gstplugin.sgml:
5507         * gst/gstpipeline.c:
5508         * gst/gstplugin.c:
5509         * gst/gstplugin.h:
5510           inlined the last two docs files
5511           removed the tmpl directory from cvs (no more conflicts here!)
5512
5513 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5514
5515         * docs/gst/gstreamer-sections.txt:
5516         * docs/gst/tmpl/.cvsignore:
5517         * docs/gst/tmpl/gstpad.sgml:
5518         * docs/gst/tmpl/gstpadtemplate.sgml:
5519         * gst/Makefile.am:
5520         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5521         (gst_pad_finalize), (gst_pad_set_pad_template):
5522         * gst/gstpad.h:
5523         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5524         (gst_pad_template_class_init), (gst_pad_template_init),
5525         (gst_pad_template_dispose), (name_is_valid),
5526         (gst_static_pad_template_get), (gst_pad_template_new),
5527         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5528         (gst_pad_template_pad_created):
5529         * gst/gstpadtemplate.h:
5530           inlined two more docs
5531           factored gstpadtemplate out of gstpad
5532
5533 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5534
5535         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5536         (test_children_state_change_order_semi_sink):
5537           Fix test case: we can't rely on a fixed state change order when
5538           going from READY => PAUSED because the sink might commit its 
5539           new state first when the first buffer created by the source 
5540           reaches the sink before the source has finished its change state.
5541           (Test case still fails at times, see #316856, comment 5 onwards)
5542
5543 2005-09-24  Wim Taymans  <wim@fluendo.com>
5544
5545         * docs/design/part-events.txt:
5546         * docs/design/part-gstbus.txt:
5547         * docs/design/part-gstpipeline.txt:
5548         * docs/design/part-messages.txt:
5549         * docs/design/part-overview.txt:
5550         * docs/design/part-segments.txt:
5551         * gst/gstbin.c:
5552         * gst/gstbuffer.c:
5553         * gst/gstclock.c:
5554         * gst/gstelement.c:
5555         * gst/gstevent.c:
5556         * gst/gstfilter.c:
5557         * gst/gstiterator.c:
5558         Various documentation updates.
5559
5560 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5561
5562         * gst/gstclock.h:
5563           Well, that's embarassing.  Luckily we weren't using
5564           GST_CLOCK_DIFF anywhere.
5565
5566 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5567
5568         * common/gtk-doc.mak:
5569           don't fail on building XML, FC4 slave shows a bunch of doc
5570           missing bits that I don't get
5571         * gst/gstpad.c:
5572         * gst/gstpipeline.c:
5573         * gst/gststructure.c:
5574           some doc updates
5575
5576 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5577
5578         * docs/design/part-gstbin.txt:
5579         * docs/design/part-gstbus.txt:
5580         * gst/gstbus.c:
5581           Add blurb about how the bus goes into flushing mode and
5582           drops all messages when its bin goes from READY into NULL 
5583           state.
5584
5585 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5586
5587         * docs/gst/gstreamer-sections.txt:
5588         * gst/gststructure.c: (gst_structure_get_clock_time):
5589         * gst/gststructure.h:
5590           add a method to get a GstClockTime out of a structure
5591
5592 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5593
5594         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5595         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5596           Added test to check state change order in bins (can still be made
5597           to fail here under heavy disk load; bails out with 'Push on pad
5598           fakesink:sink0, but it was not activated in push mode').
5599
5600         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5601           Fix state change order when there is only a semi sink (#316856)
5602
5603         * gst/gstbus.c: (gst_bus_class_init):
5604           Use _class_peek_parent(), not _class_ref(); fix docs to say
5605           'default main context' instead of 'mainloop' where that is
5606           what's meant.
5607
5608         * gst/gstelement.c: (gst_element_commit_state),
5609         (gst_element_set_state):
5610           Fix typos in debug messages
5611
5612 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5613
5614         * docs/README:
5615         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5616         * gst/gstpluginfeature.c:
5617         * gst/gstutils.c:
5618           various doc updates
5619         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5620           change an assert into an error until it gets fixed properly
5621
5622 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5623
5624         * docs/gst/gstreamer-sections.txt:
5625         * docs/gst/tmpl/.cvsignore:
5626         * docs/gst/tmpl/gstelement.sgml:
5627         * docs/gst/tmpl/gstinfo.sgml:
5628         * docs/gst/tmpl/gstobject.sgml:
5629         * gst/gstelement.c:
5630         * gst/gstelement.h:
5631         * gst/gstinfo.c:
5632         * gst/gstinfo.h:
5633         * gst/gstobject.c: (gst_object_class_init):
5634         * gst/gstobject.h:
5635           inlined 3 more biiiig doc files and added some missing docs on the fly
5636
5637 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5638
5639         * check/gst/.cvsignore:
5640         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5641         * gst/gstregistryxml.c: (load_plugin),
5642         (gst_registry_xml_save_plugin):
5643           put back source in registry.  add checks for find_plugin.
5644         * testsuite/states/bin.c: (assert_state), (empty_bin),
5645         (test_adding_one_element), (main):
5646         * testsuite/states/locked.c: (main):
5647           some compile/run fixes
5648
5649 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5650
5651         * check/gst/gstvalue.c: (GST_START_TEST):
5652           fix leaks in the test itself
5653
5654 2005-09-22  Wim Taymans  <wim@fluendo.com>
5655
5656         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5657         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5658         (gst_base_sink_query):
5659         Prepare for more accurate position reporting and query
5660         handling.
5661
5662         * gst/gstelement.c: (gst_element_send_event),
5663         (gst_element_set_state):
5664         Add some comment.
5665
5666 2005-09-22  Wim Taymans  <wim@fluendo.com>
5667
5668         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5669         (gst_query_parse_segment):
5670         * gst/gstquery.h:
5671         More documentation.
5672         Add segment query for future use.
5673
5674 2005-09-22  Wim Taymans  <wim@fluendo.com>
5675
5676         * gst/gstbin.c: (gst_bin_add_func):
5677         Some more debug info.
5678
5679         * gst/gstelement.c: (gst_element_send_event):
5680         Simplify send_event
5681
5682         * gst/gstelement.h:
5683         Don't know how flags got broken.
5684
5685         * gst/gstquery.h:
5686         Added new query.
5687
5688 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5689
5690         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5691           Add simplistic test suite for GST_TYPE_DATE serialisation and
5692           deserialisation.
5693
5694 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5695
5696         * docs/gst/gstreamer-sections.txt:
5697         * gst/gststructure.c: (gst_structure_set_valist),
5698         (gst_structure_get_date):
5699         * gst/gststructure.h:
5700         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5701         (gst_date_copy), (gst_value_compare_date),
5702         (gst_value_serialize_date), (gst_value_deserialize_date),
5703         (gst_value_transform_date_string),
5704         (gst_value_transform_string_date), (_gst_value_initialize):
5705         * gst/gstvalue.h:
5706           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5707           bunch of utility functions along with a hack that checks that
5708           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5709           is required. Part of the grand scheme in #170777.
5710
5711 2005-09-22  Andy Wingo  <wingo@pobox.com>
5712
5713         * gst/gstconfig.h.in: Psych out gtk-doc.
5714
5715         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5716
5717         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5718
5719         * tools/gst-inspect.c (print_element_list): Plug some
5720         inconsequential leaks.
5721
5722         * gst/gstregistry.c (gst_registry_get_default): Doc.
5723
5724         * check/gst/gstplugin.c: 
5725         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5726         * gst/gstelementfactory.c (gst_element_factory_create): 
5727         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5728         refcount changes.
5729
5730         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5731         (gst_plugin_feature_load): Doc, don't eat refs.
5732
5733         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5734         (gst_plugin_list_free): Doc.
5735         (gst_plugin_load_file): Doc updates.
5736
5737         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5738         accessors returning refcounted objects, return a ref.
5739
5740         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5741         accessor for caps. IDEMPOTENCE. Oh yes.
5742
5743 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5744
5745         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5746
5747         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5748         (_gst_debug_register_funcptr):
5749           Add mutex to serialise access to the hash table with
5750           the function pointer => function name string mapping;
5751           make that hash table static scope (#316809).
5752
5753         * gst/registries/.cvsignore:
5754           Remove left-over file.
5755
5756 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5757
5758         * docs/pwg/appendix-porting.xml:
5759           And something about newsegment events and caps-on-buffers to
5760           the porting guide (feel free to improve).
5761
5762 2005-09-21  Andy Wingo  <wingo@pobox.com>
5763
5764         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5765         data and event probes on the same pad.
5766         (test_buffer_probe_once): Test that removing probes from within
5767         the probe functions works.
5768
5769 2005-09-21  Andy Wingo  <wingo@pobox.com>
5770
5771         * check/gst/gstutils.c: New file.
5772         (test_buffer_probe_n_times): A simple buffer probe test. More to
5773         come, foolios.
5774
5775         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5776         have-data::buffer, not have-data.
5777         (gst_pad_add_event_probe): Likewise for have-data::event.
5778         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5779         peer' isn't quite right yet though.
5780         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5781         (gst_pad_remove_data_probe): Change to take the guint handler_id
5782         as their arg, not the function+data, which is more glib-like.
5783
5784         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5785         the signal emission to indicate if the data is a buffer or an
5786         event.
5787         (gst_pad_get_type): Initialize buffer and event quarks.
5788         (gst_pad_class_init): have-data is now a detailed signal, yes it
5789         is.
5790
5791 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5792
5793         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5794         * gst/gstutils.c: (gst_util_set_value_from_string),
5795         (gst_util_set_object_arg):
5796           Don't put functional code in g_return_if_fail() or
5797           g_return_val_if_fail() statements, otherwise things will 
5798           break when G_DISABLE_CHECKS is defined during compilation.
5799
5800 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5801
5802         * docs/gst/tmpl/.cvsignore:
5803         * docs/gst/tmpl/gstvalue.sgml:
5804         * gst/gstvalue.c:
5805         * gst/gstvalue.h:
5806           inlied another one and added  some obvious docs
5807
5808 2005-09-21  Wim Taymans  <wim@fluendo.com>
5809
5810         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5811         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5812         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5813         (gst_fdsrc_get_property), (gst_fdsrc_create):
5814         * gst/elements/gstfdsrc.h:
5815         Properly implement fdsrc. Removed signal and timeout,
5816         better implemented somewhere else.
5817
5818 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5819
5820         * docs/gst/tmpl/.cvsignore:
5821         * docs/gst/tmpl/gstimplementsinterface.sgml:
5822         * gst/gstinterface.c:
5823           inlined more docs
5824
5825 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5826
5827         * docs/gst/gstreamer-sections.txt:
5828         * docs/gst/tmpl/.cvsignore:
5829         * docs/gst/tmpl/gstenumtypes.sgml:
5830           remove obsolete doc file
5831
5832 2005-09-21  David Schleef  <ds@schleef.org>
5833
5834         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5835         little beer, fix a little leak.
5836
5837 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5838
5839         * docs/gst/gstreamer-docs.sgml:
5840         * docs/gst/gstreamer-sections.txt:
5841         * docs/gst/tmpl/.cvsignore:
5842         * gst/Makefile.am:
5843         * gst/gst.h:
5844         * gst/gstbin.c:
5845         * gst/gstelement.h:
5846         * gst/gstindex.c: (gst_index_class_init):
5847         * gst/gstindex.h:
5848         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5849         (gst_index_factory_class_init), (gst_index_factory_init),
5850         (gst_index_factory_finalize), (gst_index_factory_new),
5851         (gst_index_factory_destroy), (gst_index_factory_find),
5852         (gst_index_factory_create), (gst_index_factory_make):
5853         * gst/gstindexfactory.h:
5854         * gst/gstpluginfeature.c:
5855         * gst/gstpluginfeature.h:
5856         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5857           more docs inlined, splitted gstindex.{c,h}
5858
5859 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5860
5861         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5862           fix a leak
5863
5864 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5865
5866         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5867           Set sync to FALSE by default.
5868
5869 2005-09-20  Wim Taymans  <wim@fluendo.com>
5870
5871         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5872         (gst_base_sink_init):
5873         Make sync property settable from subclass.
5874
5875         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5876         (gst_fake_sink_change_state):
5877         Set sync to FALSE by default.
5878
5879 2005-09-20  Wim Taymans  <wim@fluendo.com>
5880
5881         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5882         * tools/gst-launch.c: (main):
5883         The timeout handler should have lower priority than the source
5884         so we don't timeout before popping a message with 0 timeout.
5885         Dump error messages after failed state change.
5886
5887 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5888
5889         * tools/gst-inspect.c: (print_element_properties_info):
5890           Fix two typos.
5891
5892 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5893
5894         * check/gst/gstevent.c:
5895         * gst/elements/gstfakesink.c:
5896         * gst/elements/gstfakesink.h:
5897           remove the sync property from fakesink.
5898           has the side effect of setting sync TRUE
5899           for fakesink, which is a change.  Anyone who knows how
5900           to fix this nicely in a GObject-y way, feel free.
5901
5902 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5903
5904         * docs/gst/gstreamer-docs.sgml:
5905           remove probe refsection
5906
5907 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5908
5909         * check/Makefile.am:
5910           disable valgrinding the controller test again
5911         * docs/gst/gstreamer-sections.txt:
5912           update for api-changes
5913
5914 2005-09-20  Wim Taymans  <wim@fluendo.com>
5915
5916         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5917         (gst_base_sink_set_property), (gst_base_sink_get_property),
5918         (gst_base_sink_do_sync):
5919         * gst/base/gstbasesink.h:
5920         Added sync property to basesink to disable clock sync.
5921
5922 2005-09-20  Andy Wingo  <wingo@pobox.com>
5923
5924         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5925         eating the caller's refcount.
5926
5927         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5928         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5929         refcount.
5930
5931         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5932         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5933         of GLib 2.8 public, so we can know which refcount to check in
5934         tests.
5935
5936         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5937         (gst_object_init): Only set the gst refcount if we're going ahead
5938         with the refcount hack.
5939
5940 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5941
5942         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5943         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5944           more leaks plumbed, added more debug-logging
5945         * gst/gstmacros.h:
5946           whitespace fix
5947
5948 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5949
5950         * gst/gstmessage.c:
5951           remove include of gstmemchunk.h
5952
5953 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5954
5955         * gst/gstclock.c: (_gst_clock_id_free):
5956           Commit from the Political Party For More Atomic CVS Commits,
5957           so that people don't waste too much of their day fishing
5958           out obvious leaks out of massive commits.
5959           Oh, and fix a pretty damn obvious leak in the memchunk
5960           removal code.
5961
5962 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5963
5964         * check/Makefile.am:
5965         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5966           plug mem-leak, re-add to valgrindable tests
5967
5968 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5969
5970         * gst/gstplugin.h:
5971           unbreak the build for those who have chronic arthritis
5972           and typing "make check" is just too taxing on the hands
5973
5974 2005-09-20  Andy Wingo  <wingo@pobox.com>
5975
5976         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5977         really want it out, you should fix plugins at the same time.
5978
5979 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5980
5981         * configure.ac:
5982         * docs/gst/gstreamer-sections.txt:
5983         * gst/gstobject.c:
5984           added missing symbols to api docs
5985           disable ref-count hack if we have glib >= 2.8
5986
5987 2005-09-19  David Schleef  <ds@schleef.org>
5988
5989         * docs/gst/Makefile.am: Ignore a few more internal headers
5990         * docs/gst/gstreamer-docs.sgml: Remove old sections
5991         * docs/gst/gstreamer-sections.txt: Remove old sections
5992         * docs/gst/tmpl/gstobject.sgml: update
5993         * docs/gst/tmpl/gstplugin.sgml: update
5994         * docs/gst/tmpl/gstpluginfeature.sgml: update
5995         * docs/random/ds/0.9-suggested-changes: update.
5996         * gst/Makefile.am: remove memchunk and trashstack, since they're
5997           not used.
5998         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5999         * gst/gst.h: don't include some headers
6000         * gst/gstchildproxy.c: add gstmarshal.h
6001         * gst/gstclock.c: Don't use memchunks
6002         * gst/gstminiobject.c: Add some docs
6003         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6004         * gst/gstobject.h: same
6005         * gst/gstplugin.c: include gstmacros.h
6006         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6007         * gst/gstquery.c: don't use memchunks
6008         * gst/gstregistry.c: rename gst_registry_deinit()
6009         * gst/gstregistry.h: same
6010
6011 2005-09-19  David Schleef  <ds@schleef.org>
6012
6013         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6014         * docs/libs/gstreamer-libs-sections.txt:
6015         * docs/libs/tmpl/gstgetbits.sgml:
6016         * docs/libs/tmpl/gstputbits.sgml:
6017
6018 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6019
6020         * win32/gstenumtypes.c:
6021         * win32/gstenumtypes.h:
6022           Update.
6023
6024 2005-09-19  Wim Taymans  <wim@fluendo.com>
6025
6026         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6027         Automatically PAUSE and RESUME a pipeline when a flushing seek
6028         is performed.
6029
6030 2005-09-19  Andy Wingo  <wingo@pobox.com>
6031
6032         * gst/gstregistry.h: Spacing fixen.
6033
6034 2005-09-19  Wim Taymans  <wim@fluendo.com>
6035
6036         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6037         Handle state change failure more correctly.
6038
6039 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6040
6041         * check/Makefile.am:
6042         * check/pipelines/cleanup.c: (run_pipeline):
6043         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6044         (GST_START_TEST):
6045           enable cleanup again after fixing the leak
6046         * docs/README:
6047           some more info on docs
6048
6049 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6050
6051         * check/Makefile.am:
6052           re-enable tests now that leaks are plugged
6053         * check/gst/gst.c:
6054         * check/gst/gstbin.c:
6055         * check/gst/gstpipeline.c:
6056           add some more tests while fixing leaks
6057         * common/check.mak:
6058           make sure binaries are uptodate when valgrinding/gdbing
6059         * gst/gst.c:
6060         * gst/gstelementfactory.c:
6061           remove a ref too many, and add a FIXME for when we get
6062           round to disposing of classes
6063         * gst/gstplugin.c:
6064           fix the refcounting when loading a plugin from a file and
6065           the code pretends that the pointer is the same even though
6066           of course it can change
6067         * gst/gstpluginfeature.c:
6068           unref plugins marked cached (a bit confusing as a name)
6069           as the docs state should be done
6070           various doc additions to explain refcounting
6071         * gst/gstregistry.c:
6072         * gst/gstregistryxml.c:
6073           debugging
6074
6075 2005-09-19  Wim Taymans  <wim@fluendo.com>
6076
6077         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6078         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6079         (send_messages), (GST_START_TEST), (gstbus_suite):
6080         * check/gst/gstpipeline.c: (GST_START_TEST):
6081         * check/pipelines/cleanup.c: (run_pipeline):
6082         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6083         (GST_START_TEST):
6084         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6085         (gst_bus_source_check), (gst_bus_source_dispatch),
6086         (gst_bus_create_watch), (gst_bus_add_watch_full),
6087         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6088         * gst/gstbus.h:
6089         * tools/gst-launch.c: (event_loop):
6090         * tools/gst-md5sum.c: (event_loop):
6091         GstBusHandler -> GstBusFunc, return value has the same meaning as
6092         any other GSource (FALSE == remove source).
6093         _add_watch() and _add_watch_full() now take a MessageType mask to
6094         only handle specific types of messages.
6095         _poll() returns the GstMessage instead of the message type to avoid
6096         race conditions.
6097         _have_pending() takes a MessageType mask now too.
6098         Added testsuite for multiple bus watches.
6099         Fix testsuites and applications for new bus API.
6100
6101 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6102
6103         * check/Makefile.am:
6104           mark a bunch of the tests as to fix until we fix them
6105
6106 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6107
6108         * common/check.mak:
6109           use GST_PLUGIN settings for valgrind tests as well, so we're
6110           valgrinding the correct thing
6111         * gst/gst.c: (init_post):
6112           plug another leak
6113
6114 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6115
6116         * gst/gst.c: (init_post), (gst_deinit):
6117         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6118         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6119         * gst/gstindex.c: (gst_index_factory_class_init),
6120         (gst_index_factory_finalize):
6121         * gst/gstobject.c: (gst_object_dispose):
6122         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6123         (gst_plugin_load_file), (gst_plugin_desc_free):
6124         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6125         (gst_plugin_feature_finalize):
6126         * gst/gstregistry.c: (gst_registry_class_init),
6127         (gst_registry_init), (gst_registry_finalize),
6128         (gst_registry_get_default), (gst_registry_deinit):
6129         * gst/gstregistry.h:
6130         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6131           various cleanups and memleak plugging.  make valgrind is happy now.
6132
6133 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6134
6135         * common/check.mak:
6136           add a check-valgrind target
6137
6138 2005-09-18  David Schleef  <ds@schleef.org>
6139
6140         * tools/gst-inspect.c: Revert the GOption code.
6141
6142 2005-09-17  David Schleef  <ds@schleef.org>
6143
6144         * check/Makefile.am: Fix environment variables.
6145         * check/gst/gstplugin.c: Fix for API changes.
6146         * tools/gst-inspect.c: Fix for API changes.
6147         * tools/gst-xmlinspect.c: Fix for API changes.
6148         * gst/gstelementfactory.c:
6149         * gst/gstplugin.c:
6150         * gst/gstplugin.h:
6151         * gst/gstpluginfeature.c:
6152         * gst/gstpluginfeature.h:
6153         * gst/gstregistry.c:
6154         * gst/gstregistry.h:
6155         * gst/gstregistryxml.c:
6156         * gst/gsttypefind.c:
6157         * gst/gsttypefindfactory.c:
6158         * gst/indexers/gstfileindex.c:
6159         * gst/indexers/gstmemindex.c:
6160         * gst/schedulers/Makefile.am:
6161           Change registry to keep track of both plugins and features,
6162           removing the feature tracking from plugins themselves.
6163
6164 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6165
6166         * check/Makefile.am:
6167         * tools/gst-register.1.in:
6168           remove gst-register
6169
6170 2005-09-15  David Schleef  <ds@schleef.org>
6171
6172         * check/gst/gstplugin.c:
6173         * gst/gstelementfactory.c:
6174         * gst/gstplugin.c:
6175         * gst/gstpluginfeature.c:
6176         * gst/gstregistry.c:
6177           Getting tired of debugging.  Disabled all the unreffing of
6178           plugins and features, which fixes the segfaults, but of
6179           course leaks like crazy.  At least playbin works.
6180
6181 2005-09-15  David Schleef  <ds@schleef.org>
6182
6183         * check/gst/gstplugin.c: (register_check_elements),
6184         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6185         More testing
6186         * gst/elements/gsttypefindelement.c: Fix refcounting.
6187         * gst/gsttypefind.c:
6188         * gst/gsttypefindfactory.c:
6189         * gst/gsttypefindfactory.h:
6190
6191 2005-09-15  David Schleef  <ds@schleef.org>
6192
6193         * gst/gstindex.c: get refcounting correct.
6194         * gst/gstregistry.c: Handle the case where a feature/plugin is
6195           not found.
6196
6197 2005-09-15  David Schleef  <ds@schleef.org>
6198
6199         * check/Makefile.am:
6200         * check/gst/gstplugin.c: Add test
6201         * gst/gstplugin.c: Fix problems noticed by testsuite
6202         * gst/gstplugin.h:
6203         * gst/gstregistry.c: 
6204         * gst/gstregistry.h:
6205
6206 2005-09-15  David Schleef  <ds@schleef.org>
6207
6208         * gst/gstplugin.c: Implement semi-decent recounting and locking
6209           in plugins and plugin features.
6210         * gst/gstplugin.h:
6211         * gst/gstpluginfeature.c:
6212         * gst/gstpluginfeature.h:
6213         * gst/gstregistry.c:
6214
6215 2005-09-15  Michael Smith <msmith@fluendo.com>
6216
6217         * gst/gstregistry.c: (gst_registry_get_feature_list):
6218           Implement this. Makes oggdemux work; decodebin still broken.
6219
6220 2005-09-14  David Schleef  <ds@schleef.org>
6221
6222         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6223           #316076)
6224         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6225         * gst/check/Makefile.am:
6226         * libs/gst/controller/Makefile.am:
6227         * libs/gst/dataprotocol/Makefile.am:
6228
6229 2005-09-14  David Schleef  <ds@schleef.org>
6230
6231         * configure.ac: Remove getbits library.  Nothing uses it, and
6232           it should be in something like liboil if someone did want
6233           to use it.
6234         * libs/gst/Makefile.am:
6235         * libs/gst/getbits/Makefile.am:
6236         * libs/gst/getbits/gbtest.c:
6237         * libs/gst/getbits/getbits.c:
6238         * libs/gst/getbits/getbits.h:
6239         * libs/gst/getbits/gstgetbits_generic.c:
6240         * libs/gst/getbits/gstgetbits_i386.s:
6241         * libs/gst/getbits/gstgetbits_inl.h:
6242
6243 2005-09-14  David Schleef  <ds@schleef.org>
6244
6245         * gst/Makefile.am: Dist glib-compat.h
6246
6247 2005-09-14  David Schleef  <ds@schleef.org>
6248
6249         * configure.ac: Remove gst/registries, since it's no longer used.
6250         * gst/registries/Makefile.am:
6251         * gst/registries/gstlibxmlregistry.c:
6252         * gst/registries/gstlibxmlregistry.h:
6253         * gst/registries/gstxmlregistry.c:
6254         * gst/registries/gstxmlregistry.h:
6255         * gst/registries/registrytest.c:
6256
6257 2005-09-14  David Schleef  <ds@schleef.org>
6258
6259         * gst/glib-compat.h:
6260         * gst/gstregistryxml.c:
6261           Convergence is near.  Seriously.
6262
6263 2005-09-14  David Schleef  <ds@schleef.org>
6264
6265         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6266         * gst/glib-compat.h:
6267           Attempt #4 to appease the buildbots.
6268
6269 2005-09-14  David Schleef  <ds@schleef.org>
6270
6271         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6272           Attempt #3.
6273
6274 2005-09-14  David Schleef  <ds@schleef.org>
6275
6276         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6277         Attempt #2.
6278
6279 2005-09-14  David Schleef  <ds@schleef.org>
6280
6281         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6282           the new functions.
6283
6284 2005-09-14  David Schleef  <ds@schleef.org>
6285
6286         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6287         * gst/glib-compat.h: Add some functions that are in newer versions
6288           of glib than we care to require.
6289         * gst/gstregistryxml.c: Use them.
6290
6291 2005-09-14  David Schleef  <ds@schleef.org>
6292
6293         * po/POTFILES.in: remove gst-register.c
6294
6295 2005-09-14  David Schleef  <ds@schleef.org>
6296
6297         * docs/gst/gstreamer-docs.sgml:
6298         * docs/gst/gstreamer-sections.txt:
6299         * docs/gst/gstreamer.types:
6300         * docs/gst/tmpl/gstelement.sgml:
6301         * docs/gst/tmpl/gstplugin.sgml:
6302         * docs/gst/tmpl/gstpluginfeature.sgml:
6303           Documentation updates for registry changes.
6304
6305 2005-09-14  David Schleef  <ds@schleef.org>
6306
6307         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6308           because we don't require glib-2.8.
6309
6310 2005-09-14  David Schleef  <ds@schleef.org>
6311
6312         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6313           registries directory.
6314
6315 2005-09-14  David Schleef  <ds@schleef.org>
6316
6317         * check/Makefile.am:
6318         * check/generic/states.c:
6319         * gst/Makefile.am:
6320         * gst/gst.c:
6321         * gst/gst.h:
6322         * gst/gst_private.h:
6323         * gst/gstelementfactory.c:
6324         * gst/gstindex.c:
6325         * gst/gstinfo.c:
6326         * gst/gstplugin.c:
6327         * gst/gstplugin.h:
6328         * gst/gstpluginfeature.c:
6329         * gst/gstpluginfeature.h:
6330         * gst/gstregistry.c:
6331         * gst/gstregistry.h:
6332         * gst/gstregistrypool.c: remove
6333         * gst/gstregistrypool.h: remove
6334         * gst/gsttypefind.c:
6335         * gst/gsttypefindfactory.c:
6336         * gst/gsturi.c:
6337         * tools/Makefile.am:
6338         * tools/gst-compprep.c:
6339         * tools/gst-inspect.c:
6340         * tools/gst-register.c: remove
6341         * tools/gst-xmlinspect.c:
6342           Registry rewrite.  Changes registry from being a file created
6343           by a tool into a simple cache file created automatically by 
6344           libgstreamer.  Removed gst-register (because it's no longer
6345           needed).  Remove registry pools, because we only have one
6346           registry implementation (XML).  Fix up other subsystems as
6347           necessary.
6348
6349 2005-09-13  Michael Smith <msmith@fluendo.com>
6350
6351         * gst/gstconfig.h.in:
6352           Don't Use windows linking attributes for MinGW. Fixes #316157
6353
6354 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6355
6356         * gst/gstutils.c: (set_state_async_thread_func),
6357         (gst_element_set_state_async):
6358           Apparently people think it's better if this function doesn't
6359           try to set the state to whatever state was asked for on the first
6360           call to this function for any object.  Seriously.
6361
6362 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6363
6364         * check/gst/gstpipeline.c: (GST_START_TEST):
6365         * docs/gst/gstreamer-sections.txt:
6366         * gst/gstutils.c: (set_state_async_thread_func),
6367         (gst_element_set_state_async):
6368         * gst/gstutils.h:
6369           add a "gst_element_set_state_async" method that
6370           sets the state and starts a thread to make sure the state
6371           change completes as best as it can
6372
6373 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6374
6375         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6376           codify design+behaviour in testsuite after discussion
6377
6378 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6379
6380         * docs/gst/tmpl/gstelement.sgml:
6381         * docs/manual/appendix-quotes.xml:
6382           add a quote
6383         * gst/gstelement.c: (gst_element_set_state):
6384           add some debug
6385
6386 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6387
6388         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6389         (gst_base_transform_prepare_output_buf),
6390         (gst_base_transform_handle_buffer):
6391         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6392         (gst_capsfilter_prepare_buf):
6393           Remove the requirement for sub-classes to call the parent
6394           implementation of prepare_output_buffer with a wrapper function.
6395           
6396         * gst/gsttaglist.h:
6397         * gst/gsttagsetter.h:
6398           Fix #define wrapper
6399
6400 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6401
6402         * docs/gst/gstreamer-sections.txt:
6403           more doc cleanups
6404
6405 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6406
6407         * docs/gst/gstreamer-sections.txt:
6408         * docs/gst/tmpl/gstelement.sgml:
6409         * docs/gst/tmpl/gstplugin.sgml:
6410         * gst/gstminiobject.c:
6411         * gst/gstvalue.h:
6412           docs now stop throwing warnings
6413
6414 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6415
6416         * docs/gst/gstreamer-sections.txt:
6417         * docs/gst/gstreamer.types:
6418         * docs/gst/tmpl/gstpad.sgml:
6419         * docs/gst/tmpl/gsttypes.sgml:
6420         * gst/base/gstadapter.h:
6421         * gst/base/gstbasesink.h:
6422         * gst/base/gstbasesrc.h:
6423         * gst/gstbin.h:
6424         * gst/gstbuffer.h:
6425         * gst/gstbus.h:
6426         * gst/gstcaps.h:
6427         * gst/gstclock.h:
6428         * gst/gstelement.h:
6429         * gst/gstevent.h:
6430         * gst/gstmessage.h:
6431         * gst/gstpad.h:
6432         * gst/gststructure.c:
6433         * gst/registries/gstlibxmlregistry.h:
6434           various documentation fixes
6435
6436 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6437
6438         * docs/gst/gstreamer-sections.txt:
6439         * docs/gst/tmpl/gstvalue.sgml:
6440           rearrange gstvalue section
6441         * gst/gstutils.c: (gst_element_state_get_name):
6442           NONE -> VOID
6443         * gst/gstvalue.c: (_gst_value_initialize):
6444         * gst/gstvalue.h:
6445           doc updates
6446
6447 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6448
6449         * check/gst-libs/controller.c:
6450           Header include fix.
6451         * gst/base/gstbasetransform.c:
6452         (gst_base_transform_default_prepare_buf),
6453         (gst_base_transform_handle_buffer):
6454         * gst/base/gstbasetransform.h:
6455           Some more basetransform changes and fixes to enable sub-classes
6456           that modify buffer metadata only.
6457         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6458         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6459         (gst_capsfilter_prepare_buf):
6460           If the output pad has fixed allowed caps and input buffers 
6461           don't have any, set the fixed caps on outgoing buffers.
6462
6463 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6464         * check/elements/identity.c: (GST_START_TEST):
6465           Make the error a little clearer when the test fails because
6466           identity made a copy of the buffer.
6467         * docs/gst/gstreamer-sections.txt:
6468           New symbols in gstbasetransform.h
6469         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6470         (gst_base_transform_init), (gst_base_transform_transform_size),
6471         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6472         (gst_base_transform_default_prepare_buf),
6473         (gst_base_transform_get_unit_size),
6474         (gst_base_transform_buffer_alloc),
6475         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6476         (gst_base_transform_change_state),
6477         (gst_base_transform_set_passthrough),
6478         (gst_base_transform_set_in_place),
6479         (gst_base_transform_is_in_place):
6480         * gst/base/gstbasetransform.h:
6481           Change BaseTransform to separate in_place operate from same_caps
6482           output. in_place implies that the element can perform the transform
6483           on incoming buffers in-place, even if the caps on the output are
6484           different.
6485           Sub-class elements can now implement special buffer allocation
6486           methods for outgoing buffers if they wish to.
6487           Big documentation addition.
6488         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6489         * gst/elements/gstelements.c:
6490           Changes for basetransform modifications.
6491         * gst/elements/Makefile.am:
6492         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6493           Compile fix. Extra debug output.
6494
6495 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6496
6497         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6498         (gst_pad_suite):
6499           add tests for valid pad naming
6500         * gst/check/gstcheck.c: (gst_check_log_message_func),
6501         (gst_check_log_critical_func):
6502           add ASSERT_WARNING
6503           remove printing of code, it is fragile when the code contains
6504           % and the line number is enough info
6505         * gst/check/gstcheck.h:
6506         * gst/gstpad.c: (gst_pad_template_new):
6507           fix memleaks
6508
6509 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6510
6511         * configure.ac:
6512           say what CHECK flags we use
6513         * docs/libs/gstreamer-libs.types:
6514         * libs/gst/controller/Makefile.am:
6515         * libs/gst/controller/gst-controller.c:
6516         * libs/gst/controller/gst-controller.h:
6517         * libs/gst/controller/gst-helper.c:
6518         * libs/gst/controller/gst-interpolation.c:
6519         * libs/gst/controller/gstcontroller.c:
6520         * libs/gst/controller/gsthelper.c:
6521         * libs/gst/controller/gstinterpolation.c:
6522         * tools/gst-inspect.c: (print_plugin_info):
6523           we don't use dashes in header names
6524
6525 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6526
6527         * check/Makefile.am:
6528         * check/gst/.cvsignore:
6529         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6530         (gst_pipeline_suite), (main):
6531           adding a test for pipelines and state changes
6532         * gst/gstutils.c: (get_state_func):
6533           add some debugging
6534         * gstreamer.spec.in:
6535           fix up spec file
6536
6537 2005-09-08  Michael Smith <msmith@fluendo.com>
6538
6539         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6540         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6541         (gst_file_src_is_seekable), (gst_file_src_get_size),
6542         (gst_file_src_start):
6543         * gst/elements/gstfilesrc.h:
6544           Various fixes for unseekable, unmmapable, and non-normal files, so
6545           that fallback to read() rather than mmap() works.
6546         * gst/gstevent.c: (gst_event_new_newsegment):
6547           Allow newsegment events with segment_start == segment_end, as will
6548           correctly happen if you use filesrc on a zero-size file, for
6549           example.
6550
6551 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6552
6553         * gst/gstplugin.c: (gst_plugin_load_file):
6554           Call g_module_close when we don't load the module
6555
6556         * gst/registries/gstlibxmlregistry.c:
6557         (gst_xml_registry_get_property):
6558           Port leak fix from 0.8
6559
6560 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6561
6562         * docs/gst/gstreamer-docs.sgml:
6563         * docs/gst/tmpl/.cvsignore:
6564         * docs/gst/tmpl/gsttrace.sgml:
6565         * docs/gst/tmpl/gsttrashstack.sgml:
6566         * gst/Makefile.am:
6567         * gst/gst.h:
6568         * gst/gstelement.h:
6569         * gst/gstevent.h:
6570         * gst/gstmessage.c:
6571         * gst/gstmessage.h:
6572         * gst/gsttag.c:
6573         * gst/gsttag.h:
6574         * gst/gsttaginterface.c:
6575         * gst/gsttaginterface.h:
6576         * gst/gsttaglist.c:
6577         * gst/gsttaglist.h:
6578         * gst/gsttagsetter.c:
6579         * gst/gsttagsetter.h:
6580         * gst/gsttrace.c:
6581         * gst/gsttrace.h:
6582         * gst/gsttrashstack.c:
6583           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6584           inlined docs for gsttrace, gsttrashstack
6585
6586 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6587
6588         * gst/Makefile.am:
6589         * gst/elements/gstbufferstore.h:
6590         * gst/elements/gsttypefindelement.c:
6591         * gst/elements/gsttypefindelement.h:
6592         * gst/gst.h:
6593         * gst/gsttypefind.c:
6594         * gst/gsttypefind.h:
6595         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6596         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6597         (gst_type_find_factory_dispose),
6598         (gst_type_find_factory_unload_thyself),
6599         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6600         (gst_type_find_factory_get_caps),
6601         (gst_type_find_factory_get_extensions),
6602         (gst_type_find_factory_call_function):
6603         * gst/gsttypefindfactory.h:
6604         * gst/registries/gstlibxmlregistry.c:
6605         * gst/registries/gstxmlregistry.c:
6606           splitted gsttypefind into gsttypefind, gsttypefindfactory
6607
6608 2005-09-07  Andy Wingo  <wingo@pobox.com>
6609
6610         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6611         condition whereby the pad's task function is entered before the
6612         pad_mode variable was set.
6613
6614 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6615
6616         * gst/gstpad.c: (gst_pad_alloc_buffer):
6617           Catch misbehaving pad_alloc functions that don't
6618           set up caps and do it for them.
6619
6620 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6621
6622         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6623           test for pipe!=NULL
6624         * docs/gst/tmpl/.cvsignore:
6625         * docs/gst/tmpl/gstmemchunk.sgml:
6626         * docs/gst/tmpl/gstparse.sgml:
6627         * docs/gst/tmpl/gsttaglist.sgml:
6628         * docs/gst/tmpl/gsttagsetter.sgml:
6629         * docs/gst/tmpl/gsttypefind.sgml:
6630         * docs/gst/tmpl/gsttypefindfactory.sgml:
6631         * gst/gstmemchunk.c:
6632         * gst/gstparse.c:
6633         * gst/gsttag.c:
6634         * gst/gsttaginterface.c:
6635         * gst/gsttypefind.c:
6636         * gst/gsttypefind.h:
6637           inlined more docs
6638
6639 === release 0.9.2 ===
6640
6641 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6642
6643         * NEWS:
6644         * RELEASE:
6645         * configure.ac:
6646           releasing 0.9.2, "South"
6647
6648 2005-09-05  Andy Wingo  <wingo@pobox.com>
6649
6650         * gst/registries/gstxmlregistry.h:
6651         * gst/registries/gstxmlregistry.c: Um... resurrect...
6652         
6653         * gst/registries/gstxmlregistry.h:
6654         * gst/registries/gstxmlregistry.c: and update to newer API.
6655         Incidentally they should be a bit faster now that they don't have
6656         to parse the caps.
6657         
6658 2005-09-05  Andy Wingo  <wingo@pobox.com>
6659
6660         * gst/registries/gstxmlregistry.h:
6661         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6662         replaced by the libxml registry a while back
6663
6664 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6665
6666         * docs/gst/tmpl/gstplugin.sgml:
6667         * gst/elements/gstelements.c:
6668         * gst/gst.c:
6669         * gst/gstplugin.c: (gst_plugin_register_func),
6670         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6671         (gst_plugin_get_source):
6672         * gst/gstplugin.h:
6673         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6674         (gst_xml_registry_save_plugin):
6675         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6676         (gst_xml_registry_save_plugin):
6677         * tools/gst-inspect.c: (print_plugin_info):
6678           add a "source" plugin description field, to represent the source
6679           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6680           will set it to PACKAGE, which is automake's idea of the name of
6681           the source project.
6682
6683 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6684
6685         * Makefile.am:
6686         * autogen.sh:
6687         * configure.ac:
6688         * docs/Makefile.am:
6689         * docs/faq/Makefile.am:
6690         * docs/gst/tmpl/gstelement.sgml:
6691         * docs/gst/tmpl/gsttypes.sgml:
6692         * docs/htmlinstall.mak:
6693         * docs/manual/Makefile.am:
6694         * docs/pwg/Makefile.am:
6695           reorganize doc build a little
6696           split out docbook and gtk-doc stuff
6697           have two separate --enable's and enable them through autogen
6698           but disable by default in configure (to be similar to other
6699           projects)
6700         * gstreamer.spec.in:
6701           clean up docs install
6702         * po/af.po:
6703         * po/az.po:
6704         * po/ca.po:
6705         * po/cs.po:
6706         * po/de.po:
6707         * po/en_GB.po:
6708         * po/fr.po:
6709         * po/it.po:
6710         * po/nb.po:
6711         * po/nl.po:
6712         * po/ru.po:
6713         * po/sq.po:
6714         * po/sr.po:
6715         * po/sv.po:
6716         * po/tr.po:
6717         * po/uk.po:
6718         * po/vi.po:
6719           translation updates
6720
6721 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6722
6723         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6724           Add comment.
6725           
6726         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6727         (gst_fake_sink_change_state):
6728           Make state change function thread-safe.
6729           
6730         * gst/gstpad.c: (gst_pad_alloc_buffer):
6731           Set offset on generic buffer allocated by fallback.
6732
6733 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6734
6735         * docs/gst/gstreamer-sections.txt:
6736         * docs/gst/tmpl/gstelement.sgml:
6737         * gst/gstpad.c:
6738         * libs/gst/controller/gst-controller.c:
6739         (gst_controlled_property_set_interpolation_mode),
6740         (gst_controlled_property_new),
6741         (gst_controller_find_controlled_property):
6742          run the wingo-magic script against the docs
6743
6744 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6745
6746         * docs/gst/gstreamer-docs.sgml:
6747         * docs/gst/gstreamer-sections.txt:
6748         * docs/gst/tmpl/.cvsignore:
6749         * docs/gst/tmpl/gstelementdetails.sgml:
6750         * docs/gst/tmpl/gstelementfactory.sgml:
6751         * gst/gst.c:
6752         * gst/gstbus.c:
6753         * gst/gstelementfactory.c:
6754         * gst/gstelementfactory.h:
6755           merged elementdetails docs into elementfactory docs
6756           inlined both
6757
6758 2005-09-02  Andy Wingo  <wingo@pobox.com>
6759
6760         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6761         consider this enum an enum and not a flags.
6762
6763 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6764
6765         * docs/gst/gstreamer-docs.sgml:
6766         * docs/gst/tmpl/.cvsignore:
6767         * docs/gst/tmpl/gstghostpad.sgml:
6768         * docs/gst/tmpl/gstiterator.sgml:
6769         * docs/gst/tmpl/gstmacros.sgml:
6770         * docs/gst/tmpl/gstrealpad.sgml:
6771         * docs/gst/tmpl/gstregistry.sgml:
6772         * docs/gst/tmpl/gstregistrypool.sgml:
6773         * docs/gst/tmpl/gststructure.sgml:
6774         * docs/gst/tmpl/gstsystemclock.sgml:
6775         * docs/gst/tmpl/gsttrace.sgml:
6776         * gst/gstghostpad.c:
6777         * gst/gstmacros.h:
6778         * gst/gstmemchunk.c:
6779         * gst/gstmemchunk.h:
6780         * gst/gstqueue.c:
6781         * gst/gstregistry.c:
6782         * gst/gstregistrypool.c:
6783         * gst/gststructure.c:
6784         * gst/gstsystemclock.c:
6785           more docs inlined
6786
6787 2005-09-02  Andy Wingo  <wingo@pobox.com>
6788
6789         * gst/gstelement.h (GstState): Renamed from GstElementState,
6790         changed to be a normal enum instead of flags.
6791         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6792         munged to be GST_STATE_CHANGE_*.
6793         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6794         work with the new state representation.
6795         (GstStateChange): New enumeration of possible state transitions.
6796         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6797         (GstElementClass::change_state): Pass the GstStateChange along as
6798         an argument. Helps language bindings, so they don't have to use
6799         tricky lock-needing macros like GST_STATE_CHANGE ().
6800
6801         * scripts/update-states (file): New script. Run it on a file to
6802         update it for state naming and API changes. Updates files in
6803         place.
6804
6805         * All files updated for the new API.
6806
6807 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6808
6809         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6810         * gst/gstutils.c: (gst_util_set_value_from_string),
6811         (gst_util_set_object_arg):
6812           fix a bunch of unchecked return values
6813         * tools/gst-complete.c: (main):
6814         * gstreamer.spec.in:
6815           clean up a little
6816
6817 2005-09-01  Wim Taymans  <wim@fluendo.com>
6818
6819         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6820         (gst_base_sink_event), (gst_base_sink_do_sync),
6821         (gst_base_sink_handle_event):
6822         * gst/base/gstbasesink.h:
6823         Handle newsegments more correctly.
6824
6825         * gst/gstbus.c:
6826         Fix docs.
6827
6828         * gst/gstevent.c: (gst_event_new_newsegment):
6829         A newsegment cannot have a start_time of -1
6830
6831 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6832
6833         * win32/gstenumtypes.c:
6834         * win32/gstenumtypes.h:
6835           Update
6836
6837 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6838
6839         * libs/gst/controller/gst-controller.c:
6840         (gst_controlled_property_set_interpolation_mode),
6841         (gst_controlled_property_new):
6842          fixed boolean again
6843
6844 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6845
6846         * docs/faq/gst-uninstalled:
6847           add -good
6848         * gst/gstevent.c:
6849         * gst/gstevent.h:
6850           remove wrong docs
6851         * gst/gstutils.c: (gst_element_link_filtered):
6852         * gst/gstutils.h:
6853           add gst_element_link_filtered
6854
6855 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6856
6857         * docs/gst/gstreamer-docs.sgml:
6858         * docs/gst/gstreamer-sections.txt:
6859         * docs/gst/tmpl/.cvsignore:
6860         * docs/gst/tmpl/gsterror.sgml:
6861         * docs/gst/tmpl/gstfilter.sgml:
6862         * docs/gst/tmpl/gsturihandler.sgml:
6863         * docs/gst/tmpl/gsturitype.sgml:
6864         * docs/gst/tmpl/gstutils.sgml:
6865         * docs/gst/tmpl/gstxml.sgml:
6866         * gst/gsterror.c:
6867         * gst/gsterror.h:
6868         * gst/gstfilter.c:
6869         * gst/gsturi.c:
6870         * gst/gsturitype.c:
6871         * gst/gstutils.c:
6872         * gst/gstxml.c:
6873           inlined more docs, fixed double id-ref
6874
6875 2005-08-31  Wim Taymans  <wim@fluendo.com>
6876
6877         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6878         (gst_base_transform_handle_buffer):
6879         Passthrough elements don't need the caps as they don't care.
6880
6881 2005-08-31  Wim Taymans  <wim@fluendo.com>
6882
6883         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6884         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6885         Don't leak refcounts on buffers.
6886
6887 2005-08-31  Wim Taymans  <wim@fluendo.com>
6888
6889         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6890         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6891         (gst_base_transform_chain), (gst_base_transform_change_state):
6892         * gst/base/gstbasetransform.h:
6893         Handle the case where we are not negotiated more gracefully.
6894
6895 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6896
6897         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6898         (gst_file_src_map_region):
6899           Set READONLY flag on mmap'ed buffers, otherwise
6900           gst_buffer_make_writable() won't work properly (#314708).
6901
6902 2005-08-31  Wim Taymans  <wim@fluendo.com>
6903
6904         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6905         passthrough elements can even do inplace on non writable
6906         buffers (as they don't touch them).
6907
6908 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6909
6910         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6911         (gst_test_mono_source_set_property),
6912         (gst_test_mono_source_class_init), (GST_START_TEST),
6913         (gst_controller_suite):
6914           more tests (hehe I have the most)
6915         * gst/gstbus.c:
6916           describe popping messages whenusing mulltiple sources
6917         * libs/gst/controller/gst-controller.c:
6918         (gst_controlled_property_set_interpolation_mode),
6919         (gst_controlled_property_new):
6920         * libs/gst/controller/gst-controller.h:
6921         * libs/gst/controller/gst-interpolation.c:
6922           implement boolean properties
6923
6924 2005-08-31  Wim Taymans  <wim@fluendo.com>
6925
6926         * gst/gstminiobject.c: (gst_mini_object_ref):
6927         Cannot assert that the refcount has to be positive
6928         since a disposed object can be resurrected.
6929
6930 2005-08-31  Wim Taymans  <wim@fluendo.com>
6931
6932         * gst/gstpad.c: (gst_pad_init):
6933         Revert change, need to first fix badly behaving 
6934         apps.
6935
6936 2005-08-30  Wim Taymans  <wim@fluendo.com>
6937
6938         * check/elements/fakesrc.c: (setup_fakesrc):
6939         * check/elements/identity.c: (setup_identity):
6940         Activate pads before using them.
6941
6942 2005-08-30  Wim Taymans  <wim@fluendo.com>
6943
6944         * gst/base/gstadapter.c: (gst_adapter_flush):
6945         Flushing out 0 bytes is ok for this function.
6946
6947         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6948         no newsegment gives a warning and sets the start/stop to 
6949         invalid.
6950
6951         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6952         (gst_base_transform_set_passthrough):
6953         Some debug info.
6954
6955         * gst/gstminiobject.c: (gst_mini_object_ref):
6956         Check refcount here too.
6957
6958         * gst/gstpad.c: (gst_pad_init):
6959         Pads are initially flushing and refusing data.
6960
6961         * gst/gstutils.c: (gst_element_link_pads_filtered):
6962         When adding a capsfilter element make sure it has the
6963         same state as the parent bin.
6964
6965 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6966
6967         * docs/gst/tmpl/.cvsignore:
6968         * docs/gst/tmpl/gstformat.sgml:
6969         * docs/gst/tmpl/gstversion.sgml:
6970         * gst/gstbus.h:
6971         * gst/gstformat.c:
6972         * gst/gstformat.h:
6973         * gst/gstversion.h.in:
6974           more docs and two more inlined
6975
6976 2005-08-30  Wim Taymans  <wim@fluendo.com>
6977
6978         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6979         Don't sync to clock.
6980
6981 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6982
6983         * docs/gst/gstreamer-sections.txt:
6984           ultral33t func10ns deserve to appear in the docs actually
6985         * docs/gst/tmpl/.cvsignore:
6986         * docs/gst/tmpl/gstcompat.sgml:
6987         * docs/gst/tmpl/gstconfig.sgml:
6988         * gst/check/gstcheck.c:
6989         * gst/gstcompat.h:
6990         * gst/gstconfig.h.in:
6991           inlined more docs
6992
6993 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6994
6995         * docs/gst/tmpl/.cvsignore:
6996         * docs/gst/tmpl/gstquery.sgml:
6997         * docs/gst/tmpl/gstutils.sgml:
6998         * gst/gstquery.c:
6999         * gst/gstquery.h:
7000           inlined and extended docs
7001
7002 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7003
7004         * check/gst-libs/controller.c: (GST_START_TEST),
7005         (gst_controller_suite):
7006           more tests
7007         * docs/gst/tmpl/gstutils.sgml:
7008         * docs/libs/gstreamer-libs-sections.txt:
7009         * docs/libs/tmpl/gstdataprotocol.sgml:
7010           include path fixes
7011         * examples/controller/audio-example.c: (main):
7012           controller example works now
7013         * gst/gstclock.h:
7014           doc fixes
7015         * tools/gst-inspect.c: (print_element_properties_info):
7016           show param spec flags
7017
7018 2005-08-29  Andy Wingo  <wingo@pobox.com>
7019
7020         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7021
7022 2005-08-28  Andy Wingo  <wingo@pobox.com>
7023
7024         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7025         as having two arguments instead of just one. Allows superclasses
7026         to access information on subclasses -- see the terrible for() loop
7027         in gtype.c:g_type_create_instance for the reason why. All callers
7028         changed.
7029
7030 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7031
7032         * docs/design/part-messages.txt:
7033           update info
7034         * docs/gst/tmpl/.cvsignore:
7035         * docs/gst/tmpl/gstcaps.sgml:
7036         * docs/gst/tmpl/gstclock.sgml:
7037         * gst/gstbus.c:
7038         * gst/gstcaps.c:
7039         * gst/gstcaps.h:
7040         * gst/gstclock.c:
7041         * gst/gstclock.h:
7042         * gst/gstmessage.c:
7043           added descriptions for bus and message
7044           inline caps and clock docs
7045
7046 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7047
7048         * gst/gstmessage.c:
7049         * gst/gstmessage.h:
7050           doc fixes
7051
7052 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7053
7054         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7055           fix div-by-zero
7056
7057 2005-08-26  Andy Wingo  <wingo@pobox.com>
7058
7059         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7060         element_set_state's return val.
7061         (test_2_elements): Add test that's been disabled for months.
7062
7063         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7064         can-activate-pull properties.
7065
7066         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7067         can-activate-pull properties. Implement is_seekable so fakesrc can
7068         operate in pull mode.
7069
7070         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7071         properties.
7072         (gst_base_sink_activate, gst_base_sink_activate_pull)
7073         (gst_base_sink_activate_push): Make activation mode choosing work.
7074         Cleanups.
7075         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7076         is right. Make pull mode work. Post an eos before pausing in pull
7077         mode.
7078         (gst_base_sink_change_state): Pay attention to the core's
7079         change_state() return val.
7080         
7081         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7082         has-getrange properties. Cleanups.
7083         
7084         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7085         has_getrange and replace with can_activate_pull and
7086         can_activate_push.
7087
7088         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7089         locking comments. Remove has_loop, has_chain and replace with
7090         can_activate_pull and can_activate_push.
7091
7092 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7093
7094         * configure.ac:
7095         * examples/Makefile.am:
7096         * examples/metadata/Makefile.am:
7097         * examples/metadata/read-metadata.c: (message_loop),
7098         (have_pad_handler), (make_pipeline), (print_tag), (main):
7099           Add metadata reading example that loops over a list of filenames,
7100           dumping any tags found.
7101
7102         * gst/gstbus.c: (gst_bus_dispose):
7103         * gst/gstelement.c: (gst_element_dispose):
7104           Release a few potentially-held references in dispose.
7105
7106 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7107
7108         * docs/gst/tmpl/gstminiobject.sgml:
7109           do *not* add tmpl/*.sgml files to CVS!
7110
7111 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7112
7113         * libs/gst/bytestream/.cvsignore:
7114         * libs/gst/bytestream/Makefile.am:
7115         * libs/gst/bytestream/adapter.c:
7116         * libs/gst/bytestream/adapter.h:
7117         * libs/gst/bytestream/bytestream.c:
7118         * libs/gst/bytestream/bytestream.h:
7119         * libs/gst/bytestream/filepad.c:
7120         * libs/gst/bytestream/filepad.h:
7121           removing obsolete files
7122
7123 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7124
7125         * docs/gst/gstreamer-docs.sgml:
7126         * docs/libs/gstreamer-libs-docs.sgml:
7127           disabed additional index entries again, as this makes docs-gen just
7128           slow and they aren't useful yet
7129         * docs/libs/gstreamer-libs-sections.txt:
7130           little -section.txt cleanup for libs
7131
7132 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7133
7134         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7135         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7136           fix up some debugging
7137         (gst_base_transform_get_unit_size),
7138         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7139         (gst_base_transform_handle_buffer):
7140         * gst/base/gstbasetransform.h:
7141           handle and store timed NEWSEGMENT events so that subclasses that
7142           calculate time by counting samples have a segment_start time they
7143           need to add to their timestamps - see audioresample
7144
7145 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7146
7147         * gst/gstbin.h:
7148           removed ';' from the end of macro defs
7149         * docs/gst/gstreamer-docs.sgml:
7150         * docs/gst/gstreamer-sections.txt:
7151         * docs/gst/tmpl/.cvsignore:
7152         * gst/gstbus.h:
7153         * gst/gstelement.c: (gst_element_class_init),
7154         (gst_element_set_state), (activate_pads),
7155         (gst_element_save_thyself):
7156         * gst/gstevent.c: (gst_event_new_newsegment):
7157         * gst/gstevent.h:
7158         * gst/gstiterator.c:
7159         * gst/gstiterator.h:
7160         * gst/gstpad.c:
7161         * gst/gstprobe.h:
7162         * gst/gstutils.c: (gst_pad_query_convert):
7163         * gst/gstutils.h:
7164           fixed parameter name mismatches between source, header and docs
7165           added some more docs, resolved the last batch of unused elements in
7166           docs (now someone needs to doc them)
7167
7168 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7169
7170         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7171         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7172           don't walk through the plugins backwards.  Where is all this
7173           reversed logic coming from ?
7174
7175 2005-08-25  Wim Taymans  <wim@fluendo.com>
7176
7177         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7178         (gst_base_transform_transform_size),
7179         (gst_base_transform_configure_caps),
7180         (gst_base_transform_get_unit_size),
7181         (gst_base_transform_buffer_alloc),
7182         (gst_base_transform_change_state):
7183         * gst/base/gstbasetransform.h:
7184         Cache caps unit_size.
7185         Make sure we cannot negotiate up and downstream at the
7186         same time.
7187
7188 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7189
7190         * gst/gst.c: (init_pre), (init_post):
7191           register the installed plugin path after the env var
7192         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7193         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7194           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7195           directories, so the tests can prefer uninstalled over installed
7196
7197 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7198
7199         * gst/base/gstbasetransform.h:
7200           comment
7201         * gst/gstpad.c:
7202           add to docs
7203
7204 2005-08-25  Wim Taymans  <wim@fluendo.com>
7205
7206         * gst/gstbin.c: (bin_bus_handler):
7207         Be a bit more conservative about the posted message.
7208         
7209         * gst/gstbus.c: (gst_bus_post):
7210         Some cleanups, warn wrong return values.
7211
7212 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7213
7214         * check/gst/gstbin.c: (GST_START_TEST):
7215         * gst/gstbin.c: (bin_bus_handler):
7216         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7217         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7218         (gst_message_new_warning), (gst_message_new_tag),
7219         (gst_message_new_state_changed), (gst_message_new_segment_start),
7220         (gst_message_new_segment_done), (gst_message_new_custom):
7221         * gst/gstmessage.h:
7222         * tools/gst-launch.c: (event_loop):
7223         * tools/gst-md5sum.c: (event_loop):
7224           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7225
7226 2005-08-25  Wim Taymans  <wim@fluendo.com>
7227
7228         * check/generic/states.c: (GST_START_TEST):
7229         Cleanup can be done at the end.
7230
7231         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7232         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7233         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7234         Oh boy.. Thanks for finding this, Thomas. 
7235
7236 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7237
7238         * docs/gst/gstreamer.types:
7239           added missing types
7240
7241 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7242
7243         * docs/gst/gstreamer-docs.sgml:
7244         * docs/gst/gstreamer-sections.txt:
7245         * docs/gst/tmpl/.cvsignore:
7246         * gst/gstbin.c:
7247         * gst/gstiterator.c:
7248         * gst/gstutils.c:
7249         * gst/registries/gstxmlregistry.h:
7250           added missing classes and symbols (123 more to go)
7251           removed removed symbols from section file
7252           fixed many doc-comments
7253
7254 2005-08-24  Wim Taymans  <wim@fluendo.com>
7255
7256         * check/generic/states.c: (GST_START_TEST):
7257         Make sure all tasks are stopped.
7258
7259         * check/gst/gstbin.c: (GST_START_TEST):
7260         Unref after usage for proper valgrinding.
7261
7262         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7263         Really wait for the task to stop before destroying the
7264         mutex.
7265
7266         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7267         (gst_queue_src_activate_push):
7268         Small cleanups. Don't stop the task when we did not start
7269         it.
7270
7271         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7272         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7273         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7274         (gst_task_join):
7275         * gst/gsttask.h:
7276         Protect the stream lock with the object lock.
7277         Disallow setting the stream lock when running.
7278         Add cleanup_all to wait for the threadpool to finish.
7279         Remove code to autoallocate a mutex if none was provided.
7280         Add _join() to wait for a task to stop.
7281         Protect the thread pool with a global lock.
7282
7283 2005-08-24  Wim Taymans  <wim@fluendo.com>
7284
7285         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7286         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7287         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7288         * gst/base/gstbasesink.h:
7289         Handle newsegment events correctly.
7290         Drop buffers out of the segment range.
7291
7292 2005-08-22  Andy Wingo  <wingo@pobox.com>
7293
7294         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7295         macro, implements an interface and gstimplementsinterface for a
7296         new type.
7297
7298 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7299
7300         * check/Makefile.am:
7301         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7302           add a test that does a bunch of state changes on elements
7303           needs some fixing for valgrind
7304         * check/states/sinks.c: (gst_object_suite):
7305           whitespace
7306         * gst/gstcaps.h:
7307           add prototype for gst_caps_is_equal_fixed
7308         * gst/gstplugin.c:
7309         * gst/gstregistrypool.c:
7310           doc fixes
7311
7312 2005-08-24  Andy Wingo  <wingo@pobox.com>
7313
7314         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7315         convert a negative value. Doesn't make much sense. Mostly this is
7316         here to force callers to ensure -1 maps to -1.
7317
7318 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7319
7320         * docs/pwg/advanced-types.xml:
7321           Well done to Michael for catching my deliberate introduction
7322           of this spelling mistake. 
7323         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7324         * gst/gstelement.h:
7325           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7326           unlink pads before removing the element from the bin.
7327
7328 2005-08-24  Andy Wingo  <wingo@pobox.com>
7329
7330         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7331         the same thing as GST_DEBUG=*:4.
7332         (parse_debug_level, parse_debug_category): New helper parsers.
7333
7334 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7335
7336         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7337         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7338         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7339         (gst_base_transform_buffer_alloc),
7340         (gst_base_transform_handle_buffer):
7341           use gboolean return values and pointers to size so we can use the
7342           full GST_BUFFER_SIZE range (guint) for buffer sizes
7343           use GstPadDirection for transform_caps
7344         * gst/base/gstbasetransform.h:
7345           rename get_size to get_unit_size since that's what it is
7346         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7347           use GstPadDirection for transform_caps
7348         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7349         * gst/gstutils.h:
7350           cleanup and debugging
7351
7352 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7353
7354         * gst/gstelement.c: (gst_element_class_init),
7355         (gst_element_set_state), (activate_pads),
7356         (gst_element_save_thyself):
7357         * tools/gst-compprep.c: (main):
7358         * tools/gst-inspect.c: (print_element_properties_info):
7359         * tools/gst-xmlinspect.c: (print_element_properties):
7360           Fixed long standing mem-leak
7361
7362 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7363
7364         * check/gst/gstbin.c: (GST_START_TEST):
7365         * gst/gstbin.c: (bin_bus_handler):
7366         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7367         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7368         (gst_message_new_warning), (gst_message_new_tag),
7369         (gst_message_new_state_changed), (gst_message_new_segment_start),
7370         (gst_message_new_segment_done), (gst_message_new_custom):
7371         * gst/gstmessage.h:
7372         * tools/gst-launch.c: (event_loop):
7373         * tools/gst-md5sum.c: (event_loop):
7374           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7375           that applications can sensibly post custom messages with references
7376           to their own objects.
7377
7378 2005-08-24  Andy Wingo  <wingo@pobox.com>
7379
7380         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7381         already.
7382
7383 2005-08-24  Wim Taymans  <wim@fluendo.com>
7384
7385         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7386         (gst_base_transform_transform_caps),
7387         (gst_base_transform_transform_size),
7388         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7389         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7390         (gst_base_transform_handle_buffer):
7391         * gst/base/gstbasetransform.h:
7392         Many fixes and new features added by Thomas. Can now also do
7393         transforms with variable sizes and a custom fixate_caps function.
7394
7395 2005-08-24  Wim Taymans  <wim@fluendo.com>
7396
7397         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7398         Some debugging.
7399
7400         * gst/gstclock.h:
7401         Cast to ClockTime before formatting to time.
7402
7403         * gst/gstutils.h:
7404         Cleanups.
7405
7406 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7407
7408         * check/gst-libs/controller.c: (GST_START_TEST),
7409         (gst_controller_suite):
7410         * docs/gst/tmpl/gstcaps.sgml:
7411         * docs/gst/tmpl/gstghostpad.sgml:
7412         * docs/gst/tmpl/gstquery.sgml:
7413         * docs/gst/tmpl/gstutils.sgml:
7414         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7415         (gst_object_sink_values), (gst_object_get_value_arrays),
7416         (gst_object_get_value_array):
7417           gracefully handle helper method calls to objects that are not beeing
7418           controlled, added test case for that          
7419
7420 2005-08-23  Wim Taymans  <wim@fluendo.com>
7421
7422         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7423         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7424         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7425         (gst_event_parse_qos), (gst_event_new_seek),
7426         (gst_event_parse_seek):
7427         * gst/gstevent.h:
7428         Some more debugging output and doc cleanups.
7429
7430         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7431         Fix possible deadlock.
7432
7433 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7434
7435         * docs/gst/gstreamer-docs.sgml:
7436         * docs/gst/gstreamer-sections.txt:
7437         * docs/gst/gstreamer.types:
7438         * docs/gst/tmpl/.cvsignore:
7439         * gst/gstbin.h:
7440         * gst/gstbus.c:
7441         * gst/gstelement.c:
7442         * gst/gstevent.h:
7443           added 100 symbols from gstreamer-unused.txt to the right sections
7444           fixed more broken comments
7445           added GstBus to docs
7446
7447 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7448
7449         * docs/gst/gstreamer-sections.txt:
7450         * docs/gst/tmpl/.cvsignore:
7451         * docs/gst/tmpl/gstbin.sgml:
7452         * docs/gst/tmpl/gstbuffer.sgml:
7453         * gst/base/gstbasesrc.c:
7454         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7455         * gst/gstbuffer.c:
7456         * gst/gstbuffer.h:
7457         * tools/gst-launch.1.in:
7458           inlined more doc comments, added missing comments and fixed comments
7459           fixed typos
7460
7461 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7462
7463         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7464           some debugging
7465         * gst/gstcaps.h:
7466           whitespace fixes
7467         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7468           more debugging
7469         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7470         * gst/gststructure.h:
7471           add a fixate function for booleans; add a FIXME that these func
7472           names should probably be gst_structure_fixate_*
7473
7474 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7475
7476         * docs/gst/gstreamer-docs.sgml:
7477         * docs/gst/gstreamer-sections.txt:
7478         * gst/Makefile.am:
7479         * gst/gstbin.c: (gst_bin_get_type),
7480         (gst_bin_child_proxy_get_child_by_index),
7481         (gst_bin_child_proxy_get_children_count),
7482         (gst_bin_child_proxy_init):
7483         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7484         (gst_child_proxy_get_child_by_index),
7485         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7486         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7487         (gst_child_proxy_get), (gst_child_proxy_set_property),
7488         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7489         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7490         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7491         * gst/gstchildproxy.h:
7492         * gst/parse/grammar.y:
7493         * tools/gst-inspect.c: (print_interfaces),
7494         (print_element_properties_info), (print_element_info):
7495           ported gstchildproxy over from 0.8
7496           ported gst-inspect fixes and enhancements over from 0.8
7497
7498 2005-08-22  Wim Taymans  <wim@fluendo.com>
7499
7500         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7501         (gst_base_transform_handle_buffer):
7502         Also call the transform function if we have ANY caps.
7503
7504         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7505         Fix debug info.
7506
7507 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7508
7509         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7510           Don't pretend to handle seek events if the source is not seekable
7511
7512 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7513
7514         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7515           Remove extra parameter to debug output
7516
7517         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7518         (gst_base_src_do_seek), (gst_base_src_activate_push):
7519           Fix seek event handling.
7520
7521         * gst/gstpipeline.c: (gst_pipeline_change_state):
7522         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7523         (gst_queue_src_activate_push):
7524           Don't start the src pad task on FLUSH_STOP if the pad
7525           isn't linked.
7526           Debug changes.
7527
7528 2005-08-22  Wim Taymans  <wim@fluendo.com>
7529
7530         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7531         Added check for gst_static_caps_get() refcounting.
7532
7533 2005-08-22  Wim Taymans  <wim@fluendo.com>
7534
7535         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7536         Make _static_caps_get() refcounting sane.
7537         
7538         * gst/gstelement.c: (gst_element_set_state):
7539         Add g_return_val_if_fail() to protect against segfaults.
7540
7541 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7542
7543         * docs/gst/tmpl/gstevent.sgml:
7544         * gst/gstevent.c:
7545         * gst/gstevent.h:
7546           inlined remaining docs, added missing doc comments
7547
7548 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7549
7550         * check/gst/gstbin.c: (GST_START_TEST):
7551           since we don't know when preroll is done, use refcount range
7552           check for the sink
7553         * gst/check/gstcheck.h:
7554           add macro for checking refcount range
7555
7556 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7557
7558         * check/Makefile.am:
7559           clean up environment for when registry gets built versus
7560           when actual tests are run; valgrind seems to not report
7561           leaks if GST_PLUGIN_PATH is set to some specific values
7562         * check/gst/gstbin.c: (GST_START_TEST):
7563           add more refcounting checks; maybe this exposes a
7564           preroll lock bug ?
7565         * common/check.mak:
7566         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7567         * gst/check/gstcheck.h:
7568         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7569         (gst_bin_change_state):
7570         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7571           add/fix debugging/whitespace
7572
7573 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7574
7575         * check/gst/gstevent.c: (event_probe), (test_event),
7576         (GST_START_TEST):
7577          Er, don't call gst_bin_watch_for_state_change you idiot.
7578
7579 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7580
7581         * check/Makefile.am:
7582           Use CHECK_CFLAGS and CHECK_LIBS
7583         * check/gst/gstevent.c: (event_probe), (test_event),
7584         (GST_START_TEST):
7585           Don't leak events.
7586         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7587         (gst_base_src_start), (gst_base_src_stop),
7588         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7589         (gst_base_src_change_state):
7590           Sprinkle gst_base_src_stop liberally around error paths to fix
7591           problems reusing a source after failed state changes.
7592         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7593         (helper_find_suggest), (gst_type_find_helper):
7594           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7595         * gst/gstevent.h:
7596         * docs/gst/tmpl/gstevent.sgml:
7597           Migrate part of the docs from the SGML file. Wait for ensonic to
7598           tell me how I did it wrong ;)
7599         * tools/gst-typefind.c: (main):
7600           Extra robustness to state changes between files.
7601
7602 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7603
7604         * check/Makefile.am:
7605           don't valgrind the controller test - it's leaking - Stefan, HELP
7606         * gst/check/gstcheck.c: (gst_check_message_error),
7607         (gst_check_chain_func), (gst_check_setup_element),
7608         (gst_check_teardown_element), (gst_check_setup_src_pad),
7609         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7610         (gst_check_teardown_sink_pad):
7611         * gst/check/gstcheck.h:
7612           add a bunch of methods to set up elements, and src and sink pads
7613         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7614         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7615         (GST_START_TEST):
7616           use them
7617         * gst/gstmessage.c:
7618         * gst/gsttag.h:
7619           whitespace/doc fixes
7620
7621 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7622
7623         * gst/gstelement.h:
7624           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7625           be handled by the application and not always printed as well
7626
7627 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7628
7629         * check/Makefile.am:
7630           set GST_TOOLS_DIR
7631         * gst/check/gstcheck.c: (gst_check_message_error):
7632         * gst/check/gstcheck.h:
7633           add a fail_unless_equals_int
7634           add fail_unless for error messages
7635
7636 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7637
7638         * check/Makefile.am:
7639         * check/gst.supp:
7640         * common/Makefile.am:
7641         * common/check.mak:
7642         * common/gst.supp:
7643           factor out some of the common stuff so we can use it
7644
7645 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7646
7647         * check/Makefile.am:
7648         * check/gst/gstiterator.c: (GST_START_TEST):
7649         * check/gst/gstsystemclock.c: (GST_START_TEST),
7650         (gst_systemclock_suite):
7651         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7652         * gst/gstclock.c:
7653           valgrind more tests
7654
7655 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7656
7657         * check/elements/.cvsignore:
7658         * check/elements/gstfakesrc.c:
7659           rename to name of element
7660         * check/elements/identity.c: (chain_func), (event_func),
7661         (setup_identity), (cleanup_identity), (GST_START_TEST),
7662         (identity_suite), (main):
7663           add a test for identity
7664         * check/Makefile.am:
7665         * pkgconfig/Makefile.am:
7666         * pkgconfig/gstreamer-check.pc.in:
7667         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7668         * gst/check:
7669         * gst/Makefile.am:
7670         * configure.ac:
7671           move the check stuff to a library that gets installed
7672         * check/gst-libs/controller.c: (GST_START_TEST):
7673         * check/gst-libs/gdp.c:
7674         * check/gst/gst.c: (GST_START_TEST):
7675         * check/gst/gstbin.c:
7676         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7677         * check/gst/gstbus.c:
7678         * check/gst/gstcaps.c: (GST_START_TEST):
7679         * check/gst/gstelement.c:
7680         * check/gst/gstghostpad.c:
7681         * check/gst/gstiterator.c:
7682         * check/gst/gstmessage.c:
7683         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7684         * check/gst/gstobject.c:
7685         * check/gst/gstpad.c: (GST_START_TEST):
7686         * check/gst/gststructure.c: (GST_START_TEST):
7687         * check/gst/gstsystemclock.c: (GST_START_TEST),
7688         (gst_systemclock_suite):
7689         * check/gst/gsttag.c: (gst_tag_suite):
7690         * check/gst/gstvalue.c:
7691         * check/pipelines/cleanup.c:
7692         * check/pipelines/simple_launch_lines.c:
7693         * check/states/sinks.c:
7694           change include statement
7695
7696         * docs/gst/gstreamer-sections.txt:
7697         * docs/gst/tmpl/gstpad.sgml:
7698           document more pad stuff
7699         * gst/gstminiobject.c: (gst_mini_object_ref),
7700         (gst_mini_object_unref):
7701           debug refcounting
7702
7703 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7704
7705         * docs/gst/tmpl/gst.sgml:
7706         * gst/gst.c:
7707           eliminate another tmpl file, fix spelling in the long-description
7708
7709 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7710
7711         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7712         (test_event), (timediff), (gstevents_suite):
7713           Should fix build on 64-bit arch's
7714
7715 2005-08-18  Andy Wingo  <wingo@pobox.com>
7716
7717         Make sure that when a pipeline goes to PLAYING, that data has
7718         actually hit the sink.
7719
7720         * check/states/sinks.c (test_sink): A sink that doesn't get any
7721         data shouldn't return SUCCESS for going to either PLAYING or
7722         PAUSED. Test also the return values on the way back down.
7723
7724         * gst/gstelement.c (gst_element_set_state): When changing the
7725         state of an element currently changing state asynchronously, go to
7726         lost-state after commiting the pending state. Makes future calls
7727         to get_state continue to return ASYNC.
7728
7729         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7730         ASYNC when going to PLAYING if we still don't have preroll, as can
7731         happen with live sources.
7732
7733 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7734
7735         * docs/pwg/advanced-types.xml:
7736           Hack long paragraph into 2 chunks as a workaround for buggy
7737           jadetex version in sid and breezy that loops infinitely and
7738           eats all RAM.
7739
7740 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7741
7742         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7743         (test_event), (timediff), (gstevents_suite):
7744           Provide more error margin in clock measurements to allow for 
7745           g_get_current_time inaccuracies.
7746
7747 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7748
7749         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7750         (test_event), (timediff), (gstevents_suite):
7751            Fix error message output so I might be able to tell why the
7752            test works here but fails on the build farm.
7753
7754 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7755
7756         * check/Makefile.am:
7757         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7758         (test_event), (timediff), (gstevents_suite), (main):
7759           I wrote a test!
7760
7761         * docs/design/part-seeking.txt:
7762           Spelling correction
7763
7764         * docs/gst/tmpl/gstevent.sgml:
7765         * docs/gst/tmpl/gstfakesrc.sgml:
7766           Docs updates.
7767
7768         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7769           Treat a buffer-without-newsegment the same as a receiving 
7770           a newsegment not in time format, and disable syncing to the clock
7771           with a warning.
7772
7773         * gst/gstbus.c: (gst_bus_set_sync_handler):
7774           Assert if anyone tries to replace the existing sync_handler for bus, 
7775           as only the owner should be setting it.
7776
7777         * gst/gstevent.h:
7778           Have a fixed set of custom event enums with events identified by
7779           their structure name (as in 0.8), rather than a free-for-all
7780           allowing collisions between enum values from different plugins.
7781
7782         * gst/gstpad.c: (gst_pad_class_init):
7783           Docs change.
7784           
7785         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7786           Handle out-of-band downstream events from the sending thread.
7787
7788 2005-08-17  Andy Wingo  <wingo@pobox.com>
7789
7790         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7791         play-timeout==0 to mean no timeout at all. In that case, don't
7792         bother with a get_state or a warning, just return directly, even
7793         if it's ASYNC.
7794
7795         * gst/base/gstbasetransform.c: Debug changes.
7796
7797         * gst/gstutils.h:
7798         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7799         ensure bins post state change messages. A bit of a hack but I can't
7800         think of a way to avoid it.
7801
7802         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7803
7804 2005-08-16  Andy Wingo  <wingo@pobox.com>
7805
7806         * gst/base/gstadapter.h:
7807         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7808         peek() but you own the data. Not terribly efficient atm.
7809
7810 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7811
7812         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7813         (gst_element_found_tags):
7814         * gst/gstutils.h:
7815           Add two utility functions for tag handling.
7816
7817 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7818
7819         * docs/manual/advanced-dataaccess.xml:
7820         * docs/manual/basics-helloworld.xml:
7821           Fix docs to use _bin_add() before _link(), which fixes the examples
7822           with recent core versions (reported by Madhan Raj M
7823           <raj_madan@rediffmail.com>, #313199).
7824
7825 2005-08-16  Wim Taymans  <wim@fluendo.com>
7826
7827         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7828         Added subtract checks.
7829
7830         * docs/design/part-events.txt:
7831         Some more docs about newsegment
7832
7833         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7834         Fix FIXME
7835
7836         * gst/gstcaps.c: (gst_caps_to_string):
7837         Add comments, cleanups.
7838         
7839         * gst/gstelement.c: (gst_element_save_thyself):
7840         cleanups
7841         
7842         * gst/gstvalue.c: (gst_value_collect_int_range),
7843         (gst_string_unwrap), (gst_value_union_int_int_range),
7844         (gst_value_union_int_range_int_range),
7845         (gst_value_intersect_int_int_range),
7846         (gst_value_intersect_int_range_int_range),
7847         (gst_value_intersect_double_double_range),
7848         (gst_value_intersect_double_range_double_range),
7849         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7850         (gst_value_subtract_int_range_int),
7851         (gst_value_subtract_double_range_double),
7852         (gst_value_subtract_double_range_double_range),
7853         (gst_value_subtract_from_list), (gst_value_subtract_list),
7854         (gst_value_can_compare), (gst_value_compare_fraction):
7855         Cleanups, add comments, remove unneeded asserts.
7856
7857 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7858
7859         * tools/gst-launch.c: (event_loop):
7860           don't convert NULL structures to strings
7861
7862 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7863
7864         * docs/gst/gstreamer-sections.txt:
7865           made some defines private
7866         * docs/gst/tmpl/gstconfig.sgml:
7867         * docs/gst/tmpl/gstqueue.sgml:
7868         * docs/gst/tmpl/gsttaglist.sgml:
7869         * docs/gst/tmpl/gsttypes.sgml:
7870         * docs/gst/tmpl/gstutils.sgml:
7871         * docs/pwg/appendix-porting.xml:
7872         * gst/base/gstbasesink.h:
7873         * gst/base/gstbasesrc.c:
7874         * gst/base/gstbasesrc.h:
7875         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7876         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7877         * gst/gstelement.c: (gst_element_class_init):
7878         * gst/gstpad.c: (gst_pad_class_init):
7879         * gst/gstqueue.c: (gst_queue_class_init):
7880         * gst/gstxml.c: (gst_xml_class_init):
7881           documented all undocumented signal inline
7882         * libs/gst/controller/gst-controller.h:
7883           added padding
7884
7885 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7886
7887         * docs/pwg/appendix-porting.xml:
7888           Document _set_link_function -> _set_setcaps_function.
7889
7890 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7891
7892         * check/Makefile.am:
7893           add a .check target for running the check
7894         * check/gst-libs/controller.c: (GST_START_TEST):
7895           cosmetic fixups
7896         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7897           complete checks for gstbuffer; would be nice if I could get the
7898           gcov stuff to work so I can see if I actually completed gstbuffer.c
7899         * check/gstcheck.h:
7900           add ASSERT_BUFFER_REFCOUNT
7901
7902 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7903
7904         * docs/gst/gstreamer-sections.txt:
7905         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7906         * gst/gsttag.h:
7907           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7908           spew out a warning if a tag that is already registered
7909           is re-registered, unless it is re-registered with a 
7910           different type (#308438).
7911
7912 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7913
7914         * docs/pwg/appendix-porting.xml:
7915         * docs/pwg/building-state.xml:
7916           Add some paragraphs about state changes in 0.9 to the PWG
7917           and the porting guide, in particular about the new meaning
7918           of GST_STATE_PAUSED and how to write state change functions
7919           with concurrent access by multiple threads in mind.
7920
7921 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7922
7923         * docs/gst/gstreamer-docs.sgml:
7924         * docs/libs/gstreamer-libs-docs.sgml:
7925           added deprecation and since indexes
7926         * libs/gst/controller/gst-controller.c:
7927         * libs/gst/controller/gst-helper.c:
7928           added since tags
7929
7930
7931 2005-08-11  Wim Taymans  <wim@fluendo.com>
7932
7933         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7934         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7935         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7936         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7937         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7938         (gst_ghost_pad_set_target):
7939         Actually implement (re)setting the target on a ghostpad
7940         as described in the docs.
7941
7942 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7943
7944         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7945           Check whether GST_DEBUG_NO_COLOR environment variable is
7946           set and disable coloured debug output if that is the case.
7947
7948 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7949
7950         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7951         (gst_type_find_helper):
7952           The memory returned by gst_type_find_peek() needs to
7953           stay valid until the end of a typefind function, and
7954           typefind functions may keep results from different 
7955           offsets around, so we can't just unref the buffer from
7956           the previous _peek(), but have to save all buffers 
7957           returned by _peek() until typefinding is done and only
7958           free them then.
7959
7960 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7961
7962         * docs/gst/gstreamer-sections.txt:
7963         * gst/gstutils.h:
7964           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7965
7966 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7967
7968         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7969           Fix a pretty good memleak.
7970
7971 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7972
7973         * gst/gstiterator.h:
7974           Fix wrong include and 'make distcheck'.
7975
7976 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7977
7978         * gst/gstbin.c: (bin_bus_handler):
7979           Use gst_element_post_message() instead.
7980
7981 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7982
7983         * gst/base/gstadapter.h:
7984         * gst/base/gstbasesink.h:
7985         * gst/base/gstbasesrc.h:
7986         * gst/base/gstbasetransform.h:
7987         * gst/base/gstcollectpads.h:
7988         * gst/base/gstpushsrc.h:
7989         * gst/gstiterator.h:
7990           Add padding to our base elements' class and instance structs and
7991           to GstIterator (you will need to rebuild all plugins and apps!)
7992
7993 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7994
7995         * gst/gstbin.c: (bin_bus_handler):
7996           Make default message forwarding from child->bus to bin->bus
7997           threadsafe and make it not emit warnings if the parent has no bus.
7998
7999 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8000
8001         * gst/gstelement.c: (activate_pads):
8002           On paused->ready, set pad->caps to NULL, as is the documented
8003           behaviour in this state change. Fixes playback of series of
8004           media files when visualization is enabled in Totem.
8005
8006 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8007
8008         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8009           Allow NULL as filter-caps (which means "any").
8010
8011 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8012
8013         * docs/libs/gstreamer-libs-sections.txt:
8014         * libs/gst/controller/gst-controller.c:
8015         * libs/gst/controller/gst-controller.h:
8016         * libs/gst/controller/gst-helper.c:
8017           adding more entries to the docs and fix small doc-bugs
8018
8019 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8020
8021         * docs/gst/gstreamer-docs.sgml:
8022         * docs/gst/gstreamer-sections.txt:
8023         * docs/gst/gstreamer.types:
8024         * docs/gst/tmpl/gstbasesink.sgml:
8025         * docs/gst/tmpl/gstbasesrc.sgml:
8026         * docs/gst/tmpl/gstbasetransform.sgml:
8027         * docs/gst/tmpl/gstfakesrc.sgml:
8028         * gst/base/gstcollectpads.c:
8029         * gst/base/gstcollectpads.h:
8030         * libs/gst/controller/gst-controller.c:
8031         * libs/gst/controller/gst-controller.h:
8032         * libs/gst/controller/gst-helper.c:
8033         * libs/gst/controller/gst-interpolation.c:
8034         * libs/gst/controller/lib.c:
8035           added long/short desc for controller docs
8036           added collectpads base class docs
8037           added correct includes to base-class docs
8038
8039 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8040
8041         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8042         (gst_test_mono_source_set_property),
8043         (gst_test_mono_source_class_init), (GST_START_TEST),
8044         (gst_controller_suite):
8045         * docs/gst/gstreamer-docs.sgml:
8046         * docs/gst/gstreamer-sections.txt:
8047         * docs/gst/gstreamer.types:
8048         * docs/libs/gstreamer-libs-docs.sgml:
8049         * docs/libs/gstreamer-libs-sections.txt:
8050         * gst/base/gstadapter.c:
8051         * libs/gst/controller/gst-controller.c:
8052         (gst_controlled_property_new), (gst_controlled_property_free),
8053         (gst_controller_new_valist),
8054         (gst_controller_remove_properties_valist),
8055         (gst_controller_sink_values), (_gst_controller_finalize):
8056         * libs/gst/controller/gst-controller.h:
8057         * libs/gst/controller/gst-helper.c:
8058         (gst_object_control_properties), (gst_object_uncontrol_properties),
8059         (gst_object_get_controller), (gst_object_set_controller),
8060         (gst_object_sink_values), (gst_object_get_value_arrays),
8061         (gst_object_get_value_array):
8062           more tests (and fixes) for the controller
8063           more docs for the controller
8064           integrated companies docs for the adapter 
8065
8066 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8067
8068         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8069         (GST_START_TEST), (fakesrc_suite):
8070           add tests for sizetype
8071
8072 2005-08-04  Andy Wingo  <wingo@pobox.com>
8073
8074         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8075         fixes buffer_alloc proxying among other things.
8076
8077         * gst/base/gstbasetransform.c:
8078         * gst/base/gstbasetransform.h:
8079         Revert patch to gstbasetransform from 7-28 removing
8080         delay_configure.
8081
8082         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8083         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8084         Semantics changed, should return not the size of the output buffer
8085         but the byte size of a buffer with a given caps.
8086
8087         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8088         debug object.
8089         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8090         out) are not the pad caps until setcaps finishes.
8091         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8092         not-in-place case as well. Deal with changing from in-place to
8093         not-in-place within calling pad_alloc_buffer. Still a bit
8094         concerned about the overhead here...
8095
8096 2005-08-03  Andy Wingo  <wingo@pobox.com>
8097
8098         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8099         fixating is an error.
8100
8101 2005-08-04  Edward Hervey  <edward@fluendo.com>
8102
8103         * gst/base/gstadapter.h: 
8104         Added gst_adapter_get_type() to the header
8105
8106 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8107
8108         * check/Makefile.am:
8109         * check/gst-libs/controller.c:
8110         * libs/gst/controller/gst-controller.c:
8111         (gst_controller_new_valist):
8112           added check test suite for the controller
8113         * gst/base/gstpushsrc.c:
8114           fixed a doc typo
8115
8116 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8117
8118         * docs/gst/Makefile.am:
8119         * docs/gst/gstreamer-docs.sgml:
8120         * docs/gst/gstreamer-sections.txt:
8121         * docs/gst/gstreamer.types:
8122         * docs/gst/tmpl/gstfakesrc.sgml:
8123         * gst/base/README:
8124         * gst/base/gstbasesink.c:
8125         * gst/base/gstbasesink.h:
8126         * gst/base/gstbasesrc.c:
8127         * gst/base/gstbasesrc.h:
8128         * gst/base/gstbasetransform.c:
8129         * gst/base/gstpushsrc.c:
8130         * gst/base/gstpushsrc.h:
8131           add short/long description docs to base classes
8132           add pushsrc to the docs
8133           remove consolidated doc fragments
8134
8135 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8136
8137         * configure.ac:
8138         * docs/libs/Makefile.am:
8139         * docs/libs/gstreamer-libs-docs.sgml:
8140         * docs/libs/gstreamer-libs-sections.txt:
8141         * docs/libs/gstreamer-libs.types:
8142         * examples/Makefile.am:
8143         * examples/controller/.cvsignore:
8144         * examples/controller/Makefile.am:
8145         * examples/controller/audio-example.c: (main):
8146         * libs/gst/Makefile.am:
8147         * libs/gst/controller/.cvsignore:
8148         * libs/gst/controller/Makefile.am:
8149         * libs/gst/controller/gst-controller.c:
8150         (on_object_controlled_property_changed), (gst_timed_value_compare),
8151         (gst_timed_value_find),
8152         (gst_controlled_property_set_interpolation_mode),
8153         (gst_controlled_property_new), (gst_controlled_property_free),
8154         (gst_controller_find_controlled_property),
8155         (gst_controller_new_valist), (gst_controller_new),
8156         (gst_controller_remove_properties_valist),
8157         (gst_controller_remove_properties), (gst_controller_set),
8158         (gst_controller_set_from_list), (gst_controller_unset),
8159         (gst_controller_get), (gst_controller_get_all),
8160         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8161         (gst_controller_get_value_array),
8162         (gst_controller_set_interpolation_mode),
8163         (_gst_controller_finalize), (_gst_controller_init),
8164         (_gst_controller_class_init), (gst_controller_get_type):
8165         * libs/gst/controller/gst-controller.h:
8166         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8167         (g_object_uncontrol_properties), (g_object_get_controller),
8168         (g_object_set_controller), (g_object_sink_values),
8169         (g_object_get_value_arrays), (g_object_get_value_array):
8170         * libs/gst/controller/gst-interpolation.c:
8171         (gst_controlled_property_find_timed_value_node),
8172         (interpolate_none_get), (interpolate_trigger_get),
8173         (interpolate_trigger_get_value_array):
8174         * libs/gst/controller/lib.c: (gst_controller_init):
8175         * pkgconfig/Makefile.am:
8176         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8177         * pkgconfig/gstreamer-control.pc.in:
8178         * testsuite/Makefile.am:
8179         * testsuite/controller/.cvsignore:
8180         * testsuite/controller/Makefile.am:
8181         * testsuite/controller/interpolator.c: (main):
8182           added controller code
8183           removed dparam pc files
8184
8185 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8186         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8187         (gst_collectpads_stop):
8188           Broadcast the condition when shutting down, to make sure we wake all
8189           threads up. Shut down pads on finalize, for safety.
8190
8191 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8192         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8193         (gst_base_transform_handle_buffer),
8194         (gst_base_transform_change_state):
8195           Handle PAUSED->READY->PAUSED transition after negotiation
8196           occurred already.
8197         * gst/gstmessage.c: (gst_message_init):
8198           Extra piece of debug for new messages.
8199
8200 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8201
8202         * configure.ac:
8203         * docs/gst/tmpl/gstbasesrc.sgml:
8204         * docs/gst/tmpl/gstelement.sgml:
8205         * docs/gst/tmpl/gstevent.sgml:
8206         * docs/gst/tmpl/gstfakesrc.sgml:
8207         * docs/gst/tmpl/gstformat.sgml:
8208         * docs/gst/tmpl/gstghostpad.sgml:
8209         * docs/gst/tmpl/gstpad.sgml:
8210         * docs/gst/tmpl/gstquery.sgml:
8211         * docs/gst/tmpl/gststructure.sgml:
8212         * docs/gst/tmpl/gsttaglist.sgml:
8213         * docs/gst/tmpl/gstvalue.sgml:
8214         * docs/libs/gstreamer-libs-docs.sgml:
8215         * docs/libs/gstreamer-libs-sections.txt:
8216         * docs/libs/gstreamer-libs.types:
8217         * libs/gst/Makefile.am:
8218         * libs/gst/control/.cvsignore:
8219         * libs/gst/control/Makefile.am:
8220         * libs/gst/control/control.c:
8221         * libs/gst/control/control.h:
8222         * libs/gst/control/dparam.c:
8223         * libs/gst/control/dparam.h:
8224         * libs/gst/control/dparam_smooth.c:
8225         * libs/gst/control/dparam_smooth.h:
8226         * libs/gst/control/dparamcommon.h:
8227         * libs/gst/control/dparammanager.c:
8228         * libs/gst/control/dparammanager.h:
8229         * libs/gst/control/dplinearinterp.c:
8230         * libs/gst/control/dplinearinterp.h:
8231         * libs/gst/control/unitconvert.c:
8232         * libs/gst/control/unitconvert.h:
8233         * testsuite/Makefile.am:
8234         * testsuite/dynparams/.cvsignore:
8235         * testsuite/dynparams/Makefile.am:
8236         * testsuite/dynparams/dparamstest.c:
8237         * tools/Makefile.am:
8238         * tools/gst-inspect.c: (print_element_info), (main):
8239         * tools/gst-xmlinspect.c: (print_element_info), (main):
8240           deactivate and remove dparams (libgstcontrol)
8241
8242 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8243
8244         * gst/elements/gsttypefindelement.c:
8245         (gst_type_find_element_have_type), (gst_type_find_element_init),
8246         (stop_typefinding), (gst_type_find_element_handle_event),
8247         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8248         * gst/elements/gsttypefindelement.h:
8249           Set caps on all outgoing buffers, not just the first one.
8250
8251 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8252
8253         * gst/elements/gsttypefindelement.c:
8254         (gst_type_find_element_have_type),
8255         (gst_type_find_element_check_set_buffer_caps),
8256         (gst_type_find_element_init), (stop_typefinding),
8257         (gst_type_find_element_handle_event),
8258         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8259         * gst/elements/gsttypefindelement.h:
8260           Set caps on first outgoing buffer when we've found the type.
8261
8262 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8263
8264         * docs/gst/gstreamer-docs.sgml:
8265         * docs/gst/gstreamer-sections.txt:
8266         * docs/gst/tmpl/gstscheduler.sgml:
8267         * docs/gst/tmpl/gstschedulerfactory.sgml:
8268           Remove some old cruft from docs.
8269
8270 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8271
8272         * gst/gstpad.h:
8273           Fix inline docs for GstPadLinkReturn.
8274           
8275         * gst/gststructure.c: (gst_structure_has_name):
8276         * gst/gststructure.h:
8277         * docs/gst/gstreamer-sections.txt:
8278           New API: gst_structure_has_name().
8279
8280 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8281
8282         * configure.ac:
8283           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8284           and _LARGEFILE_SOURCE in config.h as required. Do not 
8285           export those flags in our .pc files any longer (#142209).
8286
8287           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8288
8289         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8290         (gst_file_sink_do_seek), (gst_file_sink_event),
8291         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8292           Redo seek/tell calls with large file support in mind; add some
8293           debugging messages; add log message that tells us when large
8294           file support is unavailable or not enabled for some reason.
8295
8296         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8297           Add log message that tells us when large file support 
8298           is unavailable or not enabled for some reason.
8299
8300 2005-07-29  Wim Taymans  <wim@fluendo.com>
8301
8302         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8303         Added test for removing an element with ghostpad from a bin.
8304         Fixed test as current implementation does the right thing.
8305
8306         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8307         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8308         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8309         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8310         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8311         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8312         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8313         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8314         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8315         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8316         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8317         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8318         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8319         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8320         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8321         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8322         * gst/gstghostpad.h:
8323         Clean up ghostpads, remove properties for internal stuff.
8324         Make threadsafe.
8325         Fix refcounting.
8326         Prepare for switching targets, not all use cases work yet.
8327
8328 2005-07-29  Wim Taymans  <wim@fluendo.com>
8329
8330         * docs/design/part-gstghostpad.txt:
8331         Small update.
8332
8333         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8334         (gst_bin_remove_func):
8335         Unlinking pads while holding the bin LOCK is not a good
8336         idea.
8337
8338         * gst/gstpad.c: (gst_pad_class_init),
8339         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8340         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8341         No prob setting template after creating the pad.
8342
8343 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8344
8345         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8346         (gst_bus_peek), (gst_bus_source_dispatch),
8347         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8348         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8349           gst_bus_poll may be called from other threads. Handle
8350           this nicely by not making poll_data disappear off the
8351           stack once gst_bus_poll returns.
8352           gst_bus_peek now increments the refcount on the returned
8353           message.
8354
8355 2005-07-29  Wim Taymans  <wim@fluendo.com>
8356
8357         * docs/design/part-gstghostpad.txt:
8358         Overview of current GhostPad datastructures and use
8359         cases for changing the target.
8360
8361 2005-07-28  Wim Taymans  <wim@fluendo.com>
8362
8363         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8364         Added checks for hierarchy consistency whan adding linked
8365         elements to bins.
8366
8367         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8368         Added check to test element scheduling without bin/pipeline.
8369
8370         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8371         First add elements to bin, then link.
8372         
8373         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8374         (gst_bin_remove_func):
8375         Unlink pads from elements added/removed from bin to maintain
8376         hierarchy consistency.
8377
8378 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8379
8380         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8381         (gst_base_transform_handle_buffer):
8382         * gst/base/gstbasetransform.h:
8383           Remove broken delay_configure (fixes renegotiation of software
8384           scaling pipelines); remove some leftover printf()s.
8385
8386 2005-07-28  Wim Taymans  <wim@fluendo.com>
8387
8388         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8389         Added some more tests for wrong hierarchy
8390
8391         * docs/design/part-overview.txt:
8392         Some updates.
8393
8394         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8395         Cleanups.
8396
8397         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8398         (gst_element_dispose):
8399         Some more cleanups.
8400
8401         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8402         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8403         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8404         (gst_pad_set_caps), (gst_pad_send_event):
8405         Check for correct hierarchy when linking pads. Moving to
8406         strict requirement for ghostpads when linking elements in
8407         different bins.
8408
8409         * gst/gstpad.h:
8410         Clean ups. Added WRONG_HIERARCHY return value.
8411
8412 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8413
8414         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8415           Better debug if no transform is possible.
8416
8417 2005-07-27  Wim Taymans  <wim@fluendo.com>
8418
8419         * docs/random/wtay/network-transp:
8420         Some old doc I had.
8421
8422 2005-07-27  Wim Taymans  <wim@fluendo.com>
8423
8424         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8425         (gst_dp_event_from_packet):
8426         Fix serialization of seek events.
8427
8428 2005-07-27  Wim Taymans  <wim@fluendo.com>
8429
8430         * check/gst-libs/gdp.c: (GST_START_TEST):
8431         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8432         Fix compilation and fix event serialization.
8433
8434 2005-07-27  Wim Taymans  <wim@fluendo.com>
8435
8436         * CHANGES-0.9:
8437         * docs/design/part-TODO.txt:
8438         * docs/design/part-events.txt:
8439         Some docs updates
8440
8441         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8442         (gst_base_sink_event), (gst_base_sink_do_sync),
8443         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8444         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8445         (gst_base_src_do_seek), (gst_base_src_event_handler),
8446         (gst_base_src_loop):
8447         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8448         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8449         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8450         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8451         (gst_base_transform_set_passthrough),
8452         (gst_base_transform_is_passthrough):
8453         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8454         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8455         Event updates.
8456
8457         * gst/gstbuffer.h:
8458         Use faster casts.
8459
8460         * gst/gstelement.c: (gst_element_seek):
8461         * gst/gstelement.h:
8462         Update gst_element_seek.
8463
8464         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8465         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8466         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8467         (gst_event_new_eos), (gst_event_new_newsegment),
8468         (gst_event_parse_newsegment), (gst_event_new_tag),
8469         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8470         (gst_event_parse_qos), (gst_event_new_seek),
8471         (gst_event_parse_seek), (gst_event_new_navigation):
8472         * gst/gstevent.h:
8473         Make GstEvent use GstStructure. Add parsing code, make sure the
8474         API is sufficiently generic.
8475         Mark possible directions of events and serialization.
8476
8477         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8478         (_gst_message_copy), (gst_message_new_segment_start),
8479         (gst_message_new_segment_done), (gst_message_new_custom),
8480         (gst_message_parse_segment_start),
8481         (gst_message_parse_segment_done):
8482         Small cleanups.
8483
8484         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8485         (gst_pad_set_caps), (gst_pad_send_event):
8486         Update for new events. 
8487         Catch events sent in wrong directions.
8488
8489         * gst/gstqueue.c: (gst_queue_link_src),
8490         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8491         (gst_queue_handle_src_query):
8492         Event updates.
8493
8494         * gst/gsttag.c:
8495         * gst/gsttag.h:
8496         Remove event code from this file.
8497
8498         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8499         (gst_dp_event_from_packet):
8500         Event updates.
8501
8502 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8503
8504         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8505         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8506         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8507           Make debugging actually useful.
8508
8509 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8510
8511         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8512         (gst_pad_fixate_caps):
8513           Implement default fixation once again, so that gst_pad_fixate()
8514           actually does anything at all. This probably needs to be some
8515           sort of a last resort, and use profile-based fixation first, but
8516           since that doesn't exist yet, this is the best we have. Fixes
8517           visualization in Totem.
8518
8519 2005-07-22  Wim Taymans  <wim@fluendo.com>
8520
8521         * docs/design/part-events.txt:
8522         Small update.
8523
8524         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8525         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8526         (gst_base_sink_activate_pull):
8527         Some more comments.
8528
8529         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8530         (gst_fake_src_create):
8531         Fix handoff marshall.
8532
8533         * gst/elements/gstidentity.c: (gst_identity_class_init),
8534         (gst_identity_transform_ip):
8535         We're a real inplace element.
8536
8537         * gst/gstbus.c: (gst_bus_post):
8538         Added some comments.
8539
8540         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8541         * tests/muxing/case1.c: (main):
8542         * tests/sched/dynamic-pipeline.c: (main):
8543         * tests/sched/interrupt1.c: (main):
8544         * tests/sched/interrupt2.c: (main):
8545         * tests/sched/interrupt3.c: (main):
8546         * tests/sched/runxml.c: (main):
8547         * tests/sched/sched-stress.c: (main):
8548         * tests/seeking/seeking1.c: (event_received), (main):
8549         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8550         (main):
8551         * tests/threadstate/threadstate3.c: (main):
8552         * tests/threadstate/threadstate4.c: (main):
8553         * tests/threadstate/threadstate5.c: (main):
8554         Fix the tests.
8555
8556 2005-07-21  Wim Taymans  <wim@fluendo.com>
8557
8558         * docs/design/part-seeking.txt:
8559         Some small additions.
8560
8561         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8562         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8563         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8564         * gst/base/gstbasesink.h:
8565         discont values are gint64, handle the math correctly.
8566
8567         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8568         Make the basesrc report error if the source pad is not linked.
8569
8570         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8571         (gst_queue_loop), (gst_queue_handle_src_query),
8572         (gst_queue_src_activate_push):
8573         Make queue collect data even if the srcpad is not linked.
8574         Start pushing out data as soon as it is linked.
8575
8576         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8577         * gst/gstutils.h:
8578         Added gst_flow_get_name() to ease error reporting.
8579
8580 2005-07-20  Wim Taymans  <wim@fluendo.com>
8581
8582         * gst/gstmessage.c: (gst_message_new_segment_start),
8583         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8584         (gst_message_parse_segment_done):
8585         * gst/gstmessage.h:
8586         Added a bunch of messages for advanced seeking.
8587
8588         * gst/parse/grammar.y:
8589         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8590         (gst_dpman_state_changed):
8591         Fix some new-pad -> pad-added signals
8592
8593 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8594
8595         * docs/manual/appendix-porting.xml:
8596         * docs/pwg/appendix-porting.xml:
8597           Document new-pad/state-change signal renames and the FixedList
8598           type rename.
8599
8600 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8601
8602         * docs/manual/advanced-autoplugging.xml:
8603         * docs/manual/basics-helloworld.xml:
8604         * docs/manual/basics-pads.xml:
8605         * docs/random/ds/0.9-suggested-changes:
8606         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8607         * gst/gstelement.h:
8608         * gst/gstevent.h:
8609         * gst/gstformat.h:
8610         * gst/gstquery.h:
8611         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8612         (gst_structure_parse_array), (gst_structure_parse_value):
8613         * gst/gstvalue.c: (gst_type_is_fixed),
8614         (gst_value_list_prepend_value), (gst_value_list_append_value),
8615         (gst_value_list_get_size), (gst_value_list_get_value),
8616         (gst_value_transform_array_string), (gst_value_serialize_array),
8617         (gst_value_deserialize_array), (gst_value_intersect_array),
8618         (gst_value_is_fixed), (_gst_value_initialize):
8619         * gst/gstvalue.h:
8620           GstElement::new-pad -> pad-added, GstElement::state-change ->
8621           state-changed, GstValueFixedList -> GstValueArray, add format and
8622           flags as their own arguments in gst_element_seek() (should improve
8623           "bindeability"), remove function generators since they don't work
8624           under a whole bunch of compilers (they were deprecated already
8625           anyway).
8626
8627 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8628
8629         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8630         (_gst_debug_register_funcptr):
8631         * gst/gstinfo.h:
8632           Fix illegal cast on some platforms (#309253).
8633
8634 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8635
8636         * gst/gstmessage.c: (gst_message_new_custom):
8637         * gst/gstmessage.h:
8638           Add _new_custom, make _new_application a macro to _new_custom.
8639
8640 2005-07-20  Wim Taymans  <wim@fluendo.com>
8641
8642         * gst/base/gstbasesrc.c: (gst_base_src_init),
8643         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8644         * gst/base/gstbasesrc.h:
8645         Add a gboolean to decide when to push out a discont.
8646
8647         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8648         (gst_queue_loop), (gst_queue_handle_src_query),
8649         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8650         (gst_queue_set_property), (gst_queue_get_property):
8651         Some cleanups.
8652
8653         * tests/threadstate/threadstate1.c: (main):
8654         Make a thread test compile and run... very silly..
8655
8656
8657 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8658
8659         * docs/manual/appendix-porting.xml:
8660           Mention removal of libgstgconf-0.9.la and existence of gconf
8661           elements.
8662
8663 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8664
8665         * docs/pwg/advanced-clock.xml:
8666         * docs/pwg/appendix-porting.xml:
8667         * docs/pwg/intro-preface.xml:
8668         * docs/pwg/other-base.xml:
8669         * docs/pwg/other-manager.xml:
8670         * docs/pwg/other-nton.xml:
8671         * docs/pwg/other-ntoone.xml:
8672         * docs/pwg/other-oneton.xml:
8673         * docs/pwg/pwg.xml:
8674           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8675           demuxer), remove n-to-n (was never written), fix some code examples
8676           and links and update the porting section to include all this.
8677
8678 2005-07-19  Wim Taymans  <wim@fluendo.com>
8679
8680         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8681         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8682         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8683         (gst_queue_src_activate_push), (gst_queue_change_state),
8684         (gst_queue_get_property):
8685         * gst/gstqueue.h:
8686         Propagate GstFlowReturn more intelligently upstream and output
8687         an ERROR/EOS when streaming stopped due to fatal error.
8688
8689 2005-07-19  Wim Taymans  <wim@fluendo.com>
8690
8691         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8692         Don't block forever for the state change to complete, the
8693         pipeline already did with a sensible timeout.
8694
8695 2005-07-19  Wim Taymans  <wim@fluendo.com>
8696
8697         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8698         Make sure we never call the create function is we
8699         got deactivated.
8700
8701 2005-07-19  Andy Wingo  <wingo@pobox.com>
8702
8703         * gst/parse/parse.l: Attempt to solve bug #172815.
8704
8705 2005-07-19  Wim Taymans  <wim@fluendo.com>
8706
8707         * docs/design/part-clocks.txt:
8708         * docs/design/part-events.txt:
8709         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8710         Small docs updates.
8711         Only update the seeking values when we are not
8712         busy streaming.
8713
8714 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8715
8716         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8717           Oops, ignore the result of gst_pad_push_event here.
8718
8719 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8720
8721         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8722         (gst_base_src_activate_push):
8723           Send discont event from the loop function, as pads
8724           aren't activated yet in the activate_push handler.
8725
8726         * gst/gstbin.c: (bin_bus_handler):
8727           Don't leak element name.
8728
8729 2005-07-18  Andy Wingo  <wingo@pobox.com>
8730
8731         * configure.ac: Use AS_LIBTOOL_TAGS.
8732
8733 2005-07-18  Wim Taymans  <wim@fluendo.com>
8734
8735         * docs/gst/gstreamer.types:
8736         Remove deleted types.
8737
8738 2005-07-18  Wim Taymans  <wim@fluendo.com>
8739
8740         * check/elements/gstfakesrc.c: (GST_START_TEST):
8741         * configure.ac:
8742         * gst/Makefile.am:
8743         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8744         (init_popt_callback):
8745         * gst/gst.h:
8746         * gst/gst_private.h:
8747         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8748         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8749         * gst/gstbin.h:
8750         * gst/gstbus.h:
8751         * gst/gstconfig.h.in:
8752         * gst/gstelement.c: (gst_element_class_init),
8753         (gst_element_set_base_time), (gst_element_get_base_time),
8754         (iterator_fold_with_resync), (gst_element_change_state),
8755         (gst_element_dispose), (gst_element_get_bus):
8756         * gst/gstelement.h:
8757         * gst/gstelementfactory.h:
8758         * gst/gsterror.c: (_gst_core_errors_init):
8759         * gst/gsterror.h:
8760         * gst/gstevent.h:
8761         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8762         * gst/gstindex.c:
8763         * gst/gstinfo.c: (_gst_debug_init):
8764         * gst/gstmessage.c: (_gst_message_copy):
8765         * gst/gstmessage.h:
8766         * gst/gstminiobject.h:
8767         * gst/gstobject.c:
8768         * gst/gstobject.h:
8769         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8770         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8771         * gst/gstpad.h:
8772         * gst/gstparse.h:
8773         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8774         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8775         (gst_pipeline_get_last_stream_time):
8776         * gst/gstpipeline.h:
8777         * gst/gstpluginfeature.h:
8778         * gst/gstquery.h:
8779         * gst/gstscheduler.c:
8780         * gst/gstscheduler.h:
8781         * gst/gststructure.h:
8782         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8783         (gst_task_finalize), (gst_task_func), (gst_task_create),
8784         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8785         (gst_task_stop), (gst_task_pause):
8786         * gst/gsttask.h:
8787         * gst/gsttypefind.h:
8788         * gst/gsttypes.h:
8789         * gst/registries/gstlibxmlregistry.c: (load_feature),
8790         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8791         * gst/registries/gstxmlregistry.c:
8792         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8793         * gst/schedulers/threadscheduler.c:
8794         * libs/gst/control/dparammanager.h:
8795         * tools/gst-inspect.c: (print_element_list),
8796         (print_plugin_features), (print_element_features):
8797         * tools/gst-xmlinspect.c: (print_element_list),
8798         (print_plugin_info), (main):
8799         Removed plugable schedulers.
8800         Removed Scheduler/Manager from elements.
8801         Removed gsttypes.h, rearranged includes.
8802         Removed dependency pad<->element, element<>pipeline, and
8803         various others,  fix includes.
8804         implement gst_pad_get_parent() with gst_object_get_parent()
8805         Make GstTask sefcontained.
8806         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8807         timeout.
8808         Fix endless loop in iterator_fold_with_resync.
8809
8810
8811 2005-07-18  Wim Taymans  <wim@fluendo.com>
8812
8813         * gst/Makefile.am:
8814         * gst/gstarch.h:
8815         Remove old file.
8816
8817 2005-07-18  Wim Taymans  <wim@fluendo.com>
8818
8819         * gst/Makefile.am:
8820         No more cothreads.h
8821
8822 2005-07-18  Wim Taymans  <wim@fluendo.com>
8823
8824         * gst/cothreads.c:
8825         * gst/cothreads.h:
8826         Let's remove these.
8827
8828 2005-07-18  Wim Taymans  <wim@fluendo.com>
8829
8830         * docs/design/part-dynamic.txt:
8831         * docs/design/part-events.txt:
8832         * docs/design/part-seeking.txt:
8833         Some more docs in the works.
8834
8835         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8836         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8837         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8838         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8839         (gst_base_transform_handle_buffer),
8840         (gst_base_transform_sink_activate_push),
8841         (gst_base_transform_src_activate_pull),
8842         (gst_base_transform_set_passthrough),
8843         (gst_base_transform_is_passthrough):
8844         Refcounting fixes.
8845
8846         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8847         Cleanups.
8848
8849         * gst/gstevent.c: (gst_event_finalize):
8850         Set SRC to NULL.
8851
8852         * gst/gstutils.c: (gst_element_unlink),
8853         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8854         (gst_pad_proxy_setcaps):
8855         * gst/gstutils.h:
8856         Add _get_parent_element() to get a pads parent as an element.
8857
8858 2005-07-18  Wim Taymans  <wim@fluendo.com>
8859
8860         * check/gst/gstbin.c: (GST_START_TEST):
8861         Remove bogus test.
8862
8863 2005-07-18  Wim Taymans  <wim@fluendo.com>
8864
8865         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8866         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8867         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8868         (gst_base_sink_event), (gst_base_sink_do_sync),
8869         (gst_base_sink_chain), (gst_base_sink_loop),
8870         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8871         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8872         Refcounting fixes.
8873         Fix logic for returning ASYNC when not prerolled.
8874
8875 2005-07-18  Wim Taymans  <wim@fluendo.com>
8876
8877         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8878         Fix nasty refcount bug.
8879
8880 2005-07-16 Philippe Khalaf <burger@speedy.org>
8881
8882         * gst/elements/gstfdsrc.c:
8883         * gst/elements/gstfdsrc.h:
8884         * gst/elements/gstelements.c:
8885         * gst/elements/Makefile.am:
8886         Ported fdsrc to 0.9.
8887
8888 2005-07-16  Wim Taymans  <wim@fluendo.com>
8889
8890         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8891         (gst_base_sink_do_sync):
8892         Fix compile error.
8893
8894 2005-07-16  Wim Taymans  <wim@fluendo.com>
8895
8896         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8897         (gst_base_sink_event), (gst_base_sink_get_times),
8898         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8899         * gst/base/gstbasesink.h:
8900         Store and use discont values when syncing buffers as described
8901         in design docs.
8902         
8903         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8904         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8905         (gst_base_src_activate_push):
8906         Push discont event when starting.
8907
8908         * gst/elements/gstidentity.c: (gst_identity_transform):
8909         Small cleanups.
8910
8911         * gst/gstbin.c: (gst_bin_change_state):
8912         Small cleanups in base_time  distribution.
8913
8914         * gst/gstelement.c: (gst_element_set_base_time),
8915         (gst_element_get_base_time), (gst_element_change_state):
8916         * gst/gstelement.h:
8917         Added methods for the base_time of the element.
8918         Some MT fixes.
8919
8920         * gst/gstpipeline.c: (gst_pipeline_send_event),
8921         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8922         (gst_pipeline_get_last_stream_time):
8923         * gst/gstpipeline.h:
8924         MT fixes.
8925         Handle seeking as described in design doc, remove stream_time
8926         hack.
8927         Cleanups clock and stream_time selection code. Added accessors
8928         for the stream_time.
8929         
8930
8931 2005-07-16  Andy Wingo  <wingo@pobox.com>
8932
8933         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8934         (#305291).
8935
8936 2005-07-16  Wim Taymans  <wim@fluendo.com>
8937
8938         * check/gst/gstbin.c: (GST_START_TEST):
8939         Make elements silent as the deep_notify refs the
8940         parent, which might make the test fail.
8941
8942         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8943         Don't hold the lock for too long.
8944
8945 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8946
8947         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8948           Don't unref the caps we passed to gst_caps_make_writable() after
8949           passing them. gst_caps_make_writable() will do that for us.
8950
8951 2005-07-15  Andy Wingo  <wingo@pobox.com>
8952
8953         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8954         (#157311).
8955
8956         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8957         own marshalling function for the handoff signal. Properly type the
8958         buffer as a buffer. Fixes some warnings. Should do a more general
8959         solution.
8960         (gst_identity_class_init): Plug into the right marshaller.
8961
8962 2005-07-15  Wim Taymans  <wim@fluendo.com>
8963
8964         * docs/design/part-TODO.txt:
8965         * docs/design/part-clocks.txt:
8966         * docs/design/part-element-sink.txt:
8967         * docs/design/part-events.txt:
8968         * docs/design/part-gstpipeline.txt:
8969         Updated docs, mostly DISCONT related.
8970
8971 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8972
8973         * docs/pwg/building-pads.xml:
8974           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8975
8976 2005-07-15  Andy Wingo  <wingo@pobox.com>
8977
8978         * tools/gst-typefind.c: Update, add copyright block.
8979
8980         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8981         Normalize and truncate caps before fixation.
8982
8983         * gst/gstcaps.h:
8984         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8985         discards all but the first structure from its argument.
8986
8987 2005-07-15  Wim Taymans  <wim@fluendo.com>
8988
8989         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8990         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8991         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8992         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8993         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8994         (gst_base_transform_chain), (gst_base_transform_change_state),
8995         (gst_base_transform_set_passthrough),
8996         (gst_base_transform_is_passthrough):
8997         * gst/base/gstbasetransform.h:
8998         Make passthrough work using the bufferpools.
8999         Changed API a bit, subclasses have to write into a buffer
9000         provided by the base class.
9001         More debug info in nego functions.
9002         
9003         * gst/elements/gstidentity.c: (gst_identity_init),
9004         (gst_identity_transform):
9005         Port to new base class.
9006
9007 2005-07-15  Wim Taymans  <wim@fluendo.com>
9008
9009         * gst/gstmessage.c: (gst_message_new_state_changed):
9010         * tools/gst-launch.c: (event_loop), (main):
9011         Totally dump messages in -launch with the -m option.
9012         Fix message name for State messages,
9013
9014 2005-07-14  Wim Taymans  <wim@fluendo.com>
9015
9016         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9017         Post error messages on errors.
9018
9019 2005-07-14  Wim Taymans  <wim@fluendo.com>
9020
9021         * gst/gstcaps.c: (gst_caps_do_simplify):
9022         Remove debug info.
9023
9024         * gst/gsterror.h:
9025         Define error for stream stopped.
9026
9027         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9028         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9029         Do proper return values.
9030
9031         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9032         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9033         (gst_pad_get_range):
9034         Better return values.
9035
9036         * gst/gstpad.h:
9037         Reorganise return values, add macro to check for fatal errors.
9038
9039         * gst/gstqueue.c: (gst_queue_chain):
9040         Return proper GstFlowReturn values,
9041
9042 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9043
9044         * docs/gst/gstreamer-sections.txt:
9045         * docs/gst/gstreamer.types:
9046         * docs/gst/tmpl/gst.sgml:
9047         * docs/gst/tmpl/gstbasesink.sgml:
9048         * docs/gst/tmpl/gstbasesrc.sgml:
9049         * docs/gst/tmpl/gstbasetransform.sgml:
9050         * docs/gst/tmpl/gstbin.sgml:
9051         * docs/gst/tmpl/gstbuffer.sgml:
9052         * docs/gst/tmpl/gstcaps.sgml:
9053         * docs/gst/tmpl/gstclock.sgml:
9054         * docs/gst/tmpl/gstcompat.sgml:
9055         * docs/gst/tmpl/gstconfig.sgml:
9056         * docs/gst/tmpl/gstelement.sgml:
9057         * docs/gst/tmpl/gstelementdetails.sgml:
9058         * docs/gst/tmpl/gstelementfactory.sgml:
9059         * docs/gst/tmpl/gstenumtypes.sgml:
9060         * docs/gst/tmpl/gsterror.sgml:
9061         * docs/gst/tmpl/gstevent.sgml:
9062         * docs/gst/tmpl/gstfakesink.sgml:
9063         * docs/gst/tmpl/gstfakesrc.sgml:
9064         * docs/gst/tmpl/gstfilesink.sgml:
9065         * docs/gst/tmpl/gstfilesrc.sgml:
9066         * docs/gst/tmpl/gstfilter.sgml:
9067         * docs/gst/tmpl/gstformat.sgml:
9068         * docs/gst/tmpl/gstghostpad.sgml:
9069         * docs/gst/tmpl/gstimplementsinterface.sgml:
9070         * docs/gst/tmpl/gstindex.sgml:
9071         * docs/gst/tmpl/gstindexfactory.sgml:
9072         * docs/gst/tmpl/gstinfo.sgml:
9073         * docs/gst/tmpl/gstiterator.sgml:
9074         * docs/gst/tmpl/gstmacros.sgml:
9075         * docs/gst/tmpl/gstmemchunk.sgml:
9076         * docs/gst/tmpl/gstminiobject.sgml:
9077         * docs/gst/tmpl/gstobject.sgml:
9078         * docs/gst/tmpl/gstpad.sgml:
9079         * docs/gst/tmpl/gstpadtemplate.sgml:
9080         * docs/gst/tmpl/gstparse.sgml:
9081         * docs/gst/tmpl/gstpipeline.sgml:
9082         * docs/gst/tmpl/gstplugin.sgml:
9083         * docs/gst/tmpl/gstpluginfeature.sgml:
9084         * docs/gst/tmpl/gstquery.sgml:
9085         * docs/gst/tmpl/gstqueue.sgml:
9086         * docs/gst/tmpl/gstregistry.sgml:
9087         * docs/gst/tmpl/gstregistrypool.sgml:
9088         * docs/gst/tmpl/gstscheduler.sgml:
9089         * docs/gst/tmpl/gstschedulerfactory.sgml:
9090         * docs/gst/tmpl/gststructure.sgml:
9091         * docs/gst/tmpl/gstsystemclock.sgml:
9092         * docs/gst/tmpl/gsttaglist.sgml:
9093         * docs/gst/tmpl/gsttagsetter.sgml:
9094         * docs/gst/tmpl/gsttrace.sgml:
9095         * docs/gst/tmpl/gsttrashstack.sgml:
9096         * docs/gst/tmpl/gsttypefind.sgml:
9097         * docs/gst/tmpl/gsttypefindfactory.sgml:
9098         * docs/gst/tmpl/gsttypes.sgml:
9099         * docs/gst/tmpl/gsturihandler.sgml:
9100         * docs/gst/tmpl/gsturitype.sgml:
9101         * docs/gst/tmpl/gstutils.sgml:
9102         * docs/gst/tmpl/gstvalue.sgml:
9103         * docs/gst/tmpl/gstversion.sgml:
9104         * docs/gst/tmpl/gstxml.sgml:
9105         * docs/libs/tmpl/gstcontrol.sgml:
9106         * docs/libs/tmpl/gstdataprotocol.sgml:
9107         * docs/libs/tmpl/gstdparam.sgml:
9108         * docs/libs/tmpl/gstdplinint.sgml:
9109         * docs/libs/tmpl/gstdpman.sgml:
9110         * docs/libs/tmpl/gstdpsmooth.sgml:
9111         * docs/libs/tmpl/gstgetbits.sgml:
9112         * docs/libs/tmpl/gstunitconvert.sgml:
9113         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9114         (gst_push_src_base_init), (gst_push_src_class_init),
9115         (gst_push_src_init), (gst_push_src_create):
9116         * gst/base/gstpushsrc.h:
9117         * gst/elements/gstelements.c:
9118         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9119         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9120         (gst_fake_sink_init), (gst_fake_sink_set_property),
9121         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9122         (gst_fake_sink_event), (gst_fake_sink_preroll),
9123         (gst_fake_sink_render), (gst_fake_sink_change_state):
9124         * gst/elements/gstfakesink.h:
9125         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9126         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9127         (gst_fake_src_base_init), (gst_fake_src_class_init),
9128         (gst_fake_src_init), (gst_fake_src_event_handler),
9129         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9130         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9131         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9132         (gst_fake_src_create_buffer), (gst_fake_src_create),
9133         (gst_fake_src_start), (gst_fake_src_stop):
9134         * gst/elements/gstfakesrc.h:
9135         * gst/elements/gstfilesink.c: (_do_init),
9136         (gst_file_sink_base_init), (gst_file_sink_class_init),
9137         (gst_file_sink_init), (gst_file_sink_dispose),
9138         (gst_file_sink_set_location), (gst_file_sink_set_property),
9139         (gst_file_sink_get_property), (gst_file_sink_open_file),
9140         (gst_file_sink_close_file), (gst_file_sink_query),
9141         (gst_file_sink_event), (gst_file_sink_render),
9142         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9143         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9144         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9145         * gst/elements/gstfilesink.h:
9146         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9147         (gst_file_src_class_init), (gst_file_src_init),
9148         (gst_file_src_finalize), (gst_file_src_set_location),
9149         (gst_file_src_set_property), (gst_file_src_get_property),
9150         (gst_file_src_map_region), (gst_file_src_map_small_region),
9151         (gst_file_src_create_mmap), (gst_file_src_create_read),
9152         (gst_file_src_create), (gst_file_src_is_seekable),
9153         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9154         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9155         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9156         (gst_file_src_uri_handler_init):
9157         * gst/elements/gstfilesrc.h:
9158           more autistic cleanliness in functions/names/defines
9159
9160 2005-07-13  Andy Wingo  <wingo@pobox.com>
9161
9162         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9163         source couldn't negotiate.
9164
9165         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9166         connections again.
9167
9168         * gst/gstutils.h:
9169         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9170         function. I am channeling Hades. Put your boots on suckers!!!
9171
9172 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9173
9174         * testsuite/caps/Makefile.am:
9175         * testsuite/caps/value_compare.c:
9176         * testsuite/caps/value_intersect.c:
9177         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9178           move two testsuite apps over to the check dir
9179
9180 2005-07-12  Wim Taymans  <wim@fluendo.com>
9181
9182         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9183         Added more debug info in the negotiate process.
9184
9185         * gst/gstmessage.h:
9186         Prepare for segment playback.
9187
9188         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9189         Better debugging.
9190
9191         * gst/gstutils.c:
9192         Some more docs.
9193
9194         * tools/gst-launch.c: (main):
9195         NULL pipeline on errors.
9196
9197 2005-07-12  Andy Wingo  <wingo@pobox.com>
9198
9199         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9200         not it comes from a malloc region. Make sure our copy gets freed.
9201
9202 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9203
9204         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9205         * check/gst/gstmessage.c: (GST_START_TEST):
9206         * check/gst/gststructure.c: (GST_START_TEST),
9207         (gst_structure_suite), (main):
9208           more testing
9209         * gst/gstelement.c: (gst_element_message_full):
9210           clean up GError and debug string now that they get copied
9211         * gst/gstmessage.c: (gst_message_new_error),
9212         (gst_message_new_warning), (gst_message_parse_error),
9213         (gst_message_parse_warning):
9214           use GST_TYPE_G_ERROR for structure_new, and take copies of
9215           arguments, so that we don't mess up refcounting
9216
9217 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9218
9219         * check/Makefile.am:
9220           add per-test valgrind targets
9221         * check/gst-libs/gdp.c: (GST_START_TEST),
9222         (gst_data_protocol_suite), (main):
9223           clean up
9224
9225 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9226
9227         * check/Makefile.am:
9228           instate more valgrindable tests
9229         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9230         (GST_START_TEST), (fakesrc_suite):
9231         * check/gst/gstpad.c: (GST_START_TEST):
9232         * check/gst/gststructure.c: (GST_START_TEST):
9233           fix test leaks
9234         * docs/gst/tmpl/gstminiobject.sgml:
9235         * gst/gstpad.c: (gst_pad_finalize):
9236           fix the static mutex leak
9237
9238 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9239
9240         * check/Makefile.am:
9241           add two more tests for valgrinding
9242         * check/gst/gstvalue.c: (GST_START_TEST):
9243           test refcount of deserialized buffer, found a leak
9244         * docs/gst/gstreamer-docs.sgml:
9245         * docs/gst/gstreamer-sections.txt:
9246         * docs/gst/gstreamer.types:
9247         * docs/gst/tmpl/gstminiobject.sgml:
9248           add miniobject to docs
9249         * gst/gstminiobject.c:
9250           add some docs
9251         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9252         (gst_string_unwrap):
9253           fix a hard-to-find invalid write for one of the tests
9254           fix a leak for deserialized buffers
9255
9256 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9257
9258         * docs/pwg/advanced-events.xml:
9259         * docs/pwg/advanced-request.xml:
9260         * docs/pwg/advanced-scheduling.xml:
9261         * docs/pwg/appendix-porting.xml:
9262         * docs/pwg/building-boiler.xml:
9263         * docs/pwg/intro-preface.xml:
9264         * docs/pwg/other-ntoone.xml:
9265           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9266           of example code and explanation for pad activation, loop() and
9267           getrange() functions and a bit more. Remove old comments pointing
9268           to loop-functions.
9269         * examples/pwg/Makefile.am:
9270           Add loop/getrange examples.
9271
9272 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9273
9274         * configure.ac:
9275           check for valgrind binary + some fixes
9276         * check/gst.supp:
9277           valgrind suppressions for the tests
9278         * check/Makefile.am:
9279           add a valgrind: target that valgrinds the unit tests
9280         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9281         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9282         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9283         * check/gst/gstghostpad.c:
9284           added some cleanup
9285         * check/gst/gstdata.c:
9286           removed
9287         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9288         (thread_unref), (gst_mini_object_suite), (main):
9289           added
9290         * gst/gst.c: (gst_deinit):
9291         * gst/gst.h:
9292           add a method to clean up.
9293         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9294         (gst_system_clock_obtain):
9295           allow for disposing the system clock.
9296         * tools/gst-launch.c: (main):
9297           deinit
9298
9299 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9300
9301         * docs/gst/tmpl/gstbasesrc.sgml:
9302         * docs/gst/tmpl/gstfakesrc.sgml:
9303         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9304         (gst_base_src_init), (gst_base_src_set_property),
9305         (gst_base_src_get_property), (gst_base_src_get_range),
9306         (gst_base_src_start):
9307         * gst/base/gstbasesrc.h:
9308           add num-buffers property
9309         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9310         (gst_fakesrc_init), (gst_fakesrc_set_property),
9311         (gst_fakesrc_get_property), (gst_fakesrc_create),
9312         (gst_fakesrc_start):
9313           remove num-buffers property
9314
9315 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9316
9317         * docs/gst/gstreamer-sections.txt:
9318         * docs/gst/tmpl/gstbasesink.sgml:
9319         * docs/gst/tmpl/gstbasesrc.sgml:
9320         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9321         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9322         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9323         (gst_base_sink_set_property), (gst_base_sink_get_property),
9324         (gst_base_sink_handle_object), (gst_base_sink_event),
9325         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9326         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9327         (gst_base_sink_loop), (gst_base_sink_deactivate),
9328         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9329         (gst_base_sink_change_state):
9330         * gst/base/gstbasesink.h:
9331         * gst/base/gstbasesrc.h:
9332         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9333         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9334         (gst_filesink_init):
9335           more macro splitting
9336
9337 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9338
9339         * gst/gstelement.c: (gst_element_get_bus):
9340           add debug
9341         * tools/gst-launch.c: (check_intr), (event_loop):
9342           fix bus leaks
9343
9344 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9345
9346         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9347           fix a caps leak
9348
9349 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9350
9351         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9352         (gst_base_src_finalize):
9353           add finalize method and clean up properly
9354         * gst/gstpipeline.c: (gst_pipeline_dispose):
9355           add debug
9356
9357 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9358
9359         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9360         (gst_bin_suite):
9361           add more things to check
9362         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9363         * gst/gstelement.c:
9364           more debug
9365
9366 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9367
9368         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9369         (GST_START_TEST), (fakesrc_suite):
9370         * check/gst-libs/gdp.c: (GST_START_TEST):
9371         * check/gst/gst.c: (GST_START_TEST):
9372         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9373         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9374         * check/gst/gstbus.c: (GST_START_TEST):
9375         * check/gst/gstcaps.c: (GST_START_TEST):
9376         * check/gst/gstdata.c: (GST_START_TEST):
9377         * check/gst/gstelement.c: (GST_START_TEST):
9378         * check/gst/gstghostpad.c: (GST_START_TEST):
9379         * check/gst/gstiterator.c: (GST_START_TEST):
9380         * check/gst/gstmessage.c: (GST_START_TEST):
9381         * check/gst/gstobject.c: (GST_START_TEST):
9382         * check/gst/gstpad.c: (GST_START_TEST):
9383         * check/gst/gststructure.c: (GST_START_TEST):
9384         * check/gst/gstsystemclock.c: (GST_START_TEST),
9385         (gst_systemclock_suite):
9386         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9387         * check/gst/gstvalue.c: (GST_START_TEST):
9388         * check/pipelines/cleanup.c: (GST_START_TEST):
9389         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9390         * check/states/sinks.c: (GST_START_TEST):
9391         * check/gstcheck.c: (gst_check_init):
9392         * check/gstcheck.h:
9393           add debugging category
9394           use GST_START_TEST now, so we add a debug line
9395
9396 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9397
9398         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9399           add test for state change message on a bin
9400         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9401           add another test
9402         * gst/gstbin.c: (gst_bin_init):
9403         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9404         * gst/gstelement.c: (gst_element_post_message),
9405         (gst_element_set_state):
9406         * gst/gstelementfactory.c: (gst_element_factory_create):
9407         * gst/gstmessage.c: (gst_message_new):
9408         * gst/gstscheduler.c:
9409           various debugging additions and cleanups
9410
9411 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9412
9413         * check/Makefile.am:
9414         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9415         (main):
9416           adding tests for elements
9417         * gst/gstelement.c: (gst_element_dispose):
9418
9419 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9420
9421         * gst/registries/gstlibxmlregistry.c: (load_feature):
9422           plug more leaks.  A simple gst_init() now is leakfree, yay.
9423
9424 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9425
9426         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9427         (gst_xml_registry_load):
9428           plug another memleak
9429
9430 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9431
9432         * configure.ac:
9433           use GST_SET_ERROR_CFLAGS
9434         * docs/faq/cvs.xml:
9435           change to ERROR_CFLAGS
9436
9437 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9438
9439         * configure.ac:
9440           make GST_ERROR_CFLAGS overridable and re-enable Werror
9441         * docs/faq/cvs.xml:
9442           add a note about error CFLAGS
9443         * docs/gst/tmpl/gstfakesrc.sgml:
9444         * gst/elements/gstfakesrc.c:
9445           comment out some unused code
9446         * gst/gst.c: (split_and_iterate):
9447         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9448         (load_feature):
9449           plug some memleaks
9450
9451 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9452
9453         * common/Makefile.am:
9454         * common/gtk-doc.mak:
9455         * docs/gst/Makefile.am:
9456           factor out gtk-doc.mak
9457
9458 2005-07-07  Wim Taymans  <wim@fluendo.com>
9459
9460         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9461         (gst_thread_scheduler_dispose):
9462         Unlock the STREAM_LOCK completely.
9463
9464 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9465
9466         * check/Makefile.am:
9467         * check/elements/.cvsignore:
9468         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9469         (START_TEST), (fakesrc_suite), (main):
9470         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9471         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9472         (gst_fakesrc_create), (gst_fakesrc_start):
9473         * gst/elements/gstfakesrc.h:
9474           adding a first element test
9475
9476 2005-07-07  Andy Wingo  <wingo@pobox.com>
9477
9478         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9479         debug message.
9480
9481 2005-07-07  Wim Taymans  <wim@fluendo.com>
9482
9483         * gst/gstquery.c:
9484         * gst/gstquery.h:
9485         Remove old types
9486
9487 2005-07-07  Wim Taymans  <wim@fluendo.com>
9488
9489         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9490         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9491         Allow subclasses to implement their own negotiation.
9492
9493 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9494
9495         * docs/design/part-gstbin.txt:
9496         * docs/design/part-gstpipeline.txt:
9497           Update design notes to reflect the movement of
9498           responsibility for bus handling from GstPipeline to
9499           GstBin
9500
9501 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9502
9503         * configure.ac:
9504           Remove unnecessary queue2/3/4 examples.
9505
9506 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9507
9508         * examples/Makefile.am:
9509         * examples/helloworld/helloworld.c: (event_loop), (main):
9510         * examples/queue/queue.c: (event_loop), (main):
9511         * examples/queue2/queue2.c: (main):
9512           Update a couple of the examples to work again.
9513
9514         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9515         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9516          Spelling corrections and extra debug.
9517         
9518         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9519         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9520         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9521         * gst/gstbin.h:
9522         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9523         (gst_pipeline_change_state):
9524         * gst/gstpipeline.h:
9525           Move the bus handler for children to the GstBin, and create a
9526           separate bus for receiving messages from children to the one the
9527           bus sends 'upwards' on.
9528
9529 2005-07-06  Wim Taymans  <wim@fluendo.com>
9530
9531         * gst/base/README:
9532         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9533         (gst_base_sink_handle_object), (gst_base_sink_loop),
9534         (gst_base_sink_change_state):
9535         * gst/base/gstbasesink.h:
9536         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9537         (gst_base_src_init), (gst_base_src_setcaps),
9538         (gst_base_src_getcaps), (gst_base_src_loop),
9539         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9540         (gst_base_src_start), (gst_base_src_change_state):
9541         * gst/base/gstbasesrc.h:
9542         Make basesrc negotiate.
9543         Handle the case where preroll fails in basesink.
9544         Update README.
9545
9546 2005-07-06  Wim Taymans  <wim@fluendo.com>
9547
9548         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9549         Implement the fixate function.
9550         Clean up acceptcaps.
9551
9552 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9553
9554         * docs/pwg/building-filterfactory.xml:
9555         * docs/pwg/pwg.xml:
9556           Remove never-written filter-factory chapter; I'll add the various
9557           base classes to part 4 ("other element types") later on.
9558
9559 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9560
9561         * docs/pwg/advanced-negotiation.xml:
9562         * docs/pwg/building-boiler.xml:
9563         * docs/pwg/building-pads.xml:
9564         * docs/pwg/pwg.xml:
9565         * examples/pwg/Makefile.am:
9566           Add a chapter on caps negotiation, simplify the original code
9567           samples a bit w.r.t. caps negotiation, add link to the advanced
9568           section. Add a bunch of examples showing different use cases of
9569           different types of caps negotiation. Upstream renegotiation isn't
9570           fully documented yet since nobody knows how that works.
9571
9572 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9573
9574         * check/gst/gstpad.c:
9575         * check/gstcheck.c:
9576         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9577           if pad has no parent, return NULL as list of internal links
9578
9579 2005-07-05  Andy Wingo  <wingo@pobox.com>
9580
9581         * gst/elements/gstfilesrc.c:
9582         * gst/elements/gstfakesrc.c: 
9583         * gst/base/gstpushsrc.c:
9584         * gst/base/gstbasesrc.h: 
9585         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9586         
9587 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9588
9589         * Makefile.am:
9590           better report generation target (lcov needs a patch)
9591
9592 2005-07-05  Andy Wingo  <wingo@pobox.com>
9593
9594         * gst/elements, testsuite: Null if we got it...
9595
9596 2005-07-05  Wim Taymans  <wim@fluendo.com>
9597
9598         * configure.ac:
9599         * libs/gst/dataprotocol/Makefile.am:
9600         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9601         * libs/gst/dataprotocol/dataprotocol.h:
9602         * pkgconfig/Makefile.am:
9603         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9604         * pkgconfig/gstreamer-dataprotocol.pc.in:
9605         Ported dataprotol to 0.9. 
9606         Added pkgconfig files.
9607
9608 2005-07-05  Andy Wingo  <wingo@pobox.com>
9609
9610         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9611         Default to returning TRUE for the case when tranform_caps returns
9612         a fixed caps, like for identity or volume.
9613
9614         * check/gst/gstbus.c (pound_bus_with_messages): 
9615         * check/gst/gstmessage.c (START_TEST): 
9616         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9617         message API change.
9618
9619         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9620         logic weaks here: always run transform_caps, trying passthrough
9621         operation only if the original caps intersects with the transform.
9622
9623         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9624         source and sink caps.
9625
9626         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9627         Intersect the peer caps with the pad template before going into
9628         transform_caps.
9629         (gst_base_transform_transform_caps): More debugging.
9630
9631         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9632         src argument.
9633
9634 2005-07-04  Edward Hervey  <edward@fluendo.com>
9635
9636         * gst/gstutils.c:
9637         * gst/gstutils.h:
9638         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9639         in bindings.
9640
9641 2005-07-04  Andy Wingo  <wingo@pobox.com>
9642
9643         * check/gst/gstpad.c: Only set explicit caps on pads.
9644
9645 2005-07-01  Andy Wingo  <wingo@pobox.com>
9646
9647         * tests/network-clock.scm: Commentary update.
9648
9649         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9650         Didn't really make sense, not implementable with basetransform,
9651         etc.
9652         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9653         attempt at implementing the sync property, needs an unlock method.
9654
9655         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9656         New func, by default returns the same caps (the identity
9657         transformation).
9658         (gst_base_transform_getcaps): Uses transform_caps to return
9659         something sensible.
9660         (gst_base_transform_setcaps): Complicated logic to get caps on
9661         both pads, even if they are different, and to call set_caps once
9662         for every time both pads get their caps set.
9663         (gst_base_transform_handle_buffer): Give the ref to the transform
9664         function. Allows in-place modification of the buffer.
9665
9666         * gst/base/gstbasetransform.h (transform_caps): New class method.
9667         Given caps on one side, what can I do on the other.
9668         (set_caps): Take two caps, one for each side of the element.
9669
9670         * gst/gstpad.h:
9671         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9672         caps in place. This is safe because we can check the mutability of
9673         the caps, and a good idea because fixate functions are just called
9674         as a matter of last resort. (Not actually implemented.)
9675         (gst_pad_set_caps): If the caps we're setting is actually the same
9676         as the existing pad caps, just update the pointer without calling
9677         setcaps. Assert that caps is either NULL or fixed, as per the
9678         docs.
9679
9680         * gst/gstghostpad.c: Update for fixate changes.
9681
9682 2005-07-02  Andy Wingo  <wingo@pobox.com>
9683
9684         * gst/gstcaps.c:
9685         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9686         two refcounts makes it immutable, which is enough. Doc more.
9687
9688 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9689
9690         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9691           Put the mini_object into GValue as a mini_object,
9692           not a gpointer, since that's how we declared
9693           the signal.
9694
9695 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9696
9697         * examples/pwg/Makefile.am:
9698           Fix buildbot again.
9699
9700 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9701
9702         * docs/pwg/building-testapp.xml:
9703           Add extra check.
9704         * examples/pwg/Makefile.am:
9705           Fix buildbot.
9706
9707 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9708
9709         * configure.ac:
9710         * examples/Makefile.am:
9711         * examples/pwg/Makefile.am:
9712         * examples/pwg/extract.pl:
9713           Enable building the PWG examples.
9714         * docs/pwg/advanced-interfaces.xml:
9715           Add URI interface stub.
9716         * docs/pwg/advanced-types.xml:
9717         * docs/pwg/other-autoplugger.xml:
9718         * docs/pwg/appendix-porting.xml:
9719         * docs/pwg/pwg.xml:
9720           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9721         * docs/pwg/building-boiler.xml:
9722         * docs/pwg/building-chainfn.xml:
9723         * docs/pwg/building-pads.xml:
9724         * docs/pwg/building-props.xml:
9725         * docs/pwg/building-state.xml:
9726         * docs/pwg/building-testapp.xml:
9727           Update the building-*.xml parts for 0.9 changes. All examples
9728           code blocks compile in examples/pwg/*.
9729
9730 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9731
9732         * docs/manual/advanced-autoplugging.xml:
9733         * docs/manual/appendix-checklist.xml:
9734         * docs/manual/appendix-integration.xml:
9735         * docs/manual/highlevel-components.xml:
9736           Fix playbin/decodebin examples, update docs a bit, mention bus
9737           instead of signals in various places, mention kmplayer and
9738           kaffeine since they have a working GStreamer backend in the KDE
9739           section.
9740
9741 2005-06-30  Wim Taymans  <wim@fluendo.com>
9742
9743         * CHANGES-0.9:
9744         * docs/design/draft-ghostpads.txt:
9745         * docs/design/draft-push-pull.txt:
9746         * docs/design/draft-query.txt:
9747         * docs/design/part-TODO.txt:
9748         * docs/design/part-query.txt:
9749         Added CHANGES-0.9 doc, updated status of other docs.
9750         
9751         * gst/gstquery.h:
9752         Remove "hmm" macro
9753
9754 2005-06-30  Wim Taymans  <wim@fluendo.com>
9755
9756         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9757         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9758         (gst_base_sink_change_state):
9759         * gst/base/gstbasesink.h:
9760         Some tweaks, only EOS and a buffer complete a preroll.
9761
9762 2005-06-30  Andy Wingo  <wingo@pobox.com>
9763
9764         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9765         activate_push down to the internal pad as well.
9766
9767 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9768
9769         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9770
9771         * gst/gsttaginterface.c:
9772           Some documentation fixes (#307394 and #307397).
9773
9774 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9775
9776         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9777
9778         * gst/gstvalue.c: (gst_value_intersect_list):
9779           Fix memleak (#309125).
9780
9781 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9782
9783         * docs/manual/advanced-dataaccess.xml:
9784           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9785         * docs/manual/basics-pads.xml:
9786           Add reference for filtered caps to above chapter.
9787
9788 2005-06-30  Wim Taymans  <wim@fluendo.com>
9789
9790         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9791         (gst_bin_change_state):
9792         Probes are gone.
9793         Lame attempt at making the state change function a bit
9794         more readable.
9795
9796 2005-06-30  Wim Taymans  <wim@fluendo.com>
9797
9798         * docs/design/part-clocks.txt:
9799         * docs/design/part-element-sink.txt:
9800         * docs/design/part-events.txt:
9801         * docs/design/part-preroll.txt:
9802         * docs/design/part-states.txt:
9803         Some more tweeks and additions to the docs.
9804
9805 2005-06-30  Wim Taymans  <wim@fluendo.com>
9806
9807         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9808         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9809         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9810         (gst_pad_check_pull_range), (gst_pad_get_range),
9811         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9812         * gst/gstpad.h:
9813         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9814         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9815         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9816         (gst_pad_remove_buffer_probe):
9817         Removed atomic operations, use existing LOCK.
9818         Move exception handling out of main code path.
9819
9820 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9821
9822         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9823         (silly_return_true_function), (gst_pad_class_init),
9824         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9825         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9826         (gst_pad_send_event):
9827           Fix accumulator, add default value by using _emitv() instead
9828           of _emit() for signal emission.
9829
9830 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9831
9832         * docs/manual/advanced-dataaccess.xml:
9833         * examples/manual/Makefile.am:
9834           Add probe example.
9835         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9836           Make work (??).
9837
9838 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9839
9840         * gst/elements/gstfilesink.c: (gst_filesink_render):
9841           Simplify code so that we don't have to handle short
9842           writes and return GST_FLOW_ERROR if an error occured.
9843
9844 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9845
9846         * docs/gst/gstreamer-docs.sgml:
9847           Remove probes more.
9848
9849 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9850
9851         * docs/gst/gstreamer-sections.txt:
9852         * docs/gst/tmpl/gstpad.sgml:
9853         * docs/gst/tmpl/gstprobe.sgml:
9854         * gst/Makefile.am:
9855         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9856         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9857         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9858         (gst_pad_push_event), (gst_pad_send_event):
9859         * gst/gstpad.h:
9860         * gst/gstutils.c: (gst_pad_add_data_probe),
9861         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9862         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9863         (gst_pad_remove_buffer_probe):
9864         * gst/gstutils.h:
9865           Remove old probes, add new g-signal-based probes and some utility
9866           functions.
9867
9868 2005-06-29  Edward Hervey  <edward@fluendo.com>
9869
9870         * gst/gstelementfactory.c:
9871         * gst/gstutils.h:
9872         * gst/gstutils.c:
9873         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9874         the definition to the header file.
9875
9876 2005-06-29  Andy Wingo  <wingo@pobox.com>
9877
9878         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9879         plugins from the source directory.
9880
9881 2005-06-29  Wim Taymans  <wim@fluendo.com>
9882
9883         * docs/gst/tmpl/gstbuffer.sgml:
9884         * docs/gst/tmpl/gstclock.sgml:
9885         Some fixings for blantently wrong text.
9886
9887 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9888
9889         * check/Makefile.am:
9890         * gst/gst.c: (add_path_func), (init_pre):
9891         * gst/gstregistry.c: (gst_registry_add_path):
9892           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9893           only scan the GST_PLUGIN_PATH locations, and not add
9894           system locations
9895
9896 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9897
9898         * docs/gst/gstreamer-sections.txt:
9899         * docs/gst/tmpl/gstbasesrc.sgml:
9900         * gst/gstelement.c:
9901         * gst/gstelement.h:
9902         * gst/gstevent.c:
9903         * gst/gstutils.c:
9904           doc fixes
9905
9906 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9907
9908         * docs/manual/advanced-autoplugging.xml:
9909           Fix autoplugging example.
9910
9911 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9912
9913         * docs/manual/advanced-autoplugging.xml:
9914         * docs/manual/mime-world.fig:
9915           Try to get autoplugging working, fix type detection. Fix text
9916           in hello-world image.
9917
9918 2005-06-29  Wim Taymans  <wim@fluendo.com>
9919
9920         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9921         (gst_base_sink_change_state):
9922         Small debug line.
9923
9924         * gst/gstclock.h:
9925         map SIGNAL and BROADCAST to the right function.
9926
9927         * gst/gstobject.h:
9928         Remove redundant braces.
9929
9930         * gst/gstpad.c: (gst_pad_set_caps):
9931         Don't call setcaps function when reseting caps to NULL.
9932
9933         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9934         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9935         (gst_system_clock_id_unschedule):
9936         Use BROADCAST as this is what we do.
9937
9938 2005-06-29  Wim Taymans  <wim@fluendo.com>
9939
9940         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9941         We are actually prerolling before commiting the state
9942         change. 
9943
9944 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9945
9946         * docs/manual/advanced-clocks.xml:
9947         * docs/manual/advanced-interfaces.xml:
9948         * docs/manual/advanced-metadata.xml:
9949         * docs/manual/advanced-position.xml:
9950         * docs/manual/advanced-schedulers.xml:
9951         * docs/manual/advanced-threads.xml:
9952         * docs/manual/appendix-porting.xml:
9953         * docs/manual/basics-bins.xml:
9954         * docs/manual/basics-bus.xml:
9955         * docs/manual/basics-elements.xml:
9956         * docs/manual/basics-helloworld.xml:
9957         * docs/manual/basics-pads.xml:
9958         * docs/manual/highlevel-components.xml:
9959         * docs/manual/manual.xml:
9960         * docs/manual/thread.fig:
9961           Update (until threads/scheduling) Application Development Manual;
9962           remove GstThread, add GstBus, add simple porting checklist, add
9963           documentation for tag writing, clocks, make all examples until this
9964           part compile and run.
9965         * examples/manual/Makefile.am:
9966           Update from changes to Application Development Manual; add bus
9967           example, remove thread example.
9968
9969 2005-06-28  Wim Taymans  <wim@fluendo.com>
9970
9971         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9972         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9973         (gst_bus_source_dispatch):
9974         Add debugging messages.
9975         Make internal methods static.
9976         Handle the case where the bus is flushed in the handler.
9977         
9978         * gst/gstelement.c: (gst_element_get_bus):
9979         Fix refcount in _get_bus();
9980
9981         * gst/gstpipeline.c: (gst_pipeline_change_state),
9982         (gst_pipeline_get_clock_func):
9983         Clock refcounting fixes.
9984         Handle the case where preroll timed out more gracefully.
9985         
9986         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9987         Clean up the internal thread in dispose. This is needed
9988         for subclasses that actually get disposed.
9989         
9990         * gst/schedulers/threadscheduler.c:
9991         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9992         (gst_thread_scheduler_dispose):
9993         Free thread pool in dispose.
9994
9995 2005-06-28  Andy Wingo  <wingo@pobox.com>
9996
9997         * tests/network-clock-utils.scm (debug, print-event): New utils.
9998
9999         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10000         (*packet-loss*): Unified loss probability.
10001         (network-time): Report out-of-band events.
10002
10003         * tests/plot-data: Add support for out-of-band events. Hack it
10004         into this script instead of passing it down the pipe; should fix
10005         this later.
10006
10007 2005-06-28  Wim Taymans  <wim@fluendo.com>
10008
10009         * docs/gst/gstreamer.types:
10010         * docs/gst/tmpl/gstbasesrc.sgml:
10011         * docs/gst/tmpl/gstpad.sgml:
10012         Docs fixes.
10013
10014 2005-06-28  Wim Taymans  <wim@fluendo.com>
10015
10016         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10017         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10018         (gst_proxy_pad_do_fixatecaps):
10019         Correctly proxy the check_pull_range function.
10020
10021 2005-06-28  Andy Wingo  <wingo@pobox.com>
10022
10023         * tests/network-clock.scm: Removed need for slib.
10024         
10025 2005-06-28  Wim Taymans  <wim@fluendo.com>
10026
10027         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10028         (gst_basesink_preroll_queue_flush):
10029         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10030         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10031         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10032         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10033         (gst_proxy_pad_set_property):
10034         * gst/gstpad.c:
10035         * gst/gstpad.h:
10036         * gst/gstqueue.c: (gst_queue_init):
10037         The deprecated pad loop function is removed now.
10038
10039 2005-06-28  Andy Wingo  <wingo@pobox.com>
10040
10041         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10042         New parameters, simulate network packet loss.
10043
10044         * tests/network-clock-utils.scm: Initialize the RNG.
10045
10046 2005-06-28  Wim Taymans  <wim@fluendo.com>
10047
10048         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10049         (gst_basesink_event), (gst_basesink_deactivate):
10050         Flushing the preroll queue always needs to unlock the waiters.
10051
10052 2005-06-28  Edward Hervey  <edward@fluendo.com>
10053
10054         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10055         Wheen a seek was successful on a pipeline, set the stream_time to the
10056         seek offset in order to have a synchronized stream_time.
10057
10058 2005-06-28  Wim Taymans  <wim@fluendo.com>
10059
10060         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10061         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10062         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10063         (gst_proxy_pad_do_fixatecaps):
10064         Call wrapper function instead of just calling the function
10065         pointers. This takes care of any locking and whatmore.
10066
10067 2005-06-28  Wim Taymans  <wim@fluendo.com>
10068
10069         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10070         (gst_pad_pull_range):
10071         * gst/gstpad.h:
10072         CONNECTED -> LINKED.
10073
10074 2005-06-28  Andy Wingo  <wingo@pobox.com>
10075
10076         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10077         source-munging commit!!!
10078
10079         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10080         (gst_object_sink): Take gpointer arguments, not GstObject --
10081         avoids casts. Like GLib.
10082
10083         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10084         activate.
10085
10086 2005-06-27  Andy Wingo  <wingo@pobox.com>
10087
10088         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10089         remaining buffer.
10090
10091         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10092         returns a sorted copy of the trace list.
10093         (gst_alloc_trace_print_live): New API, only prints traces with
10094         live objects. Sort the list.
10095         (gst_alloc_trace_print_all): Sort the list.
10096         (gst_alloc_trace_print): Align columns.
10097
10098         * gst/elements/gstttypefindelement.c:
10099         * gst/elements/gsttee.c:
10100         * gst/base/gstbasesrc.c:
10101         * gst/base/gstbasesink.c:
10102         * gst/base/gstbasetransform.c:
10103         * gst/gstqueue.c: Adapt for pad activation changes.
10104
10105         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10106         sched.
10107         (gst_pipeline_dispose): Drop ref on sched.
10108
10109         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10110         (gst_pad_activate_default): Push mode by default.
10111         (pre_activate_switch, post_activate_switch): New stubs, things to
10112         do before and after switching activation modes on pads.
10113         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10114         the pad's activate function to choose which mode to activate.
10115         Shortcut on deactivation and call the right function directly.
10116         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10117         mode.
10118         (gst_pad_activate_push): New API, same for push mode.
10119         (gst_pad_set_activate_function) 
10120         (gst_pad_set_activatepull_function) 
10121         (gst_pad_set_activatepush_function): Setters for new API.
10122
10123         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10124         Trace all miniobjects.
10125         (gst_mini_object_make_writable): Unref the arg if we copy, like
10126         gst_caps_make_writable.
10127
10128         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10129
10130         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10131         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10132         Adapt for new pad API.
10133
10134         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10135
10136         * gst/gstelement.h:
10137         * gst/gstelement.c (gst_element_iterate_src_pads) 
10138         (gst_element_iterate_sink_pads): New API functions.
10139         
10140         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10141         should fold into gstiterator.c in some form.
10142         (gst_element_pads_activate): Simplified via use of fold and
10143         delegation of decisions to gstpad->activate.
10144
10145         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10146         help in debugging.
10147
10148         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10149         class once in init, like gstmessage. Didn't run into this issue
10150         but it seems correct. Don't initialize a trace, gstminiobject does
10151         that.
10152
10153         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10154         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10155         to the bus.
10156         (assert_live_count): New util function, uses alloc traces to check
10157         cleanup.
10158
10159         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10160         To be modified when unlink drops the internal pad.
10161
10162 2005-06-27  Wim Taymans  <wim@fluendo.com>
10163
10164         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10165         (gst_bin_change_state):
10166         Cleanup the get_state() function a little, make sure it
10167         iterates the same set of elements.
10168         Added stub iterate_state_order().
10169
10170 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10171
10172         * docs/gst/gstreamer-docs.sgml:
10173         * docs/gst/gstreamer-sections.txt:
10174         * docs/gst/gstreamer.types:
10175         * docs/gst/tmpl/gstbasesink.sgml:
10176         * docs/gst/tmpl/gstbasesrc.sgml:
10177         * docs/gst/tmpl/gstbasetransform.sgml:
10178         * docs/gst/tmpl/gstelement.sgml:
10179         * docs/gst/tmpl/gstiterator.sgml:
10180         * gst/base/gstbasesrc.c:
10181         * gst/base/gstbasesrc.h:
10182         * gst/base/gstbasetransform.h:
10183         * gst/gstelement.c:
10184         * gst/gstiterator.h:
10185           adding basetransform and iterator docs
10186
10187 2005-06-27  Andy Wingo  <wingo@pobox.com>
10188
10189         * docs/design/part-activation.txt: Notes on how activation should
10190         work -- not quite implemented yet.
10191
10192 2005-06-25  Wim Taymans  <wim@fluendo.com>
10193
10194         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10195         At least get the chain function correct, needs more
10196         fixing.
10197
10198 2005-06-25  Wim Taymans  <wim@fluendo.com>
10199
10200         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10201         (gst_basesink_handle_object), (gst_basesink_event),
10202         (gst_basesink_do_sync), (gst_basesink_handle_event),
10203         (gst_basesink_change_state):
10204         * gst/gsttask.h:
10205         Right, two problems here: ghostpads don't take locks and
10206         glib _rec_mutex_lock_full() with depth==0 still locks.
10207         Catch illegal locking and g_warn them.
10208
10209 2005-06-25  Wim Taymans  <wim@fluendo.com>
10210
10211         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10212         Have to check for completion now...
10213
10214 2005-06-25  Wim Taymans  <wim@fluendo.com>
10215
10216         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10217         (gst_basesink_handle_object), (gst_basesink_event),
10218         (gst_basesink_do_sync), (gst_basesink_handle_event),
10219         (gst_basesink_change_state):
10220         * gst/gstpad.h:
10221         Unlock STREAM_LOCK whatever the recursion was.
10222
10223 2005-06-25  Wim Taymans  <wim@fluendo.com>
10224
10225         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10226         (gst_basesink_preroll_queue_empty),
10227         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10228         (gst_basesink_event), (gst_basesink_do_sync),
10229         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10230         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10231         (gst_basesink_change_state):
10232         Reworked the base sink, handle event and buffer serialisation
10233         correctly and removed possible deadlock.
10234         Handle EOS correctly.
10235
10236 2005-06-25  Wim Taymans  <wim@fluendo.com>
10237
10238         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10239         (gst_pipeline_change_state):
10240         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10241         Allow elements to post EOS in the state change function.
10242         Fix up -launch, make it exit the poll loop when the
10243         pipeline actually changed state.
10244         Fix up warning parsing in -launch.
10245
10246 2005-06-25  Wim Taymans  <wim@fluendo.com>
10247
10248         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10249         (gst_tee_sink_activate):
10250         Core takes STREAM_LOCK for us now.
10251
10252 2005-06-25  Wim Taymans  <wim@fluendo.com>
10253
10254         * gst/gstelement.c: (gst_element_get_state_func),
10255         (gst_element_set_state):
10256         * gst/gstelement.h:
10257         * gst/gstmessage.c: (gst_message_parse_error),
10258         (gst_message_parse_warning):
10259         Keep track of current target state while performing a state
10260         change so that subclasses can do something interesting.
10261         Fix parsing of warning/error messages when GError is NULL.
10262
10263 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10264
10265         * docs/gst/Makefile.am:
10266         * docs/gst/gstreamer-docs.sgml:
10267         * docs/gst/gstreamer-sections.txt:
10268         * docs/gst/gstreamer.types:
10269         * docs/gst/tmpl/gstbasesink.sgml:
10270         * docs/gst/tmpl/gstbasesrc.sgml:
10271         * docs/gst/tmpl/gstbin.sgml:
10272         * docs/gst/tmpl/gstcompat.sgml:
10273         * docs/gst/tmpl/gstfakesink.sgml:
10274         * docs/gst/tmpl/gstfakesrc.sgml:
10275         * docs/gst/tmpl/gstfilesink.sgml:
10276         * docs/gst/tmpl/gstfilesrc.sgml:
10277         * docs/gst/tmpl/gstindex.sgml:
10278         * docs/manual/appendix-quotes.xml:
10279         * gst/base/gstbasesrc.h:
10280         * gst/elements/gstfakesrc.h:
10281         * gst/gstmessage.h:
10282           start pulling in base classes and elements in our docs
10283
10284 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10285
10286         * docs/gst/Makefile.am:
10287         * docs/libs/Makefile.am:
10288           fixed make distcheck with gtk-doc 1.3
10289
10290 2005-06-23  Wim Taymans  <wim@fluendo.com>
10291
10292         * gst/gstelement.c: (gst_element_get_state_func),
10293         (gst_element_set_state), (gst_element_change_state):
10294         When the state did not change, also report NO_PREROLL
10295         when it matters.
10296
10297 2005-06-23  Wim Taymans  <wim@fluendo.com>
10298
10299         * gst/gstpad.c: (gst_pad_event_default):
10300         * gst/gstqueue.c: (gst_queue_loop):
10301         No unsafe task pausing please.
10302
10303 2005-06-23  Wim Taymans  <wim@fluendo.com>
10304
10305         * gst/schedulers/threadscheduler.c:
10306         (gst_thread_scheduler_task_start),
10307         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10308         Ref the task before pushing it on the threadpool. This
10309         makes sure that we have a ref when the threadfunction is
10310         actually called.
10311
10312 2005-06-23  Andy Wingo  <wingo@pobox.com>
10313
10314         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10315         offset is greater than the file's size.
10316
10317         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10318         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10319         * gst/gstobject.c (gst_object_class_init): Make the class lock
10320         recursive. Wim won't let me drop deep_notify. Decodebin works
10321         again, whoopdy doo.
10322
10323         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10324         internal pad, and hacks accordingly. Doesn't do it on the target
10325         pad because we change its caps. Probably catches all cases of
10326         interest tho.
10327         (gst_ghost_pad_set_property): Connect to notify::caps as
10328         appropritate.
10329
10330         * tests/network-clock.scm (plot-simulation): Pipe data to the
10331         elite python skript.
10332
10333         * tests/network-clock-utils.scm (define-parameter): New macro,
10334         defines a parameter that can be set via the command line.
10335         (set-parameter!, parse-parameter-arguments): Command line args
10336         parser.
10337
10338         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10339         stdin.
10340
10341 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10342
10343         * gst/elements/gsttypefindelement.c:
10344         (gst_type_find_element_handle_event):
10345           Don't restart typefinding on a discont.
10346         * gst/gstelement.c: (gst_element_set_state):
10347           Debug spelling fix.
10348         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10349           Allow changing mode of an active pad.
10350           Debug output fixes.
10351         * gst/registries/gstlibxmlregistry.c: (load_feature):
10352           Don't cast a static pad template to a normal pad template.
10353
10354 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10355
10356         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10357         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10358           remove gst_strtoll completely, since it didn't actually do
10359           anything more than what g_ascii_strtoull already does.
10360           check for range errors when deserializing
10361           do a cast for the unsigned cases; but further fixing needs
10362           a decision on what the interpretation of "(int)" and
10363           deserialization should be for values that fall outside the
10364           type's boundaries (ie, refuse, or interpret as casting)
10365
10366 2005-06-23  Wim Taymans  <wim@fluendo.com>
10367
10368         * check/Makefile.am:
10369         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10370         * docs/design/part-live-source.txt:
10371         * docs/design/part-states.txt:
10372         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10373         (gst_basesrc_set_live), (gst_basesrc_is_live),
10374         (gst_basesrc_get_range), (gst_basesrc_activate),
10375         (gst_basesrc_change_state):
10376         * gst/base/gstbasesrc.h:
10377         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10378         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10379         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10380         * gst/gstelement.c: (gst_element_get_state_func),
10381         (gst_element_set_state):
10382         * gst/gstelement.h:
10383         * gst/gsttypes.h:
10384         * tools/gst-launch.c: (event_loop), (main):
10385         Added support for live sources and other elements that
10386         cannot do preroll.
10387         Updated design docs, added live-source design doc.
10388         Implemented live source functionality in basesrc
10389         Fix error condition in _bin_get_state()
10390         Implement live source handling in -launch.
10391         Added check for live sources.
10392         Fixed case in GstBin where elements were changed state
10393         multiple times.
10394
10395
10396 2005-06-23  Andy Wingo  <wingo@pobox.com>
10397
10398         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10399         borken refcounting.
10400
10401         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10402         gst_caps_replace takes care of this for us.
10403
10404         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10405         gst_pad_set_caps on the target, not just its setcaps() function.
10406
10407         * tests/network-clock.scm: 
10408         * tests/network-clock-utils.scm: A network clock simulator.
10409         Something of an algorithmic testbed before doing something in C.
10410
10411 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10412
10413         * check/Makefile.am:
10414         * check/gst/capslist.h:
10415           copy over from 0.8, and add two with bitmasks specified with
10416           (int) 0xFF...
10417         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10418           add test to parse everything from capslist.h
10419         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10420         (main):
10421           add test for structure deserialization
10422         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10423           add tests for deserialization of strings to int types
10424         * gst/gststructure.c: (gst_structure_nth_field_name):
10425         * gst/gststructure.h:
10426           add a way to get the name of a field referenced by index
10427         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10428           instead of checking if the resulting long long lies between
10429           min and max, we check if the long long would fit into
10430           a number of bytes for the final type.
10431           This fixes cases where a string represents 2^32 - 1, which
10432           when cast to int would be the (valid) -1, but is bigger than
10433           G_MAXINT
10434
10435 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10436
10437         * gst/parse/grammar.y:
10438           add a log line for type deserialization
10439
10440 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10441
10442         * check/gst/gstvalue.c: (START_TEST):
10443         * gst/gstvalue.c: (gst_value_deserialize):
10444           return long long, not int, so gint64 deserialization actually
10445           works.  Is there any flag that makes the compiler check this ?
10446           Fixes #308559
10447
10448 2005-06-22  Wim Taymans  <wim@fluendo.com>
10449
10450         * gst/gstbuffer.h:
10451         Added convenience macros for setting buffers in GValue.
10452
10453 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10454
10455         * check/gst/.cvsignore:
10456         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10457           add a test deserializing int64, and comment part out because
10458           it fails, yay !
10459
10460 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10461
10462         * check/Makefile.am:
10463         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10464         * testsuite/Makefile.am:
10465         * testsuite/caps/Makefile.am:
10466         * testsuite/caps/value_serialize.c:
10467         * testsuite/test_gst_init.c:
10468           move a value_serialize test over
10469
10470 2005-06-20  Wim Taymans  <wim@fluendo.com>
10471
10472         * gst/gstpad.c:
10473         Small doc updates.
10474         
10475         * gst/gstvalue.c: (gst_value_compare_buffer),
10476         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10477         (gst_value_compare_flags), (gst_value_serialize_flags),
10478         (gst_value_deserialize_flags), (_gst_value_initialize):
10479         Fix serialisation of buffers, they are not boxed types anymore
10480
10481 2005-06-20  Wim Taymans  <wim@fluendo.com>
10482
10483         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10484         Testcase to show error in buffer-on-caps serialisation.
10485
10486 2005-06-20  Andy Wingo  <wingo@pobox.com>
10487
10488         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10489         will be adding to later.
10490
10491         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10492         if its socks fill with rocks.
10493         (gst_system_clock_obtain): Set the name on object construction.
10494         Avoid double-checked locking.
10495
10496 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10497
10498         * gst/gsturi.c: (gst_element_make_from_uri):
10499           Fix potential endless loop.
10500
10501 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10502
10503         * check/Makefile.am:
10504           add gsttag
10505         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10506         (main):
10507           move over from testsuite dir and clean up
10508         * configure.ac:
10509         * gst/gsttag.c:
10510         * testsuite/Makefile.am:
10511         * testsuite/tags/.cvsignore:
10512         * testsuite/tags/Makefile.am:
10513         * testsuite/tags/merge.c:
10514           remove testsuite/tags
10515
10516 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10517
10518         * docs/gst/gstreamer-sections.txt:
10519         * docs/gst/tmpl/gstenumtypes.sgml:
10520         * win32/gstenumtypes.c:
10521           clean up documentation build a little
10522
10523 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10524
10525         * check/gstcheck.h:
10526           add macros for checking refcounts on objects and caps
10527         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10528           add some more unit tests
10529         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10530         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10531           fix leaked refcounts (I hope :)) so unittest works
10532         * gst/gstpad.h:
10533           whitespace removal
10534
10535 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10536
10537         * configure.ac: back to HEAD
10538
10539 === release 0.9.1 ===
10540
10541 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10542
10543         * NEWS:
10544         * RELEASE:
10545           updated
10546
10547 2005-06-17  Andy Wingo  <wingo@pobox.com>
10548
10549         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10550         assert; it's always possible that the pad gets deactivated in
10551         between the checks in gstpad.c and the implementation. Rely on
10552         finish_preroll() to return a FLUSHING or similar instead of on the
10553         assert.
10554         
10555         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10556         clock and post an EOS message if we come out of finish_preroll in
10557         the playing state.
10558
10559 2005-06-16  David Schleef  <ds@schleef.org>
10560
10561         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10562         (gst_capsfilter_set_property): Allow NULL as possible value
10563         for filter_caps property, indicating GST_CAPS_ANY.
10564
10565 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10566
10567         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10568           fix debug output
10569         * gst/schedulers/Makefile.am:
10570           use libgst prefix
10571         * gstreamer.spec.in:
10572           fix spec for it
10573
10574 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10575
10576         * gstreamer.spec.in:
10577           clean up
10578
10579 2005-06-08  Andy Wingo  <wingo@pobox.com>
10580
10581         * gst/gstutils.c: RPAD fixes all around.
10582         (gst_element_link_pads): Refcounting fixes.
10583
10584         * tools/gst-inspect.c:
10585         * tools/gst-xmlinspect.c:
10586         * parse/grammar.y:
10587         * gst/base/gsttypefindhelper.c:
10588         * gst/base/gstbasesink.c:
10589         * gst/gstqueue.c: RPAD fixes.
10590
10591         * gst/gstghostpad.h:
10592         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10593         pads. The tricky thing is they provide both source and sink
10594         interfaces, since they proxy the internal pad for the external
10595         pad, and vice versa. Implement with lower-level ProxyPad objects,
10596         with the interior proxy pad as a child of the exterior ghost pad.
10597         Should write a doc on this.
10598         
10599         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10600         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10601         gst_object API.
10602         
10603         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10604         pads are real pads. No ghost pads in this file. Not documenting
10605         the myriad s/RPAD/PAD/ and REALIZE fixes.
10606         (gst_pad_class_init): Add properties for "direction" and
10607         "template". Both are construct-only, so they can't change during
10608         the life of the pad. Fixes properly deriving from GstPad.
10609         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10610         derived objects, just set properties when creating the objects via
10611         g_object_new.
10612         (gst_pad_get_parent): Implement as a function, return NULL if the
10613         parent is not an element.
10614         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10615         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10616         
10617         * gst/gstobject.c (gst_object_class_init): Make name a construct
10618         property. Don't set it in the object init.
10619
10620         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10621         with UNKNOWN direction.
10622         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10623         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10624         (gst_element_remove_pad): Remove ghost-pad special cases.
10625         (gst_element_pads_activate): Remove rpad cruft.
10626
10627         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10628         catch the pad's-parent-not-an-element case.
10629
10630         * gst/gst.h: Include gstghostpad.h.
10631
10632         * gst/gst.c (init_post): No more real, ghost pads.
10633
10634         * gst/Makefile.am: Add gstghostpad.[ch].
10635
10636         * check/Makefile.am:
10637         * check/gst/gstbin.c:
10638         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10639         into a bin creates ghost pads, and that the refcounts are right.
10640         Partly moved from gstbin.c.
10641
10642 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10643
10644         * check/gst-libs/.cvsignore:
10645         * check/gst/.cvsignore:
10646         * check/pipelines/.cvsignore:
10647           ignore more
10648         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10649         (START_TEST), (cleanup_suite), (main):
10650           add some tests related to cleanup after running pipelines
10651
10652 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10653
10654         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10655           add a testsuite for GstBuffer
10656
10657 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10658
10659         * gst/gstminiobject.h:
10660           add defines for accessing the refcount
10661
10662 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10663
10664         * Makefile.am: added support for html unit test coverage reports
10665
10666 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10667
10668         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10669           Free existing caps if the capsfilter changes. Add a FIXME about
10670           setting those caps on the pads.
10671
10672         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10673           Before adding a ghost pad to a parent bin, check that there isn't
10674           already one for the element on the bin. Prevents infinite recursion
10675           when using decodebin in parse pipelines. Andy says he'll rewrite the
10676           way this works anyway, so ignore the hack.
10677
10678 2005-06-02  Andy Wingo  <wingo@pobox.com>
10679
10680         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10681         file size, pass it on to the type find helper.
10682
10683         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10684         segment_start and segment_end properly according to the seek
10685         method. Segment_end is still a bit flaky because offset can be
10686         negative for CUR and END cases, but it takes -1 as an "unset"
10687         value.
10688
10689 2005-06-02  Wim Taymans  <wim@fluendo.com>
10690
10691         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10692         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10693         (gst_basesink_activate):
10694         * gst/base/gstbasesink.h:
10695         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10696         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10697         (gst_pad_query), (gst_pad_start_task):
10698         * gst/gstpad.h:
10699         * gst/gstqueue.c: (gst_queue_bufferalloc),
10700         (gst_queue_handle_sink_event), (gst_queue_chain):
10701         Bufferalloc: return GstFlowReturn to more accuratly report
10702         why allocation failed.
10703
10704 2005-06-02  Wim Taymans  <wim@fluendo.com>
10705
10706         * gst/gstpipeline.c: (gst_pipeline_send_event):
10707         Take snapshot of state without blocking.
10708
10709 2005-06-02  Wim Taymans  <wim@fluendo.com>
10710
10711         * docs/design/part-TODO.txt:
10712         * docs/design/part-caps.txt:
10713         * docs/design/part-clocks.txt:
10714         * docs/design/part-negotiation.txt:
10715         * docs/design/part-preroll.txt:
10716         Small doc updates 
10717
10718 2005-05-30  Wim Taymans  <wim@fluendo.com>
10719
10720         * gst/elements/gstidentity.c: (gst_identity_event),
10721         (gst_identity_transform), (gst_identity_get_property):
10722         Protect last_message property as it is accessed from
10723         multiple threads.
10724
10725 2005-05-30  Wim Taymans  <wim@fluendo.com>
10726
10727         * gst/gstelement.c: (gst_element_init),
10728         (gst_element_pads_activate), (gst_element_change_state):
10729         Slicker pad activation code.
10730
10731 2005-05-30  Wim Taymans  <wim@fluendo.com>
10732
10733         * gst/Makefile.am:
10734         * gst/gstelement.h:
10735         * gst/gstelementfactory.h:
10736         * gst/gsttypes.h:
10737         Move elementfactory methods to separate .h file.
10738
10739 2005-05-30  Wim Taymans  <wim@fluendo.com>
10740
10741         * docs/design/part-overview.txt:
10742         * gst/gstsystemclock.h:
10743         Small typo fixes, doc updates.
10744
10745 2005-05-30  Wim Taymans  <wim@fluendo.com>
10746
10747         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10748         (init_popt_callback):
10749         Remove cpu-opt flag.
10750
10751 2005-05-30  Wim Taymans  <wim@fluendo.com>
10752
10753         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10754         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10755         * gst/gstbuffer.h:
10756         Avoid typechecking in places where not needed.
10757         Added accessor for malloc_data.
10758
10759 2005-05-30  Wim Taymans  <wim@fluendo.com>
10760
10761         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10762         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10763         (gst_pad_configure_sink), (gst_pad_configure_src),
10764         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10765         (gst_pad_start_task):
10766         Propagate errors from _set_caps() in configure_src/sink
10767         functions instead of returning TRUE.
10768         FLUSH events can travel up and downstream
10769
10770
10771 2005-05-30  Wim Taymans  <wim@fluendo.com>
10772
10773         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10774         (gst_basesink_activate):
10775         Handle EOS in preroll.
10776
10777 2005-05-30  Wim Taymans  <wim@fluendo.com>
10778
10779         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10780         (gst_queue_loop), (gst_queue_handle_src_event):
10781         Remove old pieces of code
10782         Flushing the queue in an upstream event is a very bad idea.
10783
10784 2005-05-26  Andy Wingo  <wingo@pobox.com>
10785
10786         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10787         gst_value_set_mini_object so as to add a ref on the object (which
10788         will be removed when the value is unset).
10789
10790         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10791         arg type in ::handoff.
10792
10793         * gst/gstelement.c (gst_element_change_state): Also deactivate
10794         pads in READY->NULL, just in case the element didn't make it to
10795         PAUSED. Wingo tested, Wim approved.
10796
10797 2005-05-26  Wim Taymans  <wim@fluendo.com>
10798
10799         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10800         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10801         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10802         A flushing pad cannot be used to alloc_buffer from.
10803
10804 2005-05-26  Wim Taymans  <wim@fluendo.com>
10805
10806         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10807         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10808         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10809         (gst_bus_create_watch), (gst_bus_add_watch_full):
10810         * gst/gstbus.h:
10811         Implement a real GSource and use g_main_context_wakeup() to
10812         signal new messages instead of the socketpair.
10813
10814 2005-05-25  Wim Taymans  <wim@fluendo.com>
10815
10816         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10817         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10818         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10819         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10820         (gst_pad_send_event), (gst_pad_start_task):
10821         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10822         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10823         (gst_queue_sink_activate), (gst_queue_src_activate),
10824         (gst_queue_change_state):
10825         * gst/gstqueue.h:
10826         Fix state changes for non sinks. We now change sinks, then elements
10827         with unconnected srcpads, then the rest.
10828         More efficient queue unlocking in flush and state changes.
10829         Set the pad activate mode even if it does not have an activate
10830         function.
10831
10832 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10833
10834         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10835           Don't go in pull mode for non-seekable sources.
10836         * gst/elements/gsttypefindelement.h:
10837         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10838         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10839         (free_entry), (stop_typefinding),
10840         (gst_type_find_element_handle_event), (find_peek),
10841         (gst_type_find_element_chain), (do_pull_typefind),
10842         (gst_type_find_element_change_state):
10843           Allow typefinding (w/o seeking) in push-mode, simplified version
10844           of what was in 0.8.
10845         * gst/gstutils.c: (gst_buffer_join):
10846         * gst/gstutils.h:
10847           gst_buffer_join() from 0.8.
10848
10849 2005-05-25  Wim Taymans  <wim@fluendo.com>
10850
10851         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10852         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10853         (gst_pad_send_event), (gst_pad_start_task):
10854         Disable attempt at mode switching until it is figured out.
10855
10856 2005-05-25  Wim Taymans  <wim@fluendo.com>
10857
10858         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10859         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10860         (gst_basesink_finish_preroll), (gst_basesink_chain),
10861         (gst_basesink_loop), (gst_basesink_activate),
10862         (gst_basesink_change_state):
10863         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10864         (gst_basesrc_get_range), (gst_basesrc_loop),
10865         (gst_basesrc_activate):
10866         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10867         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10868         (gst_real_pad_init), (gst_real_pad_set_property),
10869         (gst_real_pad_get_property), (gst_pad_set_active),
10870         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10871         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10872         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10873         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10874         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10875         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10876         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10877         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10878         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10879         (gst_pad_stop_task):
10880         * gst/gstpad.h:
10881         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10882         (gst_queue_loop), (gst_queue_src_activate):
10883         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10884         (gst_task_get_state):
10885         * gst/gsttask.h:
10886         * gst/schedulers/threadscheduler.c:
10887         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10888         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10889         in task function.
10890         Remove ACTIVE pad flag, use FLUSHING everywhere
10891         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10892         functions.
10893         Add locks around IS_FLUSHING when reading.
10894         Take STREAM lock in chain(), get_range() functions so plugins
10895         don't need to take it anymore.
10896         
10897
10898
10899 2005-05-25  Wim Taymans  <wim@fluendo.com>
10900
10901         * tools/gst-launch.c: (event_loop):
10902         Unref message after using its contents instead of
10903         before.
10904
10905 2005-05-24  Wim Taymans  <wim@fluendo.com>
10906
10907         * docs/design/draft-ghostpads.txt:
10908         * docs/design/draft-push-pull.txt:
10909         * docs/design/draft-query.txt:
10910         * docs/design/part-overview.txt:
10911         Docs updates, added general overview doc.
10912
10913 2005-05-21  David Schleef  <ds@schleef.org>
10914
10915         * docs/gst/tmpl/old/GstBin.sgml:
10916         * docs/gst/tmpl/old/GstBuffer.sgml:
10917         * docs/gst/tmpl/old/GstCaps.sgml:
10918         * docs/gst/tmpl/old/GstClock.sgml:
10919         * docs/gst/tmpl/old/GstCompat.sgml:
10920         * docs/gst/tmpl/old/GstData.sgml:
10921         * docs/gst/tmpl/old/GstElement.sgml:
10922         * docs/gst/tmpl/old/GstEvent.sgml:
10923         * docs/gst/tmpl/old/GstIndex.sgml:
10924         * docs/gst/tmpl/old/GstStructure.sgml:
10925         * docs/gst/tmpl/old/GstTag.sgml:
10926         * docs/gst/tmpl/old/cothreads.sgml:
10927         * docs/gst/tmpl/old/cothreads_compat.sgml:
10928         * docs/gst/tmpl/old/gettext.sgml:
10929         * docs/gst/tmpl/old/gobject2gtk.sgml:
10930         * docs/gst/tmpl/old/grammar.tab.sgml:
10931         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10932         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10933         * docs/gst/tmpl/old/gst_private.sgml:
10934         * docs/gst/tmpl/old/gstaggregator.sgml:
10935         * docs/gst/tmpl/old/gstarch.sgml:
10936         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10937         * docs/gst/tmpl/old/gstbufferstore.sgml:
10938         * docs/gst/tmpl/old/gstdata_private.sgml:
10939         * docs/gst/tmpl/old/gstdisksink.sgml:
10940         * docs/gst/tmpl/old/gstdisksrc.sgml:
10941         * docs/gst/tmpl/old/gstelementfactory.sgml:
10942         * docs/gst/tmpl/old/gstextratypes.sgml:
10943         * docs/gst/tmpl/old/gstfakesink.sgml:
10944         * docs/gst/tmpl/old/gstfakesrc.sgml:
10945         * docs/gst/tmpl/old/gstfdsink.sgml:
10946         * docs/gst/tmpl/old/gstfdsrc.sgml:
10947         * docs/gst/tmpl/old/gstfilesink.sgml:
10948         * docs/gst/tmpl/old/gstfilesrc.sgml:
10949         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10950         * docs/gst/tmpl/old/gstidentity.sgml:
10951         * docs/gst/tmpl/old/gstindexfactory.sgml:
10952         * docs/gst/tmpl/old/gstmarshal.sgml:
10953         * docs/gst/tmpl/old/gstmd5sink.sgml:
10954         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10955         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10956         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10957         * docs/gst/tmpl/old/gstpipefilter.sgml:
10958         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10959         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10960         * docs/gst/tmpl/old/gstshaper.sgml:
10961         * docs/gst/tmpl/old/gstspider.sgml:
10962         * docs/gst/tmpl/old/gstspideridentity.sgml:
10963         * docs/gst/tmpl/old/gststatistics.sgml:
10964         * docs/gst/tmpl/old/gsttee.sgml:
10965         * docs/gst/tmpl/old/gsttimecache.sgml:
10966         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10967         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10968         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10969         * docs/gst/tmpl/old/types.sgml:
10970           I didn't intend to add these or check them in.
10971
10972 2005-05-19  David Schleef  <ds@schleef.org>
10973
10974         * configure.ac: Use -no-common everywhere.  In a sane world, it
10975           would be the default in libtool, because without it, you can't
10976           build DLLs on Windows.
10977         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10978         * docs/gst/gstreamer-sections.txt:
10979         * docs/gst/tmpl/gstcpu.sgml:
10980         * docs/gst/tmpl/gstdata.sgml:
10981         * docs/gst/tmpl/gstthread.sgml:
10982
10983 2005-05-19  David Schleef  <ds@schleef.org>
10984
10985         * gst/gstminiobject.c: (gst_value_set_mini_object),
10986         (gst_value_take_mini_object), (gst_value_get_mini_object):
10987         * gst/gstminiobject.h: Add GValue set/get functions.
10988
10989 2005-05-19  Wim Taymans  <wim@fluendo.com>
10990
10991         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10992         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10993         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10994         * gst/gstbuffer.h:
10995         * gst/gstbus.c: (gst_bus_post):
10996         * gst/gstelement.c: (gst_element_get_random_pad):
10997         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10998         Make subbufer unref the parent in finalize.
10999         some more debugging info.
11000
11001
11002 2005-05-19  Wim Taymans  <wim@fluendo.com>
11003
11004         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11005         (gst_basesink_init), (gst_basesink_finalize),
11006         (gst_basesink_activate), (gst_basesink_change_state):
11007         Don't free preroll queue too early.
11008
11009 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11010
11011         * gst/Makefile.am:
11012         * gst/ROADMAP:
11013           Hi, I'm outdated. Please shoot me.
11014
11015 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11016
11017         * gst/gstpipeline.c: (gst_pipeline_send_event):
11018           Do not access variables after they have been deleted.
11019
11020 2005-05-19  Wim Taymans  <wim@fluendo.com>
11021
11022         * tools/gst-inspect.c: (print_plugin_features):
11023         A plugin feature does unfortunatly not use the
11024         object name yet...
11025
11026 2005-05-18  Wim Taymans  <wim@fluendo.com>
11027
11028         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11029         Port _span() functions to new subbuffers.
11030
11031 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11032
11033         * gst/gstbin.c: (gst_bin_add_func):
11034           Fix clock settery in bins when adding kids after the clock has
11035           been selected.
11036
11037 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11038
11039         * gst/elements/gstidentity.c: (gst_identity_class_init):
11040           Workaround until signals support GstMiniObject.
11041
11042 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11043
11044         * gst/gstbuffer.c:
11045         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11046
11047 2005-05-18  Wim Taymans  <wim@fluendo.com>
11048
11049         * gst/base/Makefile.am:
11050         * gst/base/gstadapter.c: (gst_adapter_base_init),
11051         (gst_adapter_class_init), (gst_adapter_init),
11052         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11053         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11054         (gst_adapter_flush), (gst_adapter_available),
11055         (gst_adapter_available_fast):
11056         * gst/base/gstadapter.h:
11057         Ported and added adapter to the base classes.
11058
11059 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11060
11061         * gst/gst.c:
11062         * gst/gstmessage.c:
11063           Make sure the class is reffed/unreffed once before threads can be
11064           used.  Fixes #304551.
11065
11066 2005-05-17  Wim Taymans  <wim@fluendo.com>
11067
11068         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11069         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11070         * gst/gstminiobject.c: (gst_mini_object_get_type),
11071         (gst_mini_object_free):
11072         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11073         (gst_pad_push), (gst_pad_push_event):
11074         * gst/gstqueue.c: (gst_queue_change_state):
11075         Don't queue buffers in basesink when we are flushing.
11076         Unref buffer when flushing in basesink.
11077         Flush queue when going to READY
11078         Unref buffer when _push() returns an error.
11079         Don't free MiniObject instance when refcount is incremented
11080         in _finalize() so that we can recover objects.
11081
11082 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11083
11084         * docs/manual/advanced-schedulers.xml:
11085         * docs/manual/appendix-checklist.xml:
11086         * docs/pwg/advanced-clock.xml:
11087         * docs/pwg/advanced-interfaces.xml:
11088         * docs/pwg/advanced-request.xml:
11089         * docs/pwg/advanced-types.xml:
11090         * docs/pwg/intro-preface.xml:
11091         * examples/plugins/example.c: (gst_example_get_type),
11092         (gst_example_class_init), (gst_example_chain),
11093         (gst_example_set_property), (gst_example_get_property),
11094         (gst_example_change_state), (plugin_init):
11095         * examples/plugins/example.h:
11096           small doc fixes
11097
11098 2005-05-17  Wim Taymans  <wim@fluendo.com>
11099
11100         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11101         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11102         * gst/gstqueue.c: (gst_queue_change_state):
11103         Clear queue when going to READY.
11104         Remove IN_SETCAPS flag too.
11105
11106 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11107
11108         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11109           Remove implicit cast from gboolean to GstElementStateReturn;
11110           make sure we still return failure in paused => ready case if
11111           the parent class fails to change state and our own stop 
11112           vfunc succeeds.
11113
11114 2005-05-17  Wim Taymans  <wim@fluendo.com>
11115
11116         * tools/gst-launch.c: (event_loop):
11117         Message was unreffed too soon.
11118
11119 2005-05-16  Andy Wingo  <wingo@pobox.com>
11120
11121         * gst/gstbin.c (sink_iterator_filter): Err... um...
11122
11123         * check/gst/gstbin.c (test_ghost_pads): New test for the
11124         ghosting-if-elements-not-in-same-bin behavior.
11125
11126 2005-05-16  David Schleef  <ds@schleef.org>
11127
11128         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11129         accessing refcount directly.
11130
11131 2005-05-15  David Schleef  <ds@schleef.org>
11132
11133         * check/Makefile.am: remove GstData checks
11134         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11135         * gst/Makefile.am: add miniobject, remove data
11136         * gst/gst.h: add miniobject, remove data
11137         * gst/gstdata.c: remove
11138         * gst/gstdata.h: remove
11139         * gst/gstdata_private.h: remove
11140         * gst/gsttypes.h: remove GstEvent and GstMessage
11141         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11142         * gst/gstmarshal.list: change BOXED -> OBJECT
11143
11144         Implement GstMiniObject.
11145         * gst/gstminiobject.c:
11146         * gst/gstminiobject.h:
11147
11148         Modify to be subclasses of GstMiniObject.
11149         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11150         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11151         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11152         (gst_subbuffer_get_type), (gst_subbuffer_init),
11153         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11154         (gst_buffer_span):
11155         * gst/gstbuffer.h:
11156         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11157         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11158         (_gst_event_copy), (gst_event_new):
11159         * gst/gstevent.h:
11160         * gst/gstmessage.c: (_gst_message_initialize),
11161         (gst_message_get_type), (gst_message_class_init),
11162         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11163         (gst_message_new), (gst_message_new_error),
11164         (gst_message_new_warning), (gst_message_new_tag),
11165         (gst_message_new_state_changed), (gst_message_new_application):
11166         * gst/gstmessage.h:
11167         * gst/gstprobe.c: (gst_probe_perform),
11168         (gst_probe_dispatcher_dispatch):
11169         * gst/gstprobe.h:
11170         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11171         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11172         (_gst_query_copy), (gst_query_new):
11173
11174         Update elements for GstData -> GstMiniObject changes
11175         * gst/gstquery.h:
11176         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11177         (gst_queue_chain), (gst_queue_loop):
11178         * gst/elements/gstbufferstore.c:
11179         (gst_buffer_store_add_buffer_func),
11180         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11181         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11182         (gst_fakesink_render):
11183         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11184         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11185         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11186         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11187         (gst_filesrc_create_read):
11188         * gst/elements/gstidentity.c: (gst_identity_class_init):
11189         * gst/elements/gsttypefindelement.c:
11190         (gst_type_find_element_src_event), (free_entry_buffers),
11191         (gst_type_find_element_handle_event):
11192         * libs/gst/dataprotocol/dataprotocol.c:
11193         (gst_dp_header_from_buffer):
11194         * libs/gst/dataprotocol/dataprotocol.h:
11195         * libs/gst/dataprotocol/dp-private.h:
11196
11197 2005-05-15  David Schleef  <ds@schleef.org>
11198
11199         * gst/elements/gstelements.c: Don't include headers that were
11200         just removed.
11201
11202 2005-05-15  David Schleef  <ds@schleef.org>
11203
11204         * gst/elements/Makefile.am: Remove some elements that don't
11205         need to be in the core (or even exist at all).
11206         * gst/elements/gstaggregator.c:
11207         * gst/elements/gstaggregator.h:
11208         * gst/elements/gstmd5sink.c:
11209         * gst/elements/gstmd5sink.h:
11210         * gst/elements/gstmultifilesrc.c:
11211         * gst/elements/gstmultifilesrc.h:
11212         * gst/elements/gstpipefilter.c:
11213         * gst/elements/gstpipefilter.h:
11214         * gst/elements/gstshaper.c:
11215         * gst/elements/gstshaper.h:
11216         * gst/elements/gststatistics.c:
11217         * gst/elements/gststatistics.h:
11218         * po/POTFILES.in: Remove above files.
11219
11220 2005-05-14  Andy Wingo  <wingo@pobox.com>
11221
11222         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11223         so as to get the refs right.
11224         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11225         unreffing objects that don't pass the filter.
11226
11227         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11228         gst_element_set_bus.
11229         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11230         normal cases, this will destroy the bus.
11231
11232         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11233         object.
11234
11235         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11236         has no sinks.
11237
11238 2005-05-13  Andy Wingo  <wingo@pobox.com>
11239
11240         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11241         gst_pad_link, call pad_link_maybe_ghosting,
11242         (pad_link_maybe_ghosting): Links pads, making sure that the
11243         elements being linked are in the same bin.
11244         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11245         Helpers for pad_link_maybe_ghosting.
11246
11247 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11248
11249         * configure.ac:
11250           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11251
11252 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11253
11254         * docs/design/part-element-source.txt:
11255           Mention GstPushSrc
11256
11257 2005-05-12  Wim Taymans  <wim@fluendo.com>
11258
11259         * gst/base/gstbasesink.c: (gst_basesink_init),
11260         (gst_basesink_activate):
11261         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11262         (gst_basesrc_is_seekable):
11263         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11264         (bin_element_is_sink), (gst_bin_change_state):
11265         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11266         * gst/gstelement.h:
11267         Identify sinks by their flag to avoid overly complicated
11268         checks (fow now).
11269         Do state changes even for elements not reachable from the
11270         sinks.
11271         BaseSink is a sink now :)
11272         Some more debugging info in the basesrc.
11273
11274
11275 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11276
11277         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11278           Implement _query on a bin, similar to _send_event.
11279
11280 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11281
11282         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11283           Discont event offset format should be GST_FORMAT_BYTES,
11284           not GST_FORMAT_TIME.
11285
11286 2005-05-12  Wim Taymans  <wim@fluendo.com>
11287
11288         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11289         Same fix as Ronald's but without the signal. 
11290
11291 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11292
11293         * gst/gstutils.c: (gst_element_query_position):
11294           No, an element is not a pad.
11295
11296 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11297
11298         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11299         (gst_bin_get_state):
11300           If a child is removed from a bin while we remove the child from
11301           the bin and while we're retrieving its state, signal this to the
11302           get_state function so we abort the wait (instead of waiting for
11303           a timeout) and can immediately re-iterate over all other elements.
11304
11305 2005-05-12  Wim Taymans  <wim@fluendo.com>
11306
11307         * gst/base/Makefile.am:
11308         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11309         (gst_basesrc_start):
11310         * gst/base/gstbasesrc.h:
11311         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11312         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11313         (gst_pushsrc_init), (gst_pushsrc_create):
11314         * gst/base/gstpushsrc.h:
11315         Added is_seekable to BaseSrc
11316         Added simple PushSrc.
11317
11318 2005-05-11  Wim Taymans  <wim@fluendo.com>
11319
11320         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11321         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11322         (gst_element_link_pads), (gst_element_query_position),
11323         (gst_element_query_convert), (intersect_caps_func),
11324         (gst_pad_query_position), (gst_pad_query_convert):
11325         Fix refcounting in utils function.
11326         No point in trying to activate a pad when it's added, it could
11327         be added from the state change function and then we deadlock, the
11328         element has to decide what to do.
11329
11330 2005-05-10  Andy Wingo  <wingo@pobox.com>
11331
11332         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11333         *all* the arguments.
11334
11335         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11336         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11337         lock (according to the docs -- if this is wrong change the docs).
11338
11339         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11340         flush messages in the NULL state.
11341
11342         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11343         message immediately and return.
11344         (gst_bus_set_flushing): New function. If a bus is flushing, it
11345         flushes out any queued messages and immediately unrefs new
11346         messages. This is so when an element goes to NULL, all of the
11347         unhandled messages coming from it can be freed, and their
11348         references to the element dropped. In other words: message source
11349         ref considered harmful :P
11350
11351         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11352         we're finished with it.
11353
11354         * gst/gstmessage.c (gst_message_new_state_changed): 
11355
11356 2005-05-10  Wim Taymans  <wim@fluendo.com>
11357
11358         * gst/gstvalue.c: (gst_value_compare_flags),
11359         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11360         (_gst_value_initialize):
11361         Added flags serialize/deserialize/compare code.
11362
11363 2005-05-09  Andy Wingo  <wingo@pobox.com>
11364
11365         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11366         Intersect the peer's caps with our caps.
11367
11368 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11369
11370         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11371         * gst/elements/gsttypefindelement.c: (find_peek):
11372           Handle negative offsets better. Fixes decodebin.
11373
11374 2005-05-09  Wim Taymans  <wim@fluendo.com>
11375
11376         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11377         (gst_base_transform_event):
11378         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11379         Implement accept_caps.
11380         Fix silly lock/unlock mismatch in base class.
11381
11382 2005-05-09  Wim Taymans  <wim@fluendo.com>
11383
11384         * docs/design/draft-push-pull.txt:
11385         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11386         * gst/elements/gstfilesink.c: (gst_filesink_init),
11387         (gst_filesink_query):
11388         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11389         (gst_type_find_handle_src_query), (find_element_get_length):
11390         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11391         * gst/gstelement.h:
11392         * gst/gstmessage.c:
11393         * gst/gstmessage.h:
11394         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11395         (gst_real_pad_get_caps_unlocked),
11396         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11397         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11398         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11399         (gst_real_pad_dispose), (gst_real_pad_finalize),
11400         (gst_pad_load_and_link), (gst_pad_save_thyself),
11401         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11402         (gst_pad_check_pull_range), (gst_pad_pull_range),
11403         (gst_pad_template_get_type), (gst_pad_template_class_init),
11404         (gst_pad_template_init), (gst_pad_template_dispose),
11405         (name_is_valid), (gst_static_pad_template_get),
11406         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11407         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11408         (gst_pad_get_element_private), (gst_pad_start_task),
11409         (gst_pad_pause_task), (gst_pad_stop_task),
11410         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11411         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11412         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11413         (gst_ghost_pad_new):
11414         * gst/gstpad.h:
11415         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11416         (gst_query_new_position), (gst_query_set_position),
11417         (gst_query_parse_position), (gst_query_new_convert),
11418         (gst_query_set_convert), (gst_query_parse_convert):
11419         * gst/gstquery.h:
11420         * gst/gstqueryutils.c:
11421         * gst/gstqueryutils.h:
11422         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11423         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11424         (gst_queue_handle_src_query):
11425         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11426         (gst_element_query_position), (gst_element_query_convert),
11427         (intersect_caps_func), (gst_pad_query_position),
11428         (gst_pad_query_convert):
11429         * gst/gstutils.h:
11430         * tools/gst-inspect.c: (print_pad_info):
11431         * tools/gst-xmlinspect.c: (print_element_info):
11432         Remove old query functions. Ported old code.
11433         Added position/convert helper functions to gstutils.
11434         Reordered gstpad.c code, grouping relevant things.
11435         Remove gst_message_new(), always need to speficy a specific
11436         message.
11437
11438
11439 2005-05-09  Andy Wingo  <wingo@pobox.com>
11440
11441         * gst/gstiterator.h: Add some includes.
11442
11443         * gst/gstqueryutils.h: Include more headers.
11444
11445         * gst/gstpad.h:
11446         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11447         some uses of gst_pad_query.
11448
11449         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11450         NULL out parameters.
11451         (gst_query_new_position): New proc, allocates a new position
11452         query.
11453
11454         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11455         gstqueryutils.c to the build.
11456
11457         * gst/gststructure.c (gst_structure_set_valist): Implement with
11458         the generic G_VALUE_COLLECT.
11459         
11460 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11461
11462         * gst/Makefile.am: (gst_headers):
11463         Added gstqueryutils.h to the list of headers to install, that was
11464         a 'nachty' move wingo :)
11465
11466 2005-05-06  Andy Wingo  <wingo@pobox.com>
11467
11468         * gst/gstquery.h
11469         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11470         GstData, init a memchunk.
11471         (standard_definitions): Add a few query types, deprecate a few.
11472         (gst_query_get_type): New proc.
11473         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11474         implementation.
11475         (gst_query_new_application, gst_query_get_structure): New public
11476         procs.
11477
11478         * docs/design/draft-query.txt: Removed LINKS from the query types,
11479         because all the rest can be dispatched to other pads -- seemed
11480         ugly to have a query that couldn't be dispatched. internal_links
11481         is fine as a pad method.
11482
11483         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11484         in gstpad.c, but maintain binary compatibility for the moment.
11485         Will fix before 0.9 is out.
11486
11487         * gst/gstqueryutils.c: 
11488         * gst/gstqueryutils.h: New files, implement 3 methods for each
11489         query type: parse_query, parse_response, and set. Probably need an
11490         allocator as well.
11491
11492         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11493
11494         * gst/elements/gstfilesink.c (gst_filesink_query2):
11495         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11496         query_types, and formats methods.
11497
11498         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11499         (gst_pad_set_query2_function): New functions.
11500         (gst_real_pad_init): Set query2_default as the default query2
11501         function. Basically just dispatches to internally linked pads.
11502
11503         Needs review!
11504         
11505         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11506         without using the atomic operations. Only one thread can possibly
11507         be accessing the data at this point. Changed so as to avoid
11508         gst_atomic operations.
11509
11510 2005-05-06  Wim Taymans  <wim@fluendo.com>
11511
11512         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11513         Also set caps if we use the fallback buffer alloc.
11514
11515 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11516
11517         * docs/gst/Makefile.am:
11518         * docs/gst/gstreamer-docs.sgml:
11519         * docs/gst/gstreamer-sections.txt:
11520         * docs/gst/tmpl/gstatomic.sgml:
11521         * docs/gst/tmpl/gstmemchunk.sgml:
11522         * testsuite/elements/struct_i386.h:
11523         * win32/GStreamer.vcproj:
11524         * win32/Makefile:
11525           Purge GstAtomic stuff from docs and win32 makefiles as well
11526
11527 2005-05-06  Wim Taymans  <wim@fluendo.com>
11528
11529         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11530         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11531         * gst/gstpad.c: (gst_pad_peer_get_caps):
11532         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11533         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11534         (gst_queue_src_activate), (gst_queue_change_state):
11535         * gst/gstqueue.h:
11536         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11537         (intersect_caps_func):
11538         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11539         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11540         Some fixes for the peer_get_caps() change.
11541
11542 2005-05-06  Wim Taymans  <wim@fluendo.com>
11543
11544         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11545         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11546         (gst_basesink_activate):
11547         Actually do something with error codes returned from the push
11548         functions.
11549
11550 2005-05-06  Wim Taymans  <wim@fluendo.com>
11551
11552         * docs/design/part-element-sink.txt:
11553         * docs/design/part-element-source.txt:
11554         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11555         (gst_basesink_event), (gst_basesink_activate):
11556         * gst/base/gstbasesink.h:
11557         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11558         (gst_basesrc_activate):
11559         * gst/base/gstbasesrc.h:
11560         * gst/gstelement.c: (gst_element_pads_activate):
11561         Some more documentation.
11562         Fixed scheduling decision in _pads_activate().
11563
11564 2005-05-05  Andy Wingo  <wingo@pobox.com>
11565
11566         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11567         the test suite.
11568
11569 2005-05-05  Wim Taymans  <wim@fluendo.com>
11570
11571         * gst/base/Makefile.am:
11572         * gst/base/gstbasesink.h:
11573         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11574         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11575         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11576         (gst_collectpads_class_init), (gst_collectpads_init),
11577         (gst_collectpads_finalize), (gst_collectpads_new),
11578         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11579         (find_pad), (gst_collectpads_remove_pad),
11580         (gst_collectpads_is_active), (gst_collectpads_collect),
11581         (gst_collectpads_collect_range), (gst_collectpads_start),
11582         (gst_collectpads_stop), (gst_collectpads_peek),
11583         (gst_collectpads_pop), (gst_collectpads_available),
11584         (gst_collectpads_read), (gst_collectpads_flush),
11585         (gst_collectpads_chain):
11586         * gst/base/gstcollectpads.h:
11587         * gst/elements/Makefile.am:
11588         * gst/elements/gstelements.c:
11589         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11590         (gst_fakesink_get_times), (gst_fakesink_event),
11591         (gst_fakesink_preroll), (gst_fakesink_render):
11592         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11593         (gst_filesink_init), (gst_filesink_set_location),
11594         (gst_filesink_open_file), (gst_filesink_close_file),
11595         (gst_filesink_pad_query), (gst_filesink_event),
11596         (gst_filesink_render), (gst_filesink_change_state):
11597         * gst/elements/gstfilesink.h:
11598         Added object to help in making collect pad based elements.
11599         Ported filesink.
11600         Make event function in sink baseclass return gboolean.
11601
11602 2005-05-05  Wim Taymans  <wim@fluendo.com>
11603
11604         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11605         (gst_bin_get_by_name):
11606         * gst/gstbuffer.h:
11607         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11608         (gst_clock_finalize):
11609         * gst/gstdata.c: (gst_data_replace):
11610         * gst/gstdata.h:
11611         * gst/gstelement.c: (gst_element_request_pad),
11612         (gst_element_pads_activate):
11613         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11614         (gst_object_unref):
11615         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11616         (gst_pad_set_checkgetrange_function),
11617         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11618         (gst_pad_check_pull_range), (gst_pad_pull_range),
11619         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11620         (gst_pad_pause_task), (gst_pad_stop_task):
11621         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11622         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11623         Fix name lookup in GstBin.
11624         Added _data_replace() function and _buffer_replace()
11625         Use finalize method to clean up clock.
11626         Fix refcounting on request pads.
11627         Fix pad schedule mode error.
11628         Some more object refcounting debug info,
11629
11630
11631 2005-05-04  Andy Wingo <wingo@pobox.com>
11632
11633         * check/Makefile.am:
11634         * docs/gst/tmpl/gstatomic.sgml:
11635         * docs/gst/tmpl/gstplugin.sgml:
11636         * gst/base/gstbasesink.c: (gst_basesink_activate):
11637         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11638         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11639         (gst_basesrc_query), (gst_basesrc_set_property),
11640         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11641         (gst_basesrc_activate):
11642         * gst/base/gstbasesrc.h:
11643         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11644         (gst_base_transform_src_activate):
11645         * gst/elements/gstelements.c:
11646         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11647         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11648         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11649         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11650         (gst_type_find_element_checkgetrange),
11651         (gst_type_find_element_activate):
11652         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11653         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11654         (gst_caps_load_thyself):
11655         * gst/gstelement.c: (gst_element_pads_activate),
11656         (gst_element_save_thyself), (gst_element_restore_thyself):
11657         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11658         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11659         * gst/gstpad.h:
11660         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11661         (gst_xml_parse_file), (gst_xml_parse_memory),
11662         (gst_xml_get_element), (gst_xml_make_element):
11663         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11664         (_file_index_id_save_xml), (gst_file_index_commit):
11665         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11666         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11667         (load_paths):
11668         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11669         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11670         * tools/gst-complete.c: (main):
11671         * tools/gst-compprep.c: (main):
11672         * tools/gst-inspect.c: (print_element_properties_info):
11673         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11674         * tools/gst-xmlinspect.c: (print_element_properties):
11675         GCC 4 fixen.
11676         
11677 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11678
11679         * gst/gstplugin.c: (gst_plugin_check_module),
11680         (gst_plugin_check_file), (gst_plugin_load_file):
11681             apply patch from #172526 to make register work on MacOSX
11682
11683 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11684
11685         * docs/gst/tmpl/gstconfig.sgml:
11686         * gst/gstconfig.h.in:
11687           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11688         * testsuite/debug/printf_extension.c: (main):
11689           Do not use GST_PTR_FORMAT on pointers to types with
11690           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11691         * testsuite/elements/property.h:
11692           use correct printf format
11693
11694 2005-05-02  Wim Taymans  <wim@fluendo.com>
11695
11696         * docs/design/draft-push-pull.txt:
11697         * docs/design/draft-query.txt:
11698         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11699         (gst_basesrc_start):
11700         Added draft for new query API.
11701         Added draft for better selecting scheduling methods.
11702         Make basesrc ignore length if the subclass does not support
11703         it.
11704
11705 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11706
11707         * gst/Makefile.am:
11708           possible fixes for automake-1.5 - _LIBADD is reserved
11709
11710 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11711
11712         * docs/faq/Makefile.am:
11713         * docs/manual/Makefile.am:
11714         * docs/manuals.mak:
11715         * docs/pwg/Makefile.am:
11716         * gst/Makefile.am:
11717           possible fixes for automake-1.5
11718
11719 2005-04-28  Wim Taymans  <wim@fluendo.com>
11720
11721         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11722         (gst_basesink_pad_getcaps), (gst_basesink_init),
11723         (gst_basesink_do_sync):
11724         * gst/gstclock.c: (gst_clock_entry_new):
11725         * gst/gstevent.c: (gst_event_discont_get_value):
11726         * gst/gstpipeline.c: (pipeline_bus_handler),
11727         (gst_pipeline_change_state):
11728         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11729         Better debugging of clocking info.
11730         Allow NULL values when getting discont values.
11731
11732 2005-04-27  Wim Taymans  <wim@fluendo.com>
11733
11734         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11735         * check/gst/gstpad.c: (gst_pad_suite):
11736         Increase timeout for checks.
11737
11738 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11739
11740         * check/Makefile.am:
11741           fix the broken rule for cleanup.  Apparently this rule is
11742           only needed on FC2, so maybe this warrants further autotool
11743           inspection.
11744
11745 2005-04-26  Wim Taymans  <wim@fluendo.com>
11746
11747         * gst/gsttrashstack.h:
11748         Ooohh. a nasty one! After having a failed pop() from the stack,
11749         it's possible that the stack is empty. In that case, don't
11750         follow the NULL pointer.
11751
11752 2005-04-25  Wim Taymans  <wim@fluendo.com>
11753
11754         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11755         (gst_pad_set_checkgetrange_function),
11756         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11757         (gst_pad_check_pull_range), (gst_pad_pull_range),
11758         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11759         (gst_pad_pause_task), (gst_pad_stop_task):
11760         * gst/gstplugin.c: (gst_plugin_load):
11761         * gst/gstplugin.h:
11762         Remove gst_library_load as it does more harm than good with
11763         the new g_module flags.
11764         Revert bogus caps template check in pad linking, pad caps
11765         are important when linking not the template, which is more
11766         general than the current caps.
11767
11768 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11769
11770         * gst/autoplug/.cvsignore:
11771         * gst/autoplug/Makefile.am:
11772         * gst/autoplug/gstsearchfuncs.c:
11773         * gst/autoplug/gstsearchfuncs.h:
11774         * gst/autoplug/gstspider.c:
11775         * gst/autoplug/gstspider.h:
11776         * gst/autoplug/gstspideridentity.c:
11777         * gst/autoplug/gstspideridentity.h:
11778         * gst/autoplug/spidertest.c:
11779           Die, spider, die.
11780
11781 2005-04-25  Wim Taymans  <wim@fluendo.com>
11782
11783         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11784         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11785         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11786         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11787         * gst/gstpad.h:
11788         Added stubs for unimplemented functions. 
11789
11790 2005-04-24  David Schleef  <ds@schleef.org>
11791
11792         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11793         please fix.
11794
11795 2005-04-24  David Schleef  <ds@schleef.org>
11796
11797         Convert everything from GstAtomicInt to g_atomic_int_*, and
11798         remove gstatomic.
11799         * gst/Makefile.am:
11800         * gst/gstatomic.c:
11801         * gst/gstatomic.h:
11802         * gst/gstatomic_impl.h:
11803         * gst/gstbuffer.c:
11804         * gst/gstcaps.c:
11805         * gst/gstcaps.h:
11806         * gst/gstclock.c:
11807         * gst/gstclock.h:
11808         * gst/gstdata.c:
11809         * gst/gstdata.h:
11810         * gst/gstdata_private.h:
11811         * gst/gstevent.c:
11812         * gst/gstinfo.c:
11813         * gst/gstinfo.h:
11814         * gst/gstmessage.c:
11815         * gst/gstobject.c:
11816         * gst/gstobject.h:
11817         * gst/gststructure.c:
11818         * gst/gststructure.h:
11819         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11820         * gst/gstutils.h:
11821
11822 2005-04-24  David Schleef  <ds@schleef.org>
11823
11824         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11825         make the regressions tests work.  Remove some code that is no
11826         longer true.
11827         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11828         Disable warning for pads without templates.
11829
11830 2005-04-24  David Schleef  <ds@schleef.org>
11831
11832         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11833         functions that handle filtered links.
11834         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11835         removed functions.
11836         * gst/gstutils.c: Fix/remove utility functions that handle
11837         filtered caps.
11838         * gst/gstutils.h:
11839         * gst/gstvalue.c: Add serialization/deserialization of caps
11840         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11841         requires fixing so that the filter caps notation creates
11842         a capsfilter element and sets the filter_caps property.  I
11843         think everyone probably wants to keep the shorthand notation.
11844         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11845         * docs/gst/tmpl/gstpad.sgml:
11846
11847         * gst/elements/gstelements.c: Register capsfilter element.
11848         * gst/Makefile.am: fix spacing
11849         * docs/random/ds/0.9-suggested-changes: random
11850
11851 2005-04-23  David Schleef  <ds@schleef.org>
11852
11853         * gst/elements/Makefile.am:
11854         * gst/elements/gstcapsfilter.c: New element that acts like an
11855         identity, but filters caps.  Will eventually replace filtered
11856         caps in pad linking.
11857         * gst/gstutils.c: (gst_element_create_all_pads): New function
11858         to create all the ALWAYS pads that are registered with an
11859         element class.  This functionality should eventually be
11860         merged in with GstElement initialization.
11861         * gst/gstutils.h:
11862         * testsuite/trigger/README: part of trigger test code that should
11863         have been checked in a long time ago.
11864
11865 2005-04-23  David Schleef  <ds@schleef.org>
11866
11867         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11868         needed with new versions of libtool (nobody will confirm this),
11869         and hard to carry around.
11870         * gst/autoplug/Makefile.am:
11871         * gst/base/Makefile.am:
11872         * gst/elements/Makefile.am:
11873         * gst/indexers/Makefile.am:
11874         * gst/schedulers/Makefile.am:
11875         * libs/gst/bytestream/Makefile.am:
11876         * libs/gst/control/Makefile.am:
11877         * libs/gst/dataprotocol/Makefile.am:
11878         * libs/gst/getbits/Makefile.am:
11879
11880 2005-04-21  Wim Taymans  <wim@fluendo.com>
11881
11882         * docs/design/draft-push-pull.txt:
11883         * docs/design/part-MT-refcounting.txt:
11884         * docs/design/part-TODO.txt:
11885         * docs/design/part-caps.txt:
11886         * docs/design/part-events.txt:
11887         * docs/design/part-gstbus.txt:
11888         * docs/design/part-gstpipeline.txt:
11889         * docs/design/part-messages.txt:
11890         * docs/design/part-push-pull.txt:
11891         * docs/design/part-query.txt:
11892         Some more docs.
11893
11894 2005-04-21  Wim Taymans  <wim@fluendo.com>
11895
11896         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11897         (gst_message_new), (gst_message_new_error),
11898         (gst_message_new_warning), (gst_message_new_tag),
11899         (gst_message_new_state_changed), (gst_message_new_application),
11900         (gst_message_get_structure):
11901         * gst/gstmessage.h:
11902         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11903         (gst_structure_copy_conditional):
11904         Use parent refcount in GstMessage to ensure GstStructure
11905         consistency.
11906         Cleaned up headers a bit.
11907         
11908
11909 2005-04-20  Wim Taymans  <wim@fluendo.com>
11910
11911         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11912         (gst_basesink_pad_getcaps), (gst_basesink_init),
11913         (gst_basesink_chain_unlocked):
11914         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11915         (gst_type_find_helper):
11916         * gst/elements/gsttypefindelement.c:
11917         (gst_type_find_element_have_type), (gst_type_find_element_init),
11918         (stop_typefinding), (gst_type_find_element_handle_event),
11919         (find_suggest), (gst_type_find_element_chain),
11920         (gst_type_find_element_checkgetrange),
11921         (gst_type_find_element_getrange), (do_typefind),
11922         (gst_type_find_element_activate):
11923         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11924         (gst_buffer_default_free), (gst_buffer_default_copy),
11925         (gst_buffer_set_caps):
11926         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11927         (gst_caps_replace):
11928         * gst/gstmessage.c: (gst_message_new),
11929         (gst_message_new_state_changed):
11930         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11931         (gst_pad_set_checkgetrange_function),
11932         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11933         (gst_pad_set_caps), (gst_pad_check_pull_range),
11934         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11935         * gst/gstpad.h:
11936         * gst/gsttypefind.c: (gst_type_find_register):
11937         Make gst_caps_replace() work like other _replace() functions.
11938         Use _caps_replace() where possible.
11939         Make sure _message_new() initialises its field.
11940         Add gst_static_pad_template_get_caps()
11941
11942
11943 2005-04-18  Andy Wingo  <wingo@pobox.com>
11944
11945         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11946         on the peer, not the pad. I think that was a typo. Pass an extra
11947         arg to see if random access is possible. Activate the pads as
11948         PULL_RANGE if possible.
11949
11950         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11951
11952         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11953         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11954         to PROP_....
11955
11956 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11957
11958         * docs/faq/using.xml:
11959           Add note on gstreamer-properties (#154996).
11960
11961 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11962
11963         * docs/random/bbb/optional-properties:
11964           Some analysis on optional properties.
11965
11966 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11967
11968         * docs/gst/tmpl/gstelementfactory.sgml:
11969         * gst/gstelement.h:
11970         * gst/gstelementfactory.c: (gst_element_factory_init),
11971         (gst_element_factory_cleanup), (gst_element_register),
11972         (__gst_element_factory_add_static_pad_template),
11973         (gst_element_factory_get_static_pad_templates),
11974         (gst_element_factory_can_src_caps),
11975         (gst_element_factory_can_sink_caps):
11976         * gst/registries/Makefile.am:
11977         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11978         (gst_xml_registry_class_init), (gst_xml_registry_init),
11979         (gst_xml_registry_new), (gst_xml_registry_set_property),
11980         (gst_xml_registry_get_property), (get_time), (make_dir),
11981         (gst_xml_registry_get_perms_func),
11982         (plugin_times_older_than_recurse), (plugin_times_older_than),
11983         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11984         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11985         (add_to_char_array), (read_string), (read_uint), (read_enum),
11986         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11987         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11988         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11989         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11990         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11991         (gst_xml_registry_rebuild):
11992         * gst/registries/gstlibxmlregistry.h:
11993         * tools/gst-compprep.c: (main):
11994         * tools/gst-inspect.c: (print_pad_templates_info):
11995         * tools/gst-xmlinspect.c: (print_element_info):
11996           Use libxml2 for registry parsing, use staticpadtemplates in
11997           elementfactories. Makes gst_init() +/- 10x faster.
11998
11999 2005-04-12  Wim Taymans  <wim@fluendo.com>
12000
12001         * gst/base/Makefile.am:
12002         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12003         (gst_basesink_pad_getcaps), (gst_basesink_init),
12004         (gst_basesink_event), (gst_basesink_change_state):
12005         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12006         (gst_basesrc_init), (gst_basesrc_query),
12007         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12008         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12009         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12010         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12011         (gst_basesrc_stop), (gst_basesrc_activate),
12012         (gst_basesrc_change_state):
12013         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12014         (helper_find_suggest), (gst_type_find_helper):
12015         * gst/base/gsttypefindhelper.h:
12016         * gst/elements/Makefile.am:
12017         * gst/elements/gstelements.c:
12018         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12019         (gst_fakesink_get_times), (gst_fakesink_event),
12020         (gst_fakesink_preroll), (gst_fakesink_render):
12021         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12022         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12023         (gst_fakesrc_get_property), (gst_fakesrc_create),
12024         (gst_fakesrc_start), (gst_fakesrc_stop):
12025         * gst/elements/gstfakesrc.h:
12026         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12027         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12028         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12029         (gst_filesrc_create_read), (gst_filesrc_create),
12030         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12031         (gst_filesrc_start):
12032         * gst/elements/gsttypefindelement.c:
12033         (gst_type_find_element_have_type), (gst_type_find_element_init),
12034         (start_typefinding), (stop_typefinding), (push_buffer_store),
12035         (gst_type_find_element_handle_event),
12036         (gst_type_find_element_chain),
12037         (gst_type_find_element_checkgetrange),
12038         (gst_type_find_element_getrange), (do_typefind),
12039         (gst_type_find_element_activate),
12040         (gst_type_find_element_change_state):
12041         * gst/elements/gsttypefindelement.h:
12042         * gst/gstpipeline.c: (pipeline_bus_handler):
12043         Added typefind helper.
12044         Small preroll fix in the base sink.
12045         Disable typefind code in basesrc.
12046         Crude port of typefindelement.
12047         Fakesrc cleanups.
12048
12049
12050 2005-04-11  Wim Taymans  <wim@fluendo.com>
12051
12052         * check/gst/gstbus.c: (gstbus_suite):
12053         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12054         * check/gstcheck.h:
12055           Fix up the timeout so that the test does not fail.
12056
12057 2005-04-06  Wim Taymans  <wim@fluendo.com>
12058
12059         * gst/base/README:
12060         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12061         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12062         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12063         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12064         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12065         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12066         (gst_basesrc_stop), (gst_basesrc_activate),
12067         (gst_basesrc_change_state), (basesrc_find_peek),
12068         (basesrc_find_suggest), (gst_basesrc_type_find):
12069         * gst/base/gstbasesrc.h:
12070         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12071         (gst_filesrc_class_init), (gst_filesrc_init),
12072         (gst_filesrc_finalize), (gst_filesrc_set_location),
12073         (gst_filesrc_set_property), (gst_filesrc_get_property),
12074         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12075         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12076         (gst_filesrc_create_read), (gst_filesrc_create),
12077         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12078         * gst/elements/gstfilesrc.h:
12079         * gst/gstelement.c: (gst_element_get_state_func),
12080         (gst_element_lost_state), (gst_element_pads_activate):
12081         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12082         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12083         (gst_pad_pull_range):
12084         * gst/gstpad.h:
12085         More work on the generic source base class, implement seeking,
12086         query.
12087         Make filesrc extend the base source class.
12088         Added gst_pad_set_checkgetrange_function to GstPad.
12089
12090 2005-04-06  Andy Wingo  <wingo@pobox.com>
12091
12092         * pkgconfig/gstreamer-base.pc.in:
12093         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12094
12095         * pkgconfig/Makefile.am:
12096         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12097
12098 2005-04-04  Wim Taymans  <wim@fluendo.com>
12099
12100         * gst/base/Makefile.am:
12101         * gst/base/README:
12102         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12103         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12104         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12105         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12106         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12107         (gst_basesrc_base_init), (gst_basesrc_class_init),
12108         (gst_basesrc_init), (gst_basesrc_get_formats),
12109         (gst_basesrc_get_query_types), (gst_basesrc_query),
12110         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12111         (gst_basesrc_set_property), (gst_basesrc_get_property),
12112         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12113         (gst_basesrc_loop), (gst_basesrc_activate),
12114         (gst_basesrc_change_state):
12115         * gst/base/gstbasesrc.h:
12116         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12117         (gst_fakesrc_class_init), (gst_fakesrc_init),
12118         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12119         (gst_fakesrc_get_property), (gst_fakesrc_create):
12120         * gst/elements/gstfakesrc.h:
12121         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12122         (gst_filesrc_open_file), (gst_filesrc_loop),
12123         (gst_filesrc_activate), (filesrc_find_peek),
12124         (gst_filesrc_type_find):
12125         Made base source class, make fakesrc extend it.
12126         Add comments to basesink class.
12127         Some filesrc cleanup.
12128
12129 2005-03-31  David Schleef  <ds@schleef.org>
12130
12131         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12132         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12133         expected to link against libgstreamer.
12134         * gst/base/Makefile.am: link against libgstreamer
12135         * gst/elements/Makefile.am: same
12136
12137 2005-03-31  Andy Wingo  <wingo@pobox.com>
12138
12139         * tests/instantiate/Makefile.am:
12140         * tests/instantiate/caps.c: Add test to test speed of caps copy
12141         and free.
12142
12143         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12144         GMemChunk to be fair.
12145
12146         * gst/gsttrashstack.h: Remove warning about using the fallback
12147         trash stack implementation, it's still faster than malloc.
12148
12149 2005-03-30  Andy Wingo  <wingo@pobox.com>
12150
12151         * tests/complexity.c: Add a copyright.
12152
12153 2005-03-31  Wim Taymans  <wim@fluendo.com>
12154
12155         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12156         (gst_base_transform_class_init), (gst_base_transform_init),
12157         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12158         (gst_base_transform_get_property),
12159         (gst_base_transform_sink_activate),
12160         (gst_base_transform_src_activate),
12161         (gst_base_transform_change_state):
12162         * gst/base/gstbasetransform.h:
12163         * gst/elements/gstidentity.c: (gst_identity_class_init),
12164         (gst_identity_event), (gst_identity_check_perfect),
12165         (gst_identity_transform), (gst_identity_start),
12166         (gst_identity_stop):
12167         Added start/stop methods to transform base class so subclasses 
12168         don't need to deal with state changes even.
12169
12170 2005-03-31  Wim Taymans  <wim@fluendo.com>
12171
12172         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12173         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12174         * gst/gstevent.h:
12175         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12176         (gst_pad_pull_range):
12177         Added rate to the discont event to prepare for variable speed
12178         and reverse playback.
12179
12180 2005-03-29  David Schleef  <ds@schleef.org>
12181
12182         * configure.ac:
12183         * testsuite/trigger/Makefile.am:
12184         * testsuite/trigger/trigger.c: A little example program to show
12185         how trigger-based elements can work.
12186
12187 2005-03-29  Wim Taymans  <wim@fluendo.com>
12188
12189         * gst/base/Makefile.am:
12190         * gst/base/README:
12191         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12192         (gst_basesink_base_init), (gst_basesink_class_init),
12193         (gst_basesink_pad_getcaps), (gst_basesink_init),
12194         (gst_basesink_activate), (gst_basesink_change_state):
12195         * gst/base/gstbasesink.h:
12196         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12197         (gst_base_transform_base_init), (gst_base_transform_finalize),
12198         (gst_base_transform_class_init), (gst_base_transform_init),
12199         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12200         (gst_base_transform_event), (gst_base_transform_getrange),
12201         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12202         (gst_base_transform_set_property),
12203         (gst_base_transform_get_property),
12204         (gst_base_transform_sink_activate),
12205         (gst_base_transform_src_activate),
12206         (gst_base_transform_change_state):
12207         * gst/base/gstbasetransform.h:
12208         * gst/elements/gstidentity.c: (gst_identity_finalize),
12209         (gst_identity_class_init), (gst_identity_init),
12210         (gst_identity_event), (gst_identity_check_perfect),
12211         (gst_identity_transform), (gst_identity_set_property),
12212         (gst_identity_get_property), (gst_identity_change_state):
12213         * gst/elements/gstidentity.h:
12214         * gst/gstelement.c: (gst_element_get_state_func),
12215         (gst_element_lost_state), (gst_element_pads_activate):
12216         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12217         (gst_pad_check_pull_range), (gst_pad_pull_range):
12218         * gst/gstpad.h:
12219         Simplify pad activation.
12220         Added function to check if pull_range can be performed.
12221         Error out when pulling inactive or flushing pads.
12222         Removed const from refcounted types as it does not make sense.
12223         Simplify pad templates in basesink
12224         Added base class for simple 1-to-1 transforms.
12225         Make identity subclass the base transform.
12226
12227 2005-03-29  Andy Wingo  <wingo@pobox.com>
12228
12229         * docs/libs/gstreamer-libs-overrides.txt: 
12230         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12231         really don't understand what's going on, but like whatever. I want
12232         green buildbot!
12233
12234         * docs/gst/Makefile.am:
12235         * docs/libs/Makefile.am: Dist the overrides files.
12236
12237         * check/Makefile.am (clean-local): Remove .libs directories.
12238
12239         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12240         elements to EXTRA_DIST, so po/ files are happy.
12241
12242         * po/POTFILES.in: Er, remove it here.
12243
12244         * po/POTFILES: Remove gstspider.c.
12245
12246         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12247
12248         * docs/libs/gstreamer-libs-docs.sgml: 
12249         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12250         bytestream.
12251
12252         * tests/complexity.c (main): Set the length of the preroll queue
12253         on the sinks to prevent a lockup.
12254
12255         * libs/gst/dataprotocol/Makefile.am: 
12256         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12257         the same as the one in check/gst-libs/gdp.c.
12258
12259         * po/, docs/gst/: Commit automatic changes to docs and po files.
12260
12261         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12262         the versioned libgstbase.
12263
12264         * check/Makefile.am: Depend on an unversioned gst-register, seems
12265         to make autoconf happier.
12266
12267         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12268
12269 2005-03-28  Wim Taymans  <wim@fluendo.com>
12270
12271         * configure.ac:
12272         * docs/design/part-gstelement.txt:
12273         * docs/design/part-negotiation.txt:
12274         * docs/design/part-preroll.txt:
12275         * docs/design/part-scheduling.txt:
12276         * docs/design/part-states.txt:
12277         * gst/Makefile.am:
12278         * gst/base/Makefile.am:
12279         * gst/base/README:
12280         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12281         (gst_basesink_base_init), (gst_basesink_class_init),
12282         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12283         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12284         (gst_basesink_set_pad_functions),
12285         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12286         (gst_basesink_set_property), (gst_basesink_get_property),
12287         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12288         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12289         (gst_basesink_preroll_queue_push),
12290         (gst_basesink_preroll_queue_empty),
12291         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12292         (gst_basesink_event), (gst_basesink_get_times),
12293         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12294         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12295         (gst_basesink_loop), (gst_basesink_activate),
12296         (gst_basesink_change_state):
12297         * gst/base/gstbasesink.h:
12298         * gst/elements/Makefile.am:
12299         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12300         (gst_fakesink_class_init), (gst_fakesink_init),
12301         (gst_fakesink_set_property), (gst_fakesink_get_property),
12302         (gst_fakesink_get_times), (gst_fakesink_event),
12303         (gst_fakesink_preroll), (gst_fakesink_render),
12304         (gst_fakesink_change_state):
12305         * gst/elements/gstfakesink.h:
12306         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12307         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12308         * gst/gstelement.c: (gst_element_add_pad),
12309         (gst_element_get_state_func), (gst_element_abort_state),
12310         (gst_element_commit_state), (gst_element_lost_state),
12311         (gst_element_set_state), (gst_element_pads_activate):
12312         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12313         * gst/gstpipeline.c: (gst_pipeline_send_event),
12314         (gst_pipeline_change_state):
12315         Added state change code.
12316         Added/updated docs.
12317         Added sink base class, make fakesink extend the base class.
12318         Small cleanups in GstPipeline.
12319
12320 2005-03-26  David Schleef  <ds@schleef.org>
12321
12322         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12323         is broken and should be implemented in a different library.
12324         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12325         * gst/gst.h: remove gstcpu.h
12326         * gst/gstcpu.c: remove
12327         * gst/gstcpu.h: remove
12328         * gst/Makefile.am.future: Remove this file.  It's ancient.
12329
12330 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12331
12332         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12333         (gst_bin_send_event):
12334           Add default event/set_manager handlers. The set_manager handler
12335           takes care that the manager is distributed over kids that were
12336           already in the bin before the manager was set. The event handler
12337           is a utility virtual function that sends the event over all sinks,
12338           so that gst_element_send_event (bin, event); has the expected
12339           behaviour.
12340         * gst/gstpad.c: (gst_pad_event_default):
12341           Re-install default event handling for discontinuities, so that
12342           seeking works without requiring hacks in applications or extra
12343           code in sinks.
12344         * gst/gstpipeline.c: (gst_pipeline_class_init),
12345         (gst_pipeline_send_event):
12346           Half hack, half utility: set a pipeline to PAUSED for seek events,
12347           since that is the only way we can guarantee a/v sync. Means that
12348           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12349           and it "just works".
12350
12351 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12352
12353         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12354           Lock/unlock mismatch.
12355
12356 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12357
12358         * docs/faq/gst-uninstalled:
12359           add gst-plugins-base
12360         * docs/gst/Makefile.am:
12361           don't error out until docs are fixed
12362         * docs/gst/gstreamer.types:
12363           remove thread
12364
12365 2005-03-22  Wim Taymans  <wim@fluendo.com>
12366
12367         * check/Makefile.am:
12368         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12369         * gst/gststructure.c: (gst_structure_set_valist),
12370         (gst_structure_copy_conditional):
12371         Activated more tests.
12372         Added message test.
12373         Added G_TYPE_POINTER to GstStructure.
12374         
12375
12376 2005-03-22  Wim Taymans  <wim@fluendo.com>
12377
12378         * docs/design/part-TODO.txt:
12379         * docs/design/part-events.txt:
12380         * docs/design/part-gstbin.txt:
12381         * docs/design/part-gstbus.txt:
12382         * docs/design/part-gstpipeline.txt:
12383         * docs/design/part-messages.txt:
12384         * gst/gstbus.c:
12385         * gst/gstmessage.c:
12386         Docs updates
12387
12388 2005-03-21  Wim Taymans  <wim@fluendo.com>
12389
12390         * gst/gstbus.c: (gst_bus_post):
12391         Fix copy-and-paste error.
12392
12393 2005-03-21  Wim Taymans  <wim@fluendo.com>
12394
12395         * check/Makefile.am:
12396         * gst/Makefile.am:
12397         * gst/elements/Makefile.am:
12398         * gst/elements/gstelements.c:
12399         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12400         (gst_fakesink_event), (gst_fakesink_chain):
12401         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12402         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12403         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12404         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12405         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12406         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12407         (gst_fakesrc_loop), (gst_fakesrc_activate),
12408         (gst_fakesrc_change_state):
12409         * gst/elements/gstfakesrc.h:
12410         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12411         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12412         (gst_filesrc_open_file), (gst_filesrc_loop),
12413         (gst_filesrc_activate), (gst_filesrc_change_state),
12414         (filesrc_find_peek), (filesrc_find_suggest),
12415         (gst_filesrc_type_find):
12416         * gst/elements/gstidentity.c: (gst_identity_finalize),
12417         (gst_identity_class_init), (gst_identity_init),
12418         (gst_identity_proxy_getcaps), (identity_queue_push),
12419         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12420         (gst_identity_getrange), (gst_identity_chain),
12421         (gst_identity_sink_loop), (gst_identity_src_loop),
12422         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12423         (gst_identity_set_property), (gst_identity_get_property),
12424         (gst_identity_change_state):
12425         * gst/elements/gstidentity.h:
12426         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12427         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12428         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12429         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12430         (gst_tee_sink_activate):
12431         * gst/elements/gsttee.h:
12432         * gst/gst.c: (gst_register_core_elements), (init_post):
12433         * gst/gst.h:
12434         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12435         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12436         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12437         (gst_bin_change_state):
12438         * gst/gstbin.h:
12439         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12440         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12441         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12442         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12443         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12444         (bus_watch_callback), (bus_watch_destroy),
12445         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12446         (poll_timeout), (gst_bus_poll):
12447         * gst/gstbus.h:
12448         * gst/gstcaps.h:
12449         * gst/gstdata.h:
12450         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12451         (gst_element_post_message), (gst_element_message_full),
12452         (gst_element_get_state_func), (gst_element_get_state),
12453         (gst_element_abort_state), (gst_element_commit_state),
12454         (gst_element_lost_state), (gst_element_set_state),
12455         (gst_element_pads_activate), (gst_element_change_state),
12456         (gst_element_dispose), (gst_element_set_manager_func),
12457         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12458         (gst_element_set_manager), (gst_element_get_manager),
12459         (gst_element_set_bus), (gst_element_get_bus),
12460         (gst_element_set_scheduler), (gst_element_get_scheduler):
12461         * gst/gstelement.h:
12462         * gst/gstevent.c: (gst_event_new_segment_seek),
12463         (gst_event_new_flush):
12464         * gst/gstevent.h:
12465         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12466         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12467         (gst_message_new_eos), (gst_message_new_error),
12468         (gst_message_new_warning), (gst_message_new_tag),
12469         (gst_message_new_state_changed), (gst_message_new_application),
12470         (gst_message_get_structure), (gst_message_parse_tag),
12471         (gst_message_parse_state_changed), (gst_message_parse_error),
12472         (gst_message_parse_warning):
12473         * gst/gstmessage.h:
12474         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12475         (gst_real_pad_set_property), (gst_pad_set_active),
12476         (gst_pad_is_active), (gst_pad_set_blocked_async),
12477         (gst_pad_set_blocked), (gst_pad_is_blocked),
12478         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12479         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12480         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12481         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12482         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12483         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12484         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12485         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12486         (gst_pad_set_caps), (gst_pad_configure_sink),
12487         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12488         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12489         (gst_real_pad_dispose), (gst_real_pad_finalize),
12490         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12491         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12492         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12493         * gst/gstpad.h:
12494         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12495         (pipeline_bus_handler), (gst_pipeline_change_state),
12496         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12497         * gst/gstpipeline.h:
12498         * gst/gstprobe.h:
12499         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12500         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12501         (gst_queue_link_src), (gst_queue_bufferalloc),
12502         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12503         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12504         (gst_queue_loop), (gst_queue_handle_src_event),
12505         (gst_queue_handle_src_query), (gst_queue_src_activate),
12506         (gst_queue_change_state):
12507         * gst/gstqueue.h:
12508         * gst/gstscheduler.c: (gst_scheduler_init),
12509         (gst_scheduler_dispose), (gst_scheduler_create_task),
12510         (gst_scheduler_factory_create):
12511         * gst/gstscheduler.h:
12512         * gst/gststructure.c: (gst_structure_get_type),
12513         (gst_structure_copy_conditional):
12514         * gst/gststructure.h:
12515         * gst/gsttaginterface.h:
12516         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12517         (gst_task_init), (gst_task_dispose), (gst_task_create),
12518         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12519         (gst_task_pause):
12520         * gst/gsttask.h:
12521         * gst/gstthread.c:
12522         * gst/gstthread.h:
12523         * gst/gsttypes.h:
12524         * gst/schedulers/Makefile.am:
12525         * gst/schedulers/cothreads_compat.h:
12526         * gst/schedulers/entryscheduler.c:
12527         * gst/schedulers/faircothreads.c:
12528         * gst/schedulers/faircothreads.h:
12529         * gst/schedulers/fairscheduler.c:
12530         * gst/schedulers/gstbasicscheduler.c:
12531         * gst/schedulers/gstoptimalscheduler.c:
12532         * gst/schedulers/gthread-cothreads.h:
12533         * gst/schedulers/threadscheduler.c:
12534         (gst_thread_scheduler_task_get_type),
12535         (gst_thread_scheduler_task_class_init),
12536         (gst_thread_scheduler_task_init),
12537         (gst_thread_scheduler_task_start),
12538         (gst_thread_scheduler_task_stop),
12539         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12540         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12541         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12542         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12543         (plugin_init):
12544         * libs/gst/Makefile.am:
12545         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12546         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12547         (gst_file_pad_parent_set):
12548         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12549         (gst_dp_event_from_packet):
12550         * tests/complexity.c: (main):
12551         * tests/mass_elements.c: (main):
12552         * testsuite/states/locked.c: (message_received), (main):
12553         * testsuite/states/parent.c: (main):
12554         * tools/gst-inspect.c: (print_element_flag_info),
12555         (print_implementation_info), (print_pad_info):
12556         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12557         (main):
12558         * tools/gst-md5sum.c: (event_loop), (main):
12559         * tools/gst-typefind.c: (main):
12560         * tools/gst-xmlinspect.c: (print_element_info):
12561         Next big merge.
12562         Added GstBus for mainloop integration.
12563         Added GstMessage for sending notifications on the bus.
12564         Added GstTask as an abstraction for pipeline entry points.
12565         Removed GstThread.
12566         Removed Schedulers.
12567         Simplified GstQueue for multithreaded core.
12568         Made _link threadsafe, removed old capsnego.
12569         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12570         Added pad blocking functions.
12571         Reworked scheduling functions in GstPad to prepare for
12572         scheduling updates soon.
12573         Moved events out of data stream.
12574         Simplified GstEvent types.
12575         Added return values to push/pull.
12576         Removed clocking from GstElement.
12577         Added prototypes for state change function for next merge.
12578         Removed iterate from bins and state change management.
12579         Fixed some elements, disabled others for now.
12580         Fixed -inspect and -launch.
12581         Added check for GstBus.
12582
12583 2005-03-10  Wim Taymans  <wim@fluendo.com>
12584
12585         * docs/design/part-MT-refcounting.txt:
12586         * docs/design/part-clocks.txt:
12587         * docs/design/part-gstelement.txt:
12588         * docs/design/part-gstobject.txt:
12589         * docs/design/part-standards.txt:
12590         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12591         (gst_bin_remove_func), (gst_bin_remove):
12592         * gst/gstbin.h:
12593         * gst/gstbuffer.c:
12594         * gst/gstcaps.h:
12595         * testsuite/clock/clock1.c: (main):
12596         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12597         (main):
12598         * testsuite/dlopen/loadgst.c: (do_test):
12599         * testsuite/refcounting/bin.c: (add_remove_test1),
12600         (add_remove_test2), (main):
12601         * testsuite/refcounting/element.c: (main):
12602         * testsuite/refcounting/element_pad.c: (main):
12603         * testsuite/refcounting/pad.c: (main):
12604         * tools/gst-launch.c: (sigint_handler_sighandler):
12605         * tools/gst-typefind.c: (main):
12606         Doc updates.
12607         Added doc about clock.
12608         removed gst_bin_iterate_recurse_up(), marked methods
12609         for removal.
12610         Fix more testsuites.
12611
12612 2005-03-09  Wim Taymans  <wim@fluendo.com>
12613
12614         * gst/gstpad.c: (gst_pad_get_direction),
12615         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12616         (gst_pad_collect_valist):
12617         * testsuite/bins/interface.c: (main):
12618         * testsuite/caps/audioscale.c: (test_caps):
12619         * testsuite/caps/caps.c: (test1), (test2), (test3):
12620         * testsuite/caps/deserialize.c: (main):
12621         * testsuite/caps/enumcaps.c: (main):
12622         * testsuite/caps/filtercaps.c: (main):
12623         * testsuite/caps/intersect2.c: (main):
12624         * testsuite/caps/random.c: (main):
12625         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12626         * testsuite/caps/sets.c: (check_caps):
12627         * testsuite/caps/simplify.c: (check_caps), (main):
12628         * testsuite/caps/subtract.c: (check_caps):
12629         Fix _pad_get_direction wrt ghostpads.
12630         Fix caps testsuite.
12631
12632 2005-03-09  Wim Taymans  <wim@fluendo.com>
12633
12634         * check/Makefile.am:
12635         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12636         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12637         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12638         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12639         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12640         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12641         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12642         (bin_element_is_sink), (gst_bin_iterate_sinks),
12643         (gst_bin_iterate_all_by_interface):
12644         * gst/gstbin.h:
12645         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12646         (gst_element_change_state), (gst_element_dispose),
12647         (gst_element_finalize), (gst_element_set_loop_function):
12648         * gst/gstelement.h:
12649         * gst/gstiterator.c: (find_custom_fold_func):
12650         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12651         (gst_pad_collectv), (gst_pad_collect_valist),
12652         (gst_pad_template_new):
12653         * gst/gstpipeline.c: (gst_pipeline_class_init),
12654         (gst_pipeline_dispose), (gst_pipeline_set_property),
12655         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12656         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12657         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12658         * gst/gstutils.h:
12659         * gst/schedulers/entryscheduler.c:
12660         * gst/schedulers/gstbasicscheduler.c:
12661         (gst_basic_scheduler_cothreaded_chain),
12662         (gst_basic_scheduler_chain_add_element):
12663         * testsuite/bins/interface.c: (main):
12664         Added GstBin test.
12665         Added GstSystemClock test.
12666         Implemented clock distribution code in GstBin.
12667         Implemented iterate sinks method for future use.
12668         Rearranged gstelement.h
12669         Fix GstIterator comparison bug.
12670         Moved some code to GstPipeline, mostly clocking related.
12671
12672 2005-03-09  Wim Taymans  <wim@fluendo.com>
12673
12674         * configure.ac:
12675         * gst/gst_private.h:
12676         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12677         (gst_bin_remove_func), (gst_bin_remove),
12678         (gst_bin_get_by_name_recurse_up):
12679         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12680         (gst_clock_id_compare_func), (gst_clock_id_wait),
12681         (gst_clock_id_wait_async), (gst_clock_init),
12682         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12683         * gst/gstelement.h:
12684         * gst/gstinfo.c: (_gst_debug_init):
12685         * gst/gstobject.h:
12686         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12687         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12688         * gst/gstpad.h:
12689         Bump version number, we're now 0.9.0
12690         Add future debugging category.
12691         Fix NULL _unref() in _get_by_name_recurse_up
12692         Rearrange gstpad.h.
12693         Update some docs.
12694
12695 2005-03-08  Wim Taymans  <wim@fluendo.com>
12696
12697         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12698         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12699         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12700         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12701         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12702         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12703         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12704         * gst/elements/gstidentity.c: (gst_identity_class_init):
12705         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12706         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12707         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12708         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12709         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12710         (gst_tee_link):
12711         * gst/gstelement.c: (gst_element_class_init),
12712         (gst_element_base_class_init), (gst_element_init),
12713         (gst_element_get_random_pad), (gst_element_wait_state_change),
12714         (gst_element_change_state), (gst_element_dispose),
12715         (gst_element_finalize), (gst_element_set_loop_function):
12716         * gst/gstelement.h:
12717         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12718         * gst/gstthread.c: (gst_thread_class_init),
12719         (gst_thread_release_children_locks), (gst_thread_change_state):
12720         * gst/schedulers/gstbasicscheduler.c:
12721         (gst_basic_scheduler_loopfunc_wrapper),
12722         (gst_basic_scheduler_chain_wrapper),
12723         (gst_basic_scheduler_src_wrapper),
12724         (gst_basic_scheduler_remove_element):
12725         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12726         Remove threadsafe properties. Fix elements because GObject
12727         complains when installing a property before declaring a
12728         set/get_property handler.
12729         Rearrange gstelement.h file, use STATE macros for state locks.
12730         Free mutexes in the finalize method instead of dispose.
12731
12732 2005-03-08  Wim Taymans  <wim@fluendo.com>
12733
12734         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12735         * gst/gstthread.c: (gst_thread_release_children_locks):
12736         Added parentage check.
12737         Fix build og GstThread again.
12738
12739 2005-03-08  Wim Taymans  <wim@fluendo.com>
12740
12741         * docs/design/part-MT-refcounting.txt:
12742         * docs/design/part-conventions.txt:
12743         * docs/design/part-gstobject.txt:
12744         * docs/design/part-relations.txt:
12745         * docs/design/part-standards.txt:
12746         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12747         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12748         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12749         (gst_bin_iterate_all_by_interface):
12750         * gst/gstbuffer.h:
12751         * gst/gstclock.h:
12752         * gst/gstelement.c: (gst_element_class_init),
12753         (gst_element_change_state), (gst_element_set_loop_function):
12754         * gst/gstelement.h:
12755         * gst/gstiterator.c:
12756         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12757         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12758         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12759         (gst_object_set_parent), (gst_object_unparent),
12760         (gst_object_check_uniqueness):
12761         * gst/gstobject.h:
12762         Docs updates, clean up some headers.
12763
12764 2005-03-07  Wim Taymans  <wim@fluendo.com>
12765
12766         * check/.cvsignore:
12767         * check/Makefile.am:
12768         * check/gst-libs/.cvsignore:
12769         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12770         * check/gst/.cvsignore:
12771         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12772         (START_TEST), (gstbus_suite), (main):
12773         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12774         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12775         (gst_data_suite), (main):
12776         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12777         (add_fold_func), (gstiterator_suite), (main):
12778         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12779         (thread_name_object), (thread_name_object_default),
12780         (gst_object_name_compare), (gst_object_suite), (main):
12781         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12782         (gst_pad_suite), (main):
12783         * check/gstcheck.c: (gst_check_log_message_func),
12784         (gst_check_log_critical_func), (gst_check_init):
12785         * check/gstcheck.h:
12786         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12787         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12788         Added checks.
12789
12790 2005-03-07  Wim Taymans  <wim@fluendo.com>
12791
12792         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12793         (gst_list_iterator_next), (gst_list_iterator_resync),
12794         (gst_list_iterator_free), (gst_iterator_new_list),
12795         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12796         (gst_iterator_free), (gst_iterator_push), (filter_next),
12797         (filter_resync), (filter_uninit), (filter_free),
12798         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12799         (gst_iterator_foreach), (find_custom_fold_func),
12800         (gst_iterator_find_custom):
12801         * gst/gstiterator.h:
12802         Added missing files.
12803
12804 2005-03-07  Wim Taymans  <wim@fluendo.com>
12805
12806         * Makefile.am:
12807         * configure.ac:
12808         * docs/design/part-MT-refcounting.txt:
12809         * docs/design/part-conventions.txt:
12810         * docs/design/part-gstobject.txt:
12811         * docs/design/part-relations.txt:
12812         * examples/mixer/mixer.c: (main):
12813         * examples/thread/thread.c: (eos), (main):
12814         * gst/Makefile.am:
12815         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12816         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12817         (gst_spider_plug_from_srcpad):
12818         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12819         (gst_spider_identity_change_state),
12820         (gst_spider_identity_sink_loop_type_finding):
12821         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12822         * gst/elements/gstidentity.c: (gst_identity_init):
12823         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12824         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12825         * gst/elements/gsttypefindelement.c: (free_entry):
12826         * gst/gst.c:
12827         * gst/gst.h:
12828         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12829         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12830         (gst_bin_set_index), (gst_bin_set_element_sched),
12831         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12832         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12833         (gst_bin_iterate_elements), (iterate_child_recurse),
12834         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12835         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12836         (compare_interface), (gst_bin_get_by_interface),
12837         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12838         * gst/gstbin.h:
12839         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12840         (gst_buffer_default_free), (gst_buffer_default_copy),
12841         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12842         (gst_buffer_create_sub):
12843         * gst/gstbuffer.h:
12844         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12845         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12846         (gst_caps_unref), (gst_static_caps_get),
12847         (gst_caps_remove_and_get_structure), (gst_caps_append),
12848         (gst_caps_append_structure), (gst_caps_remove_structure),
12849         (gst_caps_copy_nth), (gst_caps_set_simple),
12850         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12851         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12852         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12853         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12854         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12855         (gst_caps_structure_figure_out_union),
12856         (gst_caps_switch_structures), (gst_caps_do_simplify),
12857         (gst_caps_replace), (gst_caps_from_string),
12858         (gst_caps_copy_conditional):
12859         * gst/gstcaps.h:
12860         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12861         (_gst_clock_id_free), (gst_clock_id_unref),
12862         (gst_clock_id_compare_func), (gst_clock_id_wait),
12863         (gst_clock_id_wait_async), (gst_clock_class_init),
12864         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12865         (gst_clock_get_time), (gst_clock_set_time_adjust),
12866         (gst_clock_set_property), (gst_clock_get_property):
12867         * gst/gstclock.h:
12868         * gst/gstcompat.h:
12869         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12870         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12871         * gst/gstdata.h:
12872         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12873         (gst_element_requires_clock), (gst_element_provides_clock),
12874         (gst_element_set_clock), (gst_element_clock_wait),
12875         (gst_element_wait), (gst_element_set_time_delay),
12876         (gst_element_is_indexable), (gst_element_add_pad),
12877         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12878         (pad_compare_name), (gst_element_get_static_pad),
12879         (gst_element_request_pad), (gst_element_get_request_pad),
12880         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12881         (gst_element_class_get_pad_template_list),
12882         (gst_element_class_get_pad_template), (gst_element_error_func),
12883         (gst_element_get_random_pad), (gst_element_get_event_masks),
12884         (gst_element_send_event), (gst_element_seek),
12885         (gst_element_get_query_types), (gst_element_query),
12886         (gst_element_get_formats), (gst_element_convert),
12887         (gst_element_is_locked_state), (gst_element_set_locked_state),
12888         (gst_element_sync_state_with_parent), (gst_element_change_state),
12889         (gst_element_finalize), (gst_element_yield),
12890         (gst_element_interrupt), (gst_element_set_scheduler),
12891         (gst_element_get_scheduler), (gst_element_set_loop_function):
12892         * gst/gstelement.h:
12893         * gst/gstevent.h:
12894         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12895         (gst_format_get_by_nick), (gst_format_get_details),
12896         (gst_format_iterate_definitions):
12897         * gst/gstformat.h:
12898         * gst/gstindex.c: (gst_index_gtype_resolver):
12899         * gst/gstinfo.c:
12900         * gst/gstinfo.h:
12901         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12902         (gst_mem_chunk_free):
12903         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12904         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12905         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12906         (gst_object_dispatch_properties_changed),
12907         (gst_object_set_name_default), (gst_object_set_name),
12908         (gst_object_get_name), (gst_object_set_name_prefix),
12909         (gst_object_get_name_prefix), (gst_object_set_parent),
12910         (gst_object_get_parent), (gst_object_unparent),
12911         (gst_object_check_uniqueness), (gst_object_save_thyself),
12912         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12913         (gst_object_set_property), (gst_object_get_property),
12914         (gst_object_get_path_string):
12915         * gst/gstobject.h:
12916         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12917         (gst_real_pad_init), (gst_real_pad_get_property),
12918         (gst_pad_custom_new), (gst_pad_get_direction),
12919         (gst_pad_set_active), (gst_pad_is_active),
12920         (gst_pad_set_event_function), (gst_pad_is_linked),
12921         (gst_pad_link_free), (gst_pad_link_intersect),
12922         (gst_pad_link_fixate), (gst_pad_set_caps),
12923         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12924         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12925         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12926         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12927         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12928         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12929         (gst_pad_realize), (gst_pad_get_allowed_caps),
12930         (gst_real_pad_dispose), (gst_real_pad_finalize),
12931         (gst_pad_collectv), (gst_pad_collect_valist),
12932         (gst_pad_template_dispose), (gst_pad_template_new),
12933         (gst_pad_get_internal_links):
12934         * gst/gstpad.h:
12935         * gst/gstpipeline.c: (gst_pipeline_dispose),
12936         (gst_pipeline_change_state):
12937         * gst/gstpipeline.h:
12938         * gst/gstplugin.c:
12939         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12940         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12941         * gst/gstpluginfeature.h:
12942         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12943         * gst/gstquery.c: (_gst_query_type_initialize),
12944         (gst_query_type_register), (gst_query_type_get_by_nick),
12945         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12946         * gst/gstquery.h:
12947         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12948         * gst/gstscheduler.c: (gst_scheduler_add_element),
12949         (gst_scheduler_factory_create):
12950         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12951         (gst_structure_free), (gst_structure_set_name),
12952         (gst_structure_id_set_value), (gst_structure_set_value),
12953         (gst_structure_set_valist), (gst_structure_remove_field),
12954         (gst_structure_remove_fields),
12955         (gst_structure_remove_fields_valist),
12956         (gst_structure_remove_all_fields), (gst_structure_foreach),
12957         (gst_structure_map_in_place),
12958         (gst_caps_structure_fixate_field_nearest_int),
12959         (gst_caps_structure_fixate_field_nearest_double):
12960         * gst/gststructure.h:
12961         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12962         (gst_system_clock_init), (gst_system_clock_dispose),
12963         (gst_system_clock_async_thread),
12964         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12965         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12966         * gst/gstsystemclock.h:
12967         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12968         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12969         * gst/gsttaginterface.c:
12970         * gst/gstthread.c: (gst_thread_dispose),
12971         (gst_thread_release_children_locks), (gst_thread_change_state),
12972         (gst_thread_main_loop):
12973         * gst/gsttrashstack.h:
12974         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12975         * gst/gsttypes.h:
12976         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12977         (gst_element_request_pad), (gst_element_get_pad_from_template),
12978         (gst_element_request_compatible_pad),
12979         (gst_element_get_compatible_pad_filtered),
12980         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12981         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12982         (gst_element_link_many), (gst_element_link),
12983         (gst_element_link_pads), (gst_element_unlink_pads),
12984         (gst_element_unlink_many), (gst_element_unlink),
12985         (gst_pad_can_link_filtered), (gst_pad_can_link),
12986         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12987         (gst_object_default_error), (gst_bin_add_many),
12988         (gst_bin_remove_many), (gst_element_populate_std_props),
12989         (gst_element_class_install_std_props), (gst_buffer_merge),
12990         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12991         (link_fold_func), (gst_pad_proxy_setcaps):
12992         * gst/gstutils.h:
12993         * gst/gstvalue.c: (gst_value_deserialize_string):
12994         * gst/parse/grammar.y:
12995         * gst/schedulers/gstbasicscheduler.c:
12996         (gst_basic_scheduler_cothreaded_chain),
12997         (gst_basic_scheduler_chain_recursive_add),
12998         (gst_basic_scheduler_pad_link):
12999         * gst/schedulers/gstoptimalscheduler.c:
13000         (get_group_schedule_function),
13001         (gst_opt_scheduler_state_transition),
13002         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13003         * libs/gst/bytestream/bytestream.c:
13004         * libs/gst/dataprotocol/dataprotocol.c:
13005         (gst_dp_header_from_buffer):
13006         * po/nb.po:
13007         * po/ru.po:
13008         * tests/threadstate/threadstate2.c: (eos):
13009         * tools/gst-compprep.c: (main):
13010         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13011         (print_pad_info), (print_children_info):
13012         * tools/gst-launch.c: (idle_func), (main):
13013         * tools/gst-md5sum.c: (idle_func), (main):
13014         * tools/gst-xmlinspect.c: (print_element_info):
13015         First THREADED backport attempt, focusing on adding locks and
13016         making sure the API is threadsafe. Needs more work. More docs
13017         follow this week.
13018
13019 2005-02-24  Andy Wingo  <wingo@pobox.com>
13020
13021         * tests/bench-complexity.scm:
13022         * tests/complexity.gnuplot: New files, good for running complexity
13023         benchmarks.
13024
13025         * tests/Makefile.am:
13026         * tests/complexity.c: New test, sets up N elements, at each level
13027         teeing into M streams per element. Eeeenteresting.
13028
13029         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13030         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13031         running bench-mass_elements.scm.
13032
13033         * tests/bench-mass_elements.scm: New script, runs mass_elements
13034         for various numbers of identities, outputting the results to a
13035         file. Requires guile 1.6. Just for testing.
13036
13037 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13038
13039         * gst/schedulers/fairscheduler.c:
13040           compile with debug disabled
13041
13042 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13043
13044         * configure.ac:
13045           hunting season on 0.9 is now OPEN