move even more stuff, win32/ is nice and clean now
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * win32/GStreamer.vcproj:
4         * win32/MANIFEST:
5         * win32/Makefile:
6         * win32/Makefile.inspect:
7         * win32/Makefile.launch:
8         * win32/Makefile.register:
9         * win32/README.txt:
10         * win32/gst-inspect.vcproj:
11         * win32/gst-launch.vcproj:
12         * win32/gst-register.vcproj:
13         * win32/gstelements.vcproj:
14         * win32/gstgetbits.def:
15         * win32/gstgetbits.vcproj:
16         * win32/gstreamer-dbg.def:
17         * win32/gstreamer.def:
18         * win32/libgstbase.def:
19         * win32/libgstbase.vcproj:
20         * win32/link_oldruntime.c:
21         * win32/mman.c:
22         * win32/mman.h:
23         * win32/mman.inl:
24         * win32/msvc71.sln:
25           move even more stuff, win32/ is nice and clean now
26
27 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
28
29         * libs/gst/control/.cvsignore:
30         * win32/MANIFEST:
31         * win32/config.h:
32         * win32/dirent.c:
33         * win32/dirent.h:
34         * win32/gstbytestream.def:
35         * win32/gstbytestream.vcproj:
36         * win32/gstconfig.h:
37         * win32/gstenumtypes.c:
38         * win32/gstenumtypes.h:
39         * win32/gstoptimalscheduler.vcproj:
40         * win32/gstversion.h:
41         * win32/gtchar.h:
42         * win32/testsuite/bins.vcproj:
43         * win32/testsuite/bytestream.vcproj:
44         * win32/testsuite/caps.vcproj:
45         * win32/testsuite/cleanup.vcproj:
46         * win32/testsuite/clock.vcproj:
47         * win32/testsuite/debug.vcproj:
48         * win32/testsuite/dlopen.vcproj:
49         * win32/testsuite/dynparams.vcproj:
50         * win32/testsuite/elements.vcproj:
51         * win32/testsuite/ghostpads.vcproj:
52         * win32/testsuite/indexers.vcproj:
53         * win32/testsuite/negotiation.vcproj:
54         * win32/testsuite/parse.vcproj:
55         * win32/testsuite/plugin.vcproj:
56         * win32/testsuite/refcounting.vcproj:
57         * win32/testsuite/schedulers.vcproj:
58         * win32/testsuite/states.vcproj:
59         * win32/testsuite/tags.vcproj:
60         * win32/testsuite/threads.vcproj:
61           remove old win32 stuff that isn't maintained and should be
62           reorganized
63
64 2005-11-30  Andy Wingo  <wingo@pobox.com>
65
66         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
67         loading the gst.interfaces python module bork.
68
69         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
70         available since GLib 2.2. Fixes #318031.
71
72 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
73
74         * Makefile.am:
75         * check/.cvsignore:
76         * check/Makefile.am:
77         * check/elements/.cvsignore:
78         * check/elements/fakesrc.c:
79         * check/elements/fdsrc.c:
80         * check/elements/identity.c:
81         * check/generic/.cvsignore:
82         * check/generic/states.c:
83         * check/gst-libs/.cvsignore:
84         * check/gst-libs/controller.c:
85         * check/gst-libs/gdp.c:
86         * check/gst/.cvsignore:
87         * check/gst/capslist.h:
88         * check/gst/gst.c:
89         * check/gst/gstbin.c:
90         * check/gst/gstbuffer.c:
91         * check/gst/gstbus.c:
92         * check/gst/gstcaps.c:
93         * check/gst/gstelement.c:
94         * check/gst/gstevent.c:
95         * check/gst/gstghostpad.c:
96         * check/gst/gstiterator.c:
97         * check/gst/gstmessage.c:
98         * check/gst/gstminiobject.c:
99         * check/gst/gstobject.c:
100         * check/gst/gstpad.c:
101         * check/gst/gstpipeline.c:
102         * check/gst/gstplugin.c:
103         * check/gst/gstsegment.c:
104         * check/gst/gststructure.c:
105         * check/gst/gstsystemclock.c:
106         * check/gst/gsttag.c:
107         * check/gst/gstutils.c:
108         * check/gst/gstvalue.c:
109         * check/net/.cvsignore:
110         * check/net/gstnetclientclock.c:
111         * check/net/gstnettimeprovider.c:
112         * check/pipelines/.cvsignore:
113         * check/pipelines/cleanup.c:
114         * check/pipelines/simple_launch_lines.c:
115         * check/pipelines/stress.c:
116         * check/states/.cvsignore:
117         * check/states/sinks.c:
118         * configure.ac:
119         * examples/Makefile.am:
120         * examples/appreader/.cvsignore:
121         * examples/appreader/Makefile.am:
122         * examples/appreader/appreader.c:
123         * examples/controller/.cvsignore:
124         * examples/controller/Makefile.am:
125         * examples/controller/audio-example.c:
126         * examples/cutter/.cvsignore:
127         * examples/cutter/Makefile.am:
128         * examples/cutter/cutter.c:
129         * examples/cutter/cutter.h:
130         * examples/events/Makefile.am:
131         * examples/events/seek.c:
132         * examples/helloworld/.cvsignore:
133         * examples/helloworld/Makefile.am:
134         * examples/helloworld/helloworld.c:
135         * examples/helloworld2/.cvsignore:
136         * examples/helloworld2/Makefile.am:
137         * examples/helloworld2/helloworld2.c:
138         * examples/launch/.cvsignore:
139         * examples/launch/Makefile.am:
140         * examples/launch/mp3parselaunch.c:
141         * examples/launch/mp3play:
142         * examples/manual/.cvsignore:
143         * examples/manual/Makefile.am:
144         * examples/manual/extract.pl:
145         * examples/metadata/Makefile.am:
146         * examples/metadata/read-metadata.c:
147         * examples/mixer/.cvsignore:
148         * examples/mixer/Makefile.am:
149         * examples/mixer/mixer.c:
150         * examples/mixer/mixer.h:
151         * examples/pingpong/.cvsignore:
152         * examples/pingpong/Makefile.am:
153         * examples/pingpong/pingpong.c:
154         * examples/plugins/.cvsignore:
155         * examples/plugins/Makefile.am:
156         * examples/plugins/example.c:
157         * examples/plugins/example.h:
158         * examples/pwg/.cvsignore:
159         * examples/pwg/Makefile.am:
160         * examples/pwg/extract.pl:
161         * examples/queue/.cvsignore:
162         * examples/queue/Makefile.am:
163         * examples/queue/queue.c:
164         * examples/queue2/.cvsignore:
165         * examples/queue2/Makefile.am:
166         * examples/queue2/queue2.c:
167         * examples/queue3/.cvsignore:
168         * examples/queue3/Makefile.am:
169         * examples/queue3/queue3.c:
170         * examples/queue4/.cvsignore:
171         * examples/queue4/Makefile.am:
172         * examples/queue4/queue4.c:
173         * examples/retag/.cvsignore:
174         * examples/retag/Makefile.am:
175         * examples/retag/retag.c:
176         * examples/retag/transcode.c:
177         * examples/thread/.cvsignore:
178         * examples/thread/Makefile.am:
179         * examples/thread/thread.c:
180         * examples/typefind/.cvsignore:
181         * examples/typefind/Makefile.am:
182         * examples/typefind/typefind.c:
183         * examples/xml/.cvsignore:
184         * examples/xml/Makefile.am:
185         * examples/xml/createxml.c:
186         * examples/xml/runxml.c:
187         * tests/Makefile.am:
188         * tests/check/Makefile.am:
189         * testsuite/.cvsignore:
190         * testsuite/Makefile.am:
191         * testsuite/Rules:
192         * testsuite/caps/.cvsignore:
193         * testsuite/caps/Makefile.am:
194         * testsuite/caps/app_fixate.c:
195         * testsuite/caps/audioscale.c:
196         * testsuite/caps/caps.c:
197         * testsuite/caps/caps.h:
198         * testsuite/caps/caps_strings:
199         * testsuite/caps/compatibility.c:
200         * testsuite/caps/deserialize.c:
201         * testsuite/caps/enumcaps.c:
202         * testsuite/caps/eratosthenes.c:
203         * testsuite/caps/filtercaps.c:
204         * testsuite/caps/fixed.c:
205         * testsuite/caps/fraction-convert.c:
206         * testsuite/caps/fraction-multiply-and-zero.c:
207         * testsuite/caps/intersect2.c:
208         * testsuite/caps/intersection.c:
209         * testsuite/caps/normalisation.c:
210         * testsuite/caps/random.c:
211         * testsuite/caps/renegotiate.c:
212         * testsuite/caps/sets.c:
213         * testsuite/caps/simplify.c:
214         * testsuite/caps/string-conversions.c:
215         * testsuite/caps/structure.c:
216         * testsuite/caps/subtract.c:
217         * testsuite/caps/union.c:
218         * testsuite/debug/.cvsignore:
219         * testsuite/debug/Makefile.am:
220         * testsuite/debug/category.c:
221         * testsuite/debug/commandline.c:
222         * testsuite/debug/global.c:
223         * testsuite/debug/output.c:
224         * testsuite/debug/printf_extension.c:
225         * testsuite/dlopen/.cvsignore:
226         * testsuite/dlopen/Makefile.am:
227         * testsuite/dlopen/dlopen_gst.c:
228         * testsuite/dlopen/loadgst.c:
229         * testsuite/elements/.cvsignore:
230         * testsuite/elements/Makefile.am:
231         * testsuite/elements/gst-inspect-check.in:
232         * testsuite/elements/struct_i386.h:
233         * testsuite/elements/struct_size.c:
234         * testsuite/indexers/.cvsignore:
235         * testsuite/indexers/Makefile.am:
236         * testsuite/indexers/cache1.c:
237         * testsuite/indexers/indexdump.c:
238         * testsuite/parse/.cvsignore:
239         * testsuite/parse/Makefile.am:
240         * testsuite/parse/parse1.c:
241         * testsuite/parse/parse2.c:
242         * testsuite/plugin/.cvsignore:
243         * testsuite/plugin/Makefile.am:
244         * testsuite/plugin/README:
245         * testsuite/plugin/dynamic.c:
246         * testsuite/plugin/linked.c:
247         * testsuite/plugin/loading.c:
248         * testsuite/plugin/registry.c:
249         * testsuite/plugin/static.c:
250         * testsuite/plugin/static2.c:
251         * testsuite/plugin/testplugin.c:
252         * testsuite/plugin/testplugin2.c:
253         * testsuite/plugin/testplugin2_s.c:
254         * testsuite/plugin/testplugin_s.c:
255         * testsuite/refcounting/.cvsignore:
256         * testsuite/refcounting/Makefile.am:
257         * testsuite/refcounting/bin.c:
258         * testsuite/refcounting/element.c:
259         * testsuite/refcounting/element_pad.c:
260         * testsuite/refcounting/mainloop.c:
261         * testsuite/refcounting/mem.c:
262         * testsuite/refcounting/mem.h:
263         * testsuite/refcounting/object.c:
264         * testsuite/refcounting/pad.c:
265         * testsuite/refcounting/sched.c:
266         * testsuite/refcounting/thread.c:
267         * testsuite/states/.cvsignore:
268         * testsuite/states/Makefile.am:
269         * testsuite/states/bin.c:
270         * testsuite/states/locked.c:
271         * testsuite/states/parent.c:
272         * testsuite/threads/.cvsignore:
273         * testsuite/threads/159566.c:
274         * testsuite/threads/159852.c:
275         * testsuite/threads/Makefile.am:
276         * testsuite/threads/queue.c:
277         * testsuite/threads/signals.c:
278         * testsuite/threads/staticrec.c:
279         * testsuite/threads/thread.c:
280         * testsuite/threads/threadb.c:
281         * testsuite/threads/threadc.c:
282         * testsuite/threads/threadd.c:
283         * testsuite/threads/threade.c:
284         * testsuite/threads/threadf.c:
285         * testsuite/threads/threadg.c:
286         * testsuite/threads/threadh.c:
287         * testsuite/threads/threadi.c:
288           move all of these under tests
289
290 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
291
292         * configure.ac:
293         * tests/Makefile.am:
294           fix distcheck
295
296 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
297
298         * docs/gst/gstreamer-sections.txt:
299         * tests/sched/.cvsignore:
300         * tests/sched/Makefile.am:
301         * tests/sched/cases/(fs-fs).xml:
302         * tests/sched/cases/(fs-i-fs).xml:
303         * tests/sched/cases/(fs-i-i-fs).xml:
304         * tests/sched/cases/(fs-i-q[i-fs]).xml:
305         * tests/sched/dynamic-pipeline.c:
306         * tests/sched/interrupt1.c:
307         * tests/sched/interrupt2.c:
308         * tests/sched/interrupt3.c:
309         * tests/sched/runtestcases:
310         * tests/sched/runxml.c:
311         * tests/sched/sched-stress.c:
312         * tests/sched/sort.c:
313         * tests/sched/testcases:
314         * tests/sched/testcases1.tc:
315         * tests/seeking/.cvsignore:
316         * tests/seeking/Makefile.am:
317         * tests/seeking/seeking1.c:
318         * tests/threadstate/.cvsignore:
319         * tests/threadstate/Makefile.am:
320         * tests/threadstate/test1.c:
321         * tests/threadstate/test2.c:
322         * tests/threadstate/threadstate1.c:
323         * tests/threadstate/threadstate2.c:
324         * tests/threadstate/threadstate3.c:
325         * tests/threadstate/threadstate4.c:
326         * tests/threadstate/threadstate5.c:
327           remove obsolete tests
328         * configure.ac:
329         * tests/bench-complexity.scm:
330         * tests/bench-mass_elements.scm:
331         * tests/complexity.c:
332         * tests/complexity.gnuplot:
333         * tests/instantiate/.cvsignore:
334         * tests/instantiate/Makefile.am:
335         * tests/instantiate/caps.c:
336         * tests/mass_elements.c:
337         * tests/network-clock-utils.scm:
338         * tests/network-clock.scm:
339         * tests/plot-data:
340         First pass at cleaning up tests/ dir before moving the rest
341         Combined with CVS surgery
342
343 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
344
345         * po/POTFILES.in:
346           queue has moved, update
347
348 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
349
350         * docs/gst/gstreamer-sections.txt:
351           remove double entries from the docs
352         * gst/gst_private.h:
353         * gst/gstinfo.c: (_gst_debug_init):
354           remove the THREAD debug category
355         * gst/Makefile.am:
356         * gst/gstqueue.c:
357         * gst/gstqueue.h:
358         * docs/gst/gstreamer.types:
359         * plugins/elements/gstqueue.c: (gst_queue_get_type),
360         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
361           completely move queue and fix up debugging categories
362
363 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
364
365         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
366           make initialization portable, using LL is not
367
368 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
369
370         * win32/common/gstconfig.h:
371           add large padding
372
373 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
374
375         * win32/common/libgstreamer.def:
376           rename symbols; sort base section
377
378 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
379
380         * gst/gstclock.c: (do_linear_regression):
381           remove crack non-portable handrolled DEBUG macro
382
383 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
384
385         * docs/random/release:
386           update notes
387         * win32/common/gstenumtypes.c: (register_gst_object_flags),
388         (gst_object_flags_get_type), (register_gst_bin_flags),
389         (gst_bin_flags_get_type), (register_gst_buffer_flag),
390         (gst_buffer_flag_get_type), (register_gst_bus_flags),
391         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
392         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
393         (gst_caps_flags_get_type), (register_gst_clock_return),
394         (gst_clock_return_get_type), (register_gst_clock_entry_type),
395         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
396         (gst_clock_flags_get_type), (register_gst_state),
397         (gst_state_get_type), (register_gst_state_change_return),
398         (gst_state_change_return_get_type), (register_gst_state_change),
399         (gst_state_change_get_type), (register_gst_element_flags),
400         (gst_element_flags_get_type), (register_gst_core_error),
401         (gst_core_error_get_type), (register_gst_library_error),
402         (gst_library_error_get_type), (register_gst_resource_error),
403         (gst_resource_error_get_type), (register_gst_stream_error),
404         (gst_stream_error_get_type), (register_gst_event_type_flags),
405         (gst_event_type_flags_get_type), (register_gst_event_type),
406         (gst_event_type_get_type), (register_gst_seek_type),
407         (gst_seek_type_get_type), (register_gst_seek_flags),
408         (gst_seek_flags_get_type), (register_gst_format),
409         (gst_format_get_type), (register_gst_index_certainty),
410         (gst_index_certainty_get_type), (register_gst_index_entry_type),
411         (gst_index_entry_type_get_type),
412         (register_gst_index_lookup_method),
413         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
414         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
415         (gst_index_resolver_method_get_type), (register_gst_index_flags),
416         (gst_index_flags_get_type), (register_gst_debug_level),
417         (gst_debug_level_get_type), (register_gst_debug_color_flags),
418         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
419         (gst_iterator_result_get_type), (register_gst_iterator_item),
420         (gst_iterator_item_get_type), (register_gst_message_type),
421         (gst_message_type_get_type), (register_gst_mini_object_flags),
422         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
423         (gst_pad_link_return_get_type), (register_gst_flow_return),
424         (gst_flow_return_get_type), (register_gst_activate_mode),
425         (gst_activate_mode_get_type), (register_gst_pad_direction),
426         (gst_pad_direction_get_type), (register_gst_pad_flags),
427         (gst_pad_flags_get_type), (register_gst_pad_presence),
428         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
429         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
430         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
431         (gst_plugin_error_get_type), (register_gst_plugin_flags),
432         (gst_plugin_flags_get_type), (register_gst_rank),
433         (gst_rank_get_type), (register_gst_query_type),
434         (gst_query_type_get_type), (register_gst_tag_merge_mode),
435         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
436         (gst_tag_flag_get_type), (register_gst_task_state),
437         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
438         (gst_alloc_trace_flags_get_type),
439         (register_gst_type_find_probability),
440         (gst_type_find_probability_get_type), (register_gst_uri_type),
441         (gst_uri_type_get_type), (register_gst_parse_error),
442         (gst_parse_error_get_type):
443         * win32/common/gstenumtypes.h:
444         * win32/common/gstversion.h:
445           update visual studio generated files
446
447 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
448
449         * win32/vs6/libgstbase.dsp:
450         * win32/vs6/libgstelements.dsp:
451           update project files for new locations
452
453 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
454
455         * Makefile.am:
456           remove some files
457         * README:
458           reinstate and update
459         * DEVEL:
460         * REQUIREMENTS:
461           removed
462         * LICENSE:
463         * docs/random/LICENSE:
464           moved to random
465
466 2005-11-30  Edward Hervey  <edward@fluendo.com>
467
468         * gst/gsttypefind.c: (gst_type_find_register):
469         * gst/gsttypefind.h:
470         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
471         (gst_type_find_factory_dispose):
472         * gst/gsttypefindfactory.h:
473         Fix memory leak in GstTypeFindFactory.
474
475 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
476
477         * gst/gst.c:
478         * plugins/elements/Makefile.am:
479         * plugins/elements/gstelements.c:
480         * plugins/elements/gstqueue.c:
481           move queue from core to the elements plugin
482
483 2005-11-29  Andy Wingo  <wingo@pobox.com>
484
485         * libs/gst/base/gstbasetransform.h: 
486         * libs/gst/base/gstbasesrc.h: 
487         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
488
489         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
490         of pointers by which to pad very extensible base classes (like the
491         ones in libs/gst/base).
492
493 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
494
495         * docs/gst/gstreamer-docs.sgml:
496         * docs/gst/gstreamer-sections.txt:
497         * docs/libs/gstreamer-libs-docs.sgml:
498         * docs/libs/gstreamer-libs-sections.txt:
499           moving documentation from core to lib
500
501 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
502
503         * check/Makefile.am:
504         * configure.ac:
505         * docs/gst/Makefile.am:
506         * gst/Makefile.am:
507         * gst/base/.cvsignore:
508         * gst/base/Makefile.am:
509         * gst/base/README:
510         * gst/base/gstadapter.c:
511         * gst/base/gstadapter.h:
512         * gst/base/gstbasesink.c:
513         * gst/base/gstbasesink.h:
514         * gst/base/gstbasesrc.c:
515         * gst/base/gstbasesrc.h:
516         * gst/base/gstbasetransform.c:
517         * gst/base/gstbasetransform.h:
518         * gst/base/gstcollectpads.c:
519         * gst/base/gstcollectpads.h:
520         * gst/base/gstpushsrc.c:
521         * gst/base/gstpushsrc.h:
522         * gst/base/gsttypefindhelper.c:
523         * gst/base/gsttypefindhelper.h:
524         * gst/check/Makefile.am:
525         * gst/check/gstcheck.c:
526         * gst/check/gstcheck.h:
527         * gst/net/Makefile.am:
528         * gst/net/gstnet.h:
529         * gst/net/gstnetclientclock.c:
530         * gst/net/gstnetclientclock.h:
531         * gst/net/gstnettimepacket.c:
532         * gst/net/gstnettimepacket.h:
533         * gst/net/gstnettimeprovider.c:
534         * gst/net/gstnettimeprovider.h:
535         * libs/gst/Makefile.am:
536         * libs/gst/base/Makefile.am:
537         * libs/gst/base/gstbasetransform.c:
538         * libs/gst/check/Makefile.am:
539         * plugins/elements/Makefile.am:
540         * po/POTFILES.in:
541           CVS surgery + support to move base, check, and net out of gst
542           and into libs/gst
543
544 2005-11-29  Andy Wingo  <wingo@pobox.com>
545
546         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
547
548         * gst/gststructure.h (struct _GstStructure): Only one pointer of
549         padding.
550
551         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
552
553         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
554
555         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
556
557         * gst/gstobject.h: (struct _GstObject): Only one pointer of
558         padding; reduces object size by about 30%. We don't expect
559         anything else to go into gstobject.
560
561         * gst/gstminiobject.h (struct _GstMiniObject)
562         (struct _GstMiniObjectClass): Only one pointer of padding; the
563         payload is only a pointer and two ints anyway. For the class there
564         are only two methods as well.
565         
566         * gst/gstelement.h (struct _GstElementClass): Removed
567         the state_changed signal callback, it is not used.
568
569 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
570
571         * docs/gst/gstreamer.types:
572           fix includes, though they are a little dinky
573
574 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
575
576         * check/Makefile.am:
577           look in the right place for elements, a lot more chance of
578           success
579         * gst/Makefile.am:
580           remove indexers and elements subdirs
581         * plugins/Makefile.am:
582           make indexers conditional
583
584 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
585
586         * Makefile.am:
587         * configure.ac:
588         * plugins/elements/Makefile.am:
589         * plugins/elements/gstcapsfilter.c:
590         * plugins/elements/gstfilesink.c:
591         * plugins/elements/gstfilesrc.c:
592         * plugins/elements/gstidentity.c:
593         * plugins/indexers/Makefile.am:
594           do CVS surgery and related build fixery to move elements
595           and indexers in a new gstreamer/plugins directory, out of the
596           gst/ directory
597
598 2005-11-29  Andy Wingo  <wingo@pobox.com>
599
600         * check/Makefile.am:
601         * pkgconfig/gstreamer-net-uninstalled.pc.in:
602         * pkgconfig/gstreamer-net.pc.in:
603         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
604         #322257.
605
606 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
607
608         * tools/Makefile.am:
609         * tools/gst-complete.1.in:
610         * tools/gst-complete.c:
611         * tools/gst-compprep.1.in:
612         * tools/gst-compprep.c:
613           removing -compprep and -complete
614
615 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
616
617         * gst/gstevent.c: (gst_event_new_new_segment),
618         (gst_event_parse_new_segment):
619         * gst/gstevent.h:
620           fix #320529 - clean up new_segment API and structure.
621           Let's hope everyone was using the methods, and not the structure.
622
623 2005-11-29  Edward Hervey  <edward@fluendo.com>
624
625         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
626         (gst_base_sink_event), (gst_base_sink_do_sync),
627         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
628         Properly handle non GST_FORMAT_TIME segment
629         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
630         Properly handle non GST_FORMAT_TIME segment
631         * gst/gstsegment.c:
632         This function is valid if the accumulator is 0 and the format
633         is different from the requested format.
634         
635 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
636
637         * docs/gst/gstreamer-sections.txt:
638         Add gst_query_new_seeking and gst_query_parse_seeking to the
639         docs.
640
641 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
642
643         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
644           Treat a pad alloc with new caps the same as if we were not
645           negotiated, in order to allow a changing upstream output
646           to produce a new format of data.
647
648 2005-11-29  Edward Hervey  <edward@fluendo.com>
649
650         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
651         (gst_base_transform_event), (gst_base_transform_eventfunc):
652         The event virtual method is now properly implemented, with a default
653         handler
654         Sub classes should call the parent_class event method. They should
655         return FALSE if they had a problem handling the given event, or don't
656         want GstBaseTransform to send that even downstream
657         * gst/elements/gstidentity.c: (gst_identity_class_init),
658         (gst_identity_init), (gst_identity_event),
659         (gst_identity_transform_ip), (gst_identity_set_property),
660         (gst_identity_get_property):
661         * gst/elements/gstidentity.h:
662         Added the single-segment boolean property.
663         If set to TRUE, it will output a single segment of data, starting from
664         0, will eat up all incoming newsegment, and modify the timestamp of the
665         buffers accordingly
666
667 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
668
669         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
670           Don't ref NULL target pad (#322751). Improve docs.
671
672 2005-11-29  Michael Smith  <msmith@fluendo.com>
673
674         * gst/gstregistryxml.c: (load_plugin):
675           Don't crash if we failed to load a feature from a plugin. 
676
677 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
678
679         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
680         (GST_START_TEST):
681           use more check API and less GLib API
682
683 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
684
685         * Makefile.am:
686           don't run checks if we don't have check
687         * common/check.mak:
688           remove the registry when running make torture
689         * docs/gst/gstreamer-sections.txt:
690           remove second multiply
691         * gst/gstqueue.c: (gst_queue_loop):
692           fix a compile warning when disabling debug
693
694 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
695
696         * gst/gstinfo.h:
697         Hey! Let's print the pad name if the pointer != NULL instead
698         of when it == NULL :-)
699
700 2005-11-28  Wim Taymans  <wim@fluendo.com>
701
702         * check/gst/gstutils.c: (GST_START_TEST):
703         Updated check, add some scaling accuracy checking code.
704
705         * gst/gstutils.c: (gst_util_div128_64),
706         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
707         (gst_util_uint64_scale_int):
708         Fix 6 times faster division code. Optimize for common 
709         1/1 and less common X/1 cases.
710
711 2005-11-28  Wim Taymans  <wim@fluendo.com>
712
713         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
714         More checks.
715
716         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
717         (do_linear_regression), (gst_clock_add_observation):
718         Cleanups.
719         Release lock when the clock cannot be slaved.
720         Catch the case where the regression returned an invalid denominator.
721
722         * gst/gstutils.c: (gst_util_div128_64_iterate),
723         (gst_util_div128_64), (gst_util_uint64_scale_int64),
724         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
725         Add protentially more performant non-iterative 128/64 divide function
726         that unfortunatly does not work yet.
727         Shortcut the trivial 0/X = 0 case.
728         Remove the warnings on overflow.
729
730 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
731
732         * gst/gstplugin.c: (gst_plugin_register_func):
733           everything causing a plugin not to load should be at least a WARNING
734
735 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
736
737         * docs/random/ensonic/dparams.txt:
738           some TODOs for the next dev cycle
739         * libs/gst/controller/gstcontroller.c:
740         (gst_controlled_property_set_interpolation_mode),
741         (gst_controlled_property_new):
742         * libs/gst/controller/gstcontroller.h:
743           use base type to assign acccessor functions
744
745 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
746
747         * check/Makefile.am:
748         Oops, that should have been top_srcdir
749
750 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
751
752         * check/Makefile.am:
753         * check/elements/fdsrc.c: (GST_START_TEST):
754         Use a cmdline define to specify the location of a file to use for
755         testing, to avoid breaking distcheck.
756
757 2005-11-28  Andy Wingo  <wingo@pobox.com>
758
759         * gst/gstpad.c (fixate_value): Use array functions for arrays.
760
761 2005-11-28  Edward Hervey  <edward@fluendo.com>
762
763         * tools/gst-launch.c: (main):
764         Clarify the output strings, makes it easier to translate.
765         Fixes #322626
766
767 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
768
769         * gst/Makefile.am:
770           don't try and build net if we don't even have <sys/socket.h>
771
772 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
773
774         * check/Makefile.am:
775         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
776         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
777           Add tests for fdsrc seekability
778
779         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
780         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
781         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
782         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
783         * gst/elements/gstfdsrc.h:
784           fdsrc should not be a 'live' source.
785           Implement seeking on seekable fd's.
786
787         * gst/gstquery.c: (gst_query_new_seeking),
788         (gst_query_parse_seeking):
789         * gst/gstquery.h:
790           Implement SEEKING query functions: 
791             *_new_seeking and *_parse_seeking
792
793 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
794
795         * gst/gstelement.c: (gst_element_dispose):
796           don't loop forever
797
798         * gst/gstiterator.c:
799         * gst/gststructure.c:
800           doc fixes
801
802         * libs/gst/controller/gstcontroller.c:
803         (gst_controlled_property_set_interpolation_mode):
804         * libs/gst/controller/gstcontroller.h:
805         * libs/gst/controller/gstinterpolation.c:
806         (interpolate_none_get_enum_value_array):
807           support controlling enums
808
809 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
810
811         * gst/gstvalue.c:
812           Improve documentation for gst_value_union().
813
814         * gst/gstvalue.h:
815           Change return value for union, intersect and subtract functions
816           from gint to gboolean.
817
818 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
819
820         * gst/gstvalue.c: (gst_value_serialize_any_list),
821         (gst_value_transform_any_list_string),
822         (gst_value_deserialize_list), (gst_value_deserialize_array),
823         (gst_value_set_int_range), (gst_value_deserialize_int_range),
824         (gst_value_set_double_range), (gst_value_deserialize_double_range),
825         (gst_value_set_fraction_range_full),
826         (gst_value_deserialize_fraction_range),
827         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
828         (gst_value_deserialize_boolean),
829         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
830         (gst_value_serialize_float), (gst_value_deserialize_float),
831         (gst_string_wrap), (gst_value_deserialize_string),
832         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
833         (gst_value_union_int_range_int_range),
834         (gst_value_intersect_int_range_int_range),
835         (gst_value_intersect_double_range_double_range),
836         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
837         (gst_value_subtract_int_range_int_range),
838         (gst_value_subtract_double_double_range),
839         (gst_value_subtract_double_range_double_range),
840         (gst_value_deserialize_fraction):
841         * gst/gstvalue.h:
842           Use gint, gdouble and gchar in our API instead of int, double and
843           char (and make usage in gstvalue.c more consistent).
844
845 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
846
847         * check/Makefile.am:
848         * libs/gst/controller/Makefile.am:
849         * libs/gst/dataprotocol/Makefile.am:
850           fix up Makefile.am and remove GST_ENABLE_NEW
851
852 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
853
854         * configure.ac:
855         * gst/Makefile.am:
856         * gst/base/Makefile.am:
857         * gst/check/Makefile.am:
858         * gst/elements/Makefile.am:
859         * gst/net/Makefile.am:
860           update LDFLAGS use some more
861
862 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
863
864         * common/m4/gst-doc.m4:
865           Fixes #312589
866
867 2005-11-26  Edward Hervey  <edward@fluendo.com>
868
869         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
870         This shouldn't issue a g_warning since it returns NULL if it
871         couldn't find the plugin, and all functions using this behave
872         properly on a NULL return. Switching to a GST_WARNING.
873
874 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
875
876         * gst/gstbin.c: (gst_bin_handle_message_func):
877         Don't leak clock messages.
878
879 2005-11-25  Wim Taymans  <wim@fluendo.com>
880
881         * gst/gstutils.c: (gst_util_uint64_scale_int64),
882         (gst_util_uint64_scale_int):
883         Optimisations, remove unneeded vars.
884
885 2005-11-25  Wim Taymans  <wim@fluendo.com>
886
887         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
888         Added more checks for the high precision uint64 cases.
889
890         * gst/gstutils.c: (gst_util_uint64_scale_int64),
891         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
892         Implement high precission (guint64 * guint64) / guint64.
893
894 2005-11-24  Wim Taymans  <wim@fluendo.com>
895
896         * gst/base/gstbasesrc.c: (gst_base_src_query):
897         Fix wrong percentage query.
898
899         * gst/gstutils.c: (gst_util_uint64_scale),
900         (gst_util_uint64_scale_int):
901         Add some more common cases that can be handled 
902         efficiently to _scale.
903
904 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
905
906         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
907         (gst_mini_object_suite):
908           don't use check calls from threads; check probably isn't
909           threadsafe and using a lock to make it threadsafe would
910           defeat the purpose of this check
911         * gst/check/gstcheck.c:
912         * gst/check/gstcheck.h:
913           use GST_DEBUG some more
914
915 2005-11-24  Wim Taymans  <wim@fluendo.com>
916
917         * gst/gstutils.c: (gst_util_uint64_scale),
918         (gst_util_uint64_scale_int):
919         Chain trivial case to _scale_int.
920
921 2005-11-24  Wim Taymans  <wim@fluendo.com>
922
923         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
924         Added test for scaling.
925
926         * gst/gstclock.h:
927         Small doc fix.
928
929         * gst/gstutils.c: (gst_util_uint64_scale_int):
930         Implemented high precision scaling code.
931
932 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
933
934         * gst/gstinfo.h:
935           do not crash on pad==NULL
936
937 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
938
939         Patch by: Stefan Kost
940
941         * common/gtk-doc.mak:
942         * docs/gst/Makefile.am:
943         * docs/libs/Makefile.am:
944           Fix distcheck issues for the libraries docs build
945           Closes #319599.
946
947 2005-11-24  Michael Smith <msmith@fluendo.com>
948
949         * docs/manual/basics-helloworld.xml:
950           Fix bug #315027: memory leak in example code in docs.
951
952 2005-11-24  Michael Smith <msmith@fluendo.com>
953
954         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
955           Unlock the PREROLL_LOCK in a failure case.
956
957 2005-11-24  Wim Taymans  <wim@fluendo.com>
958
959         * docs/gst/gstreamer-sections.txt:
960         * gst/base/gstadapter.h:
961         * gst/base/gstbasesink.h:
962         * gst/base/gstbasesrc.h:
963         * gst/base/gstbasetransform.h:
964         * gst/base/gstpushsrc.h:
965         * gst/elements/gstfakesink.h:
966         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
967         * gst/elements/gstfakesrc.h:
968         * gst/elements/gstfilesink.h:
969         * gst/elements/gstfilesrc.h:
970         * gst/gst.c:
971         * gst/gstbin.c:
972         * gst/gstbuffer.c: (_gst_buffer_copy):
973         * gst/gstbus.h:
974         * gst/gstcaps.c:
975         * gst/gstchildproxy.c:
976         * gst/gstclock.c:
977         * gst/gstelement.c:
978         * gst/gstelementfactory.c:
979         * gst/gstelementfactory.h:
980         * gst/gstevent.c:
981         * gst/gstghostpad.h:
982         * gst/gstindex.h:
983         * gst/gstinterface.h:
984         * gst/gstminiobject.c:
985         * gst/gstminiobject.h:
986         * gst/gstpad.c:
987         * gst/gstpad.h:
988         * gst/gstpadtemplate.h:
989         * gst/gstpipeline.h:
990         * gst/gstpluginfeature.h:
991         * gst/gstquery.h:
992         * gst/gstqueue.h:
993         * gst/gsttaglist.c:
994         * gst/gsttaglist.h:
995         * gst/gsttagsetter.c:
996         * gst/gsttagsetter.h:
997         * gst/gsttrace.c:
998         * gst/gsttrace.h:
999         * gst/gsttypefind.h:
1000         * gst/gsturi.h:
1001         * gst/gstvalue.c:
1002         * gst/net/gstnetclientclock.c:
1003         * gst/net/gstnetclientclock.h:
1004         * gst/net/gstnettimepacket.c:
1005         * gst/net/gstnettimeprovider.c:
1006         * gst/net/gstnettimeprovider.h:
1007         Doc fixes.
1008
1009 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1010
1011         * configure.ac: back to HEAD
1012
1013 === release 0.9.6 ===
1014
1015 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1016
1017         * configure.ac:
1018           releasing 0.9.6, "Always On Time"
1019
1020 2005-11-23  Wim Taymans  <wim@fluendo.com>
1021
1022         * docs/gst/gstreamer-sections.txt:
1023         * gst/glib-compat.c:
1024         * gst/gsttagsetter.c:
1025         * gst/gstvalue.c:
1026         * gst/net/gstnetclientclock.c:
1027         * gst/net/gstnettimepacket.h:
1028         Doc updates.
1029
1030 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1031
1032         * docs/faq/using.xml:
1033         * docs/libs/tmpl/gstcontrol.sgml:
1034         * docs/manual/advanced-dparams.xml:
1035         * docs/manual/appendix-checklist.xml:
1036         * docs/manual/basics-elements.xml:
1037         * docs/pwg/other-source.xml:
1038         * docs/random/moving-plugins:
1039         * gst/gstpad.c:
1040         * tools/gst-launch.1.in:
1041           remove mentions of sinesrc
1042
1043 2005-11-23  Michael Smith <msmith@fluendo.com>
1044
1045         * docs/gst/gstreamer-sections.txt:
1046           Update for new API and API changes.
1047         * gst/gstobject.h:
1048           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1049         * gst/gstvalue.c:
1050           Documentation typo fix.
1051         * gst/net/gstnettimepacket.c:
1052           Documentation fixes for arguments.
1053
1054 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1055
1056         * gst/gststructure.c: (gst_structure_get_fraction),
1057         (gst_structure_parse_value),
1058         (gst_structure_fixate_field_nearest_fraction):
1059         * gst/gststructure.h:
1060         * gst/gstutils.c: (gst_util_uint64_scale_int):
1061         * gst/gstutils.h:
1062         * scripts/update-funcnames:
1063         API Changes. 
1064         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1065         Make gst_structure_fixate_field_nearest_fraction take a numerator
1066         and denominator argument instead of a GValue
1067         add gst_structure_get_fraction helper function.
1068
1069 2005-11-23  Wim Taymans  <wim@fluendo.com>
1070
1071         * docs/design/part-TODO.txt:
1072         Update TODO.
1073
1074         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1075         * gst/net/gstnetclientclock.h:
1076         Use parent fields for timeout and window_size.
1077
1078 2005-11-23  Andy Wingo  <wingo@pobox.com>
1079
1080         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1081         rate_num/rate_denom change.
1082
1083         * gst/net/gstnetclientclock.c
1084         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1085         OBJECT_LOCK. Don't call add_observation with the lock.
1086
1087         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1088         fraction.
1089         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1090         rate fraction.
1091         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1092         deal with rate as a fraction whose numerator and denominator are
1093         GstClockTime values.
1094         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1095         master; the other fields are protected by the SLAVE_LOCK.
1096         (do_linear_regression): Note that this must be called with the
1097         SLAVE_LOCK.
1098         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1099         OBJECT_LOCK. Call set_calibration instead of touching the
1100         variables directly.
1101         (gst_clock_set_property, gst_clock_get_property): Protect
1102         master/slave parameters with the SLAVE_LOCK.
1103
1104         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1105         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1106         note that all of the instance variables that add_observation and
1107         the set_master functions use are protected by that lock and not
1108         the OBJECT_LOCK.
1109         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1110
1111         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1112         the caller to take the object lock.
1113
1114 2005-11-23  Wim Taymans  <wim@fluendo.com>
1115
1116         * gst/gsterror.c: (_gst_core_errors_init):
1117         * gst/gsterror.h:
1118         Add error for clock stuff.
1119
1120         * gst/gstpipeline.c: (gst_pipeline_change_state),
1121         (gst_pipeline_set_clock):
1122         Post clock error when clock cannot be used in a pipeline.
1123
1124 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1125
1126         * docs/gst/gstreamer-sections.txt:
1127           make two symbols from gstinfo private for the docs
1128         * gst/base/gstcollectpads.h:
1129         * gst/gstutils.c:
1130           fix doc typos, update docs
1131
1132 2005-11-22  Wim Taymans  <wim@fluendo.com>
1133
1134         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1135         (gst_base_sink_wait), (gst_base_sink_do_sync),
1136         (gst_base_sink_handle_event):
1137         * gst/base/gstbasesink.h:
1138         No need to store the clock, the parent element class already
1139         has it.
1140
1141         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1142         Updates for clock_set returning a gboolean
1143
1144         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1145         (gst_clock_id_wait_async), (gst_clock_class_init),
1146         (gst_clock_init), (gst_clock_finalize),
1147         (gst_clock_get_internal_time), (gst_clock_get_time),
1148         (gst_clock_slave_callback), (gst_clock_set_master),
1149         (gst_clock_get_master), (do_linear_regression),
1150         (gst_clock_add_observation), (gst_clock_set_property),
1151         (gst_clock_get_property):
1152         * gst/gstclock.h:
1153         Implement master/slave. When setting a clock as a slave, a
1154         periodic timeout is scheduled to sample master and slave times.
1155         Then the slave clock is recalibrated to match offset and rate
1156         of the master clock.
1157         Update logging a bit.
1158         Add flag so that a clock can state that is cannot be slaved to
1159         another clock.
1160
1161         * gst/gstelement.c: (gst_element_set_clock):
1162         * gst/gstelement.h:
1163         The set clock returns a gboolean for when an element cannot
1164         deal with the selected clock in the pipeline. 
1165
1166         * gst/gstpipeline.c: (gst_pipeline_change_state),
1167         (gst_pipeline_set_clock):
1168         * gst/gstpipeline.h:
1169         Handle the case where the selected clock cannot be set on
1170         the pipeline.
1171
1172         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1173         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1174         (gst_net_client_clock_set_property),
1175         (gst_net_client_clock_get_property),
1176         (gst_net_client_clock_observe_times):
1177         * gst/net/gstnetclientclock.h:
1178         Use regression code in GstClock parent, remove duplicated
1179         functionality.
1180
1181 2005-11-22  Michael Smith <msmith@fluendo.com>
1182
1183         * gst/gstutils.c: (gst_util_clock_time_scale):
1184         * gst/gstutils.h:
1185         * docs/gst/gstreamer-sections.txt:
1186           Rename method to have extra underscore.
1187
1188 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1189
1190         * gst/elements/Makefile.am:
1191         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1192         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1193         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1194         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1195         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1196         * gst/elements/gstfakesrc.h:
1197         * gst/gstqueue.c: (queue_leaky_get_type):
1198           correctly fix GEnumValues so that nick is the short lowercase
1199           dashed tag
1200         * tools/gst-inspect.c: (print_element_properties_info):
1201           also show the nick, since it's useful to use from parse_launch
1202           syntax
1203           Fixes #322139
1204
1205 2005-11-22  Michael Smith <msmith@fluendo.com>
1206
1207         * gst/gstutils.c: (gst_util_clocktime_scale):
1208         * gst/gstutils.h:
1209         * docs/gst/gstreamer-sections.txt:
1210           Add util method for scaling a clocktime by a fraction. Useful 
1211           implementation is left as an exercise for the reader.
1212
1213 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1214
1215         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1216         If needed, allocate storage in the destination value during
1217         collection.
1218
1219 2005-11-22  Edward Hervey  <edward@fluendo.com>
1220
1221         * docs/gst/gstreamer-sections.txt:
1222         * gst/Makefile.am:
1223         * gst/gst.h:
1224         * gst/gsturitype.c:
1225         * gst/gsturitype.h:
1226         * gst/gstutils.c: (gst_util_set_object_arg):
1227         * tools/gst-compprep.c: (main):
1228         * tools/gst-inspect.c: (print_element_properties_info):
1229         Removed GstURI, closes bug #321061
1230
1231 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1232
1233         * check/gst/gststructure.c: (GST_START_TEST):
1234         * gst/gststructure.c: (gst_structure_parse_value):
1235           Oops, broke automatic string type parsing.
1236           Add a test to catch it in future.
1237
1238 2005-11-22  Andy Wingo  <wingo@pobox.com>
1239
1240         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1241         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1242         Actually rename the function implementations. Grr.
1243
1244 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1245
1246         * check/gst/capslist.h:
1247           Comment test cases
1248         * check/gst/gststructure.c: (GST_START_TEST),
1249         (gst_structure_suite):
1250           Test automatic value type detection in gst_structure_from_string.
1251         * gst/gststructure.c: (gst_structure_parse_value):
1252           Add fraction as a type we try and guess automatically in
1253           caps/structure strings.
1254
1255 2005-11-22  Andy Wingo  <wingo@pobox.com>
1256
1257         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1258
1259         * gst/gsttagsetter.h:
1260         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1261         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1262         (gst_tag_setter_add_tag_valist)
1263         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1264         _add_values, _add_valist, and _add_valist_values. Since this is an
1265         interface the function suffixes should be more explicit so
1266         language binding don't end up with element.add_valist ->
1267         gst_tag_setter_add_valist, for example. Fixes #322069.
1268
1269 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1270
1271         * check/gst/gstcaps.c: (GST_START_TEST):
1272           Extend caps string tests to check that a caps to string
1273           conversion is reversible and produces the same caps.
1274
1275         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1276           Output "fraction" as the generic type fraction range, so caps
1277           serialisation and deserialisation works.
1278         * check/gst/capslist.h:
1279         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1280           Support 'MIN' and 'MAX' for deserialising fractions.
1281
1282 2005-11-22  Andy Wingo  <wingo@pobox.com>
1283
1284         * gst/gstevent.h (gst_event_new_new_segment)
1285         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1286         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1287         Renamed from *_newsegment, *_buffersize, *_notarget.
1288
1289         * scripts/update-funcnames: New script, performs the changes
1290         listed above.
1291
1292 2005-11-22  Wim Taymans  <wim@fluendo.com>
1293
1294         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1295         Make sure the GstFlowReturn is returned.
1296
1297         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1298         (gst_bus_add_signal_watch):
1299         * gst/gstbus.h:
1300         add gst_bus_add_signal_watch_full.
1301
1302         * gst/gstplugin.c: (gst_plugin_load_file):
1303         Small style cleanup.
1304
1305 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1306
1307         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1308           Block the fakesrc srcpad when we send an event, to avoid
1309           contention on the stream_lock causing random test failures.
1310
1311 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1312
1313         * check/gst/gstvalue.c: (GST_START_TEST):
1314         * gst/gstvalue.c: (gst_value_fraction_subtract):
1315           Fix subtraction.
1316
1317 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1318
1319         * gst/gst.h:
1320           include "gstchildproxy.h"
1321         * gst/gstchildproxy.h:
1322         * libs/gst/controller/gstcontroller.h:
1323           use G_GNUC_NULL_TERMINATED
1324
1325 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1326
1327         * check/gst/capslist.h:
1328         * check/gst/gstcaps.c: (GST_START_TEST):
1329         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1330         * gst/gststructure.c: (gst_structure_parse_range),
1331         (gst_structure_fixate_field_nearest_fraction):
1332         * gst/gststructure.h:
1333         * gst/gstvalue.c: (gst_value_init_fraction_range),
1334         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1335         (gst_value_collect_fraction_range),
1336         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1337         (gst_value_set_fraction_range_full),
1338         (gst_value_get_fraction_range_min),
1339         (gst_value_get_fraction_range_max),
1340         (gst_value_serialize_fraction_range),
1341         (gst_value_transform_fraction_range_string),
1342         (gst_value_compare_fraction_range),
1343         (gst_value_deserialize_fraction_range),
1344         (gst_value_intersect_fraction_fraction_range),
1345         (gst_value_intersect_fraction_range_fraction_range),
1346         (gst_value_subtract_fraction_fraction_range),
1347         (gst_value_subtract_fraction_range_fraction),
1348         (gst_value_subtract_fraction_range_fraction_range),
1349         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1350         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1351         (gst_value_transform_string_fraction), (_gst_value_initialize):
1352         * gst/gstvalue.h:
1353           Implement fraction ranges and extend GstFraction to support
1354           arithmetic subtraction, as well as deserialization from integer
1355           strings such as "100"
1356           Add a testsuite as for int and double range set operations
1357
1358 2005-11-21  Andy Wingo  <wingo@pobox.com>
1359
1360         * gst/gsttaglist.h: 
1361         * gst/gstcaps.h: 
1362         * gst/gststructure.h: Add glib-compat.h.
1363
1364 2005-11-21  Wim Taymans  <wim@fluendo.com>
1365
1366         * gst/gstbin.c: (gst_bin_change_state_func):
1367         Fix for #321595
1368
1369 2005-11-21  Wim Taymans  <wim@fluendo.com>
1370
1371         * gst/gstsegment.h:
1372         And add a nice define too.
1373
1374 2005-11-21  Wim Taymans  <wim@fluendo.com>
1375
1376         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1377         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1378         (gst_segment_set_duration), (gst_segment_set_last_stop),
1379         (gst_segment_set_seek), (gst_segment_set_newsegment),
1380         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1381         (gst_segment_clip):
1382         * gst/gstsegment.h:
1383         Make binding friendly.
1384
1385 2005-11-21  Andy Wingo  <wingo@pobox.com>
1386
1387         * gst/gsttagsetter.h: 
1388         * gst/gsttaglist.h: 
1389         * gst/gststructure.h: 
1390         * gst/gstcaps.h: 
1391         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1392         #319940.
1393
1394         * gst/gsterror.c (_gst_core_errors_init):
1395         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1396         category.
1397
1398         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1399         (noinst_HEADERS): noinst the -private.
1400
1401 2005-11-21  Michael Smith <msmith@fluendo.com>
1402
1403         * gst/gstplugin.h:
1404         * gst/gstregistry.h:
1405           Remove unimplemented declarations for which we can see no sensible
1406           use.
1407
1408 2005-11-21  Andy Wingo  <wingo@pobox.com>
1409
1410         * gst/gst.h: Include glib-compat.h.
1411
1412         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1413
1414         * gst/glib-compat.c: Include the public and the private header.
1415
1416         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1417
1418         * gst/gstvalue.c: 
1419         * gst/gstpad.c: 
1420         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1421
1422         * check/gst/gstevent.c (create_custom_events): Check that
1423         FLUSH_STOP is serialized.
1424
1425         * check/elements/identity.c (event_func): 
1426         * check/elements/fakesrc.c (event_func): No stream lock, the core
1427         takes it.
1428
1429         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1430         stream lock taking, yay.
1431
1432         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1433         ensure that core takes the stream lock.
1434
1435         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1436         lock name change.
1437
1438         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1439         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1440         it already. For the flush start we do take it though so we get the
1441         right preroll state change messages.
1442
1443         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1444         the stream lock here, the core does it for us.
1445
1446         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1447         GST_STREAM_GET_LOCK.
1448         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1449         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1450         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1451         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1452         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1453         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1454
1455         * gst/gstpad.c: Update for stream lock name change.
1456
1457         * gst/base/gstbasesink.c: Update for preroll lock name change.
1458
1459 2005-11-21  Wim Taymans  <wim@fluendo.com>
1460
1461         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1462         (gst_clock_get_master):
1463         * gst/gstclock.h:
1464         * gst/gstsystemclock.c: (gst_system_clock_init):
1465         Convert Clock flags to object flags.
1466         Added methods to manage master/slave clocks.
1467
1468 2005-11-21  Wim Taymans  <wim@fluendo.com>
1469
1470         * check/gst/gstsegment.c: (GST_START_TEST):
1471         * docs/design/part-TODO.txt:
1472         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1473         (gst_base_sink_event), (gst_base_sink_do_sync),
1474         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1475         (gst_base_sink_query), (gst_base_sink_change_state):
1476         * gst/base/gstbasesink.h:
1477         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1478         (gst_base_src_default_newsegment),
1479         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1480         (gst_base_src_get_range), (gst_base_src_loop),
1481         (gst_base_src_change_state):
1482         * gst/base/gstbasesrc.h:
1483         * gst/base/gstbasetransform.c:
1484         (gst_base_transform_prepare_output_buf),
1485         (gst_base_transform_event), (gst_base_transform_change_state):
1486         * gst/base/gstbasetransform.h:
1487         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1488         (gst_collect_pads_event):
1489         * gst/base/gstcollectpads.h:
1490         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1491         (gst_fake_src_create):
1492         * gst/elements/gstfakesrc.h:
1493         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1494         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1495         (gst_segment_set_last_stop), (gst_segment_set_seek),
1496         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1497         (gst_segment_to_running_time), (gst_segment_clip):
1498         * gst/gstsegment.h:
1499         More segment updates, replace code in plugins with segment
1500         helper functions.
1501
1502 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1503
1504         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1505         Don't ignore sscanf results
1506
1507 2005-11-21  Andy Wingo  <wingo@pobox.com>
1508
1509         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1510
1511         * *.h:
1512         * *.c: Ran scripts/update-macros. Oh yes.
1513
1514         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1515         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1516         GST_GET_LOCK, etc.
1517
1518         * scripts/update-macros: New script. Run it on your files to
1519         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1520         well.
1521
1522 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1523
1524         * docs/gst/Makefile.am:
1525         * docs/gst/gstreamer-docs.sgml:
1526         * docs/gst/gstreamer-sections.txt:
1527         * docs/gst/gstreamer.types:
1528         * gst/gstinfo.h:
1529           more docs fixes, add new api to the docs
1530
1531 2005-11-21  Andy Wingo  <wingo@pobox.com>
1532
1533         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1534         state_broadcast call.
1535
1536         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1537
1538 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1539
1540         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1541         function calls for arrays.
1542
1543 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1544
1545         * docs/random/ensonic/media-device-daemon.txt:
1546           wild idea, can this be done?
1547         * docs/gst/gstreamer-sections.txt:
1548         * gst/gsterror.h:
1549         * gst/gstfilter.c:
1550         * gst/gstfilter.h:
1551         * gst/gstplugin.h:
1552         * gst/gstpluginfeature.c:
1553         * gst/gsttrace.c:
1554         * gst/gstvalue.c:
1555         * gst/gstvalue.h:
1556           doc fixes and additions
1557
1558 2005-11-21  Andy Wingo  <wingo@pobox.com>
1559
1560         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1561         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1562         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1563         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1564         private to the basesrc implementation.
1565
1566         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1567         behalf of event function if necessary. It should no longer be
1568         necessary to take the stream lock in pad's event functions. Fixes
1569         #320299.
1570
1571 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1572         * docs/gst/gstreamer-sections.txt:
1573         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1574         (gst_structure_fixate_field_nearest_double),
1575         (gst_structure_fixate_field_boolean):
1576         * gst/gststructure.h:
1577         * win32/common/libgstreamer.def:
1578         * win32/gstreamer.def:
1579
1580         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1581         (#322027)
1582
1583 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1584
1585         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1586         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1587         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1588         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1589         (gst_fdsrc_uri_handler_init):
1590         * gst/elements/gstfdsrc.h:
1591           Port fd:// URI handler from 0.8 to fdsrc
1592
1593 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1594
1595         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1596         (gst_value_serialize_fourcc):
1597         * gst/gstvalue.h:
1598           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1599           consistent with our other format defines (#320324).
1600
1601 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1602
1603         * gst/gstvalue.c: (gst_value_is_fixed):
1604           Revert previous commit. Value lists are by definition
1605           not fixed, as they are a list of possible values.
1606
1607 2005-11-21  Andy Wingo  <wingo@pobox.com>
1608
1609         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1610         during the stable series if we need it. Fixes #319178.
1611
1612         * gst/gstevent.c (gst_event_new_filler): Removed.
1613
1614         * check/gst/gstevent.c: Update comment about filler events.
1615
1616 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1617
1618         * gst/gstvalue.c: (gst_value_is_fixed):
1619           Should handle both value arrays and value lists.
1620
1621 2005-11-21  Andy Wingo  <wingo@pobox.com>
1622
1623         patch by: Alessandro Dessina <alessandro nnva org>
1624
1625         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1626         functions to access arrays. Fixes #321962.
1627
1628 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1629
1630         * docs/gst/gstreamer.types:
1631           gst_collectpads_get_type => gst_collect_pads_get_type.
1632           
1633         * gst/base/gstbasetransform.c:
1634           Remove unused SIGNAL_HANDOFF enum.
1635
1636 2005-11-21  Andy Wingo  <wingo@pobox.com>
1637
1638         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1639         the event type (upstream, downstream, serialized). Renamed
1640         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1641         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1642         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1643
1644         * gst/gstevent.c: Update for new CUSTOM event names.
1645
1646         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1647
1648         * gst/gstevent.h:
1649         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1650         bug #319392.
1651
1652 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1653
1654         * docs/gst/gstreamer-sections.txt:
1655         * win32/common/libgstbase.def:
1656         * win32/libgstbase.def:
1657         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1658         (gst_collect_pads_class_init), (gst_collect_pads_init),
1659         (gst_collect_pads_finalize), (gst_collect_pads_new),
1660         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1661         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1662         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1663         (gst_collect_pads_start), (gst_collect_pads_stop),
1664         (gst_collect_pads_peek), (gst_collect_pads_pop),
1665         (gst_collect_pads_available), (gst_collect_pads_read),
1666         (gst_collect_pads_flush), (gst_collect_pads_event),
1667         (gst_collect_pads_chain):
1668         * gst/base/gstcollectpads.h:
1669           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1670           unimplemented functions as unimplemented. Add padding to
1671           GstCollectData. (#320766, #320423)
1672
1673 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1674
1675         * gst/gstmessage.c:
1676           Improve docs for DURATION message (usage of duration parameter)
1677           (#320113)
1678
1679 2005-11-20  Wim Taymans  <wim@fluendo.com>
1680
1681         * check/Makefile.am:
1682         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1683         (main):
1684         * gst/Makefile.am:
1685         * gst/gst.h:
1686         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1687         (gst_segment_set_seek), (gst_segment_set_newsegment),
1688         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1689         (gst_segment_clip):
1690         * gst/gstsegment.h:
1691         Added segment helper structure and methods. Not fully implemented
1692         yet.
1693         Added segment check.
1694
1695 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1696
1697         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1698           Add a deserialisation test for fractions
1699         * examples/metadata/read-metadata.c: (message_loop),
1700         (make_pipeline), (main):
1701           Fix up metadata reading sample.
1702         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1703           Debug format fix
1704         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1705           Don't try and fixate empty caps
1706         * gst/gst_private.h:
1707           Wrap in G_BEGIN_DECLS/G_END_DECLS
1708         * gst/gstvalue.c: (gst_value_collect_fraction),
1709         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1710         (gst_value_transform_string_fraction),
1711         (gst_value_compare_fraction):
1712           Add some extra guards to ensure that we don't end up 
1713           with an invalid denominator of 0 in a gstfraction and
1714           that fractions always get reduced.
1715
1716 2005-11-20  Wim Taymans  <wim@fluendo.com>
1717
1718         * docs/gst/gstreamer-sections.txt:
1719         * gst/gstbuffer.h:
1720         * gst/gstelement.c:
1721         * gst/gstformat.c:
1722         * gst/gstformat.h:
1723         * gst/gstindex.h:
1724         * gst/gstquery.c:
1725         * gst/gstquery.h:
1726         * gst/gstvalue.c:
1727         Doc fixes.
1728
1729 2005-11-20  Wim Taymans  <wim@fluendo.com>
1730
1731         * docs/design/part-TODO.txt:
1732         * gst/gstcaps.h:
1733         Make a proper enum of the flag.
1734
1735 2005-11-19  Wim Taymans  <wim@fluendo.com>
1736
1737         * docs/design/part-TODO.txt:
1738         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1739         (gst_format_to_quark), (gst_format_register):
1740         * gst/gstformat.h:
1741         * gst/gstquery.c: (_gst_query_initialize),
1742         (gst_query_type_get_name), (gst_query_type_to_quark),
1743         (gst_query_type_register):
1744         * gst/gstquery.h:
1745         Add type to quark and type to string conversions.
1746
1747 2005-11-19  Andy Wingo  <wingo@pobox.com>
1748
1749         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1750         #320097.
1751
1752 2005-11-19  Wim Taymans  <wim@fluendo.com>
1753
1754         * docs/design/part-TODO.txt:
1755         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1756         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1757         (gst_bin_handle_message_func):
1758         * gst/gstbin.h:
1759         Make message handling overridable.
1760
1761 2005-11-19  Andy Wingo  <wingo@pobox.com>
1762
1763         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1764
1765         * gst/gstclock.h:
1766         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1767         be a GstClockTime.
1768         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1769         is a GstClockTime. Fixes #321710.
1770
1771         * gst/gstclock.h (GstClock): Remove offset property. Add
1772         internal_calibration and external_calibration. Fix padding. Pad
1773         also by GstClockTime so we don't run into problems.
1774
1775         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1776         (gst_clock_get_rate_offset): Remove.
1777         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1778
1779         * gst/gstutils.h:
1780         * gst/gstutils.c (g_static_rec_cond_wait)
1781         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1782
1783         * gst/gstbin.c: Remove terrible continue_state prototype.
1784
1785         * gst/gstelement.h (gst_element_continue_state): Make public.
1786
1787         * gst/gstelement.h:
1788         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1789         by continue_state. Fixes #319389.
1790
1791         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1792         Really fixes #168438. However I don't see anywhere where the
1793         filter function is called... stupid GStreamer...
1794         
1795         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1796         don't have a dispose function, so it won't get called when the
1797         object is unreffed, but oh well!
1798
1799         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1800         allows a destroy function to be set so user_data can be freed.
1801         Fixes #168438.
1802         (gst_index_set_filter): Call gst_index_set_filter_full.
1803
1804         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1805
1806         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1807         string should produce an error, given the lack of a way to
1808         represent NULL strings. Fixes #165650.
1809         
1810         * gst/gstvalue.h: 
1811         * gst/gstvalue.c (gst_value_array_append_value) 
1812         (gst_value_array_prepend_value, gst_value_array_get_size) 
1813         (gst_value_array_get_value): New API, copied from
1814         gst_value_list_*, only operates on arrays.
1815         (gst_value_list_append_value, gst_value_list_prepend_value) 
1816         (gst_value_list_concat, gst_value_list_get_size) 
1817         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1818
1819         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1820         init_list, because it works on both.
1821         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1822         (gst_value_copy_list_or_array): Renamed from copy_list.
1823         (gst_value_free_list_or_array): Renamed from free_list.
1824         (gst_value_collect_list_or_array): Renamed from collect_list.
1825         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1826         (gst_value_list_or_array_peek_pointer): Renamed from
1827         list_peek_pointer.
1828         (_gst_value_array_value_table, _gst_value_list_value_table):
1829         Update value table functions.
1830         (gst_value_compare_list_or_array): Renamed from compare_list.
1831
1832         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1833         some constness.
1834
1835         * gst/gsttaglist.c:
1836         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1837         GstTagList*. Fixes #143472.
1838
1839         * gst/gststructure.h: Clarify what the foreach/map functions can
1840         or can't do to their arguments.
1841
1842 2005-11-18  Wim Taymans  <wim@fluendo.com>
1843
1844         * gst/gstclock.c: (gst_clock_set_calibration),
1845         (gst_clock_get_calibration):
1846         Doc and API fixes.
1847         Calibration can be set with internal time equal to current
1848         internal time too.
1849
1850 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1851
1852         * gst/gsterror.c:
1853         * gst/gsterror.h:
1854           document
1855
1856 2005-11-18  Andy Wingo  <wingo@pobox.com>
1857
1858         * configure.ac: 
1859         * pkgconfig/gstreamer-net.pc.in:
1860         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1861         * pkgconfig/Makefile.am: Add net pkgconfig files.
1862
1863 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1864
1865         * gst/gstcaps.c:
1866         * gst/gstghostpad.c:
1867         * gst/gsttrace.c:
1868         * gst/gstvalue.c:
1869         * gst/gstvalue.h:
1870           docs fixes
1871
1872 2005-11-18  Andy Wingo  <wingo@pobox.com>
1873
1874         * gst/net/gstnetclientclock.c: Turn off debugging.
1875
1876         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1877         times connverge somewhat. Can't make a real test.
1878
1879         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1880         integer arithmetic. Return the minimum of the domain, which can be
1881         set as "internal" for gst_clock_set_calibration.
1882         (gst_net_client_clock_observe_times): Call _set_calibration.
1883         (gst_net_client_clock_new): Call _set_calibration instead of
1884         rate_offset.
1885
1886         * check/net/gstnetclientclock.c (test_functioning): Use the right
1887         adjustment api.
1888
1889         * gst/gstclock.h:
1890         * gst/gstclock.c (gst_clock_get_calibration) 
1891         (gst_clock_set_calibration): New functions, obsolete the ones I
1892         added yesterday. Doh. Precision issues mean we have to extrapolate
1893         from a point in the more recent past than 1970.
1894         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1895         obsolete.
1896         (gst_clock_adjust_unlocked): Use the right calibration data.
1897
1898 2005-11-18  Edward Hervey  <edward@fluendo.com>
1899
1900         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1901         Also reset the ->current_* values in READY->PAUSED
1902
1903 2005-11-18  Andy Wingo  <wingo@pobox.com>
1904
1905         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1906         Whoops, check the right fd. Also add some debugging.
1907         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1908         (do_linear_regression): Add a crapload of debugging. Subtract off
1909         the minimum values from the input series to discard unneeded bits.
1910         Use only int arithmetic. There is still double arithmetic when
1911         calculating the intercept that needs fixing. Return boolean to
1912         indicate success; FALSE would mean the domain or range is too
1913         great. Still needs fixes.
1914
1915 2005-11-18  Wim Taymans  <wim@fluendo.com>
1916
1917         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1918         For the current position in stream time, we need to subtract
1919         accumulated time.
1920         
1921         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1922         Release lock before calling the callback function of async
1923         entries.
1924
1925 2005-11-18  Andy Wingo  <wingo@pobox.com>
1926
1927         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1928         Port goes all the way to MAXUINT16.
1929
1930         * gst/net/gstnettimeprovider.c: Make the port range the same as
1931         for the kernel: 0 assigns, otherwise ports are less than
1932         MAXUINT16.
1933
1934         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1935         port change.
1936
1937         * check/net/gstnetclientclock.c (test_functioning): Add the start
1938         of another test. 
1939
1940 2005-11-18  Wim Taymans  <wim@fluendo.com>
1941
1942         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1943         (gst_bin_remove_func), (bin_bus_handler):
1944         * gst/gstbin.h:
1945         Removing a clock provider from a bin, triggers a clock lost message
1946         so that a new clock will be selected.
1947         Adding a clock to a bin triggers a clock provider message.
1948         Make sure we reselect a clock when we received a clock lost message.
1949         Keep a reference to the element that provided the clock.
1950
1951 2005-11-18  Andy Wingo  <wingo@pobox.com>
1952
1953         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1954         the clock initially so it produces values around the base time.
1955         (gst_net_client_clock_class_init): Typo fix.
1956         (gst_net_client_clock_thread): Add note on when the socket gets
1957         closed.
1958
1959 2005-11-17  Wim Taymans  <wim@fluendo.com>
1960
1961         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1962         Free remote and local time arrays.
1963
1964 2005-11-17  Wim Taymans  <wim@fluendo.com>
1965
1966         * gst/net/gstnetclientclock.c: (do_linear_regression),
1967         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1968         Fix compilation, uninitialized vars and a forgotten continue.
1969
1970 2005-11-17  Andy Wingo  <wingo@pobox.com>
1971
1972         * check/Makefile.am (check_PROGRAMS): 
1973         * check/net/gstnetclientclock.c: Add a most minimal test for the
1974         net client clock. More to come later.
1975
1976         * gst/net/gstnet.h: 
1977         * gst/net/Makefile.am: Add netclientclock.
1978
1979         * gst/net/gstnetclientclock.h:
1980         * gst/net/gstnetclientclock.c: New files, implement an untested
1981         GstClock that takes its time from a network time provider.
1982         Implements the algorithm in network-clock.scm.
1983
1984         * tests/network-clock.scm (*window-size*): Rename from
1985         *queue-length*.
1986         * tests/network-clock.scm (network-time): 
1987         * tests/network-clock-utils.scm (q-push): Update callers.
1988
1989 2005-11-17  Wim Taymans  <wim@fluendo.com>
1990
1991         * gst/gstbin.c: (gst_bin_provide_clock_func),
1992         (gst_bin_sort_iterator_new):
1993         And unref the child too..
1994
1995 2005-11-17  Wim Taymans  <wim@fluendo.com>
1996
1997         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1998         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1999         Refactor the sort iterator so it can be used while holding the
2000         LOCK too.
2001         Make clock selection select a clock closest to the source.
2002
2003 2005-11-17  Michael Smith <msmith@fluendo.com>
2004
2005         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2006         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2007         * gst/gstclock.h:
2008           Anonymous structs are a gcc (and some other compilers) extension, so
2009           don't use them. Since this is only for ABI-compatibility, and our
2010           API/ABI freeze is over in a few days, this whole thing will only
2011           last a few days, so don't bother trying to think up a meaningful
2012           name for the struct.
2013
2014 2005-11-17  Andy Wingo  <wingo@pobox.com>
2015
2016         * gst/gstclock.h (GstClock): Add rate and offset properties,
2017         preserving ABI stability. Add rate/offset accessors. Will file bug
2018         for the freeze break.
2019
2020         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2021         and offset, trying to keep precision and avoiding
2022         underflow/overflow.
2023         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2024         functions. Make gst_clock_set_time_adjust obsolete.
2025         (gst_clock_set_time_adjust): Note that this function is obsolete.
2026         Will file bug soon.
2027
2028         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2029         greppable by using GST_PADDING-1+1.
2030
2031 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2032
2033         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2034
2035         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2036           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2037
2038         * gst/gstpadtemplate.h:
2039         * gst/gstpluginfeature.h:
2040           Don't use c++ style comments in headers (#321638).
2041
2042 2005-11-16  Andy Wingo  <wingo@pobox.com>
2043
2044         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2045         buffer.
2046
2047         * check/net/gstnettimeprovider.c: Check to see that the time
2048         provider actually provides times. Works, yo!
2049
2050 2005-11-16  Wim Taymans  <wim@fluendo.com>
2051
2052         * check/Makefile.am:
2053         Enable more tests.
2054
2055         * check/elements/fakesrc.c: (GST_START_TEST):
2056         Set element to NULL before disposing it.
2057
2058 2005-11-16  Andy Wingo  <wingo@pobox.com>
2059
2060         * gst/net/Makefile.am:
2061         * gst/net/gstnet.h:
2062         * gst/net/gstnettimeprovider.c: 
2063         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2064         provider, include it from gstnet.h, and add it to the build.
2065
2066         * gst/net/gstnettimepacket.h: 
2067         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2068         sending and receiving.
2069
2070 2005-11-16  Wim Taymans  <wim@fluendo.com>
2071
2072         * check/Makefile.am:
2073         Enable valgrind check.
2074
2075         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2076         (gst_fake_src_alloc_buffer):
2077         Fix memleak.
2078
2079 2005-11-16  Wim Taymans  <wim@fluendo.com>
2080
2081         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2082         Call parent finalize too.
2083
2084 2005-11-16  Wim Taymans  <wim@fluendo.com>
2085
2086         * check/Makefile.am:
2087         Enable valgrind check that should work fine now.
2088
2089         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2090         * gst/gstqueue.c: (gst_queue_init):
2091         Fix memleaks in pad allocation.
2092
2093 2005-11-16  Andy Wingo  <wingo@pobox.com>
2094
2095         * gst/net/Makefile.am:
2096         * gst/net/gstnet.h: New part of core to hold network elements and
2097         objects. Put in core because it exposes API that applications want
2098         to use. The library is named libgstnet-tempname right now because
2099         of the existing libgstnet in gst-plugins-base. Solution is
2100         probably to rename the one in plugins-base; will file a bug for
2101         the freeze break.
2102
2103         * gst/net/gstnettimeprovider.c: 
2104         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2105         get_time call over the network.
2106
2107         * configure.ac: 
2108         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2109
2110         * check/Makefile.am:
2111         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2112         get additions shortly.
2113
2114 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2115
2116         * gst/gstpad.c: (gst_pad_new_from_static_template):
2117         * gst/gstpad.h:
2118           add gst_pad_new_from_static_template functions
2119         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2120         (gst_check_setup_sink_pad):
2121         * gst/elements/gsttee.c: (gst_tee_init):
2122           and use them
2123
2124 2005-11-16  Wim Taymans  <wim@fluendo.com>
2125
2126         * gst/gstpad.c: (gst_pad_pause_task):
2127         Removed warning, it's not really an error either.
2128
2129 2005-11-16  Wim Taymans  <wim@fluendo.com>
2130
2131         * gst/base/gstbasetransform.c:
2132         (gst_base_transform_prepare_output_buf),
2133         (gst_base_transform_event):
2134         Check if the caps are NULL, this can happen if the element
2135         is shutting down and the pad caps are set to NULL.
2136
2137 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2138
2139         * gst/elements/gsttee.c: (gst_tee_init):
2140           fix pad template leak in tee
2141
2142 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2143
2144         * gst/glib-compat.c: (g_value_dup_gst_object):
2145         * gst/glib-compat.h:
2146         * gst/gstpad.c: (gst_pad_set_property):
2147           use gst_object_ref when setting the pad template; this will
2148           trigger the pad template leaks on GLib 2.6 and the slaves
2149
2150 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2151
2152         * gst/glib-compat.c: (gst_flags_get_first_value):
2153         * gst/glib-compat.h:
2154         * gst/gstregistryxml.c:
2155           remove functions copied from GLib 2.6
2156
2157 2005-11-16  Michael Smith <msmith@fluendo.com>
2158
2159         * gst/Makefile.am:
2160           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2161           do, but only breaks with newer valgrind versions. We're not a
2162           valgrind tool, we have no link-time dependencies on libcoregrind.
2163
2164 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2165
2166         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2167           some debug changes
2168         * gst/gstmessage.h:
2169           typo fixes
2170
2171 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2172
2173         * gst/base/gstbasesrc.c: (gst_base_src_init):
2174         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2175         * gst/gstqueue.c: (gst_queue_init):
2176         * gst/gstregistryxml.c: (load_feature):
2177           Revert all these unrefs, they don't even pass make check !
2178
2179 2005-11-15  Johan Dahlin  <johan@gnome.org>
2180
2181         * gst/base/gstbasesrc.c: (gst_base_src_init):
2182         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2183         * gst/gstqueue.c: (gst_queue_init): 
2184         Free pad templates, fixes a couple of leaks.
2185
2186 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2187
2188         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2189
2190         * gst/gstpad.c: (gst_pad_get_property):
2191           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2192           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2193           (#321452)
2194
2195 2005-11-15  Wim Taymans  <wim@fluendo.com>
2196
2197         * gst/gstevent.c:
2198         Small doc update.
2199
2200 2005-11-15  Andy Wingo  <wingo@pobox.com>
2201
2202         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2203
2204         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2205         using GST_CLOCK_TIME_NONE to disable base time management.
2206         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2207         time if it was NONE before.
2208         (gst_pipeline_change_state): Only munge the base time if
2209         stream_time != GST_CLOCK_TIME_NONE.
2210
2211         * check/gst/gstpipeline.c (test_base_time): Punt around the
2212         problem of the probe not being called, because that's not the
2213         issue I'm looking at. Add a check that setting stream_time to NONE
2214         disables base time management.
2215         
2216 2005-11-15  Wim Taymans  <wim@fluendo.com>
2217
2218         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2219         segment_stop == -1 at startup.
2220
2221         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2222         (gst_base_transform_change_state):
2223         Init segment values at start.
2224
2225 2005-11-15  Wim Taymans  <wim@fluendo.com>
2226
2227         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2228         0 segment values are 0 in any format.
2229
2230         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2231         * gst/base/gstbasetransform.h:
2232         Parse newsegment correctly in basetransform
2233
2234         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2235         Sync to clock using updated segment values.
2236
2237 2005-11-15  Andy Wingo  <wingo@pobox.com>
2238
2239         * check/gst/gstpipeline.c (test_base_time): Add check that the
2240         base time and stream time are reset correctly.
2241
2242 2005-11-15  Wim Taymans  <wim@fluendo.com>
2243
2244         * docs/design/part-TODO.txt:
2245         Some more TODO items.
2246
2247 2005-11-15  Andy Wingo  <wingo@pobox.com>
2248
2249         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2250         error if the user selected "no clock" as the clocking method.
2251
2252         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2253         timestamps with live capture.
2254
2255         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2256         is 0 but we are a live source, timestamp the buffers using the
2257         element's clock.
2258
2259 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2260
2261         * docs/gst/gstreamer-sections.txt:
2262         * gst/gsterror.c:
2263         * gst/gstghostpad.c:
2264         * gst/gstobject.h:
2265         * gst/gstxml.c:
2266           more section docs
2267
2268 2005-11-14  Wim Taymans  <wim@fluendo.com>
2269
2270         * common/gst.supp:
2271           add suppressions from Wim's Debian machine
2272
2273 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2274
2275         * common/gst.supp:
2276           add suppressions from Andy's AMD64 Ubuntu machine
2277
2278 2005-11-14  Andy Wingo  <wingo@pobox.com>
2279
2280         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2281         STATE_LOCK not necessary. Fixes #311489.
2282
2283         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2284         #305291.
2285
2286         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2287         this function is not implemented.
2288
2289 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2290
2291         * gst/base/gstbasetransform.c:
2292         (gst_base_transform_prepare_output_buf):
2293         Ref the source pad caps while we need them.
2294         Fixes (#321386)
2295
2296 2005-11-11  Wim Taymans  <wim@fluendo.com>
2297
2298         * docs/gst/gstreamer-sections.txt:
2299         Added some docs for GstCollectData.
2300
2301         * gst/base/gstadapter.c:
2302         Some small code example fix.
2303
2304         * gst/base/gstcollectpads.c:
2305         * gst/base/gstcollectpads.h:
2306         Document some more.
2307
2308 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2309
2310         * configure.ac: back to HEAD
2311
2312 === release 0.9.5 ===
2313
2314 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2315
2316         * configure.ac:
2317           releasing 0.9.5, "Bike Lunch Day"
2318
2319 2005-11-11  Wim Taymans  <wim@fluendo.com>
2320
2321         * gst/gstbuffer.c: (_gst_buffer_copy):
2322         Copy more flags.
2323
2324         * gst/gstcaps.c: (gst_caps_is_equal):
2325         Fix some docs.
2326         Make _is_equal fast in the trivial cases.
2327
2328         * gst/gstminiobject.c:
2329         * gst/gstminiobject.h:
2330         More docs. Spifify .h file.
2331
2332         * gst/gstutils.c:
2333         Small doc update.
2334
2335 2005-11-11  Wim Taymans  <wim@fluendo.com>
2336
2337         * gst/base/gstbasetransform.c:
2338         (gst_base_transform_prepare_output_buf),
2339         (gst_base_transform_handle_buffer):
2340         Small cleanups.
2341         If we're processing a buffer and need to allocate an output
2342         buffer, we cannot accept a format change. If we did get a 
2343         format change, we have to alloc a buffer ourselves of the 
2344         right size.
2345
2346 2005-11-11  Wim Taymans  <wim@fluendo.com>
2347
2348         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2349         While checking the flag for reentrancy in the gstcaps function
2350         is nice to detect recursive invocations, it also makes it 
2351         impossible to call getcaps from multiple threads, which must be
2352         possible. So, checking for recursive calls has to go.
2353
2354 2005-11-11  Michael Smith <msmith@fluendo.com>
2355
2356         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2357           Don't sync on buffers that fall partially outside our current
2358           segment. Prevents an assertion failure/abort playing some files.
2359
2360 2005-11-10  Andy Wingo  <wingo@pobox.com>
2361
2362         * check/gst/gstbin.c (test_message_state_changed_children): Style
2363         fix..
2364
2365         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2366         gst_bus_poll with the signal watch. Ensures that poll and a signal
2367         watch see the same messages.
2368
2369         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2370         a poll and a watch at the same time get the same messages.
2371
2372 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2373
2374         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2375         * gst/gstcaps.c: (gst_caps_intersect):
2376           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2377           and it's not needed.
2378
2379 2005-11-10  Wim Taymans  <wim@fluendo.com>
2380
2381         * docs/design/part-TODO.txt:
2382         Updated todo.
2383
2384 2005-11-10  Wim Taymans  <wim@fluendo.com>
2385
2386         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2387         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2388         (gst_base_src_do_sync), (gst_base_src_get_range):
2389         Implement clock sync in base class.
2390
2391 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2392
2393         patch by: Tim-Philipp Müller <tim at centricular dot net>
2394
2395         * gst/gststructure.c: (gst_structure_parse_field),
2396         (gst_structure_from_string):
2397           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2398           so that gst_parse_launch() can deal with spaces in filtered link
2399           caps (fixes #164479)
2400         * check/gst/capslist.h:
2401         * check/gst/gststructure.c: (GST_START_TEST):
2402           add unit tests for this change
2403
2404 2005-11-10  Wim Taymans  <wim@fluendo.com>
2405
2406         * docs/gst/gstreamer-sections.txt:
2407         * gst/gstelement.c:
2408         * gst/gstelement.h:
2409         Fix docs, move some STATE macros to private.
2410
2411 2005-11-10  Wim Taymans  <wim@fluendo.com>
2412
2413         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2414         Added check for bug #317341
2415
2416         * gst/gstbuffer.c:
2417         * gst/gstbuffer.h:
2418         Some more spiffifying.
2419
2420         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2421         Call peer linkfunction if we are a source pad. Totally fixes
2422         #317341
2423
2424         * gst/gstpad.c:
2425         Update docs, source pads should call the peer linkfunction
2426         so they can atomically perform the pad link.
2427
2428 2005-11-09  Wim Taymans  <wim@fluendo.com>
2429
2430         * gst/gstbuffer.c:
2431         * gst/gstbuffer.h:
2432         Uber-spiffy-spiffify some more.
2433
2434 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2435
2436         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2437         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2438         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2439         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2440         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2441         * gst/gstpad.c: (gst_pad_init):
2442           Use GST_DEBUG_FUNCPTR() more extensively.
2443
2444 2005-11-09  Wim Taymans  <wim@fluendo.com>
2445
2446         * gst/gstobject.c: (gst_object_class_init):
2447         * gst/gstobject.h:
2448         Documentation fixes.
2449
2450 2005-11-09  Edward Hervey  <edward@fluendo.com>
2451
2452         * gst/gsttypefindfactory.c:
2453         Fix docs.
2454         
2455 2005-11-09  Edward Hervey  <edward@fluendo.com>
2456
2457         * gst/base/gsttypefindhelper.c:
2458         * gst/gsttypefind.c:
2459         * gst/gsttypefind.h:
2460         Fix docs.
2461
2462 2005-11-09  Wim Taymans  <wim@fluendo.com>
2463
2464         * gst/gstiterator.c:
2465         Fix revision data.
2466
2467         * gst/gsttask.c:
2468         * gst/gsttask.h:
2469         Fix docs.
2470
2471 2005-11-09  Wim Taymans  <wim@fluendo.com>
2472
2473         * gst/gstevent.h:
2474         * gst/gsturi.h:
2475         Fix docs.
2476
2477 2005-11-09  Wim Taymans  <wim@fluendo.com>
2478
2479         * docs/gst/gstreamer-sections.txt:
2480         Moved the message async delivery private lock and cond
2481         to the private section.
2482
2483         * gst/gstmessage.c:
2484         * gst/gstmessage.h:
2485         Fixed docs.
2486
2487 2005-11-09  Edward Hervey  <edward@fluendo.com>
2488
2489         * docs/gst/gstreamer-sections.txt:
2490         * gst/gsturi.c:
2491         * gst/gsturi.h:
2492         Document GstURIHandler
2493
2494 2005-11-09  Wim Taymans  <wim@fluendo.com>
2495
2496         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2497         (gst_iterator_find_custom):
2498         * gst/gstiterator.h:
2499         Fix iterator docs.
2500
2501 2005-11-09  Wim Taymans  <wim@fluendo.com>
2502
2503         * gst/gstbin.h:
2504         Document another field.
2505
2506         * gst/gststructure.c:
2507         * gst/gststructure.h:
2508         Document.
2509
2510 2005-11-09  Wim Taymans  <wim@fluendo.com>
2511
2512         * gst/gstbin.h:
2513         Documented structs.
2514
2515 2005-11-09  Wim Taymans  <wim@fluendo.com>
2516
2517         * docs/gst/gstreamer-sections.txt:
2518         Added some new macros.
2519
2520         * gst/gstclock.c:
2521         * gst/gstclock.h:
2522         * gst/gstobject.h:
2523         Docs updates.
2524
2525 2005-11-09  Wim Taymans  <wim@fluendo.com>
2526
2527         * docs/design/part-TODO.txt:
2528         Some more items for the TODO
2529
2530         * gst/gstcaps.c:
2531         * gst/gstcaps.h:
2532         Document GstCaps.
2533
2534 2005-11-09  Andy Wingo  <wingo@pobox.com>
2535
2536         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2537         to work on something else now tho...
2538
2539         * gst/base/gstadapter.c: More adapter docs.
2540
2541         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2542         (gst_file_sink_stop): New functions, replace the state change
2543         handler.
2544         (gst_file_sink_class_init): Hook up the start and stop functions.
2545         (gst_file_sink_base_init): Don't set the state change handler any
2546         more. It was a bit ugly too, being set from here...
2547         (gst_file_sink_get_property, gst_file_sink_set_property):
2548         Cleanups...
2549         (gst_file_sink_set_location): More robust check that doesn't call
2550         GST_STATE. Ugggggg.
2551
2552 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2553
2554         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2555           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2556
2557 2005-11-08  Wim Taymans  <wim@fluendo.com>
2558
2559         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2560         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2561         (gst_base_sink_chain), (gst_base_sink_change_state):
2562         * gst/base/gstbasesink.h:
2563         * gst/base/gstbasesrc.h:
2564         * gst/gstelement.h:
2565         * gst/gstevent.h:
2566         Avoid excessive typechecking in macros.
2567
2568         * gst/gstminiobject.c: (gst_mini_object_get_type),
2569         (gst_mini_object_init), (gst_mini_object_new),
2570         (gst_mini_object_free):
2571         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2572         (gst_object_finalize):
2573         Remove cruft code, optimize alloc_trace.
2574
2575 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2576
2577         * docs/faq/gst-uninstalled:
2578           fix up PS1 for systems that try to reset it
2579
2580 2005-11-07  Wim Taymans  <wim@fluendo.com>
2581
2582         * gst/base/gstbasesrc.c: (gst_base_src_init),
2583         (gst_base_src_get_range):
2584         Set the segment_end to -1 initially. Fixed typefind.
2585
2586 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2587
2588         * gst/base/gstadapter.c:
2589           Debug category should be 'adapter', not 'GstAdapter'.
2590           
2591         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2592         (gst_collectpads_class_init), (gst_collectpads_init),
2593         (gst_collectpads_peek), (gst_collectpads_pop),
2594         (gst_collectpads_event), (gst_collectpads_chain):
2595           Add debug category and some debugging output. Use boilerplate
2596           macros. Remove some extraneous words from docs.
2597
2598 2005-11-05  Andy Wingo  <wingo@pobox.com>
2599
2600         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2601         macro.
2602
2603 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2604
2605         * docs/gst/gstreamer-sections.txt:
2606         * gst/gstcaps.h:
2607         * gst/gstinfo.c:
2608         * gst/gstminiobject.h:
2609         * gst/gstobject.h:
2610         * gst/gstutils.h:
2611           more docs added
2612
2613 2005-11-04  Wim Taymans  <wim@fluendo.com>
2614
2615         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2616         Small update to stop at the configured segment_end
2617         position.
2618
2619 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2620
2621         * gst/gstregistry.c:
2622         * gst/gstregistry.h:
2623           added missing docs
2624
2625 2005-11-04  Edward Hervey  <edward@fluendo.com>
2626
2627         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2628         Check if we are doing a segment seek and have arrived at the
2629         end of that segment.
2630
2631 2005-11-04  Wim Taymans  <wim@fluendo.com>
2632
2633         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2634         Don't leak a mutex unlock in case of an error.
2635
2636         * gst/gstbus.h:
2637         Doc fixes.
2638
2639 2005-11-04  Wim Taymans  <wim@fluendo.com>
2640
2641         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2642         (gst_bus_post):
2643         Get the context to wake up only once.
2644
2645 2005-11-03  Wim Taymans  <wim@fluendo.com>
2646
2647         * check/states/sinks.c: (GST_START_TEST):
2648         Uncomment fixed check.
2649
2650         * docs/design/part-TODO.txt:
2651         Updated TODO.
2652
2653         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2654         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2655         (gst_base_sink_get_position):
2656         If we are going to PLAYING, post the right pending state
2657         when we post the intermediate paused message.
2658
2659         * gst/gstelement.c: (gst_element_continue_state),
2660         (gst_element_set_state_func), (gst_element_change_state):
2661         Don't post state changes that were between the same state
2662         and were not ASYNC.
2663
2664 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2665
2666         * docs/gst/gstreamer-sections.txt:
2667         * gst/gstcaps.h:
2668         * gst/gstinfo.c:
2669         * gst/gstminiobject.h:
2670         * gst/gstobject.h:
2671         * gst/gstutils.h:
2672           more docs and doc style fixes
2673
2674 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2675
2676         * docs/gst/gstreamer-sections.txt:
2677         * gst/gstelement.c:
2678         * gst/gstminiobject.c:
2679         doc fixes
2680
2681 2005-11-03  Andy Wingo  <wingo@pobox.com>
2682
2683         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2684         state-changed messages actually have the right order and the right
2685         values.
2686
2687 2005-11-03  Wim Taymans  <wim@fluendo.com>
2688
2689         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2690         Added some more checks. Specifically the case where NO_PREROLL
2691         elements are in the pipeline.
2692
2693         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2694         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2695         (gst_base_sink_get_position):
2696         Post READY->PAUSED state change messages too.
2697         Fix bug where VOID was posted as pending state...
2698
2699         * gst/gstbin.c: (gst_bin_recalc_state):
2700         use _element_continue_state() to continue the state change.
2701
2702         * gst/gstelement.c: (gst_element_continue_state),
2703         (gst_element_commit_state), (gst_element_set_state_func),
2704         (gst_element_change_state), (gst_element_change_state_func):
2705         Lots of state change cleanups, assign the STATE_RETURN in
2706         a new continue_state() function that also propagates the
2707         last return value from a state change to the app.
2708         Update some debug statements with proper category.
2709
2710 2005-11-03  Wim Taymans  <wim@fluendo.com>
2711
2712         * docs/design/part-events.txt:
2713         * docs/design/part-gstpipeline.txt:
2714         * docs/design/part-messages.txt:
2715         * docs/design/part-overview.txt:
2716         * docs/design/part-seeking.txt:
2717         * docs/design/part-states.txt:
2718         * docs/design/part-trickmodes.txt:
2719         * docs/manual/advanced-position.xml:
2720         Small docs updates.
2721
2722         * gst/gstobject.h:
2723         People think !! is ugly, this looks better.
2724
2725         * gst/gstpad.c: (gst_pad_set_blocked_async):
2726         Remove !! since it's fixed elsewhere now.
2727
2728 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2729
2730         * gst/gstminiobject.h:
2731         * gst/gstobject.h:
2732           Add !! to _FLAG_IS_SET macros to make the result boolean.
2733
2734 2005-11-03  Edward Hervey  <edward@fluendo.com>
2735
2736         * gst/gstpad.c: (gst_pad_set_blocked_async):
2737         comparing a flag and a gboolean rarely returns coherent results...
2738         Added two characters (!!) to make that work correctly.
2739         
2740 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2741
2742         * gst/gstbus.c: (gst_bus_class_init):
2743           Fix some typos.
2744           
2745         * gst/gstqueue.c: (gst_queue_loop):
2746           Don't assume a miniobject that isn't a buffer is an
2747           event (it could be that there is a refcounting
2748           problem somewhere and the pointer is stale and
2749           refers to an already destroyed miniobject).
2750
2751 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2752
2753         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2754
2755 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2756
2757         * docs/manual/advanced-position.xml:
2758           Update seek example and explanations to current 0.9 API.
2759
2760         * gst/elements/gsttypefindelement.c:
2761         (gst_type_find_element_activate):
2762           Remove FIXME comment now that the found caps
2763           are unreffed.
2764
2765 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2766
2767         * gst/gstregistryxml.c: (load_feature):
2768           Add another GST_STR_NULL instance
2769
2770 2005-11-02  Edward Hervey  <edward@fluendo.com>
2771
2772         * gst/gstpad.c: (handle_pad_block):
2773         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2774         
2775 2005-11-02  Wim Taymans  <wim@fluendo.com>
2776
2777         * gst/gstbin.c:
2778         Fix typo in docs.
2779
2780         * gst/gstelement.c: (gst_element_commit_state):
2781         Remove unused value.
2782
2783         * gst/gstiterator.c:
2784         Mention that the returned element is reffed in the docs.
2785
2786 2005-11-02  Wim Taymans  <wim@fluendo.com>
2787
2788         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2789         (gst_pad_push), (gst_pad_push_event):
2790         Unlock blocked pads when they are flushed.
2791
2792 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2793
2794         * docs/README:
2795         * docs/gst/gstreamer-sections.txt:
2796         * gst/gstbin.c:
2797           doc updates
2798         * gst/gstregistry.c: (gst_registry_scan_path_level):
2799           fix for a nasty little missed situation where an installed plug-in
2800           which was in the cache did not get overridden by an uninstalled one
2801           which was earlier in the plugin path because the newly created plugin
2802           for the uninstalled one (not in the registry) didn't get its
2803           ->registered set to TRUE
2804
2805 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2806
2807         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2808         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2809         (gst_collectpads_is_active), (gst_collectpads_collect),
2810         (gst_collectpads_collect_range), (gst_collectpads_start),
2811         (gst_collectpads_stop), (gst_collectpads_peek),
2812         (gst_collectpads_pop), (gst_collectpads_available),
2813         (gst_collectpads_read), (gst_collectpads_flush):
2814           Guard public API with assertions.
2815         
2816         * gst/gstpad.c:
2817           Fix docs for gst_pad_set_link_function().
2818
2819 2005-11-02  Johan Dahlin  <johan@gnome.org>
2820
2821         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2822         Unref found_caps after we used it.
2823
2824 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2825
2826         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2827           Don't try to ref NULL.
2828
2829 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2830
2831         * win32/common/config.h.in:
2832           provide a GST_FUNCTION that just gives a string for now
2833
2834 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2835
2836         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2837         (gst_object_flags_get_type), (register_gst_bin_flags),
2838         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2839         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2840         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2841         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2842         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2843         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2844         (gst_clock_flags_get_type), (register_gst_state),
2845         (gst_state_get_type), (register_gst_state_change_return),
2846         (gst_state_change_return_get_type), (register_gst_state_change),
2847         (gst_state_change_get_type), (register_gst_element_flags),
2848         (gst_element_flags_get_type), (register_gst_core_error),
2849         (gst_core_error_get_type), (register_gst_library_error),
2850         (gst_library_error_get_type), (register_gst_resource_error),
2851         (gst_resource_error_get_type), (register_gst_stream_error),
2852         (gst_stream_error_get_type), (register_gst_event_type),
2853         (gst_event_type_get_type), (register_gst_seek_type),
2854         (gst_seek_type_get_type), (register_gst_seek_flags),
2855         (gst_seek_flags_get_type), (register_gst_format),
2856         (gst_format_get_type), (register_gst_index_certainty),
2857         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2858         (gst_index_entry_type_get_type),
2859         (register_gst_index_lookup_method),
2860         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2861         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2862         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2863         (gst_index_flags_get_type), (register_gst_debug_level),
2864         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2865         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2866         (gst_iterator_result_get_type), (register_gst_iterator_item),
2867         (gst_iterator_item_get_type), (register_gst_message_type),
2868         (gst_message_type_get_type), (register_gst_mini_object_flags),
2869         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2870         (gst_pad_link_return_get_type), (register_gst_flow_return),
2871         (gst_flow_return_get_type), (register_gst_activate_mode),
2872         (gst_activate_mode_get_type), (register_gst_pad_direction),
2873         (gst_pad_direction_get_type), (register_gst_pad_flags),
2874         (gst_pad_flags_get_type), (register_gst_pad_presence),
2875         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2876         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2877         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2878         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2879         (gst_plugin_flags_get_type), (register_gst_rank),
2880         (gst_rank_get_type), (register_gst_query_type),
2881         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2882         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2883         (gst_tag_flag_get_type), (register_gst_task_state),
2884         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2885         (gst_alloc_trace_flags_get_type),
2886         (register_gst_type_find_probability),
2887         (gst_type_find_probability_get_type), (register_gst_uri_type),
2888         (gst_uri_type_get_type), (register_gst_parse_error),
2889         (gst_parse_error_get_type):
2890         * win32/common/gstversion.h:
2891           update win32 copies
2892
2893 2005-11-01  Luca Ognibene  <luogni@tin.it>
2894
2895         * gst/gst.c:
2896           fix docs. popt is dead, long live GOption.
2897
2898 2005-10-31  Wim Taymans  <wim@fluendo.com>
2899
2900         * gst/gstbuffer.h:
2901         Small doc fix.
2902
2903 2005-10-31  Andy Wingo  <wingo@pobox.com>
2904
2905         * Boo!
2906
2907         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2908
2909         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2910         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2911         the possibility of deadlocks here if code calling notify() or
2912         set() has a lock that can be taken in another notify handler (ABBA
2913         with class lock and e.g. python GIL state lock).
2914
2915 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2916
2917         * gst/gstbus.c: Doc updates.
2918
2919 2005-10-28  Wim Taymans  <wim@fluendo.com>
2920
2921         * docs/design/part-TODO.txt:
2922         * gst/gstiterator.c:
2923         * gst/gstsystemclock.c:
2924         * gst/gstsystemclock.h:
2925         Doc updates.
2926
2927 2005-10-28  Edward Hervey  <edward@fluendo.com>
2928
2929         * docs/gst/gstreamer-docs.sgml:
2930         * docs/gst/gstreamer-sections.txt:
2931         the GstURIType documentation page is private, it only defines GstURIType
2932         which should be defined in the GstURIHandler page
2933         
2934 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2935
2936         * gst/gstbin.c: (gst_bin_class_init):
2937         * gst/gstbin.h:
2938         * gst/gstutils.c:
2939         Documentation updates.
2940
2941 2005-10-28  Wim Taymans  <wim@fluendo.com>
2942
2943         * docs/gst/gstreamer-sections.txt:
2944         * gst/gstclock.c:
2945         * gst/gstclock.h:
2946         Documented the clocks.
2947
2948 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2949
2950         * docs/gst/gstreamer-sections.txt:
2951           move some macros to private sections
2952         * gst/gstminiobject.c:
2953         * gst/gstminiobject.h:
2954           add descriptions provided by ds and some more
2955         * gst/gstpad.h:
2956           mark macro as to be removed
2957
2958 2005-10-28  Wim Taymans  <wim@fluendo.com>
2959
2960         * docs/design/part-TODO.txt:
2961         Add an item to TODO.
2962
2963         * gst/gstiterator.c: (gst_iterator_fold),
2964         (gst_iterator_find_custom):
2965         * gst/gstiterator.h:
2966         Add iterator docs.
2967
2968 2005-10-28  Wim Taymans  <wim@fluendo.com>
2969
2970         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2971         (gst_base_transform_init):
2972         Don't leak class.
2973
2974         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2975         An EOS event marks the queue as completely filled.
2976
2977 2005-10-27  Wim Taymans  <wim@fluendo.com>
2978
2979         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2980         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2981         Some more debugging.
2982
2983         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2984         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2985         (gst_base_transform_event), (gst_base_transform_getrange),
2986         (gst_base_transform_chain):
2987         * gst/base/gstbasetransform.h:
2988         Fix debugging,
2989         Protect transform and concurrent buffer alloc with a new lock.
2990         Try not to break ABI/API.
2991
2992 2005-10-27  Wim Taymans  <wim@fluendo.com>
2993
2994         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2995         (gst_base_src_init), (gst_base_src_query),
2996         (gst_base_src_default_newsegment),
2997         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2998         (gst_base_src_send_event), (gst_base_src_event_handler),
2999         (gst_base_src_pad_get_range), (gst_base_src_loop),
3000         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3001         (gst_base_src_start), (gst_base_src_deactivate),
3002         (gst_base_src_activate_push), (gst_base_src_change_state):
3003         Move some stuff around and cleanup things.
3004
3005 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3006
3007         * gst/base/gstbasesrc.c: (gst_base_src_query):
3008           Add missing break statements.
3009
3010 2005-10-27  Wim Taymans  <wim@fluendo.com>
3011
3012         * check/gst/gstbin.c: (GST_START_TEST):
3013         An extra refcount is taken in basesrc.
3014
3015         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3016         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3017         (gst_base_src_loop):
3018         Small cleanups, check for flushing after being unlocked from the 
3019         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3020         Don't send out EOS when going to READY.
3021
3022 2005-10-27  Wim Taymans  <wim@fluendo.com>
3023
3024         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3025         (gst_base_sink_get_position):
3026         Some more debug.
3027
3028         * gst/gstbin.c: (message_check), (bin_replace_message),
3029         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3030         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3031         (bin_query_duration_init), (bin_query_duration_fold),
3032         (bin_query_duration_done), (bin_query_generic_fold),
3033         (gst_bin_query):
3034         * tools/gst-launch.c: (main):
3035         Remove old option.
3036
3037 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3038
3039         * examples/controller/audio-example.c: (main):
3040         * examples/queue/queue.c: (event_loop):
3041         * gst/base/gstbasetransform.h:
3042         * gst/gstelement.c: (gst_element_send_event):
3043         * gst/gstevent.h:
3044         * gst/gstpad.c: (gst_pad_send_event):
3045           fixing examples
3046           fixing docs typos
3047           changing log priority in error situations
3048
3049 2005-10-25  Wim Taymans  <wim@fluendo.com>
3050
3051         * gst/gstbin.c: (message_check), (bin_replace_message),
3052         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3053         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3054         (bin_query_duration_init), (bin_query_duration_fold),
3055         (bin_query_duration_done), (bin_query_generic_fold),
3056         (gst_bin_query):
3057         Some doc and debug updates.
3058         Cache previously requested query DURATION for speed. invalidate
3059         cached duration if element posts a DURATION message.
3060
3061 2005-10-25  Wim Taymans  <wim@fluendo.com>
3062
3063         * docs/design/part-TODO.txt:
3064         Update TODO.
3065
3066         * gst/gstbin.c: (message_check), (bin_replace_message),
3067         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3068         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3069         (bin_query_duration_init), (bin_query_duration_fold),
3070         (bin_query_duration_done), (bin_query_generic_fold),
3071         (gst_bin_query):
3072         Handle SEGMENT_START/DONE messages correctly.
3073         More evolved query algorithm that handles duration queries
3074         correctly.
3075
3076         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3077         (gst_element_get_state_func), (gst_element_abort_state),
3078         (gst_element_commit_state), (gst_element_lost_state):
3079         Some more debugging.
3080
3081         * gst/gstmessage.h:
3082         Added doc.
3083
3084 2005-10-25  Wim Taymans  <wim@fluendo.com>
3085
3086         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3087         Don't use invalid stream_time.
3088
3089         * gst/gstevent.c: (gst_event_new_newsegment):
3090         stream_time in newsegment cannot be undefined.
3091
3092 2005-10-24  Wim Taymans  <wim@fluendo.com>
3093
3094         * gst/gstbus.c:
3095         Doc fix.
3096
3097         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3098         (gst_queue_loop):
3099         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3100
3101 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3102
3103         * docs/libs/tmpl/gstdparam.sgml:
3104         * docs/libs/tmpl/gstdplinint.sgml:
3105         * docs/libs/tmpl/gstdpman.sgml:
3106         * docs/libs/tmpl/gstdpsmooth.sgml:
3107         * docs/libs/tmpl/gstunitconvert.sgml:
3108           these are obsolete
3109
3110 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3111
3112         * configure.ac:
3113           back to HEAD
3114
3115 === release 0.9.4 ===
3116
3117 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3118
3119         * configure.ac:
3120           releasing 0.9.4, "Tyrannosaurus Rex"
3121
3122 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3123
3124         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3125         (gst_file_sink_get_current_offset):
3126           Use fseeko() and ftello() if available. When falling back on
3127           lseek() to get the current offset, fflush() first to make sure
3128           everything is up-to-date and we get the right offset.
3129
3130 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3131
3132         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3133         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3134         * gst/gsterror.c: (_gst_stream_errors_init):
3135         * gst/gsterror.h:
3136         * gst/gstqueue.c: (gst_queue_loop):
3137         * po/POTFILES.in:
3138           remove prematurely added error category and clean up the instances
3139
3140 2005-10-21  Wim Taymans  <wim@fluendo.com>
3141
3142         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3143         (gst_base_sink_get_position), (gst_base_sink_query),
3144         (gst_base_sink_change_state):
3145         Simply set the right flag when going to playing, that's all
3146         we need to do instead of calling a function inside the object
3147         lock (that could take the lock as well and deadlock)
3148
3149 2005-10-21  Wim Taymans  <wim@fluendo.com>
3150
3151         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3152         (gst_base_src_loop):
3153         Don't warn, the peer element knows what to do best when
3154         the seek failed, it might try something else.
3155
3156 2005-10-21  Wim Taymans  <wim@fluendo.com>
3157
3158         * gst/base/gstbasesrc.c: (gst_base_src_init),
3159         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3160         Fix seeking.
3161
3162 2005-10-21  Wim Taymans  <wim@fluendo.com>
3163
3164         * docs/design/part-segments.txt:
3165         More docs.
3166
3167         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3168         Correctly set caps, even on the subbufer.
3169
3170 2005-10-21  Wim Taymans  <wim@fluendo.com>
3171
3172         * docs/gst/gstreamer-docs.sgml:
3173         * docs/gst/gstreamer-sections.txt:
3174         * gst/gstelement.h:
3175         * gst/gstevent.c:
3176         * gst/gstevent.h:
3177         * gst/gstmessage.h:
3178         * gst/gstpad.h:
3179         * gst/gstparse.h:
3180         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3181         * gst/gsttask.h:
3182         * gst/gstutils.c:
3183         * gst/gstutils.h:
3184         And 2% more doc coverage.
3185
3186 2005-10-21  Andy Wingo  <wingo@pobox.com>
3187
3188         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3189         position reporting.
3190
3191 2005-10-20  Wim Taymans  <wim@fluendo.com>
3192
3193         * gst/gsterror.c: (gst_error_get_message):
3194         * gst/gstparse.h:
3195         * gst/gstquery.h:
3196         * gst/gststructure.c:
3197         * gst/gsttrace.c:
3198         * gst/gstutils.c:
3199         More docs.
3200
3201 2005-10-20  Wim Taymans  <wim@fluendo.com>
3202
3203         * gst/gstbuffer.h:
3204         * gst/gstpad.c:
3205         * gst/gstparse.c:
3206         Another 1% more coverage.
3207
3208 2005-10-20  Wim Taymans  <wim@fluendo.com>
3209
3210         * docs/gst/gstreamer-sections.txt:
3211         * gst/gstelement.c: (gst_element_get_state_func),
3212         (gst_element_abort_state), (gst_element_commit_state),
3213         (gst_element_lost_state):
3214         * gst/gstevent.h:
3215         * gst/gstquery.c: (gst_query_set_position),
3216         (gst_query_parse_position), (gst_query_set_duration),
3217         (gst_query_parse_duration), (gst_query_new_convert):
3218         * gst/gstutils.c:
3219         Yay! 1% more docs coverage.
3220
3221 2005-10-20  Wim Taymans  <wim@fluendo.com>
3222
3223         * gst/gstpad.h:
3224         * gst/gstquery.c: (gst_query_set_position),
3225         (gst_query_parse_position), (gst_query_set_duration),
3226         (gst_query_parse_duration), (gst_query_new_convert):
3227         * gst/gstquery.h:
3228         * gst/gstutils.c: (gst_element_query_convert):
3229         * gst/gstutils.h:
3230         Docs and consistency fixes.
3231
3232 2005-10-20  Wim Taymans  <wim@fluendo.com>
3233
3234         * gst/gsttask.c:
3235         * gst/gsttask.h:
3236         More docs.
3237
3238 2005-10-20  Wim Taymans  <wim@fluendo.com>
3239
3240         * gst/gstbin.c: (message_check), (bin_replace_message),
3241         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3242         (update_degree), (gst_bin_sort_iterator_next),
3243         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3244         Reworked the message handling a bit, cache the messages instead of
3245         only the senders. alows us to do more in the future.
3246
3247 2005-10-20  Wim Taymans  <wim@fluendo.com>
3248
3249         * docs/design/part-TODO.txt:
3250         Update TODO
3251
3252         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3253         (gst_base_sink_query):
3254         Don't use clock time to report position when in EOS.
3255
3256 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3257
3258         * tools/gst-inspect.c: (print_interfaces),
3259         (print_element_properties_info), (print_element_info):
3260           Fix interface output with gst-inspect -a; don't print
3261           newlines after double/float properties.
3262
3263 2005-10-20  Wim Taymans  <wim@fluendo.com>
3264
3265         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3266         (gst_base_sink_query):
3267         Speed up current position calculation.
3268
3269         * gst/base/gstbasesrc.c: (gst_base_src_query),
3270         (gst_base_src_default_newsegment):
3271         Correctly set stream position in newsegment.
3272
3273         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3274         (update_degree), (gst_bin_sort_iterator_next),
3275         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3276         * gst/gstmessage.c: (gst_message_new_custom):
3277         Clean up debugging info
3278
3279         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3280         (gst_queue_loop), (gst_queue_handle_src_query):
3281         Pause task faster.
3282
3283 2005-10-19  Wim Taymans  <wim@fluendo.com>
3284
3285         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3286         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3287         Fix query handling again.
3288
3289 2005-10-19  Wim Taymans  <wim@fluendo.com>
3290
3291         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3292         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3293         * gst/base/gstbasesrc.c: (gst_base_src_query):
3294         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3295         * gst/elements/gsttypefindelement.c:
3296         (gst_type_find_handle_src_query), (find_element_get_length),
3297         (gst_type_find_element_activate):
3298         API change fix.
3299
3300         * gst/gstquery.c: (gst_query_new_position),
3301         (gst_query_set_position), (gst_query_parse_position),
3302         (gst_query_new_duration), (gst_query_set_duration),
3303         (gst_query_parse_duration), (gst_query_set_segment),
3304         (gst_query_parse_segment):
3305         * gst/gstquery.h:
3306         Bundling query position/duration is not a good idea since duration
3307         does not change much and we don't want to recalculate it for every
3308         position query, so they are separated again..
3309         Base value in segment query is not needed.
3310
3311         * gst/gstqueue.c: (gst_queue_handle_src_query):
3312         * gst/gstutils.c: (gst_element_query_position),
3313         (gst_element_query_duration), (gst_pad_query_position),
3314         (gst_pad_query_duration):
3315         * gst/gstutils.h:
3316         Updates for query API change.
3317         Added some docs here and there.
3318
3319 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3320
3321         * check/gst/gstbin.c: (GST_START_TEST):
3322         * check/gst/gstghostpad.c: (GST_START_TEST):
3323         * check/pipelines/cleanup.c: (GST_START_TEST):
3324           wait on thread to die so we can check refcount correctly
3325
3326 2005-10-18  Wim Taymans  <wim@fluendo.com>
3327
3328         * check/pipelines/stress.c: (GST_START_TEST):
3329         Make check a little more time consuming.
3330
3331 2005-10-18  Wim Taymans  <wim@fluendo.com>
3332
3333         * check/Makefile.am:
3334         * check/pipelines/stress.c: (GST_START_TEST),
3335         (simple_launch_lines_suite), (main):
3336         Small state change torture test.
3337
3338         * docs/design/part-states.txt:
3339         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3340         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3341         (gst_base_sink_change_state):
3342         Never take state lock from streaming thread, clean up ugly
3343         hacks. Unfortunatly core does not yet support nice ways to
3344         async commit state.
3345         
3346         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3347         (bin_bus_handler):
3348         Start state recalc if a STATE_DIRTY message is posted, but only
3349         on the toplevel bin.
3350
3351         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3352         (gst_element_get_state_func), (gst_element_abort_state),
3353         (gst_element_commit_state), (gst_element_lost_state),
3354         (gst_element_set_state_func), (gst_element_change_state):
3355         * gst/gstelement.h:
3356         State variables are now protected with the LOCK, the state
3357         lock is only used to serialize _set_state().
3358
3359 2005-10-18  Wim Taymans  <wim@fluendo.com>
3360
3361         * check/gst/gstbin.c: (GST_START_TEST):
3362         * check/gst/gstmessage.c: (GST_START_TEST):
3363         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3364         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3365         (bin_bus_handler):
3366         * gst/gstelement.c: (gst_element_abort_state),
3367         (gst_element_commit_state), (gst_element_lost_state):
3368         * gst/gstmessage.c: (gst_message_new_state_changed),
3369         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3370         (gst_message_new_segment_done), (gst_message_new_duration),
3371         (gst_message_parse_state_changed),
3372         (gst_message_parse_segment_start),
3373         (gst_message_parse_segment_done), (gst_message_parse_duration):
3374         * gst/gstmessage.h:
3375         * tools/gst-launch.c: (event_loop):
3376         Seriously, this is better than a previous commit as we only need
3377         to notify the fact that an element changed state in a streaming
3378         thread, marking the state of the parents dirty, hence the 
3379         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3380         message.
3381
3382 2005-10-18  Wim Taymans  <wim@fluendo.com>
3383
3384         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3385         (gst_bin_recalc_func):
3386         * gst/gstelement.c: (gst_element_set_clock),
3387         (gst_element_abort_state), (gst_element_lost_state):
3388         Cleanups, prepare for state change fixes.
3389
3390 2005-10-18  Wim Taymans  <wim@fluendo.com>
3391
3392         * gst/gstbin.h:
3393         * gst/gstelement.c: (gst_element_class_init),
3394         (gst_element_set_state), (gst_element_set_state_func):
3395         * gst/gstelement.h:
3396         Pending ABI changes.
3397         GThreadPool in GstBinClass to monitor async state changes.
3398         state_cookie in GstElement to detect concurrent gst/set state.
3399         set_state is now virtual too in case a very complicated element
3400         has to be constructed.
3401
3402 2005-10-18  Wim Taymans  <wim@fluendo.com>
3403
3404         * check/gst/gstbin.c: (GST_START_TEST):
3405         * check/gst/gstmessage.c: (GST_START_TEST):
3406         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3407         * gst/gstbin.c: (bin_bus_handler):
3408         * gst/gstelement.c: (gst_element_commit_state),
3409         (gst_element_lost_state):
3410         * gst/gstmessage.c: (gst_message_new_state_changed),
3411         (gst_message_new_segment_start), (gst_message_new_segment_done),
3412         (gst_message_new_duration), (gst_message_parse_state_changed),
3413         (gst_message_parse_segment_start),
3414         (gst_message_parse_segment_done), (gst_message_parse_duration):
3415         * gst/gstmessage.h:
3416         * tools/gst-launch.c: (event_loop):
3417         Make messages future proof.
3418         state-change gets a flag if it was a message comming from the
3419         streaming thread.
3420         segment-start/stop can also be specified in other formats.
3421         A message to notify an app that a pipeline changed playback 
3422         duration.
3423         Also fix a GstMessage leak in -launch
3424
3425 2005-10-18  Andy Wingo  <wingo@pobox.com>
3426
3427         * gst/gstelement.c (gst_element_dispose): More helpful message.
3428
3429 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3430
3431         reviewed by: <delete if not using a buddy>
3432
3433         * common/gtk-doc.mak:
3434
3435 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3436
3437         * gst/gstregistry.c: (gst_registry_scan_path_level):
3438           unref a plug-in we get that was already initialized
3439
3440 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3441
3442         * docs/gst/gstreamer-sections.txt:
3443         * docs/libs/gstreamer-libs-sections.txt:
3444         * gst/gstelement.h:
3445           add new api entries
3446           hide internal macro
3447
3448 2005-10-17  Andy Wingo  <wingo@pobox.com>
3449
3450         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3451         cleanup.
3452
3453         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3454
3455         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3456
3457         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3458         (gst_element_get_state_func): Better debug message.
3459         (gst_element_commit_state): s/INFO/DEBUG/.
3460         (gst_element_lost_state, gst_element_change_state): 
3461
3462         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3463         (gst_message_new_custom): s/INFO/LOG/.
3464
3465 2005-10-17  Michael Smith <msmith@fluendo.com>
3466
3467         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3468           Check if end time is valid using end time, not start time.
3469
3470 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3471
3472         * check/gst-libs/controller.c: (GST_START_TEST),
3473         (gst_controller_suite):
3474         * libs/gst/controller/gstcontroller.c:
3475         (gst_controlled_property_set_interpolation_mode):
3476         * libs/gst/controller/gstcontroller.h:
3477         * libs/gst/controller/gstinterpolation.c:
3478         * testsuite/controller/.cvsignore:
3479         * testsuite/controller/Makefile.am:
3480         * testsuite/controller/interpolator.c:
3481           merge controller testsuites
3482           fix broken tests
3483           remove mem-chunk from docs
3484
3485 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3486
3487         * gst/gstmemchunk.c:
3488         * gst/gstmemchunk.h:
3489         * gst/gsttrashstack.c:
3490         * gst/gsttrashstack.h:
3491           out.  get out.  you're fired.  to the Attic !
3492
3493 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3494
3495         * gst/gstcaps.c: (gst_caps_intersect):
3496           fix signedness issues in a (hopefully) correct way
3497         * gst/gstelement.c: (gst_element_pads_activate):
3498           some debugging
3499         * gst/gstobject.c: (gst_object_set_parent):
3500           some debugging
3501
3502 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3503
3504         * gst/gstvalue.h: Fix prototypes.
3505
3506 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3507
3508         * docs/gst/gstreamer-sections.txt:
3509         * gst/gst.c: (gst_version_string):
3510         * gst/gst.h:
3511         * gst/gstversion.h.in:
3512         * win32/common/libgstreamer.def:
3513           add gst_version_string ()
3514
3515 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3516
3517         * configure.ac:
3518           clean up further
3519         * gst/gst.c: (init_post):
3520         * win32/common/config.h.in:
3521           it's PLUGINDIR now
3522         * gst/gstcaps.c: (gst_caps_intersect):
3523           use gint64, the range could be bigger than a guint
3524
3525 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3526
3527         * gst/gstclock.h:
3528           document potential problem in 2038
3529
3530 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3531
3532         * gst/gstcaps.c: (gst_caps_intersect):
3533           Fix guint j diving under 0
3534
3535 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3536
3537         * configure.ac:
3538         * win32/common/config.h:
3539         * win32/common/config.h.in:
3540           check for process.h, declares getpid() on Windows
3541         * gst/gstinfo.c:
3542           include process.h if we have it
3543         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3544         * gst/gstmemchunk.h:
3545           fix signedness issues
3546         * win32/common/libgstreamer.def:
3547           fix get_type's
3548
3549 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3550
3551         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3552         fix. Because of unsigned ints, caps intersection was going nuts and
3553         trying to access structures with G_MAXUINT index. That fixes
3554         videotestsrc ! ffmpegcolorspace ! fakesink
3555         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3556         consistency.
3557
3558 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3559
3560         * configure.ac:
3561           use the gettext macro
3562         * gst/elements/gstelements.c:
3563         * gst/gst.c:
3564         * gst/indexers/gstindexers.c:
3565           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3566         * win32/common/config.h:
3567           updated config.h
3568         * win32/common/config.h.in:
3569           add the template to generate config.h
3570         * win32/common/gstenumtypes.c:
3571         * win32/common/gstversion.h:
3572           updated copies
3573
3574 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3575
3576         * gst/gst.c: (gst_version):
3577         * gst/gstversion.h.in:
3578           add the nano
3579
3580 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3581
3582         * gst/gstevent.h:
3583           Oops, add missing closing bracket.
3584
3585 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3586
3587         * configure.ac:
3588           use common m4's for argument checking
3589
3590 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3591
3592         * docs/gst/gstreamer-sections.txt:
3593         * gst/gstevent.h:
3594           Add GST_EVENT_TYPE_NAME() macro.
3595
3596 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3597
3598         * gst/gstinfo.c:
3599         * gst/gstpluginfeature.c:
3600         * gst/gsttask.c:
3601           privatize more symbols
3602
3603 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3604
3605         * configure.ac:
3606           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3607           everything that uses GStreamer API should have the includes
3608
3609 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3610
3611         * docs/gst/gstreamer-sections.txt:
3612         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3613         * gst/gstvalue.h:
3614           give each value a _get_type, removes the DATA exports
3615
3616 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3617
3618         * gst/gst.c:
3619         * gst/gst.h:
3620           remove _gst_registry_auto_load, not used anymore
3621         * gst/gstbin.c: (gst_bin_get_type):
3622         * gst/gstbin.h:
3623         * gst/gstelement.c: (gst_element_get_type):
3624         * gst/gstelement.h:
3625         * gst/gstobject.c: (gst_object_get_type):
3626         * gst/gstobject.h:
3627         * gst/gstpad.c: (gst_pad_get_type):
3628         * gst/gstpad.h:
3629           make _get_type functions similar, fixes data export from library
3630
3631 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3632
3633         * configure.ac:
3634           correctly make conditionals
3635         * gst/elements/Makefile.am:
3636         * gst/elements/gstelements.c:
3637           fix typo causing fdsrc not to build
3638
3639 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3640
3641         * testsuite/Makefile.am:
3642         * testsuite/bytestream/.cvsignore:
3643         * testsuite/bytestream/Makefile.am:
3644         * testsuite/bytestream/filepadsink.c:
3645         * testsuite/bytestream/gstbstest.c:
3646         * testsuite/bytestream/test1.c:
3647         * testsuite/bytestream/testfile1:
3648         * testsuite/caps/normalisation.c:
3649         * testsuite/caps/random.c: (main):
3650         * testsuite/cleanup/.cvsignore:
3651         * testsuite/cleanup/Makefile.am:
3652         * testsuite/cleanup/cleanup1.c:
3653         * testsuite/cleanup/cleanup2.c:
3654         * testsuite/cleanup/cleanup3.c:
3655         * testsuite/cleanup/cleanup4.c:
3656         * testsuite/cleanup/cleanup5.c:
3657         * testsuite/controller/interpolator.c:
3658         * testsuite/debug/printf_extension.c: (main):
3659         * testsuite/elements/tee.c:
3660         * testsuite/negotiation/.cvsignore:
3661         * testsuite/negotiation/Makefile.am:
3662         * testsuite/negotiation/pad_link.c:
3663         * testsuite/pad/Makefile.am:
3664         * testsuite/pad/chainnopull.c:
3665         * testsuite/pad/getnopush.c:
3666         * testsuite/pad/link.c:
3667         * testsuite/refcounting/sched.c: (create_pipeline):
3668         * testsuite/registry/Makefile.am:
3669         * testsuite/registry/gst-print-formats.c:
3670         * testsuite/schedulers/.cvsignore:
3671         * testsuite/schedulers/142183-2.c:
3672         * testsuite/schedulers/142183.c:
3673         * testsuite/schedulers/143777-2.c:
3674         * testsuite/schedulers/143777.c:
3675         * testsuite/schedulers/147713.c:
3676         * testsuite/schedulers/147819.c:
3677         * testsuite/schedulers/147894-2.c:
3678         * testsuite/schedulers/147894.c:
3679         * testsuite/schedulers/Makefile.am:
3680         * testsuite/schedulers/group_link.c:
3681         * testsuite/schedulers/queue_link.c:
3682         * testsuite/schedulers/relink.c:
3683         * testsuite/schedulers/unlink.c:
3684         * testsuite/schedulers/unref.c:
3685         * testsuite/schedulers/useless_iteration.c:
3686         * testsuite/states/bin.c:
3687           clean out/remove some stuff from the testsuite directories
3688
3689 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3690
3691         * configure.ac:
3692           check for some headers
3693         * gst/elements/Makefile.am:
3694         * gst/elements/gstelements.c:
3695           don't compile fdsrc without sys/socket.h
3696         * gst/indexers/Makefile.am:
3697         * gst/indexers/gstindexers.c: (plugin_init):
3698           don't compile fileindex without mmap
3699
3700 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3701
3702         * configure.ac:
3703           reorganize
3704           clean up
3705           document more
3706           remove cruft
3707         * check/Makefile.am:
3708         * docs/gst/Makefile.am:
3709         * examples/helloworld/Makefile.am:
3710         * gst/Makefile.am:
3711         * gst/base/Makefile.am:
3712         * gst/check/Makefile.am:
3713         * gst/elements/Makefile.am:
3714         * gst/indexers/Makefile.am:
3715         * gst/parse/Makefile.am:
3716         * libs/gst/controller/Makefile.am:
3717         * libs/gst/dataprotocol/Makefile.am:
3718         * examples/helloworld/helloworld.c: (event_loop):
3719           compile fixes, though it's not being compiled currently
3720
3721 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3722
3723         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3724           Add some simple tests for the new taglist date API.
3725
3726 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3727
3728         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3729         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3730           Beautify 'last-message' output: print 'none' for buffer timestamps
3731           and durations if none is set; improve alignment with next messages.
3732
3733 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3734
3735         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3736         * gst/gstpluginfeature.h:
3737         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3738         * gst/gstregistry.h:
3739         * docs/gst/gstreamer-sections.txt:
3740           Add new API to check plugin feature version requirements.
3741
3742         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3743           Some basic tests for the above.         
3744
3745 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3746
3747         * gst/gststructure.c: (gst_structure_to_string):
3748           guard against NULL printf - happens when for example
3749           a message structure with GstClock gets serialized
3750
3751 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3752
3753         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3754           Fix presumable copy'n'pasto.
3755
3756 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3757
3758         * gst/elements/gstfakesrc.h:
3759         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3760         * gst/elements/gsttypefindelement.c:
3761           fix some signedness
3762         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3763           I wonder if this could actually write +2GB files before
3764
3765 2005-10-13  Andy Wingo  <wingo@pobox.com>
3766
3767         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3768         Fix Timmeke Waymans bug.
3769         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3770         string of the proper length to gst_caps_from_string. There's a
3771         potential for, before this fix, that this could cause someone
3772         connecting over the network to cause a segfault if the payload is
3773         not NUL-terminated.
3774
3775 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3776
3777         * docs/design/draft-push-pull.txt:
3778         * docs/design/part-overview.txt:
3779         * docs/random/TODO-pre-0.9:
3780         * docs/random/old/ChangeLog.gstreamer:
3781         * gst/base/gstpushsrc.c:
3782         * gst/gstclock.c:
3783           fixed typos
3784
3785 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3786
3787         * gst/glib-compat.c: (gst_flags_get_first_value):
3788         * gst/glib-compat.h:
3789         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3790         (gst_value_compare_double), (gst_value_serialize_flags):
3791           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3792           infinite loop
3793
3794 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3795
3796         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3797         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3798           fix up debugging
3799         * tools/gst-launch.c: (event_loop):
3800           print out clock nicely
3801
3802 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3803
3804         * docs/gst/gstreamer-sections.txt:
3805         * gst/gsttaglist.h:
3806         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3807         (gst_tag_list_get_date_index):
3808           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3809           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3810
3811 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3812
3813         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3814         (gst_collectpads_chain):
3815         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3816         in CollectData.
3817
3818 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3819
3820         * docs/gst/gstreamer-sections.txt:
3821         * gst/gst.c:
3822         * gst/gsterror.h:
3823         * tools/gst-inspect.c: (main):
3824         * tools/gst-launch.c: (main):
3825         * tools/gst-run.c: (main):
3826         * tools/gst-xmlinspect.c: (main):
3827           fix GOption context leaks
3828           doc fixes
3829
3830 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3831
3832         * gst/gstbus.c:
3833           use HAVE_UNISTD_H
3834         * win32/common/config.h:
3835           update config
3836         * win32/vs6/grammar.dsp:
3837         * win32/vs6/libgstelements.dsp:
3838         * win32/vs6/libgstreamer.dsp:
3839           update vs6 files
3840
3841 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3842
3843         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3844         * gst/base/gstbasesrc.c: (gst_base_src_query):
3845           fix more guint64<->gdouble conversions
3846
3847 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3848
3849         * Makefile.am:
3850           add win32-update target
3851         * win32/common/gstconfig.h:
3852         * win32/common/gstenumtypes.c:
3853         * win32/common/gstenumtypes.h:
3854         * win32/common/gstversion.h:
3855           add files that visual studio can't generate
3856
3857 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3858
3859         * Makefile.am:
3860           add a win32-update target
3861         * configure.ac:
3862
3863 2005-10-12  Wim Taymans  <wim@fluendo.com>
3864
3865         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3866         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3867         * gst/gstelement.c: (gst_element_commit_state),
3868         (gst_element_set_state):
3869         Protect flags with proper lock.
3870         unref provided cached clock in dispose.
3871
3872 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3873
3874         * gst/gst.c:
3875         * gst/gstminiobject.h:
3876         * gst/gstpad.h:
3877         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3878           removed unused flags from miniobject
3879           doc fixes
3880
3881 2005-10-12  Wim Taymans  <wim@fluendo.com>
3882
3883         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3884         (gst_file_sink_event), (gst_file_sink_render):
3885         Flush before seeking.
3886
3887 2005-10-12  Andy Wingo  <wingo@pobox.com>
3888
3889         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3890         always been the case.
3891
3892 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3893
3894         * check/gst/gstbin.c: (GST_START_TEST):
3895         * docs/gst/gstreamer-sections.txt:
3896         * gst/base/gstbasesink.c: (gst_base_sink_init):
3897         * gst/base/gstbasesrc.c: (gst_base_src_init),
3898         (gst_base_src_get_range), (gst_base_src_check_get_range),
3899         (gst_base_src_start), (gst_base_src_stop):
3900         * gst/base/gstbasesrc.h:
3901         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3902         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3903         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3904         (bin_bus_handler):
3905         * gst/gstbin.h:
3906         * gst/gstbuffer.h:
3907         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3908         * gst/gstbus.h:
3909         * gst/gstelement.c: (gst_element_is_locked_state),
3910         (gst_element_set_locked_state), (gst_element_commit_state),
3911         (gst_element_set_state):
3912         * gst/gstelement.h:
3913         * gst/gstindex.c: (gst_index_init):
3914         * gst/gstindex.h:
3915         * gst/gstminiobject.h:
3916         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3917         (gst_object_set_parent):
3918         * gst/gstobject.h:
3919         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3920         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3921         * gst/gstpad.h:
3922         * gst/gstpadtemplate.h:
3923         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3924         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3925         * gst/gstpipeline.h:
3926         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3927         (gst_file_index_commit):
3928         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3929         * testsuite/pad/link.c: (gst_test_src_init),
3930         (gst_test_filter_init), (gst_test_sink_init):
3931         * testsuite/states/locked.c: (main):
3932           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3933           moved bitshift from macro to enum definition
3934
3935 2005-10-12  Wim Taymans  <wim@fluendo.com>
3936
3937         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3938         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3939         (gst_file_sink_render):
3940         Some more debugging info.
3941
3942 2005-10-12  Wim Taymans  <wim@fluendo.com>
3943
3944         * docs/design/part-states.txt:
3945         * tools/gst-launch.c: (main):
3946         Some doc updates.
3947         Revert non-intentional change.
3948
3949 2005-10-12  Wim Taymans  <wim@fluendo.com>
3950
3951         * check/gst/gstbin.c: (GST_START_TEST):
3952         * check/gst/gstelement.c: (GST_START_TEST):
3953         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3954         * check/gst/gstghostpad.c: (GST_START_TEST):
3955         * check/gst/gstpipeline.c: (GST_START_TEST):
3956         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3957         * check/states/sinks.c: (GST_START_TEST):
3958         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3959         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3960         (gst_bin_remove_func), (gst_bin_get_state_func),
3961         (gst_bin_recalc_state), (gst_bin_change_state_func),
3962         (bin_bus_handler):
3963         * gst/gstelement.c: (gst_element_get_state_func),
3964         (gst_element_get_state), (gst_element_abort_state),
3965         (gst_element_commit_state), (gst_element_set_state),
3966         (gst_element_change_state), (gst_element_change_state_func):
3967         * gst/gstelement.h:
3968         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3969         (gst_pipeline_provide_clock_func):
3970         * gst/gstutils.c: (gst_element_link_pads_filtered):
3971         * tools/gst-launch.c: (main):
3972         * tools/gst-typefind.c: (main):
3973         Use GstClockTime in _get_state() instead of GTimeVal.
3974         Remove old code in gstutils.c
3975
3976 2005-10-12  Andy Wingo  <wingo@pobox.com>
3977
3978         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3979         removed.
3980
3981         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3982         there is no task. Shouldn't affect any code, as nothing in our
3983         plugins checks this return value.
3984         (gst_pad_stop_task): Also take the stream lock if the pad has no
3985         task. Docs updated.
3986
3987 2005-10-12  Wim Taymans  <wim@fluendo.com>
3988
3989         * gst/gstpad.c: (pre_activate), (post_activate),
3990         (gst_pad_activate_pull), (gst_pad_activate_push):
3991         Cleanup activation code. Reset old state if
3992         activation failed.
3993
3994 2005-10-12  Wim Taymans  <wim@fluendo.com>
3995
3996         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3997         (gst_base_sink_change_state):
3998         No need to prerol after receiving EOS.
3999
4000         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4001         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4002         * gst/elements/gstidentity.c: (gst_identity_event):
4003         Print events more verbosely.
4004
4005 2005-10-12  Wim Taymans  <wim@fluendo.com>
4006
4007         * check/Makefile.am:
4008         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4009         * check/states/sinks2.c:
4010         Moved sinks2 testcode in sinks check.
4011
4012         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4013         (gst_bin_remove_func), (gst_bin_recalc_state),
4014         (gst_bin_change_state_func), (bin_bus_handler):
4015         Fix potential race condition when _get_state() iterated over an
4016         ASYNC element right before it posted a state completion.
4017
4018         * gst/gstclock.h:
4019         Do proper cast here.
4020
4021         * gst/gstevent.c: (gst_event_new_newsegment),
4022         (gst_event_parse_newsegment):
4023         A playback rate of 0.0 is not allowed.
4024
4025 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4026
4027         * win32/common/config.h:
4028         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4029         (_trewinddir), (_ttelldir), (_tseekdir):
4030         * win32/common/dirent.h:
4031         * win32/common/gtchar.h:
4032         * win32/common/libgstbase.def:
4033         * win32/common/libgstreamer.def:
4034         * win32/vs6/grammar.dsp:
4035         * win32/vs6/gst_inspect.dsp:
4036         * win32/vs6/gst_launch.dsp:
4037         * win32/vs6/gstreamer.dsw:
4038         * win32/vs6/libgstbase.dsp:
4039         * win32/vs6/libgstelements.dsp:
4040         * win32/vs6/libgstreamer.dsp:
4041           Visual Studio 6 project files, and a new common directory.
4042           Phear.
4043
4044 2005-10-11  Wim Taymans  <wim@fluendo.com>
4045
4046         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4047         (gst_base_sink_do_sync), (gst_base_sink_query),
4048         (gst_base_sink_change_state):
4049         * gst/base/gstbasesink.h:
4050         Correctly parse newsegment info.
4051
4052 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4053
4054         * gst/gst.c: (init_post):
4055           split plugin paths correctly
4056
4057 2005-10-11  Wim Taymans  <wim@fluendo.com>
4058
4059         * check/gst/gstevent.c: (GST_START_TEST):
4060         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4061         (gst_base_sink_change_state):
4062         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4063         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4064         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4065         * gst/gstevent.c: (gst_event_new_newsegment),
4066         (gst_event_parse_newsegment):
4067         * gst/gstevent.h:
4068         Added extra flag to newsegment for future API freeze.
4069         Updated check and base elements.
4070
4071 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4072
4073         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4074         (gst_collectpads_add_pad), (gst_collectpads_pop),
4075         (gst_collectpads_event), (gst_collectpads_chain):
4076         * gst/base/gstcollectpads.h: Handle EOS correctly.
4077
4078 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4079
4080         * tools/gst-launch.c: (main):
4081           more null protecting
4082
4083 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4084
4085         * gst/gst-i18n-lib.h:
4086           check for ENABLE_NLS, not GETTEXT_PACKAGE
4087         * gst/gstregistry.c: (gst_registry_add_plugin),
4088         (gst_registry_scan_path_level),
4089         (_gst_registry_remove_cache_plugins):
4090           protect possibly NULL strings
4091         * gst/parse/types.h:
4092           config.h already included before
4093         * tools/gst-inspect.c: (main):
4094           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4095           check for ENABLE_NLS, not GETTEXT_PACKAGE
4096         * tools/gst-launch.c: (main):
4097           check for ENABLE_NLS, not GETTEXT_PACKAGE
4098
4099 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4100
4101         * configure.ac:
4102           if we don't have glib, fail before testing 2.8
4103         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4104           fix a leak, should fix plugins-base testsuite
4105
4106 2005-10-11  Andy Wingo  <wingo@pobox.com>
4107
4108         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4109         take the mode we're going to as an arg. Go head and set the mode
4110         and flushing flags now, so that if the activate function starts a
4111         thread all the flags will be in the right state.
4112         (post_activate): Renamed also. Just handle making sure streaming
4113         finishes for the deactivation case, and setting the deactivated
4114         mode.
4115         (gst_pad_set_active): Complain loudly if deactivation fails.
4116         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4117         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4118         remove the terrible hack.
4119
4120 2005-10-11  Wim Taymans  <wim@fluendo.com>
4121
4122         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4123         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4124         (gst_bin_recalc_state), (gst_bin_change_state_func),
4125         (gst_bin_dispose), (bin_bus_handler):
4126         * gst/gstbin.h:
4127         Prepare to make current EOS message queue more generic.
4128         Fix some typos.
4129
4130         * gst/gstevent.c: (gst_event_new_newsegment),
4131         (gst_event_parse_newsegment):
4132         * gst/gstevent.h:
4133         Rename base to stream_time.
4134
4135         * gst/gstmessage.h:
4136         Fix typo in docs.
4137
4138 2005-10-11  Wim Taymans  <wim@fluendo.com>
4139
4140         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4141         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4142         (gst_bin_change_state_func), (bin_bus_handler):
4143         * gst/gstbin.h:
4144         Work on proper clock selection.
4145
4146 2005-10-11  Edward Hervey  <edward@fluendo.com>
4147
4148         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4149         * libs/gst/controller/gstcontroller.h:
4150         Added GList* version of _remove_properties() in order to be able to wrap
4151         it in bindings.
4152
4153 2005-10-11  Wim Taymans  <wim@fluendo.com>
4154
4155         * docs/design/part-states.txt:
4156         Some more docs.
4157
4158         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4159         (gst_bin_change_state_func), (bin_bus_handler):
4160         Doc updates. Don't distribute the same clock over and over again.
4161
4162         * gst/gstclock.c:
4163         * gst/gstclock.h:
4164         Doc updates.
4165
4166         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4167         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4168         (gst_pad_send_event):
4169         * gst/gstpad.h:
4170         Make probe emission threadsafe again.
4171         Register quarks and move _get_name() from utils.
4172         Doc updates.
4173
4174         * gst/gstpipeline.c: (gst_pipeline_class_init),
4175         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4176         Only redistribute the clock of it changed.
4177
4178         * gst/gstsystemclock.h:
4179         Doc updates. 
4180
4181         * gst/gstutils.c:
4182         * gst/gstutils.h:
4183         Moved the _flow_get_name() to GstPad.
4184
4185 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4186
4187         * check/gst-libs/gdp.c: (GST_START_TEST):
4188         * check/gst/gstcaps.c: (GST_START_TEST):
4189         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4190         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4191         (gst_dp_packet_from_caps):
4192           fix more valgrind warnings before turning up the heat
4193
4194 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4195
4196         * gst/parse/grammar.y:
4197           some cleanup before the hacking
4198
4199 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4200
4201         * gst/base/gstbasesrc.c: (gst_base_src_query):
4202           use conversions
4203         * gst/gstutils.c: (gst_guint64_to_gdouble),
4204         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4205         * gst/gstutils.h:
4206           externalize, basesrc uses it
4207           obviously the implementation needs testing
4208
4209 2005-10-10  Wim Taymans  <wim@fluendo.com>
4210
4211         * tests/sched/Makefile.am:
4212         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4213         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4214
4215 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4216
4217         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4218           apparently converting from guint64 to double is not implemented
4219           on MSVC
4220
4221 2005-10-10  Wim Taymans  <wim@fluendo.com>
4222
4223         * check/Makefile.am:
4224         * check/generic/states.c: (GST_START_TEST):
4225         * check/gst/gstbin.c: (GST_START_TEST):
4226         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4227         * check/states/sinks.c: (GST_START_TEST):
4228         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4229         (main):
4230         Check fixes, use API as stated in design docs, remove hacks.
4231
4232         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4233         (gst_base_sink_change_state):
4234         Catch stopping our task while we're shutting down.
4235
4236         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4237         (gst_bin_remove_func), (gst_bin_get_state_func),
4238         (gst_bin_recalc_state), (gst_bin_change_state_func),
4239         (bin_bus_handler):
4240         * gst/gstbin.h:
4241         * gst/gstelement.c: (gst_element_init),
4242         (gst_element_get_state_func), (gst_element_abort_state),
4243         (gst_element_commit_state), (gst_element_lost_state),
4244         (gst_element_set_state), (gst_element_change_state),
4245         (gst_element_change_state_func):
4246         * gst/gstelement.h:
4247         New state change algorithm (see #318116)
4248
4249         * gst/gstpipeline.c: (gst_pipeline_class_init),
4250         (gst_pipeline_init), (gst_pipeline_set_property),
4251         (gst_pipeline_get_property), (do_pipeline_seek),
4252         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4253         * gst/gstpipeline.h:
4254         Remove crude state change hacks.
4255
4256         * gst/gstutils.h:
4257         Remove crude hacks.
4258
4259         * tools/gst-launch.c: (main):
4260         Fixes for state change. Needs some more work to fully use the
4261         new stuff.
4262
4263 2005-10-10  Andy Wingo  <wingo@pobox.com>
4264
4265         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4266
4267         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4268         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4269         issue.
4270
4271 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4272
4273         * gst/gstiterator.c: (gst_iterator_new):
4274           Fix my previous commit: GTypes passed to gst_iterator_new()
4275           can be fundamental types.
4276
4277 2005-10-10  Wim Taymans  <wim@fluendo.com>
4278
4279         * gst/gstelement.c: (gst_element_iterate_pad_list),
4280         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4281         (gst_element_iterate_sink_pads):
4282         Use src/sink pads lists for the respective iterators instead
4283         of filtering.
4284
4285 2005-10-10  Andy Wingo  <wingo@pobox.com>
4286
4287         Merged in popt removal + GOption addition patch from Ronald, bug
4288         #169772.
4289
4290         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4291         GstElement macros around, remove popt-related symbols, add goption
4292         stuff.
4293
4294         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4295         
4296         * docs/gst/Makefile.am:
4297         * docs/libs/Makefile.am: No POPT_CFLAGS.
4298         
4299         * examples/manual/Makefile.am:
4300         * docs/manual/basics-init.xml: Doc updates with an example.
4301         
4302         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4303         (gst_init), (parse_one_option), (parse_goption_arg):
4304         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4305         bit of hand merging and debugging to get the GOption stuff working
4306         tho.
4307         
4308         * tests/Makefile.am:
4309         * tools/Makefile.am:
4310         * tools/gst-inspect.c: (main):
4311         * tools/gst-launch.c: (main):
4312         * tools/gst-run.c: (main):
4313         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4314
4315 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4316
4317         * gst/gstiterator.c: (gst_iterator_new):
4318           Add assertions to make sure passed GType is likely to really
4319           be a GType (as the compiler won't catch it if the size and
4320           GType arguments get mixed up, see #318447).
4321
4322 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4323
4324         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4325
4326         * gst/gstbin.c: (gst_bin_iterate_sorted):
4327           Pass GType and size arguments to gst_iterator_new() in the right
4328           order (maybe we should make _new() take the GType as first argument
4329           just like _new_list()?) (#318447).
4330           
4331
4332 2005-10-10  Wim Taymans  <wim@fluendo.com>
4333
4334         * gst/gstelement.c: (gst_element_finalize):
4335         And free the GStaticRecMutex too
4336
4337 2005-10-10  Andy Wingo  <wingo@pobox.com>
4338
4339         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4340         Allocate and free the mutex properly.
4341
4342         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4343         New macros.
4344         (GstElement): The state_lock is now recursive. Rebuild your
4345         plugins, suckers. Old macros adapted.
4346
4347         * docs/gst/gstreamer-sections.txt: Doc updates.
4348
4349         * gst/gstutils.h:
4350         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4351         (g_static_rec_cond_wait): Ported from state changes patch, while
4352         we wait on bug #317802 to be solved in a well-distributed GLib.
4353
4354         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4355         gst_element_change_state, variable name changes.
4356         (gst_element_change_state): Split out of gst_element_set_state in
4357         preparation for the state change merge. Doesn't pay attention to
4358         the 'transition' argument.
4359         (gst_element_set_state): Updates, hopefully purely cosmetic.
4360         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4361         state change patch.
4362         (gst_element_get_state_func): Renamed from get_state, cosmetic
4363         changes.
4364
4365 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4366
4367         * gst/elements/gstelements.c:
4368         * win32/GStreamer.vcproj:
4369         * win32/config.h:
4370         * win32/dirent.c: (_tseekdir):
4371         * win32/gst-inspect.vcproj:
4372         * win32/gst-launch.vcproj:
4373         * win32/gstconfig.h:
4374         * win32/gstelements.vcproj:
4375         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4376         * win32/gstreamer.def:
4377         * win32/msvc71.sln:
4378           updates for the win32 build (patch from Sebastien Moutte)
4379
4380 2005-10-10  Andy Wingo  <wingo@pobox.com>
4381
4382         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4383         gst_bin_get_state, cleaned up (but no logic changes).
4384         (bin_element_is_sink): Comment updates.
4385         (sink_iterator_filter): Remove needless cast.
4386         (gst_bin_iterate_sinks): Doc update.
4387         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4388         cleaned up (but no logic changes).
4389
4390         * check/states/sinks.c (test_src_sink): Cleanups from the state
4391         change patch.
4392         (test_livesrc_sink): Sync on the state.
4393
4394         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4395         the state change patch.
4396
4397         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4398         change patch.
4399
4400         * check/gst/gstbin.c: Merge in some style fixes and additional
4401         checks from Wim's state change patch.
4402
4403 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4404
4405         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4406         (gst_type_find_helper):
4407           Check whether we have the requested data already in our list of
4408           cached buffers before pulling a new buffer; also make the buffer
4409           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4410
4411 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4412
4413         * gst/gstcaps.c:
4414         * gst/gstevent.c:
4415           doc updates
4416         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4417           don't use long long, it's not portable.  Replacing with
4418           gint64 seems to work; let's hope no skeletons fall out of the closet.
4419
4420 2005-10-10  Andy Wingo  <wingo@pobox.com>
4421
4422         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4423
4424 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4425
4426         * docs/gst/gstreamer-sections.txt:
4427         * gst/gstevent.c:
4428         * gst/gstevent.h:
4429         * gst/gstinfo.c:
4430         * gst/gstinfo.h:
4431         * gst/gstmessage.c: (gst_message_parse_state_changed):
4432         * gst/gstpad.c:
4433         * gst/gstpad.h:
4434           more docs, fix compilation
4435
4436 2005-10-09  Philippe Khalaf <burger@speedy.org>
4437         * gst/gstmessage.c:
4438           Fixed a few forgotten variables on previous commit
4439
4440 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4441
4442         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4443           Fix evil typefind crasher: getrange() might return a short
4444           buffer at the end of a file, but gst_type_find_peek() must
4445           either return the full data as requested or NULL, but
4446           never a short buffer.
4447
4448 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4449
4450         * gst/gstmessage.c: (gst_message_new_state_changed),
4451         (gst_message_parse_state_changed):
4452         * gst/gstmessage.h:
4453           don't use "new", it's a C++ keyword
4454
4455 2005-10-08  Wim Taymans  <wim@fluendo.com>
4456
4457         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4458         * gst/gstelement.c: (gst_element_post_message):
4459         * gst/gstpipeline.c: (gst_pipeline_change_state):
4460         Small docs and debug updates.
4461
4462 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4463
4464         * docs/gst/gstreamer-sections.txt:
4465         * gst/gstelementfactory.c:
4466         * gst/gstevent.c:
4467         * gst/gsttaglist.c:
4468           more docs
4469
4470 2005-10-08  Wim Taymans  <wim@fluendo.com>
4471
4472         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4473         (gst_bin_dispose), (bin_bus_handler):
4474         Fix typos, add comments.
4475         Clear EOS list when going to PAUSED from any direction and do it
4476         in a threadsafe way.
4477         Get base time in a threadsafe way too.
4478         Fix confusing debug in the change_state function.
4479         Various other small cleanups.
4480         
4481         * gst/gstelement.c: (gst_element_post_message):
4482         Fix very verbose bus posting code.
4483
4484         * gst/gstpipeline.c: (gst_pipeline_class_init),
4485         (gst_pipeline_set_property), (gst_pipeline_get_property),
4486         (gst_pipeline_change_state):
4487         Small ARG_ -> PROP_ cleanup
4488
4489 2005-10-08  Wim Taymans  <wim@fluendo.com>
4490
4491         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4492         Do a less CPU demanding EOS check because we can.
4493
4494 2005-10-08  Wim Taymans  <wim@fluendo.com>
4495
4496         * libs/gst/dataprotocol/dataprotocol.c:
4497         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4498         (gst_dp_packet_from_event):
4499         * libs/gst/dataprotocol/dataprotocol.h:
4500         * libs/gst/dataprotocol/dp-private.h:
4501         It's about time we bump the version number.
4502         Since event types don't fit in the guint8 anymore describing
4503         the payload type, make payload type 16 bits wide.
4504
4505 2005-10-08  Wim Taymans  <wim@fluendo.com>
4506
4507         * docs/design/part-TODO.txt:
4508         * docs/design/part-clocks.txt:
4509         * docs/design/part-events.txt:
4510         * docs/design/part-gstbin.txt:
4511         * docs/design/part-gstelement.txt:
4512         * docs/design/part-gstpipeline.txt:
4513         * docs/design/part-live-source.txt:
4514         * docs/design/part-messages.txt:
4515         * docs/design/part-overview.txt:
4516         * docs/design/part-states.txt:
4517         Many doc updates.
4518
4519 2005-10-08  Wim Taymans  <wim@fluendo.com>
4520
4521         * gst/gstevent.c:
4522         * gst/gstevent.h:
4523         Fix event quark registration.
4524         Add some space between events so we can insert them in the
4525         right groups.
4526
4527 2005-10-08  Wim Taymans  <wim@fluendo.com>
4528
4529         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4530         (gst_base_sink_handle_buffer):
4531         Better log message.
4532
4533         * gst/gstbus.h:
4534         * gst/gstelement.h:
4535         More docs.
4536
4537         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4538         (gst_queue_set_property), (gst_queue_get_property):
4539         * gst/gstqueue.h:
4540         Remove old unused properties.
4541
4542 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4543         * docs/gst/gstreamer-sections.txt:
4544         * gst/gstmessage.c:
4545         * gst/gstmessage.h:
4546         * gst/gstminiobject.c:
4547         * gst/gstminiobject.h:
4548         * gst/gstobject.h:
4549         * gst/gstpad.h:
4550         * gst/gstutils.h:
4551           lots of new docs and doc fixes
4552
4553 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4554
4555         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4556         * gst/gstplugin.h:
4557         * gst/gstregistry.c: (gst_registry_lookup_locked),
4558         (gst_registry_scan_path_level):
4559         * gst/gstregistryxml.c: (load_plugin):
4560           Only ever load one plugin for a given plugin basename.
4561           This ensures correct overriding of GST_PLUGIN_PATH over
4562           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4563           system installed plugins.
4564
4565 2005-10-08  Wim Taymans  <wim@fluendo.com>
4566
4567         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4568         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4569         Prepare for doing QOS.
4570
4571 2005-10-08  Wim Taymans  <wim@fluendo.com>
4572
4573         * check/gst/gstbin.c: (GST_START_TEST):
4574         * check/pipelines/cleanup.c: (GST_START_TEST):
4575         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4576         Allow new clock message too.
4577
4578 2005-10-08  Wim Taymans  <wim@fluendo.com>
4579
4580         * gst/gstmessage.c: (gst_message_new_error),
4581         (gst_message_new_warning), (gst_message_new_tag),
4582         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4583         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4584         (gst_message_new_segment_start), (gst_message_new_segment_done),
4585         (gst_message_parse_state_changed),
4586         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4587         (gst_message_parse_new_clock):
4588         * gst/gstmessage.h:
4589         Also carry the clock in question.
4590
4591 2005-10-08  Wim Taymans  <wim@fluendo.com>
4592
4593         * gst/gstmessage.c: (gst_message_new_custom),
4594         (gst_message_new_eos), (gst_message_new_error),
4595         (gst_message_new_warning), (gst_message_new_tag),
4596         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4597         (gst_message_new_new_clock), (gst_message_new_segment_start),
4598         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4599         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4600         * gst/gstmessage.h:
4601         Clean up.
4602         Added clock related messages.
4603
4604         * gst/gstpipeline.c: (gst_pipeline_change_state):
4605         Post message when the clock changed.
4606
4607         * tools/gst-launch.c: (event_loop):
4608         Print new clock.
4609
4610 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4611
4612         * tools/gst-inspect.c: (print_element_properties_info):
4613           Can't pass NULL strings to g_print() on windows.
4614
4615 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4616
4617         * docs/Makefile.am:
4618         * docs/gst/Makefile.am:
4619         * docs/gst/gstreamer-docs.sgml:
4620         * docs/gst/running.xml:
4621         * docs/version.entities.in:
4622           add a chapter on running GStreamer.
4623           document GST_DEBUG and GST_PLUGIN* env vars
4624
4625 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4626
4627         * Makefile.am:
4628           remove include dir
4629         * configure.ac:
4630           remove PLUGINS_BUILDDIR stuff
4631         * gst/gst.c: (init_post):
4632           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4633         * idiottest.mak:
4634           remove, it was condescending and not needed
4635
4636 2005-10-08  Wim Taymans  <wim@fluendo.com>
4637
4638         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4639         (gst_base_sink_handle_object), (gst_base_sink_event),
4640         (gst_base_sink_wait), (gst_base_sink_handle_event),
4641         (gst_base_sink_change_state):
4642         * gst/base/gstbasesink.h:
4643         Repost EOS message while going to PLAYING if still EOS.
4644         Make sure that when receiving a FLUSH_START we don't attempt
4645         to sync on the clock anymore.
4646
4647 2005-10-08  Wim Taymans  <wim@fluendo.com>
4648
4649         * tools/gst-launch.c: (event_loop):
4650         Better message printout.
4651
4652 2005-10-08  Wim Taymans  <wim@fluendo.com>
4653
4654         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4655         (gst_bin_child_proxy_get_children_count):
4656         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4657         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4658         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4659         (gst_child_proxy_set_valist):
4660         * gst/parse/grammar.y:
4661         Make ChildProxy threadsafe and fix mem leaks.
4662
4663 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4664
4665         * gst/gst.c: (init_post):
4666           debug the GST_PLUGIN_ env vars
4667
4668 2005-10-08  Wim Taymans  <wim@fluendo.com>
4669
4670         * check/gst/gstbin.c: (GST_START_TEST):
4671         * check/gst/gstmessage.c: (GST_START_TEST):
4672         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4673         * gst/gstelement.c: (gst_element_commit_state),
4674         (gst_element_lost_state):
4675         * gst/gstmessage.c: (gst_message_new_state_changed),
4676         (gst_message_parse_state_changed):
4677         * gst/gstmessage.h:
4678         * tools/gst-launch.c: (event_loop):
4679         Added extra field to STATE_CHANGE message with the pending
4680         state, which will be different from the new state soon.
4681
4682 2005-10-08  Wim Taymans  <wim@fluendo.com>
4683
4684         * gst/gstbus.c: (gst_bus_pop):
4685         * gst/gstclock.c:
4686         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4687         Small cleanups and doc updates.
4688
4689 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4690
4691         * gst/gst.c: (init_pre):
4692         * gst/gstbin.c: (gst_bin_add_func):
4693           log distributing clocks and base time
4694         * gst/gstregistry.c: (gst_registry_add_plugin),
4695         (gst_registry_scan_path_level), (gst_registry_scan_path):
4696           clean up the debugging output a little
4697         * gst/gstutils.c: (gst_element_state_get_name):
4698           warn about a memleak (I've actually seen this be used, though
4699           it was probably a bug)
4700
4701 2005-10-07  Wim Taymans  <wim@fluendo.com>
4702
4703         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4704         (gst_base_src_init), (gst_base_src_default_newsegment),
4705         (gst_base_src_newsegment), (gst_base_src_do_seek),
4706         (gst_base_src_loop), (gst_base_src_start):
4707         * gst/base/gstbasesrc.h:
4708         Make the newsegment event customizable by subclasses.
4709
4710 2005-10-07  Wim Taymans  <wim@fluendo.com>
4711
4712         * gst/gstevent.c: (gst_event_new_buffersize),
4713         (gst_event_parse_buffersize):
4714         * gst/gstevent.h:
4715         New event for future idea.
4716
4717 2005-10-07  Andy Wingo  <wingo@pobox.com>
4718
4719         * gst/gstelement.c (gst_element_post_message): Doc update.
4720
4721         * docs/gst/gstreamer-sections.txt: Update.
4722
4723         * gst/gstmessage.c (gst_message_new_application): Made into a
4724         function like honest API calls.
4725         (gst_message_new_element): New message type.
4726
4727         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4728
4729         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4730         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4731         times.
4732
4733         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4734         NO_PREROLL from gst_element_change_state to fall through.
4735
4736 2005-10-07  Wim Taymans  <wim@fluendo.com>
4737
4738         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4739         (gst_ghost_pad_do_activate_push):
4740         Activating a ghostpad with no internal pad in push mode
4741         is ok.
4742
4743 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4744
4745         * gst/gstobject.h:
4746           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4747           Fixes compilation on Windows.
4748
4749 2005-10-07  Michael Smith <msmith@fluendo.com>
4750
4751         * tools/gst-inspect.c:
4752           Print out feature and plugin count at the end when printing out
4753           all features.
4754
4755 2005-10-04  Michael Smith <msmith@fluendo.com>
4756
4757         * gst/gsterror.c: (_gst_stream_errors_init):
4758           Add another error string used in a few existing plugins.
4759
4760         * gst/gstplugin.c:
4761         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4762         * tools/gst-inspect.c: (print_element_info):
4763           When a feature disappears from a plugin (and the feature exists in
4764           the cached registry file), things went horribly wrong. This isn't a
4765           complete fix, we should actually be removing the 'missing' features
4766           from the features list when we load the actual plugin. That's not
4767           yet implemented. 
4768
4769 2005-10-04  Johan Dahlin  <johan@gnome.org>
4770
4771         * check/gst/gstiterator.c: (GST_START_TEST):
4772         * gst/gstbin.c: (gst_bin_iterate_elements),
4773         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4774         * gst/gstelement.c: (gst_element_iterate_pads):
4775         * gst/gstformat.c: (gst_format_iterate_definitions):
4776         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4777         (gst_iterator_new_list), (gst_iterator_filter):
4778         * gst/gstiterator.h:
4779         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4780         Add a GType to GstIterator, update callsites and tests.
4781
4782 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4783
4784         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4785           give events a chance to be handled by event probes when the pad
4786           is not linked
4787
4788 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4789
4790         * gst/gstevent.c: (gst_event_type_get_name),
4791         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4792         * gst/gstevent.h:
4793           add string representations for event types
4794
4795 2005-10-06  Wim Taymans  <wim@fluendo.com>
4796
4797         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4798         Don't use NULL pointers.
4799
4800 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4801
4802         * gst/gst_private.h:
4803         * gst/gstbus.c:
4804         * gst/gstelement.c:
4805         * gst/gstinfo.c:
4806         * gst/gstpluginfeature.c:
4807           widen the debug category in output to fit the biggest one we have
4808           add a bus category and use it
4809           play with the colors
4810           fix up some categories
4811
4812 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4813
4814         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4815           add push activation of sink ghost pads.
4816           Andye, please verify
4817
4818 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4819
4820         * gst/gstutils.c: (gst_element_link_pads):
4821           fix a bug in the case where neither element has a pad
4822         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4823           add a test for that case
4824
4825 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4826
4827         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4828           emit have-data before checking for peers.  This allows
4829           for probe handlers to connect elements.  This helps autopluggers.
4830         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4831         (gst_pad_suite):
4832           add six checks, linked/unlinked with no/true/false probe
4833
4834 2005-10-04  Wim Taymans  <wim@fluendo.com>
4835
4836         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4837         (gst_fake_sink_event), (gst_fake_sink_preroll),
4838         (gst_fake_sink_render), (gst_fake_sink_change_state):
4839         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4840         (gst_fake_src_get_property), (gst_fake_src_create),
4841         (gst_fake_src_stop):
4842         * gst/elements/gstidentity.c: (gst_identity_stop):
4843         Protect last_message with lock.
4844
4845 2005-10-04  Edward Hervey  <edward@fluendo.com>
4846
4847         * gst/gstformat.h: 
4848         Added precision in the comments for GST_FORMAT_DEFAULT
4849
4850 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4851
4852         * tools/gst-launch.c: (main):
4853           Don't try to run erroneous pipelines.
4854
4855 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4856
4857         * gst/gstbus.c: We don't need this header.
4858
4859 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4860
4861         * configure.ac:
4862           back to development
4863
4864 === release 0.9.3 ===
4865
4866 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4867
4868         * README:
4869         * configure.ac:
4870           Releasing 0.9.3, "Unregistered"
4871
4872 2005-10-03  Andy Wingo  <wingo@pobox.com>
4873
4874         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4875         whereby calling a pad's activatepush() function can start a thread
4876         that starts to push or pull before the pad gets the FLUSHING flag
4877         unset. Hack around it by holding the stream lock until the flag is
4878         set. Need to replace this with a proper solution. Together with
4879         the ghost pad fixes, this fixes mp3 playing/tagreading.
4880
4881         * docs/design/part-gstghostpad.txt: Add a note about activation of
4882         proxy pads outside of ghost pads.
4883
4884         * gst/gstghostpad.c: Implement the ghost pad activation design.
4885
4886 2005-10-02  Andy Wingo  <wingo@pobox.com>
4887
4888         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4889         It is volatile, after all.
4890
4891         * docs/design/part-gstghostpad.txt: Flesh out activation with
4892         ghost pads.
4893
4894         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4895         GST_DEBUG_FUNCPTR.
4896
4897 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4898
4899         * configure.ac:
4900           Fix (unused) AM_CONDITIONAL tests.
4901
4902 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4903
4904         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4905
4906         * gst/gstutils.c: (gst_pad_query_convert):
4907           Add assertion that makes sure src_val is >=0, just like
4908           gst_query_new_convert() has. (#315895)
4909
4910 2005-09-30  Edward Hervey  <edward@fluendo.com>
4911
4912         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4913         Let's not iterate pads we're not interested in, it avoids getting 
4914         sky-high refcounts on sinkpad.
4915
4916 2005-09-30  Wim Taymans  <wim@fluendo.com>
4917
4918         * gst/gstelement.c: (gst_element_set_state),
4919         (gst_element_change_state):
4920         Small tweak, element in ASYNC remains ASYNC.
4921
4922 2005-09-30  Wim Taymans  <wim@fluendo.com>
4923
4924         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4925         Only error is an error.
4926
4927         * gst/gstbin.c: (gst_bin_change_state):
4928         Better debugging.
4929
4930         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4931         Also call pad_block in pad alloc.
4932
4933         * gst/gstutils.c: (gst_flow_get_name):
4934         Better debugging.
4935
4936 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4937
4938         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4939         (gst_base_src_get_range):
4940           Fix documentation typos. Add some more debug info.
4941
4942 2005-09-29  David Schleef  <ds@schleef.org>
4943
4944         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4945           more end-user friendly.
4946         * tools/gst-inspect.c: (main): Check if command-line argument is
4947           a file and attempt to load that file as a plugin.
4948
4949 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4950
4951         * check/gst/gstbin.c:
4952         * check/states/sinks.c:
4953           fix tests for the new warning
4954         * check/gst/gstpipeline.c:
4955           add a test for pipeline and bus interaction
4956         * gst/gstelement.c:
4957           elements should be NULL if they get disposed; add a warning if not
4958
4959 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4960
4961         * gst/gstobject.c:
4962           for 2.6 refcounting, make debug log more correct by printing
4963           the actual refcounts at the time of swap (Wim)
4964
4965 2005-09-29  Andy Wingo  <wingo@pobox.com>
4966
4967         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4968         removes signal watches previously added via
4969         gst_bus_add_signal_watch.
4970         (gst_bus_add_signal_watch): Don't return the source id, just store
4971         it on the bus if there wasn't an id already.
4972
4973         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4974         add_signal_watch and remove_signal_watch.
4975
4976 2005-09-29  Edward Hervey  <edward@fluendo.com>
4977
4978         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4979         Better if we actually iterate the list :)
4980
4981 2005-09-29  Wim Taymans  <wim@fluendo.com>
4982
4983         * check/gst/gstbin.c: (GST_START_TEST):
4984         Change for new bus API.
4985
4986         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4987         (send_messages), (GST_START_TEST), (gstbus_suite):
4988         Change for new bus signal API.
4989
4990         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4991         (gst_bus_source_prepare), (gst_bus_source_check),
4992         (gst_bus_create_watch), (gst_bus_add_watch_full),
4993         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4994         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4995         * gst/gstbus.h:
4996         Remove support for multiple GSources operating on different
4997         message types as it is too complex and unneeded when using
4998         signals.
4999         Added support for receiving signals from the bus.
5000
5001 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5002
5003         * docs/libs/tmpl/gstdataprotocol.sgml:
5004         * docs/manual/advanced-dataaccess.xml:
5005         * gst/elements/gstcapsfilter.c:
5006         * gst/gstutils.c:
5007           rename filter-caps to caps property
5008
5009 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5010
5011         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5012           More robust fraction string parsing.
5013
5014         * docs/pwg/appendix-porting.xml:
5015           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5016
5017 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5018
5019         * gst/gstcaps.c: (gst_caps_do_simplify):
5020           Thou shalt not free a structure and then continue using it
5021           in the next loop iteration.
5022
5023         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5024         (gst_caps_suite):
5025           Add test case for caps simplification.
5026
5027 2005-09-29  Wim Taymans  <wim@fluendo.com>
5028
5029         * check/gst/gstbin.c: (GST_START_TEST):
5030         Oops.
5031
5032 2005-09-29  Wim Taymans  <wim@fluendo.com>
5033
5034         * check/gst/gstbin.c: (GST_START_TEST):
5035         Add bus to bin.
5036
5037         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5038         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5039         (find_element), (gst_bin_sort_iterator_next),
5040         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5041         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5042         (gst_bin_change_state), (gst_bin_dispose):
5043         A bin does not have a bus, it gets the bus from the parent.
5044
5045         * gst/gstelement.c: (gst_element_requires_clock),
5046         (gst_element_provides_clock), (gst_element_is_indexable),
5047         (gst_element_is_locked_state), (gst_element_change_state),
5048         (gst_element_set_bus_func):
5049         Small cleanups.
5050
5051         * gst/gstpipeline.c: (gst_pipeline_class_init),
5052         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5053         The pipeline provides a bus.
5054
5055 2005-09-28  Johan Dahlin  <johan@gnome.org>
5056
5057         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5058         gst_structure_get_enum instead of gst_structure_get_int
5059
5060         * gst/gststructure.c (gst_structure_get_enum): Impl.
5061
5062         * gst/gststructure.h (gst_structure_get_enum): Add
5063
5064         * docs/gst/gstreamer-sections.txt: Ditto
5065
5066         * gst/gstmessage.c (gst_message_new_state_changed): Use
5067         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5068         which does introspection.
5069         Reviewed by Christian Schaller
5070
5071 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5072
5073         * gst/gstinfo.c: (gst_debug_log_default):
5074           don't do dummy g_strdup()s
5075         * libs/gst/controller/gstcontroller.c:
5076         (on_object_controlled_property_changed),
5077         (gst_controlled_property_new), (gst_controller_new_valist),
5078         (gst_controller_new_list),
5079         (gst_controller_remove_properties_valist), (gst_controller_set),
5080         (gst_controller_get), (gst_controller_sync_values),
5081         (gst_controller_get_value_array), (_gst_controller_class_init),
5082         (gst_controller_get_type):
5083         * libs/gst/controller/gstcontroller.h:
5084         * libs/gst/controller/gstinterpolation.c:
5085         (gst_controlled_property_find_timed_value_node):
5086           convert // to /**/ comments
5087
5088 2005-09-28  Wim Taymans  <wim@fluendo.com>
5089
5090         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5091         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5092         (gst_bus_sync_signal_handler):
5093         * gst/gstbus.h:
5094         Added async-message and sync-message signals to the bus.
5095         Added helper BusFunc to emit signals for all posted messages.
5096
5097         * gst/gstmessage.c: (gst_message_type_get_name),
5098         (gst_message_type_to_quark), (gst_message_get_type):
5099         * gst/gstmessage.h:
5100         Register quarks for message names.
5101
5102 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5103
5104         * docs/libs/gstreamer-libs-sections.txt:
5105         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5106         (gst_controller_new_list):
5107         * libs/gst/controller/gstcontroller.h:
5108           added another constructor for language bindings
5109
5110 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5111
5112         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5113           add another check
5114         * gst/gstbus.c:
5115           add some doc
5116         * gst/gstinfo.c: (_gst_debug_init):
5117           slightly more readable color for refcount debugging
5118
5119 2005-09-28  Wim Taymans  <wim@fluendo.com>
5120
5121         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5122         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5123         (find_element), (gst_bin_sort_iterator_next),
5124         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5125         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5126         (gst_bin_change_state), (gst_bin_dispose):
5127         Small doc fixes. get_clock -> provide_clock.
5128
5129         * gst/gstelement.c: (gst_element_class_init),
5130         (gst_element_provides_clock), (gst_element_provide_clock),
5131         (gst_element_get_clock), (gst_element_commit_state),
5132         (gst_element_lost_state):
5133         * gst/gstelement.h:
5134         Make get/set_clock() symetric. Add provide_clock vmethod since
5135         that is actually what this function does.
5136
5137         * gst/gstpipeline.c: (gst_pipeline_class_init),
5138         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5139         (gst_pipeline_get_clock):
5140         get_clock -> provide_clock.
5141
5142 2005-09-28  Andy Wingo  <wingo@pobox.com>
5143
5144         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5145         lieu of real docs...
5146
5147         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5148
5149 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5150
5151         * gst/elements/gstcapsfilter.c:
5152         * gst/elements/gstfakesink.c:
5153         * gst/elements/gstfakesrc.c:
5154         * gst/elements/gstfdsink.c:
5155         * gst/elements/gstfdsrc.c:
5156         * gst/elements/gstfilesink.c:
5157         * gst/elements/gstfilesrc.c:
5158         * gst/elements/gstidentity.c:
5159         * gst/elements/gsttee.c:
5160         * gst/elements/gsttypefindelement.c:
5161           Make element details static.
5162
5163 2005-09-28  Wim Taymans  <wim@fluendo.com>
5164
5165         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5166         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5167         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5168         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5169         (gst_bin_change_state), (gst_bin_dispose):
5170         Some documentation updates.
5171         Clean up dispose handlers.
5172
5173         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5174         * gst/gstpad.c: (gst_pad_dispose):
5175         Clean up dispose handler.
5176
5177         * gst/gstpipeline.c: (gst_pipeline_change_state):
5178         Removed spurious UNLOCK.
5179
5180 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5181
5182         * docs/gst/gstreamer-sections.txt:
5183         * gst/base/gstbasesrc.h:
5184         * gst/gstelement.h:
5185         * gst/gstevent.h:
5186         * gst/gstobject.h:
5187         * gst/gstpad.h:
5188         * gst/gstpipeline.c:
5189         * gst/gstpipeline.h:
5190         * gst/gstutils.h:
5191         * gst/gstxml.h:
5192           added two new functions to the docs
5193                 documents all undocumented GstXXXFlags
5194                 completed some incomplete docs 
5195
5196 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5197
5198         * gst/gstbin.c: (gst_bin_dispose):
5199         * gst/gstelement.c: (gst_element_dispose):
5200           remove now useless and leaky resurrection code in dispose
5201         * gst/base/gstbasesrc.c: (gst_base_src_init):
5202         * gst/gstelementfactory.c: (gst_element_factory_create):
5203         * gst/gstobject.c: (gst_object_set_parent):
5204           add some debugging
5205
5206 2005-09-27  Wim Taymans  <wim@fluendo.com>
5207
5208         * docs/design/part-TODO.txt:
5209         Update TODO.
5210
5211         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5212         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5213         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5214         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5215         (gst_bin_change_state):
5216         * gst/gstelement.h:
5217         Remove element variable, we keep element info in the iterator now.
5218
5219 2005-09-27  Andy Wingo  <wingo@pobox.com>
5220
5221         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5222         values.
5223
5224 2005-09-27  Wim Taymans  <wim@fluendo.com>
5225
5226         * check/gst/gstbin.c: (GST_START_TEST):
5227         Enable check that works now.
5228
5229         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5230         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5231         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5232         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5233         (gst_bin_change_state):
5234         * gst/gstbin.h:
5235         Redid the state change algorithm using a topological sort algo.
5236         Handles all cases correctly.
5237         Exposed iterator for state change order.
5238
5239         * gst/gstelement.h:
5240         Temp storage for state changes. Need to get rid of this soon.
5241
5242 2005-09-27  Wim Taymans  <wim@fluendo.com>
5243
5244         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5245         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5246         (link_fold_func), (gst_pad_proxy_setcaps):
5247         Leak fixes, the fold functions need to unref the passed object and
5248         _get_parent_*() returns ref to parent.
5249
5250 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5251
5252         * check/gst/gstbuffer.c: (test_make_writable):
5253           Plug leak in test case and fix 'make check-valgrind'
5254
5255 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5256
5257         * gst/gstbuffer.c: (gst_subbuffer_init):
5258           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5259           works correctly in all circumstances (we could have just copied
5260           the parent buffer's readonly flag, but conceptually it seems
5261           cleaner to mark all subbuffers as read-only). (based on patch
5262           by Alessandro Decina, #314710).
5263         
5264         * check/gst/gstbuffer.c: (create_read_only_buffer),
5265         (test_make_writable), (test_subbuffer_make_writable),
5266         (gst_test_suite):
5267           Add some tests for gst_buffer_make_writable().
5268
5269 2005-09-27  Wim Taymans  <wim@fluendo.com>
5270
5271         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5272         use gst_object_has_ancestor().
5273
5274         * gst/gstobject.c: (gst_object_has_ancestor):
5275         * gst/gstobject.h:
5276         gst_object_has_ancestor() copied from gstbin.c as it is a
5277         usefull function.
5278
5279         * tests/instantiate/create.c: (create_all_elements):
5280         * tests/lat.c: (handoff_src), (handoff_sink):
5281         * tests/sched/runxml.c: (main):
5282         * tests/seeking/seeking1.c: (main):
5283         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5284         (main):
5285         Fix compilation of some tests.
5286
5287 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5288
5289         * gst/gsterror.h:
5290           Remove comment. GST_TYPE_G_ERROR is here to stay,
5291           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5292           (#316961, #300610).
5293
5294 2005-09-26  Wim Taymans  <wim@fluendo.com>
5295
5296         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5297         Added check that shows error in state change order.
5298
5299 2005-09-26  Wim Taymans  <wim@fluendo.com>
5300
5301         * gst/gstbin.c: (gst_bin_change_state):
5302         Make state change function use 3 queues again, we were
5303         adding elements in the wrong order.
5304
5305         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5306         Some debug info,
5307
5308         * gst/gstpad.c: (gst_pad_dispose):
5309         Added some debug info first.
5310
5311 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5312
5313         * docs/design/draft-push-pull.txt:
5314         * docs/design/part-events.txt:
5315         * docs/design/part-overview.txt:
5316         * docs/design/part-scheduling.txt:
5317           Replace all _pull_region() with _pull_range()
5318           
5319 2005-09-26  Andy Wingo  <wingo@pobox.com>
5320
5321         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5322
5323         * check/gst-libs/controller.c: Update for controller api change.
5324
5325         * configure.ac: 
5326         * tests/Makefile.am:
5327         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5328         over by GLib bug 118439.
5329         
5330         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5331         routines to a function.
5332
5333         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5334
5335         * libs/gst/controller/gsthelper.c:
5336         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5337         (gst_object_sync_values): Renamed from sink_values. Ugh.
5338
5339         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5340
5341         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5342         Renamed from controller_key, as it is exported.
5343
5344         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5345
5346 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5347
5348         * gst/Makefile.am:
5349         * gst/gst.h:
5350         * gst/gstpad.h:
5351         * gst/gstpadtemplate.h:
5352         * gst/gstquery.c:
5353         * gst/gstquery.h:
5354         * gst/gstqueryutils.c:
5355         * gst/gstqueryutils.h:
5356           remove queryutils headers after moving the two used functions
5357           to gstquery.  also fixes build problem for gstsiddec
5358
5359 2005-09-26  Michael Smith <msmith@fluendo.com>
5360
5361         * tools/gst-launch.1.in:
5362         Correct documentation in manpage of debug syntax
5363
5364 2005-09-26  Wim Taymans  <wim@fluendo.com>
5365
5366         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5367         (gst_base_src_is_seekable), (gst_base_src_change_state):
5368         Some more debugging info.
5369
5370 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5371
5372         * docs/gst/gstreamer-sections.txt:
5373         * gst/base/gstbasetransform.h:
5374         * gst/gstindex.h:
5375           added more docs
5376
5377 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5378
5379         * docs/gst/.cvsignore:
5380         * docs/gst/tmpl/.cvsignore:
5381         * docs/gst/tmpl/gstpipeline.sgml:
5382         * docs/gst/tmpl/gstplugin.sgml:
5383         * gst/gstpipeline.c:
5384         * gst/gstplugin.c:
5385         * gst/gstplugin.h:
5386           inlined the last two docs files
5387           removed the tmpl directory from cvs (no more conflicts here!)
5388
5389 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5390
5391         * docs/gst/gstreamer-sections.txt:
5392         * docs/gst/tmpl/.cvsignore:
5393         * docs/gst/tmpl/gstpad.sgml:
5394         * docs/gst/tmpl/gstpadtemplate.sgml:
5395         * gst/Makefile.am:
5396         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5397         (gst_pad_finalize), (gst_pad_set_pad_template):
5398         * gst/gstpad.h:
5399         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5400         (gst_pad_template_class_init), (gst_pad_template_init),
5401         (gst_pad_template_dispose), (name_is_valid),
5402         (gst_static_pad_template_get), (gst_pad_template_new),
5403         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5404         (gst_pad_template_pad_created):
5405         * gst/gstpadtemplate.h:
5406           inlined two more docs
5407           factored gstpadtemplate out of gstpad
5408
5409 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5410
5411         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5412         (test_children_state_change_order_semi_sink):
5413           Fix test case: we can't rely on a fixed state change order when
5414           going from READY => PAUSED because the sink might commit its 
5415           new state first when the first buffer created by the source 
5416           reaches the sink before the source has finished its change state.
5417           (Test case still fails at times, see #316856, comment 5 onwards)
5418
5419 2005-09-24  Wim Taymans  <wim@fluendo.com>
5420
5421         * docs/design/part-events.txt:
5422         * docs/design/part-gstbus.txt:
5423         * docs/design/part-gstpipeline.txt:
5424         * docs/design/part-messages.txt:
5425         * docs/design/part-overview.txt:
5426         * docs/design/part-segments.txt:
5427         * gst/gstbin.c:
5428         * gst/gstbuffer.c:
5429         * gst/gstclock.c:
5430         * gst/gstelement.c:
5431         * gst/gstevent.c:
5432         * gst/gstfilter.c:
5433         * gst/gstiterator.c:
5434         Various documentation updates.
5435
5436 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5437
5438         * gst/gstclock.h:
5439           Well, that's embarassing.  Luckily we weren't using
5440           GST_CLOCK_DIFF anywhere.
5441
5442 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5443
5444         * common/gtk-doc.mak:
5445           don't fail on building XML, FC4 slave shows a bunch of doc
5446           missing bits that I don't get
5447         * gst/gstpad.c:
5448         * gst/gstpipeline.c:
5449         * gst/gststructure.c:
5450           some doc updates
5451
5452 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5453
5454         * docs/design/part-gstbin.txt:
5455         * docs/design/part-gstbus.txt:
5456         * gst/gstbus.c:
5457           Add blurb about how the bus goes into flushing mode and
5458           drops all messages when its bin goes from READY into NULL 
5459           state.
5460
5461 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5462
5463         * docs/gst/gstreamer-sections.txt:
5464         * gst/gststructure.c: (gst_structure_get_clock_time):
5465         * gst/gststructure.h:
5466           add a method to get a GstClockTime out of a structure
5467
5468 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5469
5470         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5471         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5472           Added test to check state change order in bins (can still be made
5473           to fail here under heavy disk load; bails out with 'Push on pad
5474           fakesink:sink0, but it was not activated in push mode').
5475
5476         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5477           Fix state change order when there is only a semi sink (#316856)
5478
5479         * gst/gstbus.c: (gst_bus_class_init):
5480           Use _class_peek_parent(), not _class_ref(); fix docs to say
5481           'default main context' instead of 'mainloop' where that is
5482           what's meant.
5483
5484         * gst/gstelement.c: (gst_element_commit_state),
5485         (gst_element_set_state):
5486           Fix typos in debug messages
5487
5488 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5489
5490         * docs/README:
5491         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5492         * gst/gstpluginfeature.c:
5493         * gst/gstutils.c:
5494           various doc updates
5495         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5496           change an assert into an error until it gets fixed properly
5497
5498 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5499
5500         * docs/gst/gstreamer-sections.txt:
5501         * docs/gst/tmpl/.cvsignore:
5502         * docs/gst/tmpl/gstelement.sgml:
5503         * docs/gst/tmpl/gstinfo.sgml:
5504         * docs/gst/tmpl/gstobject.sgml:
5505         * gst/gstelement.c:
5506         * gst/gstelement.h:
5507         * gst/gstinfo.c:
5508         * gst/gstinfo.h:
5509         * gst/gstobject.c: (gst_object_class_init):
5510         * gst/gstobject.h:
5511           inlined 3 more biiiig doc files and added some missing docs on the fly
5512
5513 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5514
5515         * check/gst/.cvsignore:
5516         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5517         * gst/gstregistryxml.c: (load_plugin),
5518         (gst_registry_xml_save_plugin):
5519           put back source in registry.  add checks for find_plugin.
5520         * testsuite/states/bin.c: (assert_state), (empty_bin),
5521         (test_adding_one_element), (main):
5522         * testsuite/states/locked.c: (main):
5523           some compile/run fixes
5524
5525 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5526
5527         * check/gst/gstvalue.c: (GST_START_TEST):
5528           fix leaks in the test itself
5529
5530 2005-09-22  Wim Taymans  <wim@fluendo.com>
5531
5532         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5533         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5534         (gst_base_sink_query):
5535         Prepare for more accurate position reporting and query
5536         handling.
5537
5538         * gst/gstelement.c: (gst_element_send_event),
5539         (gst_element_set_state):
5540         Add some comment.
5541
5542 2005-09-22  Wim Taymans  <wim@fluendo.com>
5543
5544         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5545         (gst_query_parse_segment):
5546         * gst/gstquery.h:
5547         More documentation.
5548         Add segment query for future use.
5549
5550 2005-09-22  Wim Taymans  <wim@fluendo.com>
5551
5552         * gst/gstbin.c: (gst_bin_add_func):
5553         Some more debug info.
5554
5555         * gst/gstelement.c: (gst_element_send_event):
5556         Simplify send_event
5557
5558         * gst/gstelement.h:
5559         Don't know how flags got broken.
5560
5561         * gst/gstquery.h:
5562         Added new query.
5563
5564 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5565
5566         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5567           Add simplistic test suite for GST_TYPE_DATE serialisation and
5568           deserialisation.
5569
5570 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5571
5572         * docs/gst/gstreamer-sections.txt:
5573         * gst/gststructure.c: (gst_structure_set_valist),
5574         (gst_structure_get_date):
5575         * gst/gststructure.h:
5576         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5577         (gst_date_copy), (gst_value_compare_date),
5578         (gst_value_serialize_date), (gst_value_deserialize_date),
5579         (gst_value_transform_date_string),
5580         (gst_value_transform_string_date), (_gst_value_initialize):
5581         * gst/gstvalue.h:
5582           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5583           bunch of utility functions along with a hack that checks that
5584           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5585           is required. Part of the grand scheme in #170777.
5586
5587 2005-09-22  Andy Wingo  <wingo@pobox.com>
5588
5589         * gst/gstconfig.h.in: Psych out gtk-doc.
5590
5591         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5592
5593         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5594
5595         * tools/gst-inspect.c (print_element_list): Plug some
5596         inconsequential leaks.
5597
5598         * gst/gstregistry.c (gst_registry_get_default): Doc.
5599
5600         * check/gst/gstplugin.c: 
5601         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5602         * gst/gstelementfactory.c (gst_element_factory_create): 
5603         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5604         refcount changes.
5605
5606         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5607         (gst_plugin_feature_load): Doc, don't eat refs.
5608
5609         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5610         (gst_plugin_list_free): Doc.
5611         (gst_plugin_load_file): Doc updates.
5612
5613         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5614         accessors returning refcounted objects, return a ref.
5615
5616         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5617         accessor for caps. IDEMPOTENCE. Oh yes.
5618
5619 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5620
5621         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5622
5623         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5624         (_gst_debug_register_funcptr):
5625           Add mutex to serialise access to the hash table with
5626           the function pointer => function name string mapping;
5627           make that hash table static scope (#316809).
5628
5629         * gst/registries/.cvsignore:
5630           Remove left-over file.
5631
5632 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5633
5634         * docs/pwg/appendix-porting.xml:
5635           And something about newsegment events and caps-on-buffers to
5636           the porting guide (feel free to improve).
5637
5638 2005-09-21  Andy Wingo  <wingo@pobox.com>
5639
5640         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5641         data and event probes on the same pad.
5642         (test_buffer_probe_once): Test that removing probes from within
5643         the probe functions works.
5644
5645 2005-09-21  Andy Wingo  <wingo@pobox.com>
5646
5647         * check/gst/gstutils.c: New file.
5648         (test_buffer_probe_n_times): A simple buffer probe test. More to
5649         come, foolios.
5650
5651         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5652         have-data::buffer, not have-data.
5653         (gst_pad_add_event_probe): Likewise for have-data::event.
5654         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5655         peer' isn't quite right yet though.
5656         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5657         (gst_pad_remove_data_probe): Change to take the guint handler_id
5658         as their arg, not the function+data, which is more glib-like.
5659
5660         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5661         the signal emission to indicate if the data is a buffer or an
5662         event.
5663         (gst_pad_get_type): Initialize buffer and event quarks.
5664         (gst_pad_class_init): have-data is now a detailed signal, yes it
5665         is.
5666
5667 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5668
5669         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5670         * gst/gstutils.c: (gst_util_set_value_from_string),
5671         (gst_util_set_object_arg):
5672           Don't put functional code in g_return_if_fail() or
5673           g_return_val_if_fail() statements, otherwise things will 
5674           break when G_DISABLE_CHECKS is defined during compilation.
5675
5676 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5677
5678         * docs/gst/tmpl/.cvsignore:
5679         * docs/gst/tmpl/gstvalue.sgml:
5680         * gst/gstvalue.c:
5681         * gst/gstvalue.h:
5682           inlied another one and added  some obvious docs
5683
5684 2005-09-21  Wim Taymans  <wim@fluendo.com>
5685
5686         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5687         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5688         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5689         (gst_fdsrc_get_property), (gst_fdsrc_create):
5690         * gst/elements/gstfdsrc.h:
5691         Properly implement fdsrc. Removed signal and timeout,
5692         better implemented somewhere else.
5693
5694 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5695
5696         * docs/gst/tmpl/.cvsignore:
5697         * docs/gst/tmpl/gstimplementsinterface.sgml:
5698         * gst/gstinterface.c:
5699           inlined more docs
5700
5701 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5702
5703         * docs/gst/gstreamer-sections.txt:
5704         * docs/gst/tmpl/.cvsignore:
5705         * docs/gst/tmpl/gstenumtypes.sgml:
5706           remove obsolete doc file
5707
5708 2005-09-21  David Schleef  <ds@schleef.org>
5709
5710         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5711         little beer, fix a little leak.
5712
5713 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5714
5715         * docs/gst/gstreamer-docs.sgml:
5716         * docs/gst/gstreamer-sections.txt:
5717         * docs/gst/tmpl/.cvsignore:
5718         * gst/Makefile.am:
5719         * gst/gst.h:
5720         * gst/gstbin.c:
5721         * gst/gstelement.h:
5722         * gst/gstindex.c: (gst_index_class_init):
5723         * gst/gstindex.h:
5724         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5725         (gst_index_factory_class_init), (gst_index_factory_init),
5726         (gst_index_factory_finalize), (gst_index_factory_new),
5727         (gst_index_factory_destroy), (gst_index_factory_find),
5728         (gst_index_factory_create), (gst_index_factory_make):
5729         * gst/gstindexfactory.h:
5730         * gst/gstpluginfeature.c:
5731         * gst/gstpluginfeature.h:
5732         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5733           more docs inlined, splitted gstindex.{c,h}
5734
5735 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5736
5737         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5738           fix a leak
5739
5740 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5741
5742         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5743           Set sync to FALSE by default.
5744
5745 2005-09-20  Wim Taymans  <wim@fluendo.com>
5746
5747         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5748         (gst_base_sink_init):
5749         Make sync property settable from subclass.
5750
5751         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5752         (gst_fake_sink_change_state):
5753         Set sync to FALSE by default.
5754
5755 2005-09-20  Wim Taymans  <wim@fluendo.com>
5756
5757         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5758         * tools/gst-launch.c: (main):
5759         The timeout handler should have lower priority than the source
5760         so we don't timeout before popping a message with 0 timeout.
5761         Dump error messages after failed state change.
5762
5763 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5764
5765         * tools/gst-inspect.c: (print_element_properties_info):
5766           Fix two typos.
5767
5768 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5769
5770         * check/gst/gstevent.c:
5771         * gst/elements/gstfakesink.c:
5772         * gst/elements/gstfakesink.h:
5773           remove the sync property from fakesink.
5774           has the side effect of setting sync TRUE
5775           for fakesink, which is a change.  Anyone who knows how
5776           to fix this nicely in a GObject-y way, feel free.
5777
5778 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5779
5780         * docs/gst/gstreamer-docs.sgml:
5781           remove probe refsection
5782
5783 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5784
5785         * check/Makefile.am:
5786           disable valgrinding the controller test again
5787         * docs/gst/gstreamer-sections.txt:
5788           update for api-changes
5789
5790 2005-09-20  Wim Taymans  <wim@fluendo.com>
5791
5792         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5793         (gst_base_sink_set_property), (gst_base_sink_get_property),
5794         (gst_base_sink_do_sync):
5795         * gst/base/gstbasesink.h:
5796         Added sync property to basesink to disable clock sync.
5797
5798 2005-09-20  Andy Wingo  <wingo@pobox.com>
5799
5800         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5801         eating the caller's refcount.
5802
5803         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5804         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5805         refcount.
5806
5807         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5808         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5809         of GLib 2.8 public, so we can know which refcount to check in
5810         tests.
5811
5812         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5813         (gst_object_init): Only set the gst refcount if we're going ahead
5814         with the refcount hack.
5815
5816 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5817
5818         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5819         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5820           more leaks plumbed, added more debug-logging
5821         * gst/gstmacros.h:
5822           whitespace fix
5823
5824 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5825
5826         * gst/gstmessage.c:
5827           remove include of gstmemchunk.h
5828
5829 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5830
5831         * gst/gstclock.c: (_gst_clock_id_free):
5832           Commit from the Political Party For More Atomic CVS Commits,
5833           so that people don't waste too much of their day fishing
5834           out obvious leaks out of massive commits.
5835           Oh, and fix a pretty damn obvious leak in the memchunk
5836           removal code.
5837
5838 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5839
5840         * check/Makefile.am:
5841         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5842           plug mem-leak, re-add to valgrindable tests
5843
5844 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5845
5846         * gst/gstplugin.h:
5847           unbreak the build for those who have chronic arthritis
5848           and typing "make check" is just too taxing on the hands
5849
5850 2005-09-20  Andy Wingo  <wingo@pobox.com>
5851
5852         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5853         really want it out, you should fix plugins at the same time.
5854
5855 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5856
5857         * configure.ac:
5858         * docs/gst/gstreamer-sections.txt:
5859         * gst/gstobject.c:
5860           added missing symbols to api docs
5861           disable ref-count hack if we have glib >= 2.8
5862
5863 2005-09-19  David Schleef  <ds@schleef.org>
5864
5865         * docs/gst/Makefile.am: Ignore a few more internal headers
5866         * docs/gst/gstreamer-docs.sgml: Remove old sections
5867         * docs/gst/gstreamer-sections.txt: Remove old sections
5868         * docs/gst/tmpl/gstobject.sgml: update
5869         * docs/gst/tmpl/gstplugin.sgml: update
5870         * docs/gst/tmpl/gstpluginfeature.sgml: update
5871         * docs/random/ds/0.9-suggested-changes: update.
5872         * gst/Makefile.am: remove memchunk and trashstack, since they're
5873           not used.
5874         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5875         * gst/gst.h: don't include some headers
5876         * gst/gstchildproxy.c: add gstmarshal.h
5877         * gst/gstclock.c: Don't use memchunks
5878         * gst/gstminiobject.c: Add some docs
5879         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5880         * gst/gstobject.h: same
5881         * gst/gstplugin.c: include gstmacros.h
5882         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5883         * gst/gstquery.c: don't use memchunks
5884         * gst/gstregistry.c: rename gst_registry_deinit()
5885         * gst/gstregistry.h: same
5886
5887 2005-09-19  David Schleef  <ds@schleef.org>
5888
5889         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5890         * docs/libs/gstreamer-libs-sections.txt:
5891         * docs/libs/tmpl/gstgetbits.sgml:
5892         * docs/libs/tmpl/gstputbits.sgml:
5893
5894 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5895
5896         * win32/gstenumtypes.c:
5897         * win32/gstenumtypes.h:
5898           Update.
5899
5900 2005-09-19  Wim Taymans  <wim@fluendo.com>
5901
5902         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5903         Automatically PAUSE and RESUME a pipeline when a flushing seek
5904         is performed.
5905
5906 2005-09-19  Andy Wingo  <wingo@pobox.com>
5907
5908         * gst/gstregistry.h: Spacing fixen.
5909
5910 2005-09-19  Wim Taymans  <wim@fluendo.com>
5911
5912         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5913         Handle state change failure more correctly.
5914
5915 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5916
5917         * check/Makefile.am:
5918         * check/pipelines/cleanup.c: (run_pipeline):
5919         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5920         (GST_START_TEST):
5921           enable cleanup again after fixing the leak
5922         * docs/README:
5923           some more info on docs
5924
5925 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5926
5927         * check/Makefile.am:
5928           re-enable tests now that leaks are plugged
5929         * check/gst/gst.c:
5930         * check/gst/gstbin.c:
5931         * check/gst/gstpipeline.c:
5932           add some more tests while fixing leaks
5933         * common/check.mak:
5934           make sure binaries are uptodate when valgrinding/gdbing
5935         * gst/gst.c:
5936         * gst/gstelementfactory.c:
5937           remove a ref too many, and add a FIXME for when we get
5938           round to disposing of classes
5939         * gst/gstplugin.c:
5940           fix the refcounting when loading a plugin from a file and
5941           the code pretends that the pointer is the same even though
5942           of course it can change
5943         * gst/gstpluginfeature.c:
5944           unref plugins marked cached (a bit confusing as a name)
5945           as the docs state should be done
5946           various doc additions to explain refcounting
5947         * gst/gstregistry.c:
5948         * gst/gstregistryxml.c:
5949           debugging
5950
5951 2005-09-19  Wim Taymans  <wim@fluendo.com>
5952
5953         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5954         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5955         (send_messages), (GST_START_TEST), (gstbus_suite):
5956         * check/gst/gstpipeline.c: (GST_START_TEST):
5957         * check/pipelines/cleanup.c: (run_pipeline):
5958         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5959         (GST_START_TEST):
5960         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5961         (gst_bus_source_check), (gst_bus_source_dispatch),
5962         (gst_bus_create_watch), (gst_bus_add_watch_full),
5963         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5964         * gst/gstbus.h:
5965         * tools/gst-launch.c: (event_loop):
5966         * tools/gst-md5sum.c: (event_loop):
5967         GstBusHandler -> GstBusFunc, return value has the same meaning as
5968         any other GSource (FALSE == remove source).
5969         _add_watch() and _add_watch_full() now take a MessageType mask to
5970         only handle specific types of messages.
5971         _poll() returns the GstMessage instead of the message type to avoid
5972         race conditions.
5973         _have_pending() takes a MessageType mask now too.
5974         Added testsuite for multiple bus watches.
5975         Fix testsuites and applications for new bus API.
5976
5977 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5978
5979         * check/Makefile.am:
5980           mark a bunch of the tests as to fix until we fix them
5981
5982 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5983
5984         * common/check.mak:
5985           use GST_PLUGIN settings for valgrind tests as well, so we're
5986           valgrinding the correct thing
5987         * gst/gst.c: (init_post):
5988           plug another leak
5989
5990 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5991
5992         * gst/gst.c: (init_post), (gst_deinit):
5993         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5994         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5995         * gst/gstindex.c: (gst_index_factory_class_init),
5996         (gst_index_factory_finalize):
5997         * gst/gstobject.c: (gst_object_dispose):
5998         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5999         (gst_plugin_load_file), (gst_plugin_desc_free):
6000         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6001         (gst_plugin_feature_finalize):
6002         * gst/gstregistry.c: (gst_registry_class_init),
6003         (gst_registry_init), (gst_registry_finalize),
6004         (gst_registry_get_default), (gst_registry_deinit):
6005         * gst/gstregistry.h:
6006         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6007           various cleanups and memleak plugging.  make valgrind is happy now.
6008
6009 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6010
6011         * common/check.mak:
6012           add a check-valgrind target
6013
6014 2005-09-18  David Schleef  <ds@schleef.org>
6015
6016         * tools/gst-inspect.c: Revert the GOption code.
6017
6018 2005-09-17  David Schleef  <ds@schleef.org>
6019
6020         * check/Makefile.am: Fix environment variables.
6021         * check/gst/gstplugin.c: Fix for API changes.
6022         * tools/gst-inspect.c: Fix for API changes.
6023         * tools/gst-xmlinspect.c: Fix for API changes.
6024         * gst/gstelementfactory.c:
6025         * gst/gstplugin.c:
6026         * gst/gstplugin.h:
6027         * gst/gstpluginfeature.c:
6028         * gst/gstpluginfeature.h:
6029         * gst/gstregistry.c:
6030         * gst/gstregistry.h:
6031         * gst/gstregistryxml.c:
6032         * gst/gsttypefind.c:
6033         * gst/gsttypefindfactory.c:
6034         * gst/indexers/gstfileindex.c:
6035         * gst/indexers/gstmemindex.c:
6036         * gst/schedulers/Makefile.am:
6037           Change registry to keep track of both plugins and features,
6038           removing the feature tracking from plugins themselves.
6039
6040 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6041
6042         * check/Makefile.am:
6043         * tools/gst-register.1.in:
6044           remove gst-register
6045
6046 2005-09-15  David Schleef  <ds@schleef.org>
6047
6048         * check/gst/gstplugin.c:
6049         * gst/gstelementfactory.c:
6050         * gst/gstplugin.c:
6051         * gst/gstpluginfeature.c:
6052         * gst/gstregistry.c:
6053           Getting tired of debugging.  Disabled all the unreffing of
6054           plugins and features, which fixes the segfaults, but of
6055           course leaks like crazy.  At least playbin works.
6056
6057 2005-09-15  David Schleef  <ds@schleef.org>
6058
6059         * check/gst/gstplugin.c: (register_check_elements),
6060         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6061         More testing
6062         * gst/elements/gsttypefindelement.c: Fix refcounting.
6063         * gst/gsttypefind.c:
6064         * gst/gsttypefindfactory.c:
6065         * gst/gsttypefindfactory.h:
6066
6067 2005-09-15  David Schleef  <ds@schleef.org>
6068
6069         * gst/gstindex.c: get refcounting correct.
6070         * gst/gstregistry.c: Handle the case where a feature/plugin is
6071           not found.
6072
6073 2005-09-15  David Schleef  <ds@schleef.org>
6074
6075         * check/Makefile.am:
6076         * check/gst/gstplugin.c: Add test
6077         * gst/gstplugin.c: Fix problems noticed by testsuite
6078         * gst/gstplugin.h:
6079         * gst/gstregistry.c: 
6080         * gst/gstregistry.h:
6081
6082 2005-09-15  David Schleef  <ds@schleef.org>
6083
6084         * gst/gstplugin.c: Implement semi-decent recounting and locking
6085           in plugins and plugin features.
6086         * gst/gstplugin.h:
6087         * gst/gstpluginfeature.c:
6088         * gst/gstpluginfeature.h:
6089         * gst/gstregistry.c:
6090
6091 2005-09-15  Michael Smith <msmith@fluendo.com>
6092
6093         * gst/gstregistry.c: (gst_registry_get_feature_list):
6094           Implement this. Makes oggdemux work; decodebin still broken.
6095
6096 2005-09-14  David Schleef  <ds@schleef.org>
6097
6098         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6099           #316076)
6100         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6101         * gst/check/Makefile.am:
6102         * libs/gst/controller/Makefile.am:
6103         * libs/gst/dataprotocol/Makefile.am:
6104
6105 2005-09-14  David Schleef  <ds@schleef.org>
6106
6107         * configure.ac: Remove getbits library.  Nothing uses it, and
6108           it should be in something like liboil if someone did want
6109           to use it.
6110         * libs/gst/Makefile.am:
6111         * libs/gst/getbits/Makefile.am:
6112         * libs/gst/getbits/gbtest.c:
6113         * libs/gst/getbits/getbits.c:
6114         * libs/gst/getbits/getbits.h:
6115         * libs/gst/getbits/gstgetbits_generic.c:
6116         * libs/gst/getbits/gstgetbits_i386.s:
6117         * libs/gst/getbits/gstgetbits_inl.h:
6118
6119 2005-09-14  David Schleef  <ds@schleef.org>
6120
6121         * gst/Makefile.am: Dist glib-compat.h
6122
6123 2005-09-14  David Schleef  <ds@schleef.org>
6124
6125         * configure.ac: Remove gst/registries, since it's no longer used.
6126         * gst/registries/Makefile.am:
6127         * gst/registries/gstlibxmlregistry.c:
6128         * gst/registries/gstlibxmlregistry.h:
6129         * gst/registries/gstxmlregistry.c:
6130         * gst/registries/gstxmlregistry.h:
6131         * gst/registries/registrytest.c:
6132
6133 2005-09-14  David Schleef  <ds@schleef.org>
6134
6135         * gst/glib-compat.h:
6136         * gst/gstregistryxml.c:
6137           Convergence is near.  Seriously.
6138
6139 2005-09-14  David Schleef  <ds@schleef.org>
6140
6141         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6142         * gst/glib-compat.h:
6143           Attempt #4 to appease the buildbots.
6144
6145 2005-09-14  David Schleef  <ds@schleef.org>
6146
6147         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6148           Attempt #3.
6149
6150 2005-09-14  David Schleef  <ds@schleef.org>
6151
6152         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6153         Attempt #2.
6154
6155 2005-09-14  David Schleef  <ds@schleef.org>
6156
6157         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6158           the new functions.
6159
6160 2005-09-14  David Schleef  <ds@schleef.org>
6161
6162         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6163         * gst/glib-compat.h: Add some functions that are in newer versions
6164           of glib than we care to require.
6165         * gst/gstregistryxml.c: Use them.
6166
6167 2005-09-14  David Schleef  <ds@schleef.org>
6168
6169         * po/POTFILES.in: remove gst-register.c
6170
6171 2005-09-14  David Schleef  <ds@schleef.org>
6172
6173         * docs/gst/gstreamer-docs.sgml:
6174         * docs/gst/gstreamer-sections.txt:
6175         * docs/gst/gstreamer.types:
6176         * docs/gst/tmpl/gstelement.sgml:
6177         * docs/gst/tmpl/gstplugin.sgml:
6178         * docs/gst/tmpl/gstpluginfeature.sgml:
6179           Documentation updates for registry changes.
6180
6181 2005-09-14  David Schleef  <ds@schleef.org>
6182
6183         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6184           because we don't require glib-2.8.
6185
6186 2005-09-14  David Schleef  <ds@schleef.org>
6187
6188         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6189           registries directory.
6190
6191 2005-09-14  David Schleef  <ds@schleef.org>
6192
6193         * check/Makefile.am:
6194         * check/generic/states.c:
6195         * gst/Makefile.am:
6196         * gst/gst.c:
6197         * gst/gst.h:
6198         * gst/gst_private.h:
6199         * gst/gstelementfactory.c:
6200         * gst/gstindex.c:
6201         * gst/gstinfo.c:
6202         * gst/gstplugin.c:
6203         * gst/gstplugin.h:
6204         * gst/gstpluginfeature.c:
6205         * gst/gstpluginfeature.h:
6206         * gst/gstregistry.c:
6207         * gst/gstregistry.h:
6208         * gst/gstregistrypool.c: remove
6209         * gst/gstregistrypool.h: remove
6210         * gst/gsttypefind.c:
6211         * gst/gsttypefindfactory.c:
6212         * gst/gsturi.c:
6213         * tools/Makefile.am:
6214         * tools/gst-compprep.c:
6215         * tools/gst-inspect.c:
6216         * tools/gst-register.c: remove
6217         * tools/gst-xmlinspect.c:
6218           Registry rewrite.  Changes registry from being a file created
6219           by a tool into a simple cache file created automatically by 
6220           libgstreamer.  Removed gst-register (because it's no longer
6221           needed).  Remove registry pools, because we only have one
6222           registry implementation (XML).  Fix up other subsystems as
6223           necessary.
6224
6225 2005-09-13  Michael Smith <msmith@fluendo.com>
6226
6227         * gst/gstconfig.h.in:
6228           Don't Use windows linking attributes for MinGW. Fixes #316157
6229
6230 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6231
6232         * gst/gstutils.c: (set_state_async_thread_func),
6233         (gst_element_set_state_async):
6234           Apparently people think it's better if this function doesn't
6235           try to set the state to whatever state was asked for on the first
6236           call to this function for any object.  Seriously.
6237
6238 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6239
6240         * check/gst/gstpipeline.c: (GST_START_TEST):
6241         * docs/gst/gstreamer-sections.txt:
6242         * gst/gstutils.c: (set_state_async_thread_func),
6243         (gst_element_set_state_async):
6244         * gst/gstutils.h:
6245           add a "gst_element_set_state_async" method that
6246           sets the state and starts a thread to make sure the state
6247           change completes as best as it can
6248
6249 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6250
6251         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6252           codify design+behaviour in testsuite after discussion
6253
6254 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6255
6256         * docs/gst/tmpl/gstelement.sgml:
6257         * docs/manual/appendix-quotes.xml:
6258           add a quote
6259         * gst/gstelement.c: (gst_element_set_state):
6260           add some debug
6261
6262 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6263
6264         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6265         (gst_base_transform_prepare_output_buf),
6266         (gst_base_transform_handle_buffer):
6267         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6268         (gst_capsfilter_prepare_buf):
6269           Remove the requirement for sub-classes to call the parent
6270           implementation of prepare_output_buffer with a wrapper function.
6271           
6272         * gst/gsttaglist.h:
6273         * gst/gsttagsetter.h:
6274           Fix #define wrapper
6275
6276 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6277
6278         * docs/gst/gstreamer-sections.txt:
6279           more doc cleanups
6280
6281 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6282
6283         * docs/gst/gstreamer-sections.txt:
6284         * docs/gst/tmpl/gstelement.sgml:
6285         * docs/gst/tmpl/gstplugin.sgml:
6286         * gst/gstminiobject.c:
6287         * gst/gstvalue.h:
6288           docs now stop throwing warnings
6289
6290 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6291
6292         * docs/gst/gstreamer-sections.txt:
6293         * docs/gst/gstreamer.types:
6294         * docs/gst/tmpl/gstpad.sgml:
6295         * docs/gst/tmpl/gsttypes.sgml:
6296         * gst/base/gstadapter.h:
6297         * gst/base/gstbasesink.h:
6298         * gst/base/gstbasesrc.h:
6299         * gst/gstbin.h:
6300         * gst/gstbuffer.h:
6301         * gst/gstbus.h:
6302         * gst/gstcaps.h:
6303         * gst/gstclock.h:
6304         * gst/gstelement.h:
6305         * gst/gstevent.h:
6306         * gst/gstmessage.h:
6307         * gst/gstpad.h:
6308         * gst/gststructure.c:
6309         * gst/registries/gstlibxmlregistry.h:
6310           various documentation fixes
6311
6312 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6313
6314         * docs/gst/gstreamer-sections.txt:
6315         * docs/gst/tmpl/gstvalue.sgml:
6316           rearrange gstvalue section
6317         * gst/gstutils.c: (gst_element_state_get_name):
6318           NONE -> VOID
6319         * gst/gstvalue.c: (_gst_value_initialize):
6320         * gst/gstvalue.h:
6321           doc updates
6322
6323 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6324
6325         * check/gst-libs/controller.c:
6326           Header include fix.
6327         * gst/base/gstbasetransform.c:
6328         (gst_base_transform_default_prepare_buf),
6329         (gst_base_transform_handle_buffer):
6330         * gst/base/gstbasetransform.h:
6331           Some more basetransform changes and fixes to enable sub-classes
6332           that modify buffer metadata only.
6333         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6334         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6335         (gst_capsfilter_prepare_buf):
6336           If the output pad has fixed allowed caps and input buffers 
6337           don't have any, set the fixed caps on outgoing buffers.
6338
6339 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6340         * check/elements/identity.c: (GST_START_TEST):
6341           Make the error a little clearer when the test fails because
6342           identity made a copy of the buffer.
6343         * docs/gst/gstreamer-sections.txt:
6344           New symbols in gstbasetransform.h
6345         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6346         (gst_base_transform_init), (gst_base_transform_transform_size),
6347         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6348         (gst_base_transform_default_prepare_buf),
6349         (gst_base_transform_get_unit_size),
6350         (gst_base_transform_buffer_alloc),
6351         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6352         (gst_base_transform_change_state),
6353         (gst_base_transform_set_passthrough),
6354         (gst_base_transform_set_in_place),
6355         (gst_base_transform_is_in_place):
6356         * gst/base/gstbasetransform.h:
6357           Change BaseTransform to separate in_place operate from same_caps
6358           output. in_place implies that the element can perform the transform
6359           on incoming buffers in-place, even if the caps on the output are
6360           different.
6361           Sub-class elements can now implement special buffer allocation
6362           methods for outgoing buffers if they wish to.
6363           Big documentation addition.
6364         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6365         * gst/elements/gstelements.c:
6366           Changes for basetransform modifications.
6367         * gst/elements/Makefile.am:
6368         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6369           Compile fix. Extra debug output.
6370
6371 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6372
6373         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6374         (gst_pad_suite):
6375           add tests for valid pad naming
6376         * gst/check/gstcheck.c: (gst_check_log_message_func),
6377         (gst_check_log_critical_func):
6378           add ASSERT_WARNING
6379           remove printing of code, it is fragile when the code contains
6380           % and the line number is enough info
6381         * gst/check/gstcheck.h:
6382         * gst/gstpad.c: (gst_pad_template_new):
6383           fix memleaks
6384
6385 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6386
6387         * configure.ac:
6388           say what CHECK flags we use
6389         * docs/libs/gstreamer-libs.types:
6390         * libs/gst/controller/Makefile.am:
6391         * libs/gst/controller/gst-controller.c:
6392         * libs/gst/controller/gst-controller.h:
6393         * libs/gst/controller/gst-helper.c:
6394         * libs/gst/controller/gst-interpolation.c:
6395         * libs/gst/controller/gstcontroller.c:
6396         * libs/gst/controller/gsthelper.c:
6397         * libs/gst/controller/gstinterpolation.c:
6398         * tools/gst-inspect.c: (print_plugin_info):
6399           we don't use dashes in header names
6400
6401 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6402
6403         * check/Makefile.am:
6404         * check/gst/.cvsignore:
6405         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6406         (gst_pipeline_suite), (main):
6407           adding a test for pipelines and state changes
6408         * gst/gstutils.c: (get_state_func):
6409           add some debugging
6410         * gstreamer.spec.in:
6411           fix up spec file
6412
6413 2005-09-08  Michael Smith <msmith@fluendo.com>
6414
6415         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6416         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6417         (gst_file_src_is_seekable), (gst_file_src_get_size),
6418         (gst_file_src_start):
6419         * gst/elements/gstfilesrc.h:
6420           Various fixes for unseekable, unmmapable, and non-normal files, so
6421           that fallback to read() rather than mmap() works.
6422         * gst/gstevent.c: (gst_event_new_newsegment):
6423           Allow newsegment events with segment_start == segment_end, as will
6424           correctly happen if you use filesrc on a zero-size file, for
6425           example.
6426
6427 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6428
6429         * gst/gstplugin.c: (gst_plugin_load_file):
6430           Call g_module_close when we don't load the module
6431
6432         * gst/registries/gstlibxmlregistry.c:
6433         (gst_xml_registry_get_property):
6434           Port leak fix from 0.8
6435
6436 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6437
6438         * docs/gst/gstreamer-docs.sgml:
6439         * docs/gst/tmpl/.cvsignore:
6440         * docs/gst/tmpl/gsttrace.sgml:
6441         * docs/gst/tmpl/gsttrashstack.sgml:
6442         * gst/Makefile.am:
6443         * gst/gst.h:
6444         * gst/gstelement.h:
6445         * gst/gstevent.h:
6446         * gst/gstmessage.c:
6447         * gst/gstmessage.h:
6448         * gst/gsttag.c:
6449         * gst/gsttag.h:
6450         * gst/gsttaginterface.c:
6451         * gst/gsttaginterface.h:
6452         * gst/gsttaglist.c:
6453         * gst/gsttaglist.h:
6454         * gst/gsttagsetter.c:
6455         * gst/gsttagsetter.h:
6456         * gst/gsttrace.c:
6457         * gst/gsttrace.h:
6458         * gst/gsttrashstack.c:
6459           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6460           inlined docs for gsttrace, gsttrashstack
6461
6462 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6463
6464         * gst/Makefile.am:
6465         * gst/elements/gstbufferstore.h:
6466         * gst/elements/gsttypefindelement.c:
6467         * gst/elements/gsttypefindelement.h:
6468         * gst/gst.h:
6469         * gst/gsttypefind.c:
6470         * gst/gsttypefind.h:
6471         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6472         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6473         (gst_type_find_factory_dispose),
6474         (gst_type_find_factory_unload_thyself),
6475         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6476         (gst_type_find_factory_get_caps),
6477         (gst_type_find_factory_get_extensions),
6478         (gst_type_find_factory_call_function):
6479         * gst/gsttypefindfactory.h:
6480         * gst/registries/gstlibxmlregistry.c:
6481         * gst/registries/gstxmlregistry.c:
6482           splitted gsttypefind into gsttypefind, gsttypefindfactory
6483
6484 2005-09-07  Andy Wingo  <wingo@pobox.com>
6485
6486         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6487         condition whereby the pad's task function is entered before the
6488         pad_mode variable was set.
6489
6490 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6491
6492         * gst/gstpad.c: (gst_pad_alloc_buffer):
6493           Catch misbehaving pad_alloc functions that don't
6494           set up caps and do it for them.
6495
6496 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6497
6498         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6499           test for pipe!=NULL
6500         * docs/gst/tmpl/.cvsignore:
6501         * docs/gst/tmpl/gstmemchunk.sgml:
6502         * docs/gst/tmpl/gstparse.sgml:
6503         * docs/gst/tmpl/gsttaglist.sgml:
6504         * docs/gst/tmpl/gsttagsetter.sgml:
6505         * docs/gst/tmpl/gsttypefind.sgml:
6506         * docs/gst/tmpl/gsttypefindfactory.sgml:
6507         * gst/gstmemchunk.c:
6508         * gst/gstparse.c:
6509         * gst/gsttag.c:
6510         * gst/gsttaginterface.c:
6511         * gst/gsttypefind.c:
6512         * gst/gsttypefind.h:
6513           inlined more docs
6514
6515 === release 0.9.2 ===
6516
6517 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6518
6519         * NEWS:
6520         * RELEASE:
6521         * configure.ac:
6522           releasing 0.9.2, "South"
6523
6524 2005-09-05  Andy Wingo  <wingo@pobox.com>
6525
6526         * gst/registries/gstxmlregistry.h:
6527         * gst/registries/gstxmlregistry.c: Um... resurrect...
6528         
6529         * gst/registries/gstxmlregistry.h:
6530         * gst/registries/gstxmlregistry.c: and update to newer API.
6531         Incidentally they should be a bit faster now that they don't have
6532         to parse the caps.
6533         
6534 2005-09-05  Andy Wingo  <wingo@pobox.com>
6535
6536         * gst/registries/gstxmlregistry.h:
6537         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6538         replaced by the libxml registry a while back
6539
6540 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6541
6542         * docs/gst/tmpl/gstplugin.sgml:
6543         * gst/elements/gstelements.c:
6544         * gst/gst.c:
6545         * gst/gstplugin.c: (gst_plugin_register_func),
6546         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6547         (gst_plugin_get_source):
6548         * gst/gstplugin.h:
6549         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6550         (gst_xml_registry_save_plugin):
6551         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6552         (gst_xml_registry_save_plugin):
6553         * tools/gst-inspect.c: (print_plugin_info):
6554           add a "source" plugin description field, to represent the source
6555           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6556           will set it to PACKAGE, which is automake's idea of the name of
6557           the source project.
6558
6559 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6560
6561         * Makefile.am:
6562         * autogen.sh:
6563         * configure.ac:
6564         * docs/Makefile.am:
6565         * docs/faq/Makefile.am:
6566         * docs/gst/tmpl/gstelement.sgml:
6567         * docs/gst/tmpl/gsttypes.sgml:
6568         * docs/htmlinstall.mak:
6569         * docs/manual/Makefile.am:
6570         * docs/pwg/Makefile.am:
6571           reorganize doc build a little
6572           split out docbook and gtk-doc stuff
6573           have two separate --enable's and enable them through autogen
6574           but disable by default in configure (to be similar to other
6575           projects)
6576         * gstreamer.spec.in:
6577           clean up docs install
6578         * po/af.po:
6579         * po/az.po:
6580         * po/ca.po:
6581         * po/cs.po:
6582         * po/de.po:
6583         * po/en_GB.po:
6584         * po/fr.po:
6585         * po/it.po:
6586         * po/nb.po:
6587         * po/nl.po:
6588         * po/ru.po:
6589         * po/sq.po:
6590         * po/sr.po:
6591         * po/sv.po:
6592         * po/tr.po:
6593         * po/uk.po:
6594         * po/vi.po:
6595           translation updates
6596
6597 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6598
6599         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6600           Add comment.
6601           
6602         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6603         (gst_fake_sink_change_state):
6604           Make state change function thread-safe.
6605           
6606         * gst/gstpad.c: (gst_pad_alloc_buffer):
6607           Set offset on generic buffer allocated by fallback.
6608
6609 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6610
6611         * docs/gst/gstreamer-sections.txt:
6612         * docs/gst/tmpl/gstelement.sgml:
6613         * gst/gstpad.c:
6614         * libs/gst/controller/gst-controller.c:
6615         (gst_controlled_property_set_interpolation_mode),
6616         (gst_controlled_property_new),
6617         (gst_controller_find_controlled_property):
6618          run the wingo-magic script against the docs
6619
6620 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6621
6622         * docs/gst/gstreamer-docs.sgml:
6623         * docs/gst/gstreamer-sections.txt:
6624         * docs/gst/tmpl/.cvsignore:
6625         * docs/gst/tmpl/gstelementdetails.sgml:
6626         * docs/gst/tmpl/gstelementfactory.sgml:
6627         * gst/gst.c:
6628         * gst/gstbus.c:
6629         * gst/gstelementfactory.c:
6630         * gst/gstelementfactory.h:
6631           merged elementdetails docs into elementfactory docs
6632           inlined both
6633
6634 2005-09-02  Andy Wingo  <wingo@pobox.com>
6635
6636         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6637         consider this enum an enum and not a flags.
6638
6639 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6640
6641         * docs/gst/gstreamer-docs.sgml:
6642         * docs/gst/tmpl/.cvsignore:
6643         * docs/gst/tmpl/gstghostpad.sgml:
6644         * docs/gst/tmpl/gstiterator.sgml:
6645         * docs/gst/tmpl/gstmacros.sgml:
6646         * docs/gst/tmpl/gstrealpad.sgml:
6647         * docs/gst/tmpl/gstregistry.sgml:
6648         * docs/gst/tmpl/gstregistrypool.sgml:
6649         * docs/gst/tmpl/gststructure.sgml:
6650         * docs/gst/tmpl/gstsystemclock.sgml:
6651         * docs/gst/tmpl/gsttrace.sgml:
6652         * gst/gstghostpad.c:
6653         * gst/gstmacros.h:
6654         * gst/gstmemchunk.c:
6655         * gst/gstmemchunk.h:
6656         * gst/gstqueue.c:
6657         * gst/gstregistry.c:
6658         * gst/gstregistrypool.c:
6659         * gst/gststructure.c:
6660         * gst/gstsystemclock.c:
6661           more docs inlined
6662
6663 2005-09-02  Andy Wingo  <wingo@pobox.com>
6664
6665         * gst/gstelement.h (GstState): Renamed from GstElementState,
6666         changed to be a normal enum instead of flags.
6667         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6668         munged to be GST_STATE_CHANGE_*.
6669         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6670         work with the new state representation.
6671         (GstStateChange): New enumeration of possible state transitions.
6672         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6673         (GstElementClass::change_state): Pass the GstStateChange along as
6674         an argument. Helps language bindings, so they don't have to use
6675         tricky lock-needing macros like GST_STATE_CHANGE ().
6676
6677         * scripts/update-states (file): New script. Run it on a file to
6678         update it for state naming and API changes. Updates files in
6679         place.
6680
6681         * All files updated for the new API.
6682
6683 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6684
6685         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6686         * gst/gstutils.c: (gst_util_set_value_from_string),
6687         (gst_util_set_object_arg):
6688           fix a bunch of unchecked return values
6689         * tools/gst-complete.c: (main):
6690         * gstreamer.spec.in:
6691           clean up a little
6692
6693 2005-09-01  Wim Taymans  <wim@fluendo.com>
6694
6695         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6696         (gst_base_sink_event), (gst_base_sink_do_sync),
6697         (gst_base_sink_handle_event):
6698         * gst/base/gstbasesink.h:
6699         Handle newsegments more correctly.
6700
6701         * gst/gstbus.c:
6702         Fix docs.
6703
6704         * gst/gstevent.c: (gst_event_new_newsegment):
6705         A newsegment cannot have a start_time of -1
6706
6707 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6708
6709         * win32/gstenumtypes.c:
6710         * win32/gstenumtypes.h:
6711           Update
6712
6713 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6714
6715         * libs/gst/controller/gst-controller.c:
6716         (gst_controlled_property_set_interpolation_mode),
6717         (gst_controlled_property_new):
6718          fixed boolean again
6719
6720 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6721
6722         * docs/faq/gst-uninstalled:
6723           add -good
6724         * gst/gstevent.c:
6725         * gst/gstevent.h:
6726           remove wrong docs
6727         * gst/gstutils.c: (gst_element_link_filtered):
6728         * gst/gstutils.h:
6729           add gst_element_link_filtered
6730
6731 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6732
6733         * docs/gst/gstreamer-docs.sgml:
6734         * docs/gst/gstreamer-sections.txt:
6735         * docs/gst/tmpl/.cvsignore:
6736         * docs/gst/tmpl/gsterror.sgml:
6737         * docs/gst/tmpl/gstfilter.sgml:
6738         * docs/gst/tmpl/gsturihandler.sgml:
6739         * docs/gst/tmpl/gsturitype.sgml:
6740         * docs/gst/tmpl/gstutils.sgml:
6741         * docs/gst/tmpl/gstxml.sgml:
6742         * gst/gsterror.c:
6743         * gst/gsterror.h:
6744         * gst/gstfilter.c:
6745         * gst/gsturi.c:
6746         * gst/gsturitype.c:
6747         * gst/gstutils.c:
6748         * gst/gstxml.c:
6749           inlined more docs, fixed double id-ref
6750
6751 2005-08-31  Wim Taymans  <wim@fluendo.com>
6752
6753         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6754         (gst_base_transform_handle_buffer):
6755         Passthrough elements don't need the caps as they don't care.
6756
6757 2005-08-31  Wim Taymans  <wim@fluendo.com>
6758
6759         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6760         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6761         Don't leak refcounts on buffers.
6762
6763 2005-08-31  Wim Taymans  <wim@fluendo.com>
6764
6765         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6766         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6767         (gst_base_transform_chain), (gst_base_transform_change_state):
6768         * gst/base/gstbasetransform.h:
6769         Handle the case where we are not negotiated more gracefully.
6770
6771 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6772
6773         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6774         (gst_file_src_map_region):
6775           Set READONLY flag on mmap'ed buffers, otherwise
6776           gst_buffer_make_writable() won't work properly (#314708).
6777
6778 2005-08-31  Wim Taymans  <wim@fluendo.com>
6779
6780         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6781         passthrough elements can even do inplace on non writable
6782         buffers (as they don't touch them).
6783
6784 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6785
6786         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6787         (gst_test_mono_source_set_property),
6788         (gst_test_mono_source_class_init), (GST_START_TEST),
6789         (gst_controller_suite):
6790           more tests (hehe I have the most)
6791         * gst/gstbus.c:
6792           describe popping messages whenusing mulltiple sources
6793         * libs/gst/controller/gst-controller.c:
6794         (gst_controlled_property_set_interpolation_mode),
6795         (gst_controlled_property_new):
6796         * libs/gst/controller/gst-controller.h:
6797         * libs/gst/controller/gst-interpolation.c:
6798           implement boolean properties
6799
6800 2005-08-31  Wim Taymans  <wim@fluendo.com>
6801
6802         * gst/gstminiobject.c: (gst_mini_object_ref):
6803         Cannot assert that the refcount has to be positive
6804         since a disposed object can be resurrected.
6805
6806 2005-08-31  Wim Taymans  <wim@fluendo.com>
6807
6808         * gst/gstpad.c: (gst_pad_init):
6809         Revert change, need to first fix badly behaving 
6810         apps.
6811
6812 2005-08-30  Wim Taymans  <wim@fluendo.com>
6813
6814         * check/elements/fakesrc.c: (setup_fakesrc):
6815         * check/elements/identity.c: (setup_identity):
6816         Activate pads before using them.
6817
6818 2005-08-30  Wim Taymans  <wim@fluendo.com>
6819
6820         * gst/base/gstadapter.c: (gst_adapter_flush):
6821         Flushing out 0 bytes is ok for this function.
6822
6823         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6824         no newsegment gives a warning and sets the start/stop to 
6825         invalid.
6826
6827         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6828         (gst_base_transform_set_passthrough):
6829         Some debug info.
6830
6831         * gst/gstminiobject.c: (gst_mini_object_ref):
6832         Check refcount here too.
6833
6834         * gst/gstpad.c: (gst_pad_init):
6835         Pads are initially flushing and refusing data.
6836
6837         * gst/gstutils.c: (gst_element_link_pads_filtered):
6838         When adding a capsfilter element make sure it has the
6839         same state as the parent bin.
6840
6841 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6842
6843         * docs/gst/tmpl/.cvsignore:
6844         * docs/gst/tmpl/gstformat.sgml:
6845         * docs/gst/tmpl/gstversion.sgml:
6846         * gst/gstbus.h:
6847         * gst/gstformat.c:
6848         * gst/gstformat.h:
6849         * gst/gstversion.h.in:
6850           more docs and two more inlined
6851
6852 2005-08-30  Wim Taymans  <wim@fluendo.com>
6853
6854         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6855         Don't sync to clock.
6856
6857 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6858
6859         * docs/gst/gstreamer-sections.txt:
6860           ultral33t func10ns deserve to appear in the docs actually
6861         * docs/gst/tmpl/.cvsignore:
6862         * docs/gst/tmpl/gstcompat.sgml:
6863         * docs/gst/tmpl/gstconfig.sgml:
6864         * gst/check/gstcheck.c:
6865         * gst/gstcompat.h:
6866         * gst/gstconfig.h.in:
6867           inlined more docs
6868
6869 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6870
6871         * docs/gst/tmpl/.cvsignore:
6872         * docs/gst/tmpl/gstquery.sgml:
6873         * docs/gst/tmpl/gstutils.sgml:
6874         * gst/gstquery.c:
6875         * gst/gstquery.h:
6876           inlined and extended docs
6877
6878 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6879
6880         * check/gst-libs/controller.c: (GST_START_TEST),
6881         (gst_controller_suite):
6882           more tests
6883         * docs/gst/tmpl/gstutils.sgml:
6884         * docs/libs/gstreamer-libs-sections.txt:
6885         * docs/libs/tmpl/gstdataprotocol.sgml:
6886           include path fixes
6887         * examples/controller/audio-example.c: (main):
6888           controller example works now
6889         * gst/gstclock.h:
6890           doc fixes
6891         * tools/gst-inspect.c: (print_element_properties_info):
6892           show param spec flags
6893
6894 2005-08-29  Andy Wingo  <wingo@pobox.com>
6895
6896         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6897
6898 2005-08-28  Andy Wingo  <wingo@pobox.com>
6899
6900         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6901         as having two arguments instead of just one. Allows superclasses
6902         to access information on subclasses -- see the terrible for() loop
6903         in gtype.c:g_type_create_instance for the reason why. All callers
6904         changed.
6905
6906 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6907
6908         * docs/design/part-messages.txt:
6909           update info
6910         * docs/gst/tmpl/.cvsignore:
6911         * docs/gst/tmpl/gstcaps.sgml:
6912         * docs/gst/tmpl/gstclock.sgml:
6913         * gst/gstbus.c:
6914         * gst/gstcaps.c:
6915         * gst/gstcaps.h:
6916         * gst/gstclock.c:
6917         * gst/gstclock.h:
6918         * gst/gstmessage.c:
6919           added descriptions for bus and message
6920           inline caps and clock docs
6921
6922 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6923
6924         * gst/gstmessage.c:
6925         * gst/gstmessage.h:
6926           doc fixes
6927
6928 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6929
6930         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6931           fix div-by-zero
6932
6933 2005-08-26  Andy Wingo  <wingo@pobox.com>
6934
6935         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6936         element_set_state's return val.
6937         (test_2_elements): Add test that's been disabled for months.
6938
6939         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6940         can-activate-pull properties.
6941
6942         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6943         can-activate-pull properties. Implement is_seekable so fakesrc can
6944         operate in pull mode.
6945
6946         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6947         properties.
6948         (gst_base_sink_activate, gst_base_sink_activate_pull)
6949         (gst_base_sink_activate_push): Make activation mode choosing work.
6950         Cleanups.
6951         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6952         is right. Make pull mode work. Post an eos before pausing in pull
6953         mode.
6954         (gst_base_sink_change_state): Pay attention to the core's
6955         change_state() return val.
6956         
6957         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6958         has-getrange properties. Cleanups.
6959         
6960         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6961         has_getrange and replace with can_activate_pull and
6962         can_activate_push.
6963
6964         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6965         locking comments. Remove has_loop, has_chain and replace with
6966         can_activate_pull and can_activate_push.
6967
6968 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6969
6970         * configure.ac:
6971         * examples/Makefile.am:
6972         * examples/metadata/Makefile.am:
6973         * examples/metadata/read-metadata.c: (message_loop),
6974         (have_pad_handler), (make_pipeline), (print_tag), (main):
6975           Add metadata reading example that loops over a list of filenames,
6976           dumping any tags found.
6977
6978         * gst/gstbus.c: (gst_bus_dispose):
6979         * gst/gstelement.c: (gst_element_dispose):
6980           Release a few potentially-held references in dispose.
6981
6982 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6983
6984         * docs/gst/tmpl/gstminiobject.sgml:
6985           do *not* add tmpl/*.sgml files to CVS!
6986
6987 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6988
6989         * libs/gst/bytestream/.cvsignore:
6990         * libs/gst/bytestream/Makefile.am:
6991         * libs/gst/bytestream/adapter.c:
6992         * libs/gst/bytestream/adapter.h:
6993         * libs/gst/bytestream/bytestream.c:
6994         * libs/gst/bytestream/bytestream.h:
6995         * libs/gst/bytestream/filepad.c:
6996         * libs/gst/bytestream/filepad.h:
6997           removing obsolete files
6998
6999 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7000
7001         * docs/gst/gstreamer-docs.sgml:
7002         * docs/libs/gstreamer-libs-docs.sgml:
7003           disabed additional index entries again, as this makes docs-gen just
7004           slow and they aren't useful yet
7005         * docs/libs/gstreamer-libs-sections.txt:
7006           little -section.txt cleanup for libs
7007
7008 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7009
7010         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7011         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7012           fix up some debugging
7013         (gst_base_transform_get_unit_size),
7014         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7015         (gst_base_transform_handle_buffer):
7016         * gst/base/gstbasetransform.h:
7017           handle and store timed NEWSEGMENT events so that subclasses that
7018           calculate time by counting samples have a segment_start time they
7019           need to add to their timestamps - see audioresample
7020
7021 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7022
7023         * gst/gstbin.h:
7024           removed ';' from the end of macro defs
7025         * docs/gst/gstreamer-docs.sgml:
7026         * docs/gst/gstreamer-sections.txt:
7027         * docs/gst/tmpl/.cvsignore:
7028         * gst/gstbus.h:
7029         * gst/gstelement.c: (gst_element_class_init),
7030         (gst_element_set_state), (activate_pads),
7031         (gst_element_save_thyself):
7032         * gst/gstevent.c: (gst_event_new_newsegment):
7033         * gst/gstevent.h:
7034         * gst/gstiterator.c:
7035         * gst/gstiterator.h:
7036         * gst/gstpad.c:
7037         * gst/gstprobe.h:
7038         * gst/gstutils.c: (gst_pad_query_convert):
7039         * gst/gstutils.h:
7040           fixed parameter name mismatches between source, header and docs
7041           added some more docs, resolved the last batch of unused elements in
7042           docs (now someone needs to doc them)
7043
7044 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7045
7046         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7047         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7048           don't walk through the plugins backwards.  Where is all this
7049           reversed logic coming from ?
7050
7051 2005-08-25  Wim Taymans  <wim@fluendo.com>
7052
7053         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7054         (gst_base_transform_transform_size),
7055         (gst_base_transform_configure_caps),
7056         (gst_base_transform_get_unit_size),
7057         (gst_base_transform_buffer_alloc),
7058         (gst_base_transform_change_state):
7059         * gst/base/gstbasetransform.h:
7060         Cache caps unit_size.
7061         Make sure we cannot negotiate up and downstream at the
7062         same time.
7063
7064 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7065
7066         * gst/gst.c: (init_pre), (init_post):
7067           register the installed plugin path after the env var
7068         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7069         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7070           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7071           directories, so the tests can prefer uninstalled over installed
7072
7073 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7074
7075         * gst/base/gstbasetransform.h:
7076           comment
7077         * gst/gstpad.c:
7078           add to docs
7079
7080 2005-08-25  Wim Taymans  <wim@fluendo.com>
7081
7082         * gst/gstbin.c: (bin_bus_handler):
7083         Be a bit more conservative about the posted message.
7084         
7085         * gst/gstbus.c: (gst_bus_post):
7086         Some cleanups, warn wrong return values.
7087
7088 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7089
7090         * check/gst/gstbin.c: (GST_START_TEST):
7091         * gst/gstbin.c: (bin_bus_handler):
7092         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7093         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7094         (gst_message_new_warning), (gst_message_new_tag),
7095         (gst_message_new_state_changed), (gst_message_new_segment_start),
7096         (gst_message_new_segment_done), (gst_message_new_custom):
7097         * gst/gstmessage.h:
7098         * tools/gst-launch.c: (event_loop):
7099         * tools/gst-md5sum.c: (event_loop):
7100           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7101
7102 2005-08-25  Wim Taymans  <wim@fluendo.com>
7103
7104         * check/generic/states.c: (GST_START_TEST):
7105         Cleanup can be done at the end.
7106
7107         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7108         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7109         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7110         Oh boy.. Thanks for finding this, Thomas. 
7111
7112 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7113
7114         * docs/gst/gstreamer.types:
7115           added missing types
7116
7117 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7118
7119         * docs/gst/gstreamer-docs.sgml:
7120         * docs/gst/gstreamer-sections.txt:
7121         * docs/gst/tmpl/.cvsignore:
7122         * gst/gstbin.c:
7123         * gst/gstiterator.c:
7124         * gst/gstutils.c:
7125         * gst/registries/gstxmlregistry.h:
7126           added missing classes and symbols (123 more to go)
7127           removed removed symbols from section file
7128           fixed many doc-comments
7129
7130 2005-08-24  Wim Taymans  <wim@fluendo.com>
7131
7132         * check/generic/states.c: (GST_START_TEST):
7133         Make sure all tasks are stopped.
7134
7135         * check/gst/gstbin.c: (GST_START_TEST):
7136         Unref after usage for proper valgrinding.
7137
7138         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7139         Really wait for the task to stop before destroying the
7140         mutex.
7141
7142         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7143         (gst_queue_src_activate_push):
7144         Small cleanups. Don't stop the task when we did not start
7145         it.
7146
7147         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7148         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7149         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7150         (gst_task_join):
7151         * gst/gsttask.h:
7152         Protect the stream lock with the object lock.
7153         Disallow setting the stream lock when running.
7154         Add cleanup_all to wait for the threadpool to finish.
7155         Remove code to autoallocate a mutex if none was provided.
7156         Add _join() to wait for a task to stop.
7157         Protect the thread pool with a global lock.
7158
7159 2005-08-24  Wim Taymans  <wim@fluendo.com>
7160
7161         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7162         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7163         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7164         * gst/base/gstbasesink.h:
7165         Handle newsegment events correctly.
7166         Drop buffers out of the segment range.
7167
7168 2005-08-22  Andy Wingo  <wingo@pobox.com>
7169
7170         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7171         macro, implements an interface and gstimplementsinterface for a
7172         new type.
7173
7174 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7175
7176         * check/Makefile.am:
7177         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7178           add a test that does a bunch of state changes on elements
7179           needs some fixing for valgrind
7180         * check/states/sinks.c: (gst_object_suite):
7181           whitespace
7182         * gst/gstcaps.h:
7183           add prototype for gst_caps_is_equal_fixed
7184         * gst/gstplugin.c:
7185         * gst/gstregistrypool.c:
7186           doc fixes
7187
7188 2005-08-24  Andy Wingo  <wingo@pobox.com>
7189
7190         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7191         convert a negative value. Doesn't make much sense. Mostly this is
7192         here to force callers to ensure -1 maps to -1.
7193
7194 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7195
7196         * docs/pwg/advanced-types.xml:
7197           Well done to Michael for catching my deliberate introduction
7198           of this spelling mistake. 
7199         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7200         * gst/gstelement.h:
7201           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7202           unlink pads before removing the element from the bin.
7203
7204 2005-08-24  Andy Wingo  <wingo@pobox.com>
7205
7206         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7207         the same thing as GST_DEBUG=*:4.
7208         (parse_debug_level, parse_debug_category): New helper parsers.
7209
7210 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7211
7212         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7213         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7214         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7215         (gst_base_transform_buffer_alloc),
7216         (gst_base_transform_handle_buffer):
7217           use gboolean return values and pointers to size so we can use the
7218           full GST_BUFFER_SIZE range (guint) for buffer sizes
7219           use GstPadDirection for transform_caps
7220         * gst/base/gstbasetransform.h:
7221           rename get_size to get_unit_size since that's what it is
7222         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7223           use GstPadDirection for transform_caps
7224         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7225         * gst/gstutils.h:
7226           cleanup and debugging
7227
7228 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7229
7230         * gst/gstelement.c: (gst_element_class_init),
7231         (gst_element_set_state), (activate_pads),
7232         (gst_element_save_thyself):
7233         * tools/gst-compprep.c: (main):
7234         * tools/gst-inspect.c: (print_element_properties_info):
7235         * tools/gst-xmlinspect.c: (print_element_properties):
7236           Fixed long standing mem-leak
7237
7238 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7239
7240         * check/gst/gstbin.c: (GST_START_TEST):
7241         * gst/gstbin.c: (bin_bus_handler):
7242         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7243         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7244         (gst_message_new_warning), (gst_message_new_tag),
7245         (gst_message_new_state_changed), (gst_message_new_segment_start),
7246         (gst_message_new_segment_done), (gst_message_new_custom):
7247         * gst/gstmessage.h:
7248         * tools/gst-launch.c: (event_loop):
7249         * tools/gst-md5sum.c: (event_loop):
7250           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7251           that applications can sensibly post custom messages with references
7252           to their own objects.
7253
7254 2005-08-24  Andy Wingo  <wingo@pobox.com>
7255
7256         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7257         already.
7258
7259 2005-08-24  Wim Taymans  <wim@fluendo.com>
7260
7261         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7262         (gst_base_transform_transform_caps),
7263         (gst_base_transform_transform_size),
7264         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7265         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7266         (gst_base_transform_handle_buffer):
7267         * gst/base/gstbasetransform.h:
7268         Many fixes and new features added by Thomas. Can now also do
7269         transforms with variable sizes and a custom fixate_caps function.
7270
7271 2005-08-24  Wim Taymans  <wim@fluendo.com>
7272
7273         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7274         Some debugging.
7275
7276         * gst/gstclock.h:
7277         Cast to ClockTime before formatting to time.
7278
7279         * gst/gstutils.h:
7280         Cleanups.
7281
7282 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7283
7284         * check/gst-libs/controller.c: (GST_START_TEST),
7285         (gst_controller_suite):
7286         * docs/gst/tmpl/gstcaps.sgml:
7287         * docs/gst/tmpl/gstghostpad.sgml:
7288         * docs/gst/tmpl/gstquery.sgml:
7289         * docs/gst/tmpl/gstutils.sgml:
7290         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7291         (gst_object_sink_values), (gst_object_get_value_arrays),
7292         (gst_object_get_value_array):
7293           gracefully handle helper method calls to objects that are not beeing
7294           controlled, added test case for that          
7295
7296 2005-08-23  Wim Taymans  <wim@fluendo.com>
7297
7298         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7299         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7300         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7301         (gst_event_parse_qos), (gst_event_new_seek),
7302         (gst_event_parse_seek):
7303         * gst/gstevent.h:
7304         Some more debugging output and doc cleanups.
7305
7306         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7307         Fix possible deadlock.
7308
7309 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7310
7311         * docs/gst/gstreamer-docs.sgml:
7312         * docs/gst/gstreamer-sections.txt:
7313         * docs/gst/gstreamer.types:
7314         * docs/gst/tmpl/.cvsignore:
7315         * gst/gstbin.h:
7316         * gst/gstbus.c:
7317         * gst/gstelement.c:
7318         * gst/gstevent.h:
7319           added 100 symbols from gstreamer-unused.txt to the right sections
7320           fixed more broken comments
7321           added GstBus to docs
7322
7323 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7324
7325         * docs/gst/gstreamer-sections.txt:
7326         * docs/gst/tmpl/.cvsignore:
7327         * docs/gst/tmpl/gstbin.sgml:
7328         * docs/gst/tmpl/gstbuffer.sgml:
7329         * gst/base/gstbasesrc.c:
7330         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7331         * gst/gstbuffer.c:
7332         * gst/gstbuffer.h:
7333         * tools/gst-launch.1.in:
7334           inlined more doc comments, added missing comments and fixed comments
7335           fixed typos
7336
7337 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7338
7339         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7340           some debugging
7341         * gst/gstcaps.h:
7342           whitespace fixes
7343         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7344           more debugging
7345         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7346         * gst/gststructure.h:
7347           add a fixate function for booleans; add a FIXME that these func
7348           names should probably be gst_structure_fixate_*
7349
7350 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7351
7352         * docs/gst/gstreamer-docs.sgml:
7353         * docs/gst/gstreamer-sections.txt:
7354         * gst/Makefile.am:
7355         * gst/gstbin.c: (gst_bin_get_type),
7356         (gst_bin_child_proxy_get_child_by_index),
7357         (gst_bin_child_proxy_get_children_count),
7358         (gst_bin_child_proxy_init):
7359         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7360         (gst_child_proxy_get_child_by_index),
7361         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7362         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7363         (gst_child_proxy_get), (gst_child_proxy_set_property),
7364         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7365         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7366         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7367         * gst/gstchildproxy.h:
7368         * gst/parse/grammar.y:
7369         * tools/gst-inspect.c: (print_interfaces),
7370         (print_element_properties_info), (print_element_info):
7371           ported gstchildproxy over from 0.8
7372           ported gst-inspect fixes and enhancements over from 0.8
7373
7374 2005-08-22  Wim Taymans  <wim@fluendo.com>
7375
7376         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7377         (gst_base_transform_handle_buffer):
7378         Also call the transform function if we have ANY caps.
7379
7380         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7381         Fix debug info.
7382
7383 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7384
7385         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7386           Don't pretend to handle seek events if the source is not seekable
7387
7388 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7389
7390         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7391           Remove extra parameter to debug output
7392
7393         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7394         (gst_base_src_do_seek), (gst_base_src_activate_push):
7395           Fix seek event handling.
7396
7397         * gst/gstpipeline.c: (gst_pipeline_change_state):
7398         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7399         (gst_queue_src_activate_push):
7400           Don't start the src pad task on FLUSH_STOP if the pad
7401           isn't linked.
7402           Debug changes.
7403
7404 2005-08-22  Wim Taymans  <wim@fluendo.com>
7405
7406         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7407         Added check for gst_static_caps_get() refcounting.
7408
7409 2005-08-22  Wim Taymans  <wim@fluendo.com>
7410
7411         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7412         Make _static_caps_get() refcounting sane.
7413         
7414         * gst/gstelement.c: (gst_element_set_state):
7415         Add g_return_val_if_fail() to protect against segfaults.
7416
7417 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7418
7419         * docs/gst/tmpl/gstevent.sgml:
7420         * gst/gstevent.c:
7421         * gst/gstevent.h:
7422           inlined remaining docs, added missing doc comments
7423
7424 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7425
7426         * check/gst/gstbin.c: (GST_START_TEST):
7427           since we don't know when preroll is done, use refcount range
7428           check for the sink
7429         * gst/check/gstcheck.h:
7430           add macro for checking refcount range
7431
7432 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7433
7434         * check/Makefile.am:
7435           clean up environment for when registry gets built versus
7436           when actual tests are run; valgrind seems to not report
7437           leaks if GST_PLUGIN_PATH is set to some specific values
7438         * check/gst/gstbin.c: (GST_START_TEST):
7439           add more refcounting checks; maybe this exposes a
7440           preroll lock bug ?
7441         * common/check.mak:
7442         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7443         * gst/check/gstcheck.h:
7444         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7445         (gst_bin_change_state):
7446         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7447           add/fix debugging/whitespace
7448
7449 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7450
7451         * check/gst/gstevent.c: (event_probe), (test_event),
7452         (GST_START_TEST):
7453          Er, don't call gst_bin_watch_for_state_change you idiot.
7454
7455 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7456
7457         * check/Makefile.am:
7458           Use CHECK_CFLAGS and CHECK_LIBS
7459         * check/gst/gstevent.c: (event_probe), (test_event),
7460         (GST_START_TEST):
7461           Don't leak events.
7462         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7463         (gst_base_src_start), (gst_base_src_stop),
7464         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7465         (gst_base_src_change_state):
7466           Sprinkle gst_base_src_stop liberally around error paths to fix
7467           problems reusing a source after failed state changes.
7468         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7469         (helper_find_suggest), (gst_type_find_helper):
7470           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7471         * gst/gstevent.h:
7472         * docs/gst/tmpl/gstevent.sgml:
7473           Migrate part of the docs from the SGML file. Wait for ensonic to
7474           tell me how I did it wrong ;)
7475         * tools/gst-typefind.c: (main):
7476           Extra robustness to state changes between files.
7477
7478 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7479
7480         * check/Makefile.am:
7481           don't valgrind the controller test - it's leaking - Stefan, HELP
7482         * gst/check/gstcheck.c: (gst_check_message_error),
7483         (gst_check_chain_func), (gst_check_setup_element),
7484         (gst_check_teardown_element), (gst_check_setup_src_pad),
7485         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7486         (gst_check_teardown_sink_pad):
7487         * gst/check/gstcheck.h:
7488           add a bunch of methods to set up elements, and src and sink pads
7489         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7490         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7491         (GST_START_TEST):
7492           use them
7493         * gst/gstmessage.c:
7494         * gst/gsttag.h:
7495           whitespace/doc fixes
7496
7497 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7498
7499         * gst/gstelement.h:
7500           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7501           be handled by the application and not always printed as well
7502
7503 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7504
7505         * check/Makefile.am:
7506           set GST_TOOLS_DIR
7507         * gst/check/gstcheck.c: (gst_check_message_error):
7508         * gst/check/gstcheck.h:
7509           add a fail_unless_equals_int
7510           add fail_unless for error messages
7511
7512 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7513
7514         * check/Makefile.am:
7515         * check/gst.supp:
7516         * common/Makefile.am:
7517         * common/check.mak:
7518         * common/gst.supp:
7519           factor out some of the common stuff so we can use it
7520
7521 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7522
7523         * check/Makefile.am:
7524         * check/gst/gstiterator.c: (GST_START_TEST):
7525         * check/gst/gstsystemclock.c: (GST_START_TEST),
7526         (gst_systemclock_suite):
7527         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7528         * gst/gstclock.c:
7529           valgrind more tests
7530
7531 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7532
7533         * check/elements/.cvsignore:
7534         * check/elements/gstfakesrc.c:
7535           rename to name of element
7536         * check/elements/identity.c: (chain_func), (event_func),
7537         (setup_identity), (cleanup_identity), (GST_START_TEST),
7538         (identity_suite), (main):
7539           add a test for identity
7540         * check/Makefile.am:
7541         * pkgconfig/Makefile.am:
7542         * pkgconfig/gstreamer-check.pc.in:
7543         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7544         * gst/check:
7545         * gst/Makefile.am:
7546         * configure.ac:
7547           move the check stuff to a library that gets installed
7548         * check/gst-libs/controller.c: (GST_START_TEST):
7549         * check/gst-libs/gdp.c:
7550         * check/gst/gst.c: (GST_START_TEST):
7551         * check/gst/gstbin.c:
7552         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7553         * check/gst/gstbus.c:
7554         * check/gst/gstcaps.c: (GST_START_TEST):
7555         * check/gst/gstelement.c:
7556         * check/gst/gstghostpad.c:
7557         * check/gst/gstiterator.c:
7558         * check/gst/gstmessage.c:
7559         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7560         * check/gst/gstobject.c:
7561         * check/gst/gstpad.c: (GST_START_TEST):
7562         * check/gst/gststructure.c: (GST_START_TEST):
7563         * check/gst/gstsystemclock.c: (GST_START_TEST),
7564         (gst_systemclock_suite):
7565         * check/gst/gsttag.c: (gst_tag_suite):
7566         * check/gst/gstvalue.c:
7567         * check/pipelines/cleanup.c:
7568         * check/pipelines/simple_launch_lines.c:
7569         * check/states/sinks.c:
7570           change include statement
7571
7572         * docs/gst/gstreamer-sections.txt:
7573         * docs/gst/tmpl/gstpad.sgml:
7574           document more pad stuff
7575         * gst/gstminiobject.c: (gst_mini_object_ref),
7576         (gst_mini_object_unref):
7577           debug refcounting
7578
7579 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7580
7581         * docs/gst/tmpl/gst.sgml:
7582         * gst/gst.c:
7583           eliminate another tmpl file, fix spelling in the long-description
7584
7585 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7586
7587         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7588         (test_event), (timediff), (gstevents_suite):
7589           Should fix build on 64-bit arch's
7590
7591 2005-08-18  Andy Wingo  <wingo@pobox.com>
7592
7593         Make sure that when a pipeline goes to PLAYING, that data has
7594         actually hit the sink.
7595
7596         * check/states/sinks.c (test_sink): A sink that doesn't get any
7597         data shouldn't return SUCCESS for going to either PLAYING or
7598         PAUSED. Test also the return values on the way back down.
7599
7600         * gst/gstelement.c (gst_element_set_state): When changing the
7601         state of an element currently changing state asynchronously, go to
7602         lost-state after commiting the pending state. Makes future calls
7603         to get_state continue to return ASYNC.
7604
7605         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7606         ASYNC when going to PLAYING if we still don't have preroll, as can
7607         happen with live sources.
7608
7609 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7610
7611         * docs/pwg/advanced-types.xml:
7612           Hack long paragraph into 2 chunks as a workaround for buggy
7613           jadetex version in sid and breezy that loops infinitely and
7614           eats all RAM.
7615
7616 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7617
7618         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7619         (test_event), (timediff), (gstevents_suite):
7620           Provide more error margin in clock measurements to allow for 
7621           g_get_current_time inaccuracies.
7622
7623 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7624
7625         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7626         (test_event), (timediff), (gstevents_suite):
7627            Fix error message output so I might be able to tell why the
7628            test works here but fails on the build farm.
7629
7630 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7631
7632         * check/Makefile.am:
7633         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7634         (test_event), (timediff), (gstevents_suite), (main):
7635           I wrote a test!
7636
7637         * docs/design/part-seeking.txt:
7638           Spelling correction
7639
7640         * docs/gst/tmpl/gstevent.sgml:
7641         * docs/gst/tmpl/gstfakesrc.sgml:
7642           Docs updates.
7643
7644         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7645           Treat a buffer-without-newsegment the same as a receiving 
7646           a newsegment not in time format, and disable syncing to the clock
7647           with a warning.
7648
7649         * gst/gstbus.c: (gst_bus_set_sync_handler):
7650           Assert if anyone tries to replace the existing sync_handler for bus, 
7651           as only the owner should be setting it.
7652
7653         * gst/gstevent.h:
7654           Have a fixed set of custom event enums with events identified by
7655           their structure name (as in 0.8), rather than a free-for-all
7656           allowing collisions between enum values from different plugins.
7657
7658         * gst/gstpad.c: (gst_pad_class_init):
7659           Docs change.
7660           
7661         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7662           Handle out-of-band downstream events from the sending thread.
7663
7664 2005-08-17  Andy Wingo  <wingo@pobox.com>
7665
7666         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7667         play-timeout==0 to mean no timeout at all. In that case, don't
7668         bother with a get_state or a warning, just return directly, even
7669         if it's ASYNC.
7670
7671         * gst/base/gstbasetransform.c: Debug changes.
7672
7673         * gst/gstutils.h:
7674         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7675         ensure bins post state change messages. A bit of a hack but I can't
7676         think of a way to avoid it.
7677
7678         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7679
7680 2005-08-16  Andy Wingo  <wingo@pobox.com>
7681
7682         * gst/base/gstadapter.h:
7683         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7684         peek() but you own the data. Not terribly efficient atm.
7685
7686 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7687
7688         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7689         (gst_element_found_tags):
7690         * gst/gstutils.h:
7691           Add two utility functions for tag handling.
7692
7693 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7694
7695         * docs/manual/advanced-dataaccess.xml:
7696         * docs/manual/basics-helloworld.xml:
7697           Fix docs to use _bin_add() before _link(), which fixes the examples
7698           with recent core versions (reported by Madhan Raj M
7699           <raj_madan@rediffmail.com>, #313199).
7700
7701 2005-08-16  Wim Taymans  <wim@fluendo.com>
7702
7703         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7704         Added subtract checks.
7705
7706         * docs/design/part-events.txt:
7707         Some more docs about newsegment
7708
7709         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7710         Fix FIXME
7711
7712         * gst/gstcaps.c: (gst_caps_to_string):
7713         Add comments, cleanups.
7714         
7715         * gst/gstelement.c: (gst_element_save_thyself):
7716         cleanups
7717         
7718         * gst/gstvalue.c: (gst_value_collect_int_range),
7719         (gst_string_unwrap), (gst_value_union_int_int_range),
7720         (gst_value_union_int_range_int_range),
7721         (gst_value_intersect_int_int_range),
7722         (gst_value_intersect_int_range_int_range),
7723         (gst_value_intersect_double_double_range),
7724         (gst_value_intersect_double_range_double_range),
7725         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7726         (gst_value_subtract_int_range_int),
7727         (gst_value_subtract_double_range_double),
7728         (gst_value_subtract_double_range_double_range),
7729         (gst_value_subtract_from_list), (gst_value_subtract_list),
7730         (gst_value_can_compare), (gst_value_compare_fraction):
7731         Cleanups, add comments, remove unneeded asserts.
7732
7733 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7734
7735         * tools/gst-launch.c: (event_loop):
7736           don't convert NULL structures to strings
7737
7738 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7739
7740         * docs/gst/gstreamer-sections.txt:
7741           made some defines private
7742         * docs/gst/tmpl/gstconfig.sgml:
7743         * docs/gst/tmpl/gstqueue.sgml:
7744         * docs/gst/tmpl/gsttaglist.sgml:
7745         * docs/gst/tmpl/gsttypes.sgml:
7746         * docs/gst/tmpl/gstutils.sgml:
7747         * docs/pwg/appendix-porting.xml:
7748         * gst/base/gstbasesink.h:
7749         * gst/base/gstbasesrc.c:
7750         * gst/base/gstbasesrc.h:
7751         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7752         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7753         * gst/gstelement.c: (gst_element_class_init):
7754         * gst/gstpad.c: (gst_pad_class_init):
7755         * gst/gstqueue.c: (gst_queue_class_init):
7756         * gst/gstxml.c: (gst_xml_class_init):
7757           documented all undocumented signal inline
7758         * libs/gst/controller/gst-controller.h:
7759           added padding
7760
7761 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7762
7763         * docs/pwg/appendix-porting.xml:
7764           Document _set_link_function -> _set_setcaps_function.
7765
7766 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7767
7768         * check/Makefile.am:
7769           add a .check target for running the check
7770         * check/gst-libs/controller.c: (GST_START_TEST):
7771           cosmetic fixups
7772         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7773           complete checks for gstbuffer; would be nice if I could get the
7774           gcov stuff to work so I can see if I actually completed gstbuffer.c
7775         * check/gstcheck.h:
7776           add ASSERT_BUFFER_REFCOUNT
7777
7778 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7779
7780         * docs/gst/gstreamer-sections.txt:
7781         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7782         * gst/gsttag.h:
7783           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7784           spew out a warning if a tag that is already registered
7785           is re-registered, unless it is re-registered with a 
7786           different type (#308438).
7787
7788 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7789
7790         * docs/pwg/appendix-porting.xml:
7791         * docs/pwg/building-state.xml:
7792           Add some paragraphs about state changes in 0.9 to the PWG
7793           and the porting guide, in particular about the new meaning
7794           of GST_STATE_PAUSED and how to write state change functions
7795           with concurrent access by multiple threads in mind.
7796
7797 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7798
7799         * docs/gst/gstreamer-docs.sgml:
7800         * docs/libs/gstreamer-libs-docs.sgml:
7801           added deprecation and since indexes
7802         * libs/gst/controller/gst-controller.c:
7803         * libs/gst/controller/gst-helper.c:
7804           added since tags
7805
7806
7807 2005-08-11  Wim Taymans  <wim@fluendo.com>
7808
7809         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7810         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7811         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7812         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7813         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7814         (gst_ghost_pad_set_target):
7815         Actually implement (re)setting the target on a ghostpad
7816         as described in the docs.
7817
7818 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7819
7820         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7821           Check whether GST_DEBUG_NO_COLOR environment variable is
7822           set and disable coloured debug output if that is the case.
7823
7824 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7825
7826         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7827         (gst_type_find_helper):
7828           The memory returned by gst_type_find_peek() needs to
7829           stay valid until the end of a typefind function, and
7830           typefind functions may keep results from different 
7831           offsets around, so we can't just unref the buffer from
7832           the previous _peek(), but have to save all buffers 
7833           returned by _peek() until typefinding is done and only
7834           free them then.
7835
7836 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7837
7838         * docs/gst/gstreamer-sections.txt:
7839         * gst/gstutils.h:
7840           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7841
7842 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7843
7844         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7845           Fix a pretty good memleak.
7846
7847 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7848
7849         * gst/gstiterator.h:
7850           Fix wrong include and 'make distcheck'.
7851
7852 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7853
7854         * gst/gstbin.c: (bin_bus_handler):
7855           Use gst_element_post_message() instead.
7856
7857 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7858
7859         * gst/base/gstadapter.h:
7860         * gst/base/gstbasesink.h:
7861         * gst/base/gstbasesrc.h:
7862         * gst/base/gstbasetransform.h:
7863         * gst/base/gstcollectpads.h:
7864         * gst/base/gstpushsrc.h:
7865         * gst/gstiterator.h:
7866           Add padding to our base elements' class and instance structs and
7867           to GstIterator (you will need to rebuild all plugins and apps!)
7868
7869 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7870
7871         * gst/gstbin.c: (bin_bus_handler):
7872           Make default message forwarding from child->bus to bin->bus
7873           threadsafe and make it not emit warnings if the parent has no bus.
7874
7875 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7876
7877         * gst/gstelement.c: (activate_pads):
7878           On paused->ready, set pad->caps to NULL, as is the documented
7879           behaviour in this state change. Fixes playback of series of
7880           media files when visualization is enabled in Totem.
7881
7882 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7883
7884         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7885           Allow NULL as filter-caps (which means "any").
7886
7887 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7888
7889         * docs/libs/gstreamer-libs-sections.txt:
7890         * libs/gst/controller/gst-controller.c:
7891         * libs/gst/controller/gst-controller.h:
7892         * libs/gst/controller/gst-helper.c:
7893           adding more entries to the docs and fix small doc-bugs
7894
7895 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7896
7897         * docs/gst/gstreamer-docs.sgml:
7898         * docs/gst/gstreamer-sections.txt:
7899         * docs/gst/gstreamer.types:
7900         * docs/gst/tmpl/gstbasesink.sgml:
7901         * docs/gst/tmpl/gstbasesrc.sgml:
7902         * docs/gst/tmpl/gstbasetransform.sgml:
7903         * docs/gst/tmpl/gstfakesrc.sgml:
7904         * gst/base/gstcollectpads.c:
7905         * gst/base/gstcollectpads.h:
7906         * libs/gst/controller/gst-controller.c:
7907         * libs/gst/controller/gst-controller.h:
7908         * libs/gst/controller/gst-helper.c:
7909         * libs/gst/controller/gst-interpolation.c:
7910         * libs/gst/controller/lib.c:
7911           added long/short desc for controller docs
7912           added collectpads base class docs
7913           added correct includes to base-class docs
7914
7915 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7916
7917         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7918         (gst_test_mono_source_set_property),
7919         (gst_test_mono_source_class_init), (GST_START_TEST),
7920         (gst_controller_suite):
7921         * docs/gst/gstreamer-docs.sgml:
7922         * docs/gst/gstreamer-sections.txt:
7923         * docs/gst/gstreamer.types:
7924         * docs/libs/gstreamer-libs-docs.sgml:
7925         * docs/libs/gstreamer-libs-sections.txt:
7926         * gst/base/gstadapter.c:
7927         * libs/gst/controller/gst-controller.c:
7928         (gst_controlled_property_new), (gst_controlled_property_free),
7929         (gst_controller_new_valist),
7930         (gst_controller_remove_properties_valist),
7931         (gst_controller_sink_values), (_gst_controller_finalize):
7932         * libs/gst/controller/gst-controller.h:
7933         * libs/gst/controller/gst-helper.c:
7934         (gst_object_control_properties), (gst_object_uncontrol_properties),
7935         (gst_object_get_controller), (gst_object_set_controller),
7936         (gst_object_sink_values), (gst_object_get_value_arrays),
7937         (gst_object_get_value_array):
7938           more tests (and fixes) for the controller
7939           more docs for the controller
7940           integrated companies docs for the adapter 
7941
7942 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7943
7944         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7945         (GST_START_TEST), (fakesrc_suite):
7946           add tests for sizetype
7947
7948 2005-08-04  Andy Wingo  <wingo@pobox.com>
7949
7950         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7951         fixes buffer_alloc proxying among other things.
7952
7953         * gst/base/gstbasetransform.c:
7954         * gst/base/gstbasetransform.h:
7955         Revert patch to gstbasetransform from 7-28 removing
7956         delay_configure.
7957
7958         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7959         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7960         Semantics changed, should return not the size of the output buffer
7961         but the byte size of a buffer with a given caps.
7962
7963         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7964         debug object.
7965         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7966         out) are not the pad caps until setcaps finishes.
7967         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7968         not-in-place case as well. Deal with changing from in-place to
7969         not-in-place within calling pad_alloc_buffer. Still a bit
7970         concerned about the overhead here...
7971
7972 2005-08-03  Andy Wingo  <wingo@pobox.com>
7973
7974         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7975         fixating is an error.
7976
7977 2005-08-04  Edward Hervey  <edward@fluendo.com>
7978
7979         * gst/base/gstadapter.h: 
7980         Added gst_adapter_get_type() to the header
7981
7982 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7983
7984         * check/Makefile.am:
7985         * check/gst-libs/controller.c:
7986         * libs/gst/controller/gst-controller.c:
7987         (gst_controller_new_valist):
7988           added check test suite for the controller
7989         * gst/base/gstpushsrc.c:
7990           fixed a doc typo
7991
7992 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7993
7994         * docs/gst/Makefile.am:
7995         * docs/gst/gstreamer-docs.sgml:
7996         * docs/gst/gstreamer-sections.txt:
7997         * docs/gst/gstreamer.types:
7998         * docs/gst/tmpl/gstfakesrc.sgml:
7999         * gst/base/README:
8000         * gst/base/gstbasesink.c:
8001         * gst/base/gstbasesink.h:
8002         * gst/base/gstbasesrc.c:
8003         * gst/base/gstbasesrc.h:
8004         * gst/base/gstbasetransform.c:
8005         * gst/base/gstpushsrc.c:
8006         * gst/base/gstpushsrc.h:
8007           add short/long description docs to base classes
8008           add pushsrc to the docs
8009           remove consolidated doc fragments
8010
8011 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8012
8013         * configure.ac:
8014         * docs/libs/Makefile.am:
8015         * docs/libs/gstreamer-libs-docs.sgml:
8016         * docs/libs/gstreamer-libs-sections.txt:
8017         * docs/libs/gstreamer-libs.types:
8018         * examples/Makefile.am:
8019         * examples/controller/.cvsignore:
8020         * examples/controller/Makefile.am:
8021         * examples/controller/audio-example.c: (main):
8022         * libs/gst/Makefile.am:
8023         * libs/gst/controller/.cvsignore:
8024         * libs/gst/controller/Makefile.am:
8025         * libs/gst/controller/gst-controller.c:
8026         (on_object_controlled_property_changed), (gst_timed_value_compare),
8027         (gst_timed_value_find),
8028         (gst_controlled_property_set_interpolation_mode),
8029         (gst_controlled_property_new), (gst_controlled_property_free),
8030         (gst_controller_find_controlled_property),
8031         (gst_controller_new_valist), (gst_controller_new),
8032         (gst_controller_remove_properties_valist),
8033         (gst_controller_remove_properties), (gst_controller_set),
8034         (gst_controller_set_from_list), (gst_controller_unset),
8035         (gst_controller_get), (gst_controller_get_all),
8036         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8037         (gst_controller_get_value_array),
8038         (gst_controller_set_interpolation_mode),
8039         (_gst_controller_finalize), (_gst_controller_init),
8040         (_gst_controller_class_init), (gst_controller_get_type):
8041         * libs/gst/controller/gst-controller.h:
8042         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8043         (g_object_uncontrol_properties), (g_object_get_controller),
8044         (g_object_set_controller), (g_object_sink_values),
8045         (g_object_get_value_arrays), (g_object_get_value_array):
8046         * libs/gst/controller/gst-interpolation.c:
8047         (gst_controlled_property_find_timed_value_node),
8048         (interpolate_none_get), (interpolate_trigger_get),
8049         (interpolate_trigger_get_value_array):
8050         * libs/gst/controller/lib.c: (gst_controller_init):
8051         * pkgconfig/Makefile.am:
8052         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8053         * pkgconfig/gstreamer-control.pc.in:
8054         * testsuite/Makefile.am:
8055         * testsuite/controller/.cvsignore:
8056         * testsuite/controller/Makefile.am:
8057         * testsuite/controller/interpolator.c: (main):
8058           added controller code
8059           removed dparam pc files
8060
8061 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8062         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8063         (gst_collectpads_stop):
8064           Broadcast the condition when shutting down, to make sure we wake all
8065           threads up. Shut down pads on finalize, for safety.
8066
8067 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8068         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8069         (gst_base_transform_handle_buffer),
8070         (gst_base_transform_change_state):
8071           Handle PAUSED->READY->PAUSED transition after negotiation
8072           occurred already.
8073         * gst/gstmessage.c: (gst_message_init):
8074           Extra piece of debug for new messages.
8075
8076 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8077
8078         * configure.ac:
8079         * docs/gst/tmpl/gstbasesrc.sgml:
8080         * docs/gst/tmpl/gstelement.sgml:
8081         * docs/gst/tmpl/gstevent.sgml:
8082         * docs/gst/tmpl/gstfakesrc.sgml:
8083         * docs/gst/tmpl/gstformat.sgml:
8084         * docs/gst/tmpl/gstghostpad.sgml:
8085         * docs/gst/tmpl/gstpad.sgml:
8086         * docs/gst/tmpl/gstquery.sgml:
8087         * docs/gst/tmpl/gststructure.sgml:
8088         * docs/gst/tmpl/gsttaglist.sgml:
8089         * docs/gst/tmpl/gstvalue.sgml:
8090         * docs/libs/gstreamer-libs-docs.sgml:
8091         * docs/libs/gstreamer-libs-sections.txt:
8092         * docs/libs/gstreamer-libs.types:
8093         * libs/gst/Makefile.am:
8094         * libs/gst/control/.cvsignore:
8095         * libs/gst/control/Makefile.am:
8096         * libs/gst/control/control.c:
8097         * libs/gst/control/control.h:
8098         * libs/gst/control/dparam.c:
8099         * libs/gst/control/dparam.h:
8100         * libs/gst/control/dparam_smooth.c:
8101         * libs/gst/control/dparam_smooth.h:
8102         * libs/gst/control/dparamcommon.h:
8103         * libs/gst/control/dparammanager.c:
8104         * libs/gst/control/dparammanager.h:
8105         * libs/gst/control/dplinearinterp.c:
8106         * libs/gst/control/dplinearinterp.h:
8107         * libs/gst/control/unitconvert.c:
8108         * libs/gst/control/unitconvert.h:
8109         * testsuite/Makefile.am:
8110         * testsuite/dynparams/.cvsignore:
8111         * testsuite/dynparams/Makefile.am:
8112         * testsuite/dynparams/dparamstest.c:
8113         * tools/Makefile.am:
8114         * tools/gst-inspect.c: (print_element_info), (main):
8115         * tools/gst-xmlinspect.c: (print_element_info), (main):
8116           deactivate and remove dparams (libgstcontrol)
8117
8118 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8119
8120         * gst/elements/gsttypefindelement.c:
8121         (gst_type_find_element_have_type), (gst_type_find_element_init),
8122         (stop_typefinding), (gst_type_find_element_handle_event),
8123         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8124         * gst/elements/gsttypefindelement.h:
8125           Set caps on all outgoing buffers, not just the first one.
8126
8127 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8128
8129         * gst/elements/gsttypefindelement.c:
8130         (gst_type_find_element_have_type),
8131         (gst_type_find_element_check_set_buffer_caps),
8132         (gst_type_find_element_init), (stop_typefinding),
8133         (gst_type_find_element_handle_event),
8134         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8135         * gst/elements/gsttypefindelement.h:
8136           Set caps on first outgoing buffer when we've found the type.
8137
8138 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8139
8140         * docs/gst/gstreamer-docs.sgml:
8141         * docs/gst/gstreamer-sections.txt:
8142         * docs/gst/tmpl/gstscheduler.sgml:
8143         * docs/gst/tmpl/gstschedulerfactory.sgml:
8144           Remove some old cruft from docs.
8145
8146 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8147
8148         * gst/gstpad.h:
8149           Fix inline docs for GstPadLinkReturn.
8150           
8151         * gst/gststructure.c: (gst_structure_has_name):
8152         * gst/gststructure.h:
8153         * docs/gst/gstreamer-sections.txt:
8154           New API: gst_structure_has_name().
8155
8156 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8157
8158         * configure.ac:
8159           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8160           and _LARGEFILE_SOURCE in config.h as required. Do not 
8161           export those flags in our .pc files any longer (#142209).
8162
8163           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8164
8165         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8166         (gst_file_sink_do_seek), (gst_file_sink_event),
8167         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8168           Redo seek/tell calls with large file support in mind; add some
8169           debugging messages; add log message that tells us when large
8170           file support is unavailable or not enabled for some reason.
8171
8172         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8173           Add log message that tells us when large file support 
8174           is unavailable or not enabled for some reason.
8175
8176 2005-07-29  Wim Taymans  <wim@fluendo.com>
8177
8178         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8179         Added test for removing an element with ghostpad from a bin.
8180         Fixed test as current implementation does the right thing.
8181
8182         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8183         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8184         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8185         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8186         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8187         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8188         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8189         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8190         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8191         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8192         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8193         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8194         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8195         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8196         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8197         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8198         * gst/gstghostpad.h:
8199         Clean up ghostpads, remove properties for internal stuff.
8200         Make threadsafe.
8201         Fix refcounting.
8202         Prepare for switching targets, not all use cases work yet.
8203
8204 2005-07-29  Wim Taymans  <wim@fluendo.com>
8205
8206         * docs/design/part-gstghostpad.txt:
8207         Small update.
8208
8209         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8210         (gst_bin_remove_func):
8211         Unlinking pads while holding the bin LOCK is not a good
8212         idea.
8213
8214         * gst/gstpad.c: (gst_pad_class_init),
8215         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8216         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8217         No prob setting template after creating the pad.
8218
8219 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8220
8221         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8222         (gst_bus_peek), (gst_bus_source_dispatch),
8223         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8224         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8225           gst_bus_poll may be called from other threads. Handle
8226           this nicely by not making poll_data disappear off the
8227           stack once gst_bus_poll returns.
8228           gst_bus_peek now increments the refcount on the returned
8229           message.
8230
8231 2005-07-29  Wim Taymans  <wim@fluendo.com>
8232
8233         * docs/design/part-gstghostpad.txt:
8234         Overview of current GhostPad datastructures and use
8235         cases for changing the target.
8236
8237 2005-07-28  Wim Taymans  <wim@fluendo.com>
8238
8239         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8240         Added checks for hierarchy consistency whan adding linked
8241         elements to bins.
8242
8243         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8244         Added check to test element scheduling without bin/pipeline.
8245
8246         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8247         First add elements to bin, then link.
8248         
8249         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8250         (gst_bin_remove_func):
8251         Unlink pads from elements added/removed from bin to maintain
8252         hierarchy consistency.
8253
8254 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8255
8256         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8257         (gst_base_transform_handle_buffer):
8258         * gst/base/gstbasetransform.h:
8259           Remove broken delay_configure (fixes renegotiation of software
8260           scaling pipelines); remove some leftover printf()s.
8261
8262 2005-07-28  Wim Taymans  <wim@fluendo.com>
8263
8264         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8265         Added some more tests for wrong hierarchy
8266
8267         * docs/design/part-overview.txt:
8268         Some updates.
8269
8270         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8271         Cleanups.
8272
8273         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8274         (gst_element_dispose):
8275         Some more cleanups.
8276
8277         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8278         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8279         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8280         (gst_pad_set_caps), (gst_pad_send_event):
8281         Check for correct hierarchy when linking pads. Moving to
8282         strict requirement for ghostpads when linking elements in
8283         different bins.
8284
8285         * gst/gstpad.h:
8286         Clean ups. Added WRONG_HIERARCHY return value.
8287
8288 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8289
8290         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8291           Better debug if no transform is possible.
8292
8293 2005-07-27  Wim Taymans  <wim@fluendo.com>
8294
8295         * docs/random/wtay/network-transp:
8296         Some old doc I had.
8297
8298 2005-07-27  Wim Taymans  <wim@fluendo.com>
8299
8300         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8301         (gst_dp_event_from_packet):
8302         Fix serialization of seek events.
8303
8304 2005-07-27  Wim Taymans  <wim@fluendo.com>
8305
8306         * check/gst-libs/gdp.c: (GST_START_TEST):
8307         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8308         Fix compilation and fix event serialization.
8309
8310 2005-07-27  Wim Taymans  <wim@fluendo.com>
8311
8312         * CHANGES-0.9:
8313         * docs/design/part-TODO.txt:
8314         * docs/design/part-events.txt:
8315         Some docs updates
8316
8317         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8318         (gst_base_sink_event), (gst_base_sink_do_sync),
8319         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8320         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8321         (gst_base_src_do_seek), (gst_base_src_event_handler),
8322         (gst_base_src_loop):
8323         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8324         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8325         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8326         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8327         (gst_base_transform_set_passthrough),
8328         (gst_base_transform_is_passthrough):
8329         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8330         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8331         Event updates.
8332
8333         * gst/gstbuffer.h:
8334         Use faster casts.
8335
8336         * gst/gstelement.c: (gst_element_seek):
8337         * gst/gstelement.h:
8338         Update gst_element_seek.
8339
8340         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8341         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8342         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8343         (gst_event_new_eos), (gst_event_new_newsegment),
8344         (gst_event_parse_newsegment), (gst_event_new_tag),
8345         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8346         (gst_event_parse_qos), (gst_event_new_seek),
8347         (gst_event_parse_seek), (gst_event_new_navigation):
8348         * gst/gstevent.h:
8349         Make GstEvent use GstStructure. Add parsing code, make sure the
8350         API is sufficiently generic.
8351         Mark possible directions of events and serialization.
8352
8353         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8354         (_gst_message_copy), (gst_message_new_segment_start),
8355         (gst_message_new_segment_done), (gst_message_new_custom),
8356         (gst_message_parse_segment_start),
8357         (gst_message_parse_segment_done):
8358         Small cleanups.
8359
8360         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8361         (gst_pad_set_caps), (gst_pad_send_event):
8362         Update for new events. 
8363         Catch events sent in wrong directions.
8364
8365         * gst/gstqueue.c: (gst_queue_link_src),
8366         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8367         (gst_queue_handle_src_query):
8368         Event updates.
8369
8370         * gst/gsttag.c:
8371         * gst/gsttag.h:
8372         Remove event code from this file.
8373
8374         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8375         (gst_dp_event_from_packet):
8376         Event updates.
8377
8378 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8379
8380         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8381         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8382         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8383           Make debugging actually useful.
8384
8385 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8386
8387         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8388         (gst_pad_fixate_caps):
8389           Implement default fixation once again, so that gst_pad_fixate()
8390           actually does anything at all. This probably needs to be some
8391           sort of a last resort, and use profile-based fixation first, but
8392           since that doesn't exist yet, this is the best we have. Fixes
8393           visualization in Totem.
8394
8395 2005-07-22  Wim Taymans  <wim@fluendo.com>
8396
8397         * docs/design/part-events.txt:
8398         Small update.
8399
8400         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8401         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8402         (gst_base_sink_activate_pull):
8403         Some more comments.
8404
8405         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8406         (gst_fake_src_create):
8407         Fix handoff marshall.
8408
8409         * gst/elements/gstidentity.c: (gst_identity_class_init),
8410         (gst_identity_transform_ip):
8411         We're a real inplace element.
8412
8413         * gst/gstbus.c: (gst_bus_post):
8414         Added some comments.
8415
8416         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8417         * tests/muxing/case1.c: (main):
8418         * tests/sched/dynamic-pipeline.c: (main):
8419         * tests/sched/interrupt1.c: (main):
8420         * tests/sched/interrupt2.c: (main):
8421         * tests/sched/interrupt3.c: (main):
8422         * tests/sched/runxml.c: (main):
8423         * tests/sched/sched-stress.c: (main):
8424         * tests/seeking/seeking1.c: (event_received), (main):
8425         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8426         (main):
8427         * tests/threadstate/threadstate3.c: (main):
8428         * tests/threadstate/threadstate4.c: (main):
8429         * tests/threadstate/threadstate5.c: (main):
8430         Fix the tests.
8431
8432 2005-07-21  Wim Taymans  <wim@fluendo.com>
8433
8434         * docs/design/part-seeking.txt:
8435         Some small additions.
8436
8437         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8438         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8439         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8440         * gst/base/gstbasesink.h:
8441         discont values are gint64, handle the math correctly.
8442
8443         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8444         Make the basesrc report error if the source pad is not linked.
8445
8446         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8447         (gst_queue_loop), (gst_queue_handle_src_query),
8448         (gst_queue_src_activate_push):
8449         Make queue collect data even if the srcpad is not linked.
8450         Start pushing out data as soon as it is linked.
8451
8452         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8453         * gst/gstutils.h:
8454         Added gst_flow_get_name() to ease error reporting.
8455
8456 2005-07-20  Wim Taymans  <wim@fluendo.com>
8457
8458         * gst/gstmessage.c: (gst_message_new_segment_start),
8459         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8460         (gst_message_parse_segment_done):
8461         * gst/gstmessage.h:
8462         Added a bunch of messages for advanced seeking.
8463
8464         * gst/parse/grammar.y:
8465         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8466         (gst_dpman_state_changed):
8467         Fix some new-pad -> pad-added signals
8468
8469 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8470
8471         * docs/manual/appendix-porting.xml:
8472         * docs/pwg/appendix-porting.xml:
8473           Document new-pad/state-change signal renames and the FixedList
8474           type rename.
8475
8476 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8477
8478         * docs/manual/advanced-autoplugging.xml:
8479         * docs/manual/basics-helloworld.xml:
8480         * docs/manual/basics-pads.xml:
8481         * docs/random/ds/0.9-suggested-changes:
8482         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8483         * gst/gstelement.h:
8484         * gst/gstevent.h:
8485         * gst/gstformat.h:
8486         * gst/gstquery.h:
8487         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8488         (gst_structure_parse_array), (gst_structure_parse_value):
8489         * gst/gstvalue.c: (gst_type_is_fixed),
8490         (gst_value_list_prepend_value), (gst_value_list_append_value),
8491         (gst_value_list_get_size), (gst_value_list_get_value),
8492         (gst_value_transform_array_string), (gst_value_serialize_array),
8493         (gst_value_deserialize_array), (gst_value_intersect_array),
8494         (gst_value_is_fixed), (_gst_value_initialize):
8495         * gst/gstvalue.h:
8496           GstElement::new-pad -> pad-added, GstElement::state-change ->
8497           state-changed, GstValueFixedList -> GstValueArray, add format and
8498           flags as their own arguments in gst_element_seek() (should improve
8499           "bindeability"), remove function generators since they don't work
8500           under a whole bunch of compilers (they were deprecated already
8501           anyway).
8502
8503 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8504
8505         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8506         (_gst_debug_register_funcptr):
8507         * gst/gstinfo.h:
8508           Fix illegal cast on some platforms (#309253).
8509
8510 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8511
8512         * gst/gstmessage.c: (gst_message_new_custom):
8513         * gst/gstmessage.h:
8514           Add _new_custom, make _new_application a macro to _new_custom.
8515
8516 2005-07-20  Wim Taymans  <wim@fluendo.com>
8517
8518         * gst/base/gstbasesrc.c: (gst_base_src_init),
8519         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8520         * gst/base/gstbasesrc.h:
8521         Add a gboolean to decide when to push out a discont.
8522
8523         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8524         (gst_queue_loop), (gst_queue_handle_src_query),
8525         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8526         (gst_queue_set_property), (gst_queue_get_property):
8527         Some cleanups.
8528
8529         * tests/threadstate/threadstate1.c: (main):
8530         Make a thread test compile and run... very silly..
8531
8532
8533 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8534
8535         * docs/manual/appendix-porting.xml:
8536           Mention removal of libgstgconf-0.9.la and existence of gconf
8537           elements.
8538
8539 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8540
8541         * docs/pwg/advanced-clock.xml:
8542         * docs/pwg/appendix-porting.xml:
8543         * docs/pwg/intro-preface.xml:
8544         * docs/pwg/other-base.xml:
8545         * docs/pwg/other-manager.xml:
8546         * docs/pwg/other-nton.xml:
8547         * docs/pwg/other-ntoone.xml:
8548         * docs/pwg/other-oneton.xml:
8549         * docs/pwg/pwg.xml:
8550           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8551           demuxer), remove n-to-n (was never written), fix some code examples
8552           and links and update the porting section to include all this.
8553
8554 2005-07-19  Wim Taymans  <wim@fluendo.com>
8555
8556         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8557         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8558         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8559         (gst_queue_src_activate_push), (gst_queue_change_state),
8560         (gst_queue_get_property):
8561         * gst/gstqueue.h:
8562         Propagate GstFlowReturn more intelligently upstream and output
8563         an ERROR/EOS when streaming stopped due to fatal error.
8564
8565 2005-07-19  Wim Taymans  <wim@fluendo.com>
8566
8567         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8568         Don't block forever for the state change to complete, the
8569         pipeline already did with a sensible timeout.
8570
8571 2005-07-19  Wim Taymans  <wim@fluendo.com>
8572
8573         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8574         Make sure we never call the create function is we
8575         got deactivated.
8576
8577 2005-07-19  Andy Wingo  <wingo@pobox.com>
8578
8579         * gst/parse/parse.l: Attempt to solve bug #172815.
8580
8581 2005-07-19  Wim Taymans  <wim@fluendo.com>
8582
8583         * docs/design/part-clocks.txt:
8584         * docs/design/part-events.txt:
8585         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8586         Small docs updates.
8587         Only update the seeking values when we are not
8588         busy streaming.
8589
8590 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8591
8592         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8593           Oops, ignore the result of gst_pad_push_event here.
8594
8595 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8596
8597         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8598         (gst_base_src_activate_push):
8599           Send discont event from the loop function, as pads
8600           aren't activated yet in the activate_push handler.
8601
8602         * gst/gstbin.c: (bin_bus_handler):
8603           Don't leak element name.
8604
8605 2005-07-18  Andy Wingo  <wingo@pobox.com>
8606
8607         * configure.ac: Use AS_LIBTOOL_TAGS.
8608
8609 2005-07-18  Wim Taymans  <wim@fluendo.com>
8610
8611         * docs/gst/gstreamer.types:
8612         Remove deleted types.
8613
8614 2005-07-18  Wim Taymans  <wim@fluendo.com>
8615
8616         * check/elements/gstfakesrc.c: (GST_START_TEST):
8617         * configure.ac:
8618         * gst/Makefile.am:
8619         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8620         (init_popt_callback):
8621         * gst/gst.h:
8622         * gst/gst_private.h:
8623         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8624         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8625         * gst/gstbin.h:
8626         * gst/gstbus.h:
8627         * gst/gstconfig.h.in:
8628         * gst/gstelement.c: (gst_element_class_init),
8629         (gst_element_set_base_time), (gst_element_get_base_time),
8630         (iterator_fold_with_resync), (gst_element_change_state),
8631         (gst_element_dispose), (gst_element_get_bus):
8632         * gst/gstelement.h:
8633         * gst/gstelementfactory.h:
8634         * gst/gsterror.c: (_gst_core_errors_init):
8635         * gst/gsterror.h:
8636         * gst/gstevent.h:
8637         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8638         * gst/gstindex.c:
8639         * gst/gstinfo.c: (_gst_debug_init):
8640         * gst/gstmessage.c: (_gst_message_copy):
8641         * gst/gstmessage.h:
8642         * gst/gstminiobject.h:
8643         * gst/gstobject.c:
8644         * gst/gstobject.h:
8645         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8646         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8647         * gst/gstpad.h:
8648         * gst/gstparse.h:
8649         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8650         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8651         (gst_pipeline_get_last_stream_time):
8652         * gst/gstpipeline.h:
8653         * gst/gstpluginfeature.h:
8654         * gst/gstquery.h:
8655         * gst/gstscheduler.c:
8656         * gst/gstscheduler.h:
8657         * gst/gststructure.h:
8658         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8659         (gst_task_finalize), (gst_task_func), (gst_task_create),
8660         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8661         (gst_task_stop), (gst_task_pause):
8662         * gst/gsttask.h:
8663         * gst/gsttypefind.h:
8664         * gst/gsttypes.h:
8665         * gst/registries/gstlibxmlregistry.c: (load_feature),
8666         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8667         * gst/registries/gstxmlregistry.c:
8668         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8669         * gst/schedulers/threadscheduler.c:
8670         * libs/gst/control/dparammanager.h:
8671         * tools/gst-inspect.c: (print_element_list),
8672         (print_plugin_features), (print_element_features):
8673         * tools/gst-xmlinspect.c: (print_element_list),
8674         (print_plugin_info), (main):
8675         Removed plugable schedulers.
8676         Removed Scheduler/Manager from elements.
8677         Removed gsttypes.h, rearranged includes.
8678         Removed dependency pad<->element, element<>pipeline, and
8679         various others,  fix includes.
8680         implement gst_pad_get_parent() with gst_object_get_parent()
8681         Make GstTask sefcontained.
8682         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8683         timeout.
8684         Fix endless loop in iterator_fold_with_resync.
8685
8686
8687 2005-07-18  Wim Taymans  <wim@fluendo.com>
8688
8689         * gst/Makefile.am:
8690         * gst/gstarch.h:
8691         Remove old file.
8692
8693 2005-07-18  Wim Taymans  <wim@fluendo.com>
8694
8695         * gst/Makefile.am:
8696         No more cothreads.h
8697
8698 2005-07-18  Wim Taymans  <wim@fluendo.com>
8699
8700         * gst/cothreads.c:
8701         * gst/cothreads.h:
8702         Let's remove these.
8703
8704 2005-07-18  Wim Taymans  <wim@fluendo.com>
8705
8706         * docs/design/part-dynamic.txt:
8707         * docs/design/part-events.txt:
8708         * docs/design/part-seeking.txt:
8709         Some more docs in the works.
8710
8711         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8712         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8713         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8714         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8715         (gst_base_transform_handle_buffer),
8716         (gst_base_transform_sink_activate_push),
8717         (gst_base_transform_src_activate_pull),
8718         (gst_base_transform_set_passthrough),
8719         (gst_base_transform_is_passthrough):
8720         Refcounting fixes.
8721
8722         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8723         Cleanups.
8724
8725         * gst/gstevent.c: (gst_event_finalize):
8726         Set SRC to NULL.
8727
8728         * gst/gstutils.c: (gst_element_unlink),
8729         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8730         (gst_pad_proxy_setcaps):
8731         * gst/gstutils.h:
8732         Add _get_parent_element() to get a pads parent as an element.
8733
8734 2005-07-18  Wim Taymans  <wim@fluendo.com>
8735
8736         * check/gst/gstbin.c: (GST_START_TEST):
8737         Remove bogus test.
8738
8739 2005-07-18  Wim Taymans  <wim@fluendo.com>
8740
8741         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8742         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8743         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8744         (gst_base_sink_event), (gst_base_sink_do_sync),
8745         (gst_base_sink_chain), (gst_base_sink_loop),
8746         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8747         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8748         Refcounting fixes.
8749         Fix logic for returning ASYNC when not prerolled.
8750
8751 2005-07-18  Wim Taymans  <wim@fluendo.com>
8752
8753         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8754         Fix nasty refcount bug.
8755
8756 2005-07-16 Philippe Khalaf <burger@speedy.org>
8757
8758         * gst/elements/gstfdsrc.c:
8759         * gst/elements/gstfdsrc.h:
8760         * gst/elements/gstelements.c:
8761         * gst/elements/Makefile.am:
8762         Ported fdsrc to 0.9.
8763
8764 2005-07-16  Wim Taymans  <wim@fluendo.com>
8765
8766         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8767         (gst_base_sink_do_sync):
8768         Fix compile error.
8769
8770 2005-07-16  Wim Taymans  <wim@fluendo.com>
8771
8772         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8773         (gst_base_sink_event), (gst_base_sink_get_times),
8774         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8775         * gst/base/gstbasesink.h:
8776         Store and use discont values when syncing buffers as described
8777         in design docs.
8778         
8779         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8780         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8781         (gst_base_src_activate_push):
8782         Push discont event when starting.
8783
8784         * gst/elements/gstidentity.c: (gst_identity_transform):
8785         Small cleanups.
8786
8787         * gst/gstbin.c: (gst_bin_change_state):
8788         Small cleanups in base_time  distribution.
8789
8790         * gst/gstelement.c: (gst_element_set_base_time),
8791         (gst_element_get_base_time), (gst_element_change_state):
8792         * gst/gstelement.h:
8793         Added methods for the base_time of the element.
8794         Some MT fixes.
8795
8796         * gst/gstpipeline.c: (gst_pipeline_send_event),
8797         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8798         (gst_pipeline_get_last_stream_time):
8799         * gst/gstpipeline.h:
8800         MT fixes.
8801         Handle seeking as described in design doc, remove stream_time
8802         hack.
8803         Cleanups clock and stream_time selection code. Added accessors
8804         for the stream_time.
8805         
8806
8807 2005-07-16  Andy Wingo  <wingo@pobox.com>
8808
8809         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8810         (#305291).
8811
8812 2005-07-16  Wim Taymans  <wim@fluendo.com>
8813
8814         * check/gst/gstbin.c: (GST_START_TEST):
8815         Make elements silent as the deep_notify refs the
8816         parent, which might make the test fail.
8817
8818         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8819         Don't hold the lock for too long.
8820
8821 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8822
8823         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8824           Don't unref the caps we passed to gst_caps_make_writable() after
8825           passing them. gst_caps_make_writable() will do that for us.
8826
8827 2005-07-15  Andy Wingo  <wingo@pobox.com>
8828
8829         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8830         (#157311).
8831
8832         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8833         own marshalling function for the handoff signal. Properly type the
8834         buffer as a buffer. Fixes some warnings. Should do a more general
8835         solution.
8836         (gst_identity_class_init): Plug into the right marshaller.
8837
8838 2005-07-15  Wim Taymans  <wim@fluendo.com>
8839
8840         * docs/design/part-TODO.txt:
8841         * docs/design/part-clocks.txt:
8842         * docs/design/part-element-sink.txt:
8843         * docs/design/part-events.txt:
8844         * docs/design/part-gstpipeline.txt:
8845         Updated docs, mostly DISCONT related.
8846
8847 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8848
8849         * docs/pwg/building-pads.xml:
8850           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8851
8852 2005-07-15  Andy Wingo  <wingo@pobox.com>
8853
8854         * tools/gst-typefind.c: Update, add copyright block.
8855
8856         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8857         Normalize and truncate caps before fixation.
8858
8859         * gst/gstcaps.h:
8860         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8861         discards all but the first structure from its argument.
8862
8863 2005-07-15  Wim Taymans  <wim@fluendo.com>
8864
8865         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8866         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8867         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8868         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8869         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8870         (gst_base_transform_chain), (gst_base_transform_change_state),
8871         (gst_base_transform_set_passthrough),
8872         (gst_base_transform_is_passthrough):
8873         * gst/base/gstbasetransform.h:
8874         Make passthrough work using the bufferpools.
8875         Changed API a bit, subclasses have to write into a buffer
8876         provided by the base class.
8877         More debug info in nego functions.
8878         
8879         * gst/elements/gstidentity.c: (gst_identity_init),
8880         (gst_identity_transform):
8881         Port to new base class.
8882
8883 2005-07-15  Wim Taymans  <wim@fluendo.com>
8884
8885         * gst/gstmessage.c: (gst_message_new_state_changed):
8886         * tools/gst-launch.c: (event_loop), (main):
8887         Totally dump messages in -launch with the -m option.
8888         Fix message name for State messages,
8889
8890 2005-07-14  Wim Taymans  <wim@fluendo.com>
8891
8892         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8893         Post error messages on errors.
8894
8895 2005-07-14  Wim Taymans  <wim@fluendo.com>
8896
8897         * gst/gstcaps.c: (gst_caps_do_simplify):
8898         Remove debug info.
8899
8900         * gst/gsterror.h:
8901         Define error for stream stopped.
8902
8903         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8904         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8905         Do proper return values.
8906
8907         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8908         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8909         (gst_pad_get_range):
8910         Better return values.
8911
8912         * gst/gstpad.h:
8913         Reorganise return values, add macro to check for fatal errors.
8914
8915         * gst/gstqueue.c: (gst_queue_chain):
8916         Return proper GstFlowReturn values,
8917
8918 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8919
8920         * docs/gst/gstreamer-sections.txt:
8921         * docs/gst/gstreamer.types:
8922         * docs/gst/tmpl/gst.sgml:
8923         * docs/gst/tmpl/gstbasesink.sgml:
8924         * docs/gst/tmpl/gstbasesrc.sgml:
8925         * docs/gst/tmpl/gstbasetransform.sgml:
8926         * docs/gst/tmpl/gstbin.sgml:
8927         * docs/gst/tmpl/gstbuffer.sgml:
8928         * docs/gst/tmpl/gstcaps.sgml:
8929         * docs/gst/tmpl/gstclock.sgml:
8930         * docs/gst/tmpl/gstcompat.sgml:
8931         * docs/gst/tmpl/gstconfig.sgml:
8932         * docs/gst/tmpl/gstelement.sgml:
8933         * docs/gst/tmpl/gstelementdetails.sgml:
8934         * docs/gst/tmpl/gstelementfactory.sgml:
8935         * docs/gst/tmpl/gstenumtypes.sgml:
8936         * docs/gst/tmpl/gsterror.sgml:
8937         * docs/gst/tmpl/gstevent.sgml:
8938         * docs/gst/tmpl/gstfakesink.sgml:
8939         * docs/gst/tmpl/gstfakesrc.sgml:
8940         * docs/gst/tmpl/gstfilesink.sgml:
8941         * docs/gst/tmpl/gstfilesrc.sgml:
8942         * docs/gst/tmpl/gstfilter.sgml:
8943         * docs/gst/tmpl/gstformat.sgml:
8944         * docs/gst/tmpl/gstghostpad.sgml:
8945         * docs/gst/tmpl/gstimplementsinterface.sgml:
8946         * docs/gst/tmpl/gstindex.sgml:
8947         * docs/gst/tmpl/gstindexfactory.sgml:
8948         * docs/gst/tmpl/gstinfo.sgml:
8949         * docs/gst/tmpl/gstiterator.sgml:
8950         * docs/gst/tmpl/gstmacros.sgml:
8951         * docs/gst/tmpl/gstmemchunk.sgml:
8952         * docs/gst/tmpl/gstminiobject.sgml:
8953         * docs/gst/tmpl/gstobject.sgml:
8954         * docs/gst/tmpl/gstpad.sgml:
8955         * docs/gst/tmpl/gstpadtemplate.sgml:
8956         * docs/gst/tmpl/gstparse.sgml:
8957         * docs/gst/tmpl/gstpipeline.sgml:
8958         * docs/gst/tmpl/gstplugin.sgml:
8959         * docs/gst/tmpl/gstpluginfeature.sgml:
8960         * docs/gst/tmpl/gstquery.sgml:
8961         * docs/gst/tmpl/gstqueue.sgml:
8962         * docs/gst/tmpl/gstregistry.sgml:
8963         * docs/gst/tmpl/gstregistrypool.sgml:
8964         * docs/gst/tmpl/gstscheduler.sgml:
8965         * docs/gst/tmpl/gstschedulerfactory.sgml:
8966         * docs/gst/tmpl/gststructure.sgml:
8967         * docs/gst/tmpl/gstsystemclock.sgml:
8968         * docs/gst/tmpl/gsttaglist.sgml:
8969         * docs/gst/tmpl/gsttagsetter.sgml:
8970         * docs/gst/tmpl/gsttrace.sgml:
8971         * docs/gst/tmpl/gsttrashstack.sgml:
8972         * docs/gst/tmpl/gsttypefind.sgml:
8973         * docs/gst/tmpl/gsttypefindfactory.sgml:
8974         * docs/gst/tmpl/gsttypes.sgml:
8975         * docs/gst/tmpl/gsturihandler.sgml:
8976         * docs/gst/tmpl/gsturitype.sgml:
8977         * docs/gst/tmpl/gstutils.sgml:
8978         * docs/gst/tmpl/gstvalue.sgml:
8979         * docs/gst/tmpl/gstversion.sgml:
8980         * docs/gst/tmpl/gstxml.sgml:
8981         * docs/libs/tmpl/gstcontrol.sgml:
8982         * docs/libs/tmpl/gstdataprotocol.sgml:
8983         * docs/libs/tmpl/gstdparam.sgml:
8984         * docs/libs/tmpl/gstdplinint.sgml:
8985         * docs/libs/tmpl/gstdpman.sgml:
8986         * docs/libs/tmpl/gstdpsmooth.sgml:
8987         * docs/libs/tmpl/gstgetbits.sgml:
8988         * docs/libs/tmpl/gstunitconvert.sgml:
8989         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8990         (gst_push_src_base_init), (gst_push_src_class_init),
8991         (gst_push_src_init), (gst_push_src_create):
8992         * gst/base/gstpushsrc.h:
8993         * gst/elements/gstelements.c:
8994         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8995         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8996         (gst_fake_sink_init), (gst_fake_sink_set_property),
8997         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8998         (gst_fake_sink_event), (gst_fake_sink_preroll),
8999         (gst_fake_sink_render), (gst_fake_sink_change_state):
9000         * gst/elements/gstfakesink.h:
9001         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9002         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9003         (gst_fake_src_base_init), (gst_fake_src_class_init),
9004         (gst_fake_src_init), (gst_fake_src_event_handler),
9005         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9006         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9007         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9008         (gst_fake_src_create_buffer), (gst_fake_src_create),
9009         (gst_fake_src_start), (gst_fake_src_stop):
9010         * gst/elements/gstfakesrc.h:
9011         * gst/elements/gstfilesink.c: (_do_init),
9012         (gst_file_sink_base_init), (gst_file_sink_class_init),
9013         (gst_file_sink_init), (gst_file_sink_dispose),
9014         (gst_file_sink_set_location), (gst_file_sink_set_property),
9015         (gst_file_sink_get_property), (gst_file_sink_open_file),
9016         (gst_file_sink_close_file), (gst_file_sink_query),
9017         (gst_file_sink_event), (gst_file_sink_render),
9018         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9019         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9020         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9021         * gst/elements/gstfilesink.h:
9022         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9023         (gst_file_src_class_init), (gst_file_src_init),
9024         (gst_file_src_finalize), (gst_file_src_set_location),
9025         (gst_file_src_set_property), (gst_file_src_get_property),
9026         (gst_file_src_map_region), (gst_file_src_map_small_region),
9027         (gst_file_src_create_mmap), (gst_file_src_create_read),
9028         (gst_file_src_create), (gst_file_src_is_seekable),
9029         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9030         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9031         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9032         (gst_file_src_uri_handler_init):
9033         * gst/elements/gstfilesrc.h:
9034           more autistic cleanliness in functions/names/defines
9035
9036 2005-07-13  Andy Wingo  <wingo@pobox.com>
9037
9038         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9039         source couldn't negotiate.
9040
9041         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9042         connections again.
9043
9044         * gst/gstutils.h:
9045         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9046         function. I am channeling Hades. Put your boots on suckers!!!
9047
9048 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9049
9050         * testsuite/caps/Makefile.am:
9051         * testsuite/caps/value_compare.c:
9052         * testsuite/caps/value_intersect.c:
9053         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9054           move two testsuite apps over to the check dir
9055
9056 2005-07-12  Wim Taymans  <wim@fluendo.com>
9057
9058         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9059         Added more debug info in the negotiate process.
9060
9061         * gst/gstmessage.h:
9062         Prepare for segment playback.
9063
9064         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9065         Better debugging.
9066
9067         * gst/gstutils.c:
9068         Some more docs.
9069
9070         * tools/gst-launch.c: (main):
9071         NULL pipeline on errors.
9072
9073 2005-07-12  Andy Wingo  <wingo@pobox.com>
9074
9075         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9076         not it comes from a malloc region. Make sure our copy gets freed.
9077
9078 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9079
9080         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9081         * check/gst/gstmessage.c: (GST_START_TEST):
9082         * check/gst/gststructure.c: (GST_START_TEST),
9083         (gst_structure_suite), (main):
9084           more testing
9085         * gst/gstelement.c: (gst_element_message_full):
9086           clean up GError and debug string now that they get copied
9087         * gst/gstmessage.c: (gst_message_new_error),
9088         (gst_message_new_warning), (gst_message_parse_error),
9089         (gst_message_parse_warning):
9090           use GST_TYPE_G_ERROR for structure_new, and take copies of
9091           arguments, so that we don't mess up refcounting
9092
9093 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9094
9095         * check/Makefile.am:
9096           add per-test valgrind targets
9097         * check/gst-libs/gdp.c: (GST_START_TEST),
9098         (gst_data_protocol_suite), (main):
9099           clean up
9100
9101 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9102
9103         * check/Makefile.am:
9104           instate more valgrindable tests
9105         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9106         (GST_START_TEST), (fakesrc_suite):
9107         * check/gst/gstpad.c: (GST_START_TEST):
9108         * check/gst/gststructure.c: (GST_START_TEST):
9109           fix test leaks
9110         * docs/gst/tmpl/gstminiobject.sgml:
9111         * gst/gstpad.c: (gst_pad_finalize):
9112           fix the static mutex leak
9113
9114 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9115
9116         * check/Makefile.am:
9117           add two more tests for valgrinding
9118         * check/gst/gstvalue.c: (GST_START_TEST):
9119           test refcount of deserialized buffer, found a leak
9120         * docs/gst/gstreamer-docs.sgml:
9121         * docs/gst/gstreamer-sections.txt:
9122         * docs/gst/gstreamer.types:
9123         * docs/gst/tmpl/gstminiobject.sgml:
9124           add miniobject to docs
9125         * gst/gstminiobject.c:
9126           add some docs
9127         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9128         (gst_string_unwrap):
9129           fix a hard-to-find invalid write for one of the tests
9130           fix a leak for deserialized buffers
9131
9132 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9133
9134         * docs/pwg/advanced-events.xml:
9135         * docs/pwg/advanced-request.xml:
9136         * docs/pwg/advanced-scheduling.xml:
9137         * docs/pwg/appendix-porting.xml:
9138         * docs/pwg/building-boiler.xml:
9139         * docs/pwg/intro-preface.xml:
9140         * docs/pwg/other-ntoone.xml:
9141           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9142           of example code and explanation for pad activation, loop() and
9143           getrange() functions and a bit more. Remove old comments pointing
9144           to loop-functions.
9145         * examples/pwg/Makefile.am:
9146           Add loop/getrange examples.
9147
9148 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9149
9150         * configure.ac:
9151           check for valgrind binary + some fixes
9152         * check/gst.supp:
9153           valgrind suppressions for the tests
9154         * check/Makefile.am:
9155           add a valgrind: target that valgrinds the unit tests
9156         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9157         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9158         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9159         * check/gst/gstghostpad.c:
9160           added some cleanup
9161         * check/gst/gstdata.c:
9162           removed
9163         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9164         (thread_unref), (gst_mini_object_suite), (main):
9165           added
9166         * gst/gst.c: (gst_deinit):
9167         * gst/gst.h:
9168           add a method to clean up.
9169         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9170         (gst_system_clock_obtain):
9171           allow for disposing the system clock.
9172         * tools/gst-launch.c: (main):
9173           deinit
9174
9175 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9176
9177         * docs/gst/tmpl/gstbasesrc.sgml:
9178         * docs/gst/tmpl/gstfakesrc.sgml:
9179         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9180         (gst_base_src_init), (gst_base_src_set_property),
9181         (gst_base_src_get_property), (gst_base_src_get_range),
9182         (gst_base_src_start):
9183         * gst/base/gstbasesrc.h:
9184           add num-buffers property
9185         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9186         (gst_fakesrc_init), (gst_fakesrc_set_property),
9187         (gst_fakesrc_get_property), (gst_fakesrc_create),
9188         (gst_fakesrc_start):
9189           remove num-buffers property
9190
9191 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9192
9193         * docs/gst/gstreamer-sections.txt:
9194         * docs/gst/tmpl/gstbasesink.sgml:
9195         * docs/gst/tmpl/gstbasesrc.sgml:
9196         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9197         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9198         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9199         (gst_base_sink_set_property), (gst_base_sink_get_property),
9200         (gst_base_sink_handle_object), (gst_base_sink_event),
9201         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9202         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9203         (gst_base_sink_loop), (gst_base_sink_deactivate),
9204         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9205         (gst_base_sink_change_state):
9206         * gst/base/gstbasesink.h:
9207         * gst/base/gstbasesrc.h:
9208         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9209         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9210         (gst_filesink_init):
9211           more macro splitting
9212
9213 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9214
9215         * gst/gstelement.c: (gst_element_get_bus):
9216           add debug
9217         * tools/gst-launch.c: (check_intr), (event_loop):
9218           fix bus leaks
9219
9220 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9221
9222         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9223           fix a caps leak
9224
9225 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9226
9227         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9228         (gst_base_src_finalize):
9229           add finalize method and clean up properly
9230         * gst/gstpipeline.c: (gst_pipeline_dispose):
9231           add debug
9232
9233 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9234
9235         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9236         (gst_bin_suite):
9237           add more things to check
9238         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9239         * gst/gstelement.c:
9240           more debug
9241
9242 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9243
9244         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9245         (GST_START_TEST), (fakesrc_suite):
9246         * check/gst-libs/gdp.c: (GST_START_TEST):
9247         * check/gst/gst.c: (GST_START_TEST):
9248         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9249         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9250         * check/gst/gstbus.c: (GST_START_TEST):
9251         * check/gst/gstcaps.c: (GST_START_TEST):
9252         * check/gst/gstdata.c: (GST_START_TEST):
9253         * check/gst/gstelement.c: (GST_START_TEST):
9254         * check/gst/gstghostpad.c: (GST_START_TEST):
9255         * check/gst/gstiterator.c: (GST_START_TEST):
9256         * check/gst/gstmessage.c: (GST_START_TEST):
9257         * check/gst/gstobject.c: (GST_START_TEST):
9258         * check/gst/gstpad.c: (GST_START_TEST):
9259         * check/gst/gststructure.c: (GST_START_TEST):
9260         * check/gst/gstsystemclock.c: (GST_START_TEST),
9261         (gst_systemclock_suite):
9262         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9263         * check/gst/gstvalue.c: (GST_START_TEST):
9264         * check/pipelines/cleanup.c: (GST_START_TEST):
9265         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9266         * check/states/sinks.c: (GST_START_TEST):
9267         * check/gstcheck.c: (gst_check_init):
9268         * check/gstcheck.h:
9269           add debugging category
9270           use GST_START_TEST now, so we add a debug line
9271
9272 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9273
9274         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9275           add test for state change message on a bin
9276         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9277           add another test
9278         * gst/gstbin.c: (gst_bin_init):
9279         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9280         * gst/gstelement.c: (gst_element_post_message),
9281         (gst_element_set_state):
9282         * gst/gstelementfactory.c: (gst_element_factory_create):
9283         * gst/gstmessage.c: (gst_message_new):
9284         * gst/gstscheduler.c:
9285           various debugging additions and cleanups
9286
9287 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9288
9289         * check/Makefile.am:
9290         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9291         (main):
9292           adding tests for elements
9293         * gst/gstelement.c: (gst_element_dispose):
9294
9295 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9296
9297         * gst/registries/gstlibxmlregistry.c: (load_feature):
9298           plug more leaks.  A simple gst_init() now is leakfree, yay.
9299
9300 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9301
9302         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9303         (gst_xml_registry_load):
9304           plug another memleak
9305
9306 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9307
9308         * configure.ac:
9309           use GST_SET_ERROR_CFLAGS
9310         * docs/faq/cvs.xml:
9311           change to ERROR_CFLAGS
9312
9313 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9314
9315         * configure.ac:
9316           make GST_ERROR_CFLAGS overridable and re-enable Werror
9317         * docs/faq/cvs.xml:
9318           add a note about error CFLAGS
9319         * docs/gst/tmpl/gstfakesrc.sgml:
9320         * gst/elements/gstfakesrc.c:
9321           comment out some unused code
9322         * gst/gst.c: (split_and_iterate):
9323         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9324         (load_feature):
9325           plug some memleaks
9326
9327 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9328
9329         * common/Makefile.am:
9330         * common/gtk-doc.mak:
9331         * docs/gst/Makefile.am:
9332           factor out gtk-doc.mak
9333
9334 2005-07-07  Wim Taymans  <wim@fluendo.com>
9335
9336         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9337         (gst_thread_scheduler_dispose):
9338         Unlock the STREAM_LOCK completely.
9339
9340 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9341
9342         * check/Makefile.am:
9343         * check/elements/.cvsignore:
9344         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9345         (START_TEST), (fakesrc_suite), (main):
9346         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9347         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9348         (gst_fakesrc_create), (gst_fakesrc_start):
9349         * gst/elements/gstfakesrc.h:
9350           adding a first element test
9351
9352 2005-07-07  Andy Wingo  <wingo@pobox.com>
9353
9354         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9355         debug message.
9356
9357 2005-07-07  Wim Taymans  <wim@fluendo.com>
9358
9359         * gst/gstquery.c:
9360         * gst/gstquery.h:
9361         Remove old types
9362
9363 2005-07-07  Wim Taymans  <wim@fluendo.com>
9364
9365         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9366         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9367         Allow subclasses to implement their own negotiation.
9368
9369 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9370
9371         * docs/design/part-gstbin.txt:
9372         * docs/design/part-gstpipeline.txt:
9373           Update design notes to reflect the movement of
9374           responsibility for bus handling from GstPipeline to
9375           GstBin
9376
9377 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9378
9379         * configure.ac:
9380           Remove unnecessary queue2/3/4 examples.
9381
9382 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9383
9384         * examples/Makefile.am:
9385         * examples/helloworld/helloworld.c: (event_loop), (main):
9386         * examples/queue/queue.c: (event_loop), (main):
9387         * examples/queue2/queue2.c: (main):
9388           Update a couple of the examples to work again.
9389
9390         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9391         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9392          Spelling corrections and extra debug.
9393         
9394         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9395         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9396         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9397         * gst/gstbin.h:
9398         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9399         (gst_pipeline_change_state):
9400         * gst/gstpipeline.h:
9401           Move the bus handler for children to the GstBin, and create a
9402           separate bus for receiving messages from children to the one the
9403           bus sends 'upwards' on.
9404
9405 2005-07-06  Wim Taymans  <wim@fluendo.com>
9406
9407         * gst/base/README:
9408         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9409         (gst_base_sink_handle_object), (gst_base_sink_loop),
9410         (gst_base_sink_change_state):
9411         * gst/base/gstbasesink.h:
9412         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9413         (gst_base_src_init), (gst_base_src_setcaps),
9414         (gst_base_src_getcaps), (gst_base_src_loop),
9415         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9416         (gst_base_src_start), (gst_base_src_change_state):
9417         * gst/base/gstbasesrc.h:
9418         Make basesrc negotiate.
9419         Handle the case where preroll fails in basesink.
9420         Update README.
9421
9422 2005-07-06  Wim Taymans  <wim@fluendo.com>
9423
9424         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9425         Implement the fixate function.
9426         Clean up acceptcaps.
9427
9428 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9429
9430         * docs/pwg/building-filterfactory.xml:
9431         * docs/pwg/pwg.xml:
9432           Remove never-written filter-factory chapter; I'll add the various
9433           base classes to part 4 ("other element types") later on.
9434
9435 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9436
9437         * docs/pwg/advanced-negotiation.xml:
9438         * docs/pwg/building-boiler.xml:
9439         * docs/pwg/building-pads.xml:
9440         * docs/pwg/pwg.xml:
9441         * examples/pwg/Makefile.am:
9442           Add a chapter on caps negotiation, simplify the original code
9443           samples a bit w.r.t. caps negotiation, add link to the advanced
9444           section. Add a bunch of examples showing different use cases of
9445           different types of caps negotiation. Upstream renegotiation isn't
9446           fully documented yet since nobody knows how that works.
9447
9448 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9449
9450         * check/gst/gstpad.c:
9451         * check/gstcheck.c:
9452         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9453           if pad has no parent, return NULL as list of internal links
9454
9455 2005-07-05  Andy Wingo  <wingo@pobox.com>
9456
9457         * gst/elements/gstfilesrc.c:
9458         * gst/elements/gstfakesrc.c: 
9459         * gst/base/gstpushsrc.c:
9460         * gst/base/gstbasesrc.h: 
9461         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9462         
9463 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9464
9465         * Makefile.am:
9466           better report generation target (lcov needs a patch)
9467
9468 2005-07-05  Andy Wingo  <wingo@pobox.com>
9469
9470         * gst/elements, testsuite: Null if we got it...
9471
9472 2005-07-05  Wim Taymans  <wim@fluendo.com>
9473
9474         * configure.ac:
9475         * libs/gst/dataprotocol/Makefile.am:
9476         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9477         * libs/gst/dataprotocol/dataprotocol.h:
9478         * pkgconfig/Makefile.am:
9479         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9480         * pkgconfig/gstreamer-dataprotocol.pc.in:
9481         Ported dataprotol to 0.9. 
9482         Added pkgconfig files.
9483
9484 2005-07-05  Andy Wingo  <wingo@pobox.com>
9485
9486         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9487         Default to returning TRUE for the case when tranform_caps returns
9488         a fixed caps, like for identity or volume.
9489
9490         * check/gst/gstbus.c (pound_bus_with_messages): 
9491         * check/gst/gstmessage.c (START_TEST): 
9492         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9493         message API change.
9494
9495         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9496         logic weaks here: always run transform_caps, trying passthrough
9497         operation only if the original caps intersects with the transform.
9498
9499         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9500         source and sink caps.
9501
9502         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9503         Intersect the peer caps with the pad template before going into
9504         transform_caps.
9505         (gst_base_transform_transform_caps): More debugging.
9506
9507         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9508         src argument.
9509
9510 2005-07-04  Edward Hervey  <edward@fluendo.com>
9511
9512         * gst/gstutils.c:
9513         * gst/gstutils.h:
9514         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9515         in bindings.
9516
9517 2005-07-04  Andy Wingo  <wingo@pobox.com>
9518
9519         * check/gst/gstpad.c: Only set explicit caps on pads.
9520
9521 2005-07-01  Andy Wingo  <wingo@pobox.com>
9522
9523         * tests/network-clock.scm: Commentary update.
9524
9525         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9526         Didn't really make sense, not implementable with basetransform,
9527         etc.
9528         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9529         attempt at implementing the sync property, needs an unlock method.
9530
9531         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9532         New func, by default returns the same caps (the identity
9533         transformation).
9534         (gst_base_transform_getcaps): Uses transform_caps to return
9535         something sensible.
9536         (gst_base_transform_setcaps): Complicated logic to get caps on
9537         both pads, even if they are different, and to call set_caps once
9538         for every time both pads get their caps set.
9539         (gst_base_transform_handle_buffer): Give the ref to the transform
9540         function. Allows in-place modification of the buffer.
9541
9542         * gst/base/gstbasetransform.h (transform_caps): New class method.
9543         Given caps on one side, what can I do on the other.
9544         (set_caps): Take two caps, one for each side of the element.
9545
9546         * gst/gstpad.h:
9547         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9548         caps in place. This is safe because we can check the mutability of
9549         the caps, and a good idea because fixate functions are just called
9550         as a matter of last resort. (Not actually implemented.)
9551         (gst_pad_set_caps): If the caps we're setting is actually the same
9552         as the existing pad caps, just update the pointer without calling
9553         setcaps. Assert that caps is either NULL or fixed, as per the
9554         docs.
9555
9556         * gst/gstghostpad.c: Update for fixate changes.
9557
9558 2005-07-02  Andy Wingo  <wingo@pobox.com>
9559
9560         * gst/gstcaps.c:
9561         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9562         two refcounts makes it immutable, which is enough. Doc more.
9563
9564 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9565
9566         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9567           Put the mini_object into GValue as a mini_object,
9568           not a gpointer, since that's how we declared
9569           the signal.
9570
9571 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9572
9573         * examples/pwg/Makefile.am:
9574           Fix buildbot again.
9575
9576 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9577
9578         * docs/pwg/building-testapp.xml:
9579           Add extra check.
9580         * examples/pwg/Makefile.am:
9581           Fix buildbot.
9582
9583 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9584
9585         * configure.ac:
9586         * examples/Makefile.am:
9587         * examples/pwg/Makefile.am:
9588         * examples/pwg/extract.pl:
9589           Enable building the PWG examples.
9590         * docs/pwg/advanced-interfaces.xml:
9591           Add URI interface stub.
9592         * docs/pwg/advanced-types.xml:
9593         * docs/pwg/other-autoplugger.xml:
9594         * docs/pwg/appendix-porting.xml:
9595         * docs/pwg/pwg.xml:
9596           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9597         * docs/pwg/building-boiler.xml:
9598         * docs/pwg/building-chainfn.xml:
9599         * docs/pwg/building-pads.xml:
9600         * docs/pwg/building-props.xml:
9601         * docs/pwg/building-state.xml:
9602         * docs/pwg/building-testapp.xml:
9603           Update the building-*.xml parts for 0.9 changes. All examples
9604           code blocks compile in examples/pwg/*.
9605
9606 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9607
9608         * docs/manual/advanced-autoplugging.xml:
9609         * docs/manual/appendix-checklist.xml:
9610         * docs/manual/appendix-integration.xml:
9611         * docs/manual/highlevel-components.xml:
9612           Fix playbin/decodebin examples, update docs a bit, mention bus
9613           instead of signals in various places, mention kmplayer and
9614           kaffeine since they have a working GStreamer backend in the KDE
9615           section.
9616
9617 2005-06-30  Wim Taymans  <wim@fluendo.com>
9618
9619         * CHANGES-0.9:
9620         * docs/design/draft-ghostpads.txt:
9621         * docs/design/draft-push-pull.txt:
9622         * docs/design/draft-query.txt:
9623         * docs/design/part-TODO.txt:
9624         * docs/design/part-query.txt:
9625         Added CHANGES-0.9 doc, updated status of other docs.
9626         
9627         * gst/gstquery.h:
9628         Remove "hmm" macro
9629
9630 2005-06-30  Wim Taymans  <wim@fluendo.com>
9631
9632         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9633         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9634         (gst_base_sink_change_state):
9635         * gst/base/gstbasesink.h:
9636         Some tweaks, only EOS and a buffer complete a preroll.
9637
9638 2005-06-30  Andy Wingo  <wingo@pobox.com>
9639
9640         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9641         activate_push down to the internal pad as well.
9642
9643 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9644
9645         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9646
9647         * gst/gsttaginterface.c:
9648           Some documentation fixes (#307394 and #307397).
9649
9650 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9651
9652         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9653
9654         * gst/gstvalue.c: (gst_value_intersect_list):
9655           Fix memleak (#309125).
9656
9657 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9658
9659         * docs/manual/advanced-dataaccess.xml:
9660           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9661         * docs/manual/basics-pads.xml:
9662           Add reference for filtered caps to above chapter.
9663
9664 2005-06-30  Wim Taymans  <wim@fluendo.com>
9665
9666         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9667         (gst_bin_change_state):
9668         Probes are gone.
9669         Lame attempt at making the state change function a bit
9670         more readable.
9671
9672 2005-06-30  Wim Taymans  <wim@fluendo.com>
9673
9674         * docs/design/part-clocks.txt:
9675         * docs/design/part-element-sink.txt:
9676         * docs/design/part-events.txt:
9677         * docs/design/part-preroll.txt:
9678         * docs/design/part-states.txt:
9679         Some more tweeks and additions to the docs.
9680
9681 2005-06-30  Wim Taymans  <wim@fluendo.com>
9682
9683         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9684         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9685         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9686         (gst_pad_check_pull_range), (gst_pad_get_range),
9687         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9688         * gst/gstpad.h:
9689         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9690         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9691         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9692         (gst_pad_remove_buffer_probe):
9693         Removed atomic operations, use existing LOCK.
9694         Move exception handling out of main code path.
9695
9696 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9697
9698         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9699         (silly_return_true_function), (gst_pad_class_init),
9700         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9701         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9702         (gst_pad_send_event):
9703           Fix accumulator, add default value by using _emitv() instead
9704           of _emit() for signal emission.
9705
9706 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9707
9708         * docs/manual/advanced-dataaccess.xml:
9709         * examples/manual/Makefile.am:
9710           Add probe example.
9711         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9712           Make work (??).
9713
9714 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9715
9716         * gst/elements/gstfilesink.c: (gst_filesink_render):
9717           Simplify code so that we don't have to handle short
9718           writes and return GST_FLOW_ERROR if an error occured.
9719
9720 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9721
9722         * docs/gst/gstreamer-docs.sgml:
9723           Remove probes more.
9724
9725 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9726
9727         * docs/gst/gstreamer-sections.txt:
9728         * docs/gst/tmpl/gstpad.sgml:
9729         * docs/gst/tmpl/gstprobe.sgml:
9730         * gst/Makefile.am:
9731         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9732         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9733         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9734         (gst_pad_push_event), (gst_pad_send_event):
9735         * gst/gstpad.h:
9736         * gst/gstutils.c: (gst_pad_add_data_probe),
9737         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9738         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9739         (gst_pad_remove_buffer_probe):
9740         * gst/gstutils.h:
9741           Remove old probes, add new g-signal-based probes and some utility
9742           functions.
9743
9744 2005-06-29  Edward Hervey  <edward@fluendo.com>
9745
9746         * gst/gstelementfactory.c:
9747         * gst/gstutils.h:
9748         * gst/gstutils.c:
9749         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9750         the definition to the header file.
9751
9752 2005-06-29  Andy Wingo  <wingo@pobox.com>
9753
9754         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9755         plugins from the source directory.
9756
9757 2005-06-29  Wim Taymans  <wim@fluendo.com>
9758
9759         * docs/gst/tmpl/gstbuffer.sgml:
9760         * docs/gst/tmpl/gstclock.sgml:
9761         Some fixings for blantently wrong text.
9762
9763 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9764
9765         * check/Makefile.am:
9766         * gst/gst.c: (add_path_func), (init_pre):
9767         * gst/gstregistry.c: (gst_registry_add_path):
9768           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9769           only scan the GST_PLUGIN_PATH locations, and not add
9770           system locations
9771
9772 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9773
9774         * docs/gst/gstreamer-sections.txt:
9775         * docs/gst/tmpl/gstbasesrc.sgml:
9776         * gst/gstelement.c:
9777         * gst/gstelement.h:
9778         * gst/gstevent.c:
9779         * gst/gstutils.c:
9780           doc fixes
9781
9782 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9783
9784         * docs/manual/advanced-autoplugging.xml:
9785           Fix autoplugging example.
9786
9787 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9788
9789         * docs/manual/advanced-autoplugging.xml:
9790         * docs/manual/mime-world.fig:
9791           Try to get autoplugging working, fix type detection. Fix text
9792           in hello-world image.
9793
9794 2005-06-29  Wim Taymans  <wim@fluendo.com>
9795
9796         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9797         (gst_base_sink_change_state):
9798         Small debug line.
9799
9800         * gst/gstclock.h:
9801         map SIGNAL and BROADCAST to the right function.
9802
9803         * gst/gstobject.h:
9804         Remove redundant braces.
9805
9806         * gst/gstpad.c: (gst_pad_set_caps):
9807         Don't call setcaps function when reseting caps to NULL.
9808
9809         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9810         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9811         (gst_system_clock_id_unschedule):
9812         Use BROADCAST as this is what we do.
9813
9814 2005-06-29  Wim Taymans  <wim@fluendo.com>
9815
9816         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9817         We are actually prerolling before commiting the state
9818         change. 
9819
9820 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9821
9822         * docs/manual/advanced-clocks.xml:
9823         * docs/manual/advanced-interfaces.xml:
9824         * docs/manual/advanced-metadata.xml:
9825         * docs/manual/advanced-position.xml:
9826         * docs/manual/advanced-schedulers.xml:
9827         * docs/manual/advanced-threads.xml:
9828         * docs/manual/appendix-porting.xml:
9829         * docs/manual/basics-bins.xml:
9830         * docs/manual/basics-bus.xml:
9831         * docs/manual/basics-elements.xml:
9832         * docs/manual/basics-helloworld.xml:
9833         * docs/manual/basics-pads.xml:
9834         * docs/manual/highlevel-components.xml:
9835         * docs/manual/manual.xml:
9836         * docs/manual/thread.fig:
9837           Update (until threads/scheduling) Application Development Manual;
9838           remove GstThread, add GstBus, add simple porting checklist, add
9839           documentation for tag writing, clocks, make all examples until this
9840           part compile and run.
9841         * examples/manual/Makefile.am:
9842           Update from changes to Application Development Manual; add bus
9843           example, remove thread example.
9844
9845 2005-06-28  Wim Taymans  <wim@fluendo.com>
9846
9847         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9848         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9849         (gst_bus_source_dispatch):
9850         Add debugging messages.
9851         Make internal methods static.
9852         Handle the case where the bus is flushed in the handler.
9853         
9854         * gst/gstelement.c: (gst_element_get_bus):
9855         Fix refcount in _get_bus();
9856
9857         * gst/gstpipeline.c: (gst_pipeline_change_state),
9858         (gst_pipeline_get_clock_func):
9859         Clock refcounting fixes.
9860         Handle the case where preroll timed out more gracefully.
9861         
9862         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9863         Clean up the internal thread in dispose. This is needed
9864         for subclasses that actually get disposed.
9865         
9866         * gst/schedulers/threadscheduler.c:
9867         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9868         (gst_thread_scheduler_dispose):
9869         Free thread pool in dispose.
9870
9871 2005-06-28  Andy Wingo  <wingo@pobox.com>
9872
9873         * tests/network-clock-utils.scm (debug, print-event): New utils.
9874
9875         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9876         (*packet-loss*): Unified loss probability.
9877         (network-time): Report out-of-band events.
9878
9879         * tests/plot-data: Add support for out-of-band events. Hack it
9880         into this script instead of passing it down the pipe; should fix
9881         this later.
9882
9883 2005-06-28  Wim Taymans  <wim@fluendo.com>
9884
9885         * docs/gst/gstreamer.types:
9886         * docs/gst/tmpl/gstbasesrc.sgml:
9887         * docs/gst/tmpl/gstpad.sgml:
9888         Docs fixes.
9889
9890 2005-06-28  Wim Taymans  <wim@fluendo.com>
9891
9892         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9893         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9894         (gst_proxy_pad_do_fixatecaps):
9895         Correctly proxy the check_pull_range function.
9896
9897 2005-06-28  Andy Wingo  <wingo@pobox.com>
9898
9899         * tests/network-clock.scm: Removed need for slib.
9900         
9901 2005-06-28  Wim Taymans  <wim@fluendo.com>
9902
9903         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9904         (gst_basesink_preroll_queue_flush):
9905         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9906         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9907         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9908         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9909         (gst_proxy_pad_set_property):
9910         * gst/gstpad.c:
9911         * gst/gstpad.h:
9912         * gst/gstqueue.c: (gst_queue_init):
9913         The deprecated pad loop function is removed now.
9914
9915 2005-06-28  Andy Wingo  <wingo@pobox.com>
9916
9917         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9918         New parameters, simulate network packet loss.
9919
9920         * tests/network-clock-utils.scm: Initialize the RNG.
9921
9922 2005-06-28  Wim Taymans  <wim@fluendo.com>
9923
9924         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9925         (gst_basesink_event), (gst_basesink_deactivate):
9926         Flushing the preroll queue always needs to unlock the waiters.
9927
9928 2005-06-28  Edward Hervey  <edward@fluendo.com>
9929
9930         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9931         Wheen a seek was successful on a pipeline, set the stream_time to the
9932         seek offset in order to have a synchronized stream_time.
9933
9934 2005-06-28  Wim Taymans  <wim@fluendo.com>
9935
9936         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9937         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9938         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9939         (gst_proxy_pad_do_fixatecaps):
9940         Call wrapper function instead of just calling the function
9941         pointers. This takes care of any locking and whatmore.
9942
9943 2005-06-28  Wim Taymans  <wim@fluendo.com>
9944
9945         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9946         (gst_pad_pull_range):
9947         * gst/gstpad.h:
9948         CONNECTED -> LINKED.
9949
9950 2005-06-28  Andy Wingo  <wingo@pobox.com>
9951
9952         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9953         source-munging commit!!!
9954
9955         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9956         (gst_object_sink): Take gpointer arguments, not GstObject --
9957         avoids casts. Like GLib.
9958
9959         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9960         activate.
9961
9962 2005-06-27  Andy Wingo  <wingo@pobox.com>
9963
9964         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9965         remaining buffer.
9966
9967         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9968         returns a sorted copy of the trace list.
9969         (gst_alloc_trace_print_live): New API, only prints traces with
9970         live objects. Sort the list.
9971         (gst_alloc_trace_print_all): Sort the list.
9972         (gst_alloc_trace_print): Align columns.
9973
9974         * gst/elements/gstttypefindelement.c:
9975         * gst/elements/gsttee.c:
9976         * gst/base/gstbasesrc.c:
9977         * gst/base/gstbasesink.c:
9978         * gst/base/gstbasetransform.c:
9979         * gst/gstqueue.c: Adapt for pad activation changes.
9980
9981         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9982         sched.
9983         (gst_pipeline_dispose): Drop ref on sched.
9984
9985         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9986         (gst_pad_activate_default): Push mode by default.
9987         (pre_activate_switch, post_activate_switch): New stubs, things to
9988         do before and after switching activation modes on pads.
9989         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9990         the pad's activate function to choose which mode to activate.
9991         Shortcut on deactivation and call the right function directly.
9992         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9993         mode.
9994         (gst_pad_activate_push): New API, same for push mode.
9995         (gst_pad_set_activate_function) 
9996         (gst_pad_set_activatepull_function) 
9997         (gst_pad_set_activatepush_function): Setters for new API.
9998
9999         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10000         Trace all miniobjects.
10001         (gst_mini_object_make_writable): Unref the arg if we copy, like
10002         gst_caps_make_writable.
10003
10004         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10005
10006         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10007         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10008         Adapt for new pad API.
10009
10010         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10011
10012         * gst/gstelement.h:
10013         * gst/gstelement.c (gst_element_iterate_src_pads) 
10014         (gst_element_iterate_sink_pads): New API functions.
10015         
10016         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10017         should fold into gstiterator.c in some form.
10018         (gst_element_pads_activate): Simplified via use of fold and
10019         delegation of decisions to gstpad->activate.
10020
10021         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10022         help in debugging.
10023
10024         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10025         class once in init, like gstmessage. Didn't run into this issue
10026         but it seems correct. Don't initialize a trace, gstminiobject does
10027         that.
10028
10029         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10030         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10031         to the bus.
10032         (assert_live_count): New util function, uses alloc traces to check
10033         cleanup.
10034
10035         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10036         To be modified when unlink drops the internal pad.
10037
10038 2005-06-27  Wim Taymans  <wim@fluendo.com>
10039
10040         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10041         (gst_bin_change_state):
10042         Cleanup the get_state() function a little, make sure it
10043         iterates the same set of elements.
10044         Added stub iterate_state_order().
10045
10046 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10047
10048         * docs/gst/gstreamer-docs.sgml:
10049         * docs/gst/gstreamer-sections.txt:
10050         * docs/gst/gstreamer.types:
10051         * docs/gst/tmpl/gstbasesink.sgml:
10052         * docs/gst/tmpl/gstbasesrc.sgml:
10053         * docs/gst/tmpl/gstbasetransform.sgml:
10054         * docs/gst/tmpl/gstelement.sgml:
10055         * docs/gst/tmpl/gstiterator.sgml:
10056         * gst/base/gstbasesrc.c:
10057         * gst/base/gstbasesrc.h:
10058         * gst/base/gstbasetransform.h:
10059         * gst/gstelement.c:
10060         * gst/gstiterator.h:
10061           adding basetransform and iterator docs
10062
10063 2005-06-27  Andy Wingo  <wingo@pobox.com>
10064
10065         * docs/design/part-activation.txt: Notes on how activation should
10066         work -- not quite implemented yet.
10067
10068 2005-06-25  Wim Taymans  <wim@fluendo.com>
10069
10070         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10071         At least get the chain function correct, needs more
10072         fixing.
10073
10074 2005-06-25  Wim Taymans  <wim@fluendo.com>
10075
10076         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10077         (gst_basesink_handle_object), (gst_basesink_event),
10078         (gst_basesink_do_sync), (gst_basesink_handle_event),
10079         (gst_basesink_change_state):
10080         * gst/gsttask.h:
10081         Right, two problems here: ghostpads don't take locks and
10082         glib _rec_mutex_lock_full() with depth==0 still locks.
10083         Catch illegal locking and g_warn them.
10084
10085 2005-06-25  Wim Taymans  <wim@fluendo.com>
10086
10087         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10088         Have to check for completion now...
10089
10090 2005-06-25  Wim Taymans  <wim@fluendo.com>
10091
10092         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10093         (gst_basesink_handle_object), (gst_basesink_event),
10094         (gst_basesink_do_sync), (gst_basesink_handle_event),
10095         (gst_basesink_change_state):
10096         * gst/gstpad.h:
10097         Unlock STREAM_LOCK whatever the recursion was.
10098
10099 2005-06-25  Wim Taymans  <wim@fluendo.com>
10100
10101         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10102         (gst_basesink_preroll_queue_empty),
10103         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10104         (gst_basesink_event), (gst_basesink_do_sync),
10105         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10106         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10107         (gst_basesink_change_state):
10108         Reworked the base sink, handle event and buffer serialisation
10109         correctly and removed possible deadlock.
10110         Handle EOS correctly.
10111
10112 2005-06-25  Wim Taymans  <wim@fluendo.com>
10113
10114         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10115         (gst_pipeline_change_state):
10116         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10117         Allow elements to post EOS in the state change function.
10118         Fix up -launch, make it exit the poll loop when the
10119         pipeline actually changed state.
10120         Fix up warning parsing in -launch.
10121
10122 2005-06-25  Wim Taymans  <wim@fluendo.com>
10123
10124         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10125         (gst_tee_sink_activate):
10126         Core takes STREAM_LOCK for us now.
10127
10128 2005-06-25  Wim Taymans  <wim@fluendo.com>
10129
10130         * gst/gstelement.c: (gst_element_get_state_func),
10131         (gst_element_set_state):
10132         * gst/gstelement.h:
10133         * gst/gstmessage.c: (gst_message_parse_error),
10134         (gst_message_parse_warning):
10135         Keep track of current target state while performing a state
10136         change so that subclasses can do something interesting.
10137         Fix parsing of warning/error messages when GError is NULL.
10138
10139 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10140
10141         * docs/gst/Makefile.am:
10142         * docs/gst/gstreamer-docs.sgml:
10143         * docs/gst/gstreamer-sections.txt:
10144         * docs/gst/gstreamer.types:
10145         * docs/gst/tmpl/gstbasesink.sgml:
10146         * docs/gst/tmpl/gstbasesrc.sgml:
10147         * docs/gst/tmpl/gstbin.sgml:
10148         * docs/gst/tmpl/gstcompat.sgml:
10149         * docs/gst/tmpl/gstfakesink.sgml:
10150         * docs/gst/tmpl/gstfakesrc.sgml:
10151         * docs/gst/tmpl/gstfilesink.sgml:
10152         * docs/gst/tmpl/gstfilesrc.sgml:
10153         * docs/gst/tmpl/gstindex.sgml:
10154         * docs/manual/appendix-quotes.xml:
10155         * gst/base/gstbasesrc.h:
10156         * gst/elements/gstfakesrc.h:
10157         * gst/gstmessage.h:
10158           start pulling in base classes and elements in our docs
10159
10160 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10161
10162         * docs/gst/Makefile.am:
10163         * docs/libs/Makefile.am:
10164           fixed make distcheck with gtk-doc 1.3
10165
10166 2005-06-23  Wim Taymans  <wim@fluendo.com>
10167
10168         * gst/gstelement.c: (gst_element_get_state_func),
10169         (gst_element_set_state), (gst_element_change_state):
10170         When the state did not change, also report NO_PREROLL
10171         when it matters.
10172
10173 2005-06-23  Wim Taymans  <wim@fluendo.com>
10174
10175         * gst/gstpad.c: (gst_pad_event_default):
10176         * gst/gstqueue.c: (gst_queue_loop):
10177         No unsafe task pausing please.
10178
10179 2005-06-23  Wim Taymans  <wim@fluendo.com>
10180
10181         * gst/schedulers/threadscheduler.c:
10182         (gst_thread_scheduler_task_start),
10183         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10184         Ref the task before pushing it on the threadpool. This
10185         makes sure that we have a ref when the threadfunction is
10186         actually called.
10187
10188 2005-06-23  Andy Wingo  <wingo@pobox.com>
10189
10190         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10191         offset is greater than the file's size.
10192
10193         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10194         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10195         * gst/gstobject.c (gst_object_class_init): Make the class lock
10196         recursive. Wim won't let me drop deep_notify. Decodebin works
10197         again, whoopdy doo.
10198
10199         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10200         internal pad, and hacks accordingly. Doesn't do it on the target
10201         pad because we change its caps. Probably catches all cases of
10202         interest tho.
10203         (gst_ghost_pad_set_property): Connect to notify::caps as
10204         appropritate.
10205
10206         * tests/network-clock.scm (plot-simulation): Pipe data to the
10207         elite python skript.
10208
10209         * tests/network-clock-utils.scm (define-parameter): New macro,
10210         defines a parameter that can be set via the command line.
10211         (set-parameter!, parse-parameter-arguments): Command line args
10212         parser.
10213
10214         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10215         stdin.
10216
10217 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10218
10219         * gst/elements/gsttypefindelement.c:
10220         (gst_type_find_element_handle_event):
10221           Don't restart typefinding on a discont.
10222         * gst/gstelement.c: (gst_element_set_state):
10223           Debug spelling fix.
10224         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10225           Allow changing mode of an active pad.
10226           Debug output fixes.
10227         * gst/registries/gstlibxmlregistry.c: (load_feature):
10228           Don't cast a static pad template to a normal pad template.
10229
10230 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10231
10232         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10233         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10234           remove gst_strtoll completely, since it didn't actually do
10235           anything more than what g_ascii_strtoull already does.
10236           check for range errors when deserializing
10237           do a cast for the unsigned cases; but further fixing needs
10238           a decision on what the interpretation of "(int)" and
10239           deserialization should be for values that fall outside the
10240           type's boundaries (ie, refuse, or interpret as casting)
10241
10242 2005-06-23  Wim Taymans  <wim@fluendo.com>
10243
10244         * check/Makefile.am:
10245         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10246         * docs/design/part-live-source.txt:
10247         * docs/design/part-states.txt:
10248         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10249         (gst_basesrc_set_live), (gst_basesrc_is_live),
10250         (gst_basesrc_get_range), (gst_basesrc_activate),
10251         (gst_basesrc_change_state):
10252         * gst/base/gstbasesrc.h:
10253         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10254         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10255         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10256         * gst/gstelement.c: (gst_element_get_state_func),
10257         (gst_element_set_state):
10258         * gst/gstelement.h:
10259         * gst/gsttypes.h:
10260         * tools/gst-launch.c: (event_loop), (main):
10261         Added support for live sources and other elements that
10262         cannot do preroll.
10263         Updated design docs, added live-source design doc.
10264         Implemented live source functionality in basesrc
10265         Fix error condition in _bin_get_state()
10266         Implement live source handling in -launch.
10267         Added check for live sources.
10268         Fixed case in GstBin where elements were changed state
10269         multiple times.
10270
10271
10272 2005-06-23  Andy Wingo  <wingo@pobox.com>
10273
10274         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10275         borken refcounting.
10276
10277         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10278         gst_caps_replace takes care of this for us.
10279
10280         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10281         gst_pad_set_caps on the target, not just its setcaps() function.
10282
10283         * tests/network-clock.scm: 
10284         * tests/network-clock-utils.scm: A network clock simulator.
10285         Something of an algorithmic testbed before doing something in C.
10286
10287 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10288
10289         * check/Makefile.am:
10290         * check/gst/capslist.h:
10291           copy over from 0.8, and add two with bitmasks specified with
10292           (int) 0xFF...
10293         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10294           add test to parse everything from capslist.h
10295         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10296         (main):
10297           add test for structure deserialization
10298         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10299           add tests for deserialization of strings to int types
10300         * gst/gststructure.c: (gst_structure_nth_field_name):
10301         * gst/gststructure.h:
10302           add a way to get the name of a field referenced by index
10303         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10304           instead of checking if the resulting long long lies between
10305           min and max, we check if the long long would fit into
10306           a number of bytes for the final type.
10307           This fixes cases where a string represents 2^32 - 1, which
10308           when cast to int would be the (valid) -1, but is bigger than
10309           G_MAXINT
10310
10311 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10312
10313         * gst/parse/grammar.y:
10314           add a log line for type deserialization
10315
10316 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10317
10318         * check/gst/gstvalue.c: (START_TEST):
10319         * gst/gstvalue.c: (gst_value_deserialize):
10320           return long long, not int, so gint64 deserialization actually
10321           works.  Is there any flag that makes the compiler check this ?
10322           Fixes #308559
10323
10324 2005-06-22  Wim Taymans  <wim@fluendo.com>
10325
10326         * gst/gstbuffer.h:
10327         Added convenience macros for setting buffers in GValue.
10328
10329 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10330
10331         * check/gst/.cvsignore:
10332         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10333           add a test deserializing int64, and comment part out because
10334           it fails, yay !
10335
10336 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10337
10338         * check/Makefile.am:
10339         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10340         * testsuite/Makefile.am:
10341         * testsuite/caps/Makefile.am:
10342         * testsuite/caps/value_serialize.c:
10343         * testsuite/test_gst_init.c:
10344           move a value_serialize test over
10345
10346 2005-06-20  Wim Taymans  <wim@fluendo.com>
10347
10348         * gst/gstpad.c:
10349         Small doc updates.
10350         
10351         * gst/gstvalue.c: (gst_value_compare_buffer),
10352         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10353         (gst_value_compare_flags), (gst_value_serialize_flags),
10354         (gst_value_deserialize_flags), (_gst_value_initialize):
10355         Fix serialisation of buffers, they are not boxed types anymore
10356
10357 2005-06-20  Wim Taymans  <wim@fluendo.com>
10358
10359         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10360         Testcase to show error in buffer-on-caps serialisation.
10361
10362 2005-06-20  Andy Wingo  <wingo@pobox.com>
10363
10364         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10365         will be adding to later.
10366
10367         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10368         if its socks fill with rocks.
10369         (gst_system_clock_obtain): Set the name on object construction.
10370         Avoid double-checked locking.
10371
10372 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10373
10374         * gst/gsturi.c: (gst_element_make_from_uri):
10375           Fix potential endless loop.
10376
10377 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10378
10379         * check/Makefile.am:
10380           add gsttag
10381         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10382         (main):
10383           move over from testsuite dir and clean up
10384         * configure.ac:
10385         * gst/gsttag.c:
10386         * testsuite/Makefile.am:
10387         * testsuite/tags/.cvsignore:
10388         * testsuite/tags/Makefile.am:
10389         * testsuite/tags/merge.c:
10390           remove testsuite/tags
10391
10392 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10393
10394         * docs/gst/gstreamer-sections.txt:
10395         * docs/gst/tmpl/gstenumtypes.sgml:
10396         * win32/gstenumtypes.c:
10397           clean up documentation build a little
10398
10399 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10400
10401         * check/gstcheck.h:
10402           add macros for checking refcounts on objects and caps
10403         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10404           add some more unit tests
10405         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10406         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10407           fix leaked refcounts (I hope :)) so unittest works
10408         * gst/gstpad.h:
10409           whitespace removal
10410
10411 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10412
10413         * configure.ac: back to HEAD
10414
10415 === release 0.9.1 ===
10416
10417 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10418
10419         * NEWS:
10420         * RELEASE:
10421           updated
10422
10423 2005-06-17  Andy Wingo  <wingo@pobox.com>
10424
10425         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10426         assert; it's always possible that the pad gets deactivated in
10427         between the checks in gstpad.c and the implementation. Rely on
10428         finish_preroll() to return a FLUSHING or similar instead of on the
10429         assert.
10430         
10431         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10432         clock and post an EOS message if we come out of finish_preroll in
10433         the playing state.
10434
10435 2005-06-16  David Schleef  <ds@schleef.org>
10436
10437         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10438         (gst_capsfilter_set_property): Allow NULL as possible value
10439         for filter_caps property, indicating GST_CAPS_ANY.
10440
10441 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10442
10443         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10444           fix debug output
10445         * gst/schedulers/Makefile.am:
10446           use libgst prefix
10447         * gstreamer.spec.in:
10448           fix spec for it
10449
10450 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10451
10452         * gstreamer.spec.in:
10453           clean up
10454
10455 2005-06-08  Andy Wingo  <wingo@pobox.com>
10456
10457         * gst/gstutils.c: RPAD fixes all around.
10458         (gst_element_link_pads): Refcounting fixes.
10459
10460         * tools/gst-inspect.c:
10461         * tools/gst-xmlinspect.c:
10462         * parse/grammar.y:
10463         * gst/base/gsttypefindhelper.c:
10464         * gst/base/gstbasesink.c:
10465         * gst/gstqueue.c: RPAD fixes.
10466
10467         * gst/gstghostpad.h:
10468         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10469         pads. The tricky thing is they provide both source and sink
10470         interfaces, since they proxy the internal pad for the external
10471         pad, and vice versa. Implement with lower-level ProxyPad objects,
10472         with the interior proxy pad as a child of the exterior ghost pad.
10473         Should write a doc on this.
10474         
10475         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10476         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10477         gst_object API.
10478         
10479         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10480         pads are real pads. No ghost pads in this file. Not documenting
10481         the myriad s/RPAD/PAD/ and REALIZE fixes.
10482         (gst_pad_class_init): Add properties for "direction" and
10483         "template". Both are construct-only, so they can't change during
10484         the life of the pad. Fixes properly deriving from GstPad.
10485         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10486         derived objects, just set properties when creating the objects via
10487         g_object_new.
10488         (gst_pad_get_parent): Implement as a function, return NULL if the
10489         parent is not an element.
10490         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10491         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10492         
10493         * gst/gstobject.c (gst_object_class_init): Make name a construct
10494         property. Don't set it in the object init.
10495
10496         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10497         with UNKNOWN direction.
10498         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10499         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10500         (gst_element_remove_pad): Remove ghost-pad special cases.
10501         (gst_element_pads_activate): Remove rpad cruft.
10502
10503         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10504         catch the pad's-parent-not-an-element case.
10505
10506         * gst/gst.h: Include gstghostpad.h.
10507
10508         * gst/gst.c (init_post): No more real, ghost pads.
10509
10510         * gst/Makefile.am: Add gstghostpad.[ch].
10511
10512         * check/Makefile.am:
10513         * check/gst/gstbin.c:
10514         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10515         into a bin creates ghost pads, and that the refcounts are right.
10516         Partly moved from gstbin.c.
10517
10518 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10519
10520         * check/gst-libs/.cvsignore:
10521         * check/gst/.cvsignore:
10522         * check/pipelines/.cvsignore:
10523           ignore more
10524         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10525         (START_TEST), (cleanup_suite), (main):
10526           add some tests related to cleanup after running pipelines
10527
10528 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10529
10530         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10531           add a testsuite for GstBuffer
10532
10533 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10534
10535         * gst/gstminiobject.h:
10536           add defines for accessing the refcount
10537
10538 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10539
10540         * Makefile.am: added support for html unit test coverage reports
10541
10542 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10543
10544         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10545           Free existing caps if the capsfilter changes. Add a FIXME about
10546           setting those caps on the pads.
10547
10548         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10549           Before adding a ghost pad to a parent bin, check that there isn't
10550           already one for the element on the bin. Prevents infinite recursion
10551           when using decodebin in parse pipelines. Andy says he'll rewrite the
10552           way this works anyway, so ignore the hack.
10553
10554 2005-06-02  Andy Wingo  <wingo@pobox.com>
10555
10556         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10557         file size, pass it on to the type find helper.
10558
10559         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10560         segment_start and segment_end properly according to the seek
10561         method. Segment_end is still a bit flaky because offset can be
10562         negative for CUR and END cases, but it takes -1 as an "unset"
10563         value.
10564
10565 2005-06-02  Wim Taymans  <wim@fluendo.com>
10566
10567         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10568         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10569         (gst_basesink_activate):
10570         * gst/base/gstbasesink.h:
10571         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10572         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10573         (gst_pad_query), (gst_pad_start_task):
10574         * gst/gstpad.h:
10575         * gst/gstqueue.c: (gst_queue_bufferalloc),
10576         (gst_queue_handle_sink_event), (gst_queue_chain):
10577         Bufferalloc: return GstFlowReturn to more accuratly report
10578         why allocation failed.
10579
10580 2005-06-02  Wim Taymans  <wim@fluendo.com>
10581
10582         * gst/gstpipeline.c: (gst_pipeline_send_event):
10583         Take snapshot of state without blocking.
10584
10585 2005-06-02  Wim Taymans  <wim@fluendo.com>
10586
10587         * docs/design/part-TODO.txt:
10588         * docs/design/part-caps.txt:
10589         * docs/design/part-clocks.txt:
10590         * docs/design/part-negotiation.txt:
10591         * docs/design/part-preroll.txt:
10592         Small doc updates 
10593
10594 2005-05-30  Wim Taymans  <wim@fluendo.com>
10595
10596         * gst/elements/gstidentity.c: (gst_identity_event),
10597         (gst_identity_transform), (gst_identity_get_property):
10598         Protect last_message property as it is accessed from
10599         multiple threads.
10600
10601 2005-05-30  Wim Taymans  <wim@fluendo.com>
10602
10603         * gst/gstelement.c: (gst_element_init),
10604         (gst_element_pads_activate), (gst_element_change_state):
10605         Slicker pad activation code.
10606
10607 2005-05-30  Wim Taymans  <wim@fluendo.com>
10608
10609         * gst/Makefile.am:
10610         * gst/gstelement.h:
10611         * gst/gstelementfactory.h:
10612         * gst/gsttypes.h:
10613         Move elementfactory methods to separate .h file.
10614
10615 2005-05-30  Wim Taymans  <wim@fluendo.com>
10616
10617         * docs/design/part-overview.txt:
10618         * gst/gstsystemclock.h:
10619         Small typo fixes, doc updates.
10620
10621 2005-05-30  Wim Taymans  <wim@fluendo.com>
10622
10623         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10624         (init_popt_callback):
10625         Remove cpu-opt flag.
10626
10627 2005-05-30  Wim Taymans  <wim@fluendo.com>
10628
10629         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10630         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10631         * gst/gstbuffer.h:
10632         Avoid typechecking in places where not needed.
10633         Added accessor for malloc_data.
10634
10635 2005-05-30  Wim Taymans  <wim@fluendo.com>
10636
10637         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10638         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10639         (gst_pad_configure_sink), (gst_pad_configure_src),
10640         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10641         (gst_pad_start_task):
10642         Propagate errors from _set_caps() in configure_src/sink
10643         functions instead of returning TRUE.
10644         FLUSH events can travel up and downstream
10645
10646
10647 2005-05-30  Wim Taymans  <wim@fluendo.com>
10648
10649         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10650         (gst_basesink_activate):
10651         Handle EOS in preroll.
10652
10653 2005-05-30  Wim Taymans  <wim@fluendo.com>
10654
10655         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10656         (gst_queue_loop), (gst_queue_handle_src_event):
10657         Remove old pieces of code
10658         Flushing the queue in an upstream event is a very bad idea.
10659
10660 2005-05-26  Andy Wingo  <wingo@pobox.com>
10661
10662         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10663         gst_value_set_mini_object so as to add a ref on the object (which
10664         will be removed when the value is unset).
10665
10666         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10667         arg type in ::handoff.
10668
10669         * gst/gstelement.c (gst_element_change_state): Also deactivate
10670         pads in READY->NULL, just in case the element didn't make it to
10671         PAUSED. Wingo tested, Wim approved.
10672
10673 2005-05-26  Wim Taymans  <wim@fluendo.com>
10674
10675         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10676         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10677         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10678         A flushing pad cannot be used to alloc_buffer from.
10679
10680 2005-05-26  Wim Taymans  <wim@fluendo.com>
10681
10682         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10683         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10684         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10685         (gst_bus_create_watch), (gst_bus_add_watch_full):
10686         * gst/gstbus.h:
10687         Implement a real GSource and use g_main_context_wakeup() to
10688         signal new messages instead of the socketpair.
10689
10690 2005-05-25  Wim Taymans  <wim@fluendo.com>
10691
10692         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10693         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10694         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10695         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10696         (gst_pad_send_event), (gst_pad_start_task):
10697         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10698         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10699         (gst_queue_sink_activate), (gst_queue_src_activate),
10700         (gst_queue_change_state):
10701         * gst/gstqueue.h:
10702         Fix state changes for non sinks. We now change sinks, then elements
10703         with unconnected srcpads, then the rest.
10704         More efficient queue unlocking in flush and state changes.
10705         Set the pad activate mode even if it does not have an activate
10706         function.
10707
10708 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10709
10710         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10711           Don't go in pull mode for non-seekable sources.
10712         * gst/elements/gsttypefindelement.h:
10713         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10714         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10715         (free_entry), (stop_typefinding),
10716         (gst_type_find_element_handle_event), (find_peek),
10717         (gst_type_find_element_chain), (do_pull_typefind),
10718         (gst_type_find_element_change_state):
10719           Allow typefinding (w/o seeking) in push-mode, simplified version
10720           of what was in 0.8.
10721         * gst/gstutils.c: (gst_buffer_join):
10722         * gst/gstutils.h:
10723           gst_buffer_join() from 0.8.
10724
10725 2005-05-25  Wim Taymans  <wim@fluendo.com>
10726
10727         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10728         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10729         (gst_pad_send_event), (gst_pad_start_task):
10730         Disable attempt at mode switching until it is figured out.
10731
10732 2005-05-25  Wim Taymans  <wim@fluendo.com>
10733
10734         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10735         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10736         (gst_basesink_finish_preroll), (gst_basesink_chain),
10737         (gst_basesink_loop), (gst_basesink_activate),
10738         (gst_basesink_change_state):
10739         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10740         (gst_basesrc_get_range), (gst_basesrc_loop),
10741         (gst_basesrc_activate):
10742         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10743         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10744         (gst_real_pad_init), (gst_real_pad_set_property),
10745         (gst_real_pad_get_property), (gst_pad_set_active),
10746         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10747         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10748         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10749         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10750         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10751         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10752         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10753         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10754         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10755         (gst_pad_stop_task):
10756         * gst/gstpad.h:
10757         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10758         (gst_queue_loop), (gst_queue_src_activate):
10759         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10760         (gst_task_get_state):
10761         * gst/gsttask.h:
10762         * gst/schedulers/threadscheduler.c:
10763         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10764         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10765         in task function.
10766         Remove ACTIVE pad flag, use FLUSHING everywhere
10767         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10768         functions.
10769         Add locks around IS_FLUSHING when reading.
10770         Take STREAM lock in chain(), get_range() functions so plugins
10771         don't need to take it anymore.
10772         
10773
10774
10775 2005-05-25  Wim Taymans  <wim@fluendo.com>
10776
10777         * tools/gst-launch.c: (event_loop):
10778         Unref message after using its contents instead of
10779         before.
10780
10781 2005-05-24  Wim Taymans  <wim@fluendo.com>
10782
10783         * docs/design/draft-ghostpads.txt:
10784         * docs/design/draft-push-pull.txt:
10785         * docs/design/draft-query.txt:
10786         * docs/design/part-overview.txt:
10787         Docs updates, added general overview doc.
10788
10789 2005-05-21  David Schleef  <ds@schleef.org>
10790
10791         * docs/gst/tmpl/old/GstBin.sgml:
10792         * docs/gst/tmpl/old/GstBuffer.sgml:
10793         * docs/gst/tmpl/old/GstCaps.sgml:
10794         * docs/gst/tmpl/old/GstClock.sgml:
10795         * docs/gst/tmpl/old/GstCompat.sgml:
10796         * docs/gst/tmpl/old/GstData.sgml:
10797         * docs/gst/tmpl/old/GstElement.sgml:
10798         * docs/gst/tmpl/old/GstEvent.sgml:
10799         * docs/gst/tmpl/old/GstIndex.sgml:
10800         * docs/gst/tmpl/old/GstStructure.sgml:
10801         * docs/gst/tmpl/old/GstTag.sgml:
10802         * docs/gst/tmpl/old/cothreads.sgml:
10803         * docs/gst/tmpl/old/cothreads_compat.sgml:
10804         * docs/gst/tmpl/old/gettext.sgml:
10805         * docs/gst/tmpl/old/gobject2gtk.sgml:
10806         * docs/gst/tmpl/old/grammar.tab.sgml:
10807         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10808         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10809         * docs/gst/tmpl/old/gst_private.sgml:
10810         * docs/gst/tmpl/old/gstaggregator.sgml:
10811         * docs/gst/tmpl/old/gstarch.sgml:
10812         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10813         * docs/gst/tmpl/old/gstbufferstore.sgml:
10814         * docs/gst/tmpl/old/gstdata_private.sgml:
10815         * docs/gst/tmpl/old/gstdisksink.sgml:
10816         * docs/gst/tmpl/old/gstdisksrc.sgml:
10817         * docs/gst/tmpl/old/gstelementfactory.sgml:
10818         * docs/gst/tmpl/old/gstextratypes.sgml:
10819         * docs/gst/tmpl/old/gstfakesink.sgml:
10820         * docs/gst/tmpl/old/gstfakesrc.sgml:
10821         * docs/gst/tmpl/old/gstfdsink.sgml:
10822         * docs/gst/tmpl/old/gstfdsrc.sgml:
10823         * docs/gst/tmpl/old/gstfilesink.sgml:
10824         * docs/gst/tmpl/old/gstfilesrc.sgml:
10825         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10826         * docs/gst/tmpl/old/gstidentity.sgml:
10827         * docs/gst/tmpl/old/gstindexfactory.sgml:
10828         * docs/gst/tmpl/old/gstmarshal.sgml:
10829         * docs/gst/tmpl/old/gstmd5sink.sgml:
10830         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10831         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10832         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10833         * docs/gst/tmpl/old/gstpipefilter.sgml:
10834         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10835         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10836         * docs/gst/tmpl/old/gstshaper.sgml:
10837         * docs/gst/tmpl/old/gstspider.sgml:
10838         * docs/gst/tmpl/old/gstspideridentity.sgml:
10839         * docs/gst/tmpl/old/gststatistics.sgml:
10840         * docs/gst/tmpl/old/gsttee.sgml:
10841         * docs/gst/tmpl/old/gsttimecache.sgml:
10842         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10843         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10844         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10845         * docs/gst/tmpl/old/types.sgml:
10846           I didn't intend to add these or check them in.
10847
10848 2005-05-19  David Schleef  <ds@schleef.org>
10849
10850         * configure.ac: Use -no-common everywhere.  In a sane world, it
10851           would be the default in libtool, because without it, you can't
10852           build DLLs on Windows.
10853         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10854         * docs/gst/gstreamer-sections.txt:
10855         * docs/gst/tmpl/gstcpu.sgml:
10856         * docs/gst/tmpl/gstdata.sgml:
10857         * docs/gst/tmpl/gstthread.sgml:
10858
10859 2005-05-19  David Schleef  <ds@schleef.org>
10860
10861         * gst/gstminiobject.c: (gst_value_set_mini_object),
10862         (gst_value_take_mini_object), (gst_value_get_mini_object):
10863         * gst/gstminiobject.h: Add GValue set/get functions.
10864
10865 2005-05-19  Wim Taymans  <wim@fluendo.com>
10866
10867         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10868         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10869         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10870         * gst/gstbuffer.h:
10871         * gst/gstbus.c: (gst_bus_post):
10872         * gst/gstelement.c: (gst_element_get_random_pad):
10873         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10874         Make subbufer unref the parent in finalize.
10875         some more debugging info.
10876
10877
10878 2005-05-19  Wim Taymans  <wim@fluendo.com>
10879
10880         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10881         (gst_basesink_init), (gst_basesink_finalize),
10882         (gst_basesink_activate), (gst_basesink_change_state):
10883         Don't free preroll queue too early.
10884
10885 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10886
10887         * gst/Makefile.am:
10888         * gst/ROADMAP:
10889           Hi, I'm outdated. Please shoot me.
10890
10891 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10892
10893         * gst/gstpipeline.c: (gst_pipeline_send_event):
10894           Do not access variables after they have been deleted.
10895
10896 2005-05-19  Wim Taymans  <wim@fluendo.com>
10897
10898         * tools/gst-inspect.c: (print_plugin_features):
10899         A plugin feature does unfortunatly not use the
10900         object name yet...
10901
10902 2005-05-18  Wim Taymans  <wim@fluendo.com>
10903
10904         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10905         Port _span() functions to new subbuffers.
10906
10907 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10908
10909         * gst/gstbin.c: (gst_bin_add_func):
10910           Fix clock settery in bins when adding kids after the clock has
10911           been selected.
10912
10913 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10914
10915         * gst/elements/gstidentity.c: (gst_identity_class_init):
10916           Workaround until signals support GstMiniObject.
10917
10918 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10919
10920         * gst/gstbuffer.c:
10921         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10922
10923 2005-05-18  Wim Taymans  <wim@fluendo.com>
10924
10925         * gst/base/Makefile.am:
10926         * gst/base/gstadapter.c: (gst_adapter_base_init),
10927         (gst_adapter_class_init), (gst_adapter_init),
10928         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10929         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10930         (gst_adapter_flush), (gst_adapter_available),
10931         (gst_adapter_available_fast):
10932         * gst/base/gstadapter.h:
10933         Ported and added adapter to the base classes.
10934
10935 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10936
10937         * gst/gst.c:
10938         * gst/gstmessage.c:
10939           Make sure the class is reffed/unreffed once before threads can be
10940           used.  Fixes #304551.
10941
10942 2005-05-17  Wim Taymans  <wim@fluendo.com>
10943
10944         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10945         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10946         * gst/gstminiobject.c: (gst_mini_object_get_type),
10947         (gst_mini_object_free):
10948         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10949         (gst_pad_push), (gst_pad_push_event):
10950         * gst/gstqueue.c: (gst_queue_change_state):
10951         Don't queue buffers in basesink when we are flushing.
10952         Unref buffer when flushing in basesink.
10953         Flush queue when going to READY
10954         Unref buffer when _push() returns an error.
10955         Don't free MiniObject instance when refcount is incremented
10956         in _finalize() so that we can recover objects.
10957
10958 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10959
10960         * docs/manual/advanced-schedulers.xml:
10961         * docs/manual/appendix-checklist.xml:
10962         * docs/pwg/advanced-clock.xml:
10963         * docs/pwg/advanced-interfaces.xml:
10964         * docs/pwg/advanced-request.xml:
10965         * docs/pwg/advanced-types.xml:
10966         * docs/pwg/intro-preface.xml:
10967         * examples/plugins/example.c: (gst_example_get_type),
10968         (gst_example_class_init), (gst_example_chain),
10969         (gst_example_set_property), (gst_example_get_property),
10970         (gst_example_change_state), (plugin_init):
10971         * examples/plugins/example.h:
10972           small doc fixes
10973
10974 2005-05-17  Wim Taymans  <wim@fluendo.com>
10975
10976         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10977         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10978         * gst/gstqueue.c: (gst_queue_change_state):
10979         Clear queue when going to READY.
10980         Remove IN_SETCAPS flag too.
10981
10982 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10983
10984         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10985           Remove implicit cast from gboolean to GstElementStateReturn;
10986           make sure we still return failure in paused => ready case if
10987           the parent class fails to change state and our own stop 
10988           vfunc succeeds.
10989
10990 2005-05-17  Wim Taymans  <wim@fluendo.com>
10991
10992         * tools/gst-launch.c: (event_loop):
10993         Message was unreffed too soon.
10994
10995 2005-05-16  Andy Wingo  <wingo@pobox.com>
10996
10997         * gst/gstbin.c (sink_iterator_filter): Err... um...
10998
10999         * check/gst/gstbin.c (test_ghost_pads): New test for the
11000         ghosting-if-elements-not-in-same-bin behavior.
11001
11002 2005-05-16  David Schleef  <ds@schleef.org>
11003
11004         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11005         accessing refcount directly.
11006
11007 2005-05-15  David Schleef  <ds@schleef.org>
11008
11009         * check/Makefile.am: remove GstData checks
11010         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11011         * gst/Makefile.am: add miniobject, remove data
11012         * gst/gst.h: add miniobject, remove data
11013         * gst/gstdata.c: remove
11014         * gst/gstdata.h: remove
11015         * gst/gstdata_private.h: remove
11016         * gst/gsttypes.h: remove GstEvent and GstMessage
11017         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11018         * gst/gstmarshal.list: change BOXED -> OBJECT
11019
11020         Implement GstMiniObject.
11021         * gst/gstminiobject.c:
11022         * gst/gstminiobject.h:
11023
11024         Modify to be subclasses of GstMiniObject.
11025         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11026         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11027         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11028         (gst_subbuffer_get_type), (gst_subbuffer_init),
11029         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11030         (gst_buffer_span):
11031         * gst/gstbuffer.h:
11032         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11033         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11034         (_gst_event_copy), (gst_event_new):
11035         * gst/gstevent.h:
11036         * gst/gstmessage.c: (_gst_message_initialize),
11037         (gst_message_get_type), (gst_message_class_init),
11038         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11039         (gst_message_new), (gst_message_new_error),
11040         (gst_message_new_warning), (gst_message_new_tag),
11041         (gst_message_new_state_changed), (gst_message_new_application):
11042         * gst/gstmessage.h:
11043         * gst/gstprobe.c: (gst_probe_perform),
11044         (gst_probe_dispatcher_dispatch):
11045         * gst/gstprobe.h:
11046         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11047         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11048         (_gst_query_copy), (gst_query_new):
11049
11050         Update elements for GstData -> GstMiniObject changes
11051         * gst/gstquery.h:
11052         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11053         (gst_queue_chain), (gst_queue_loop):
11054         * gst/elements/gstbufferstore.c:
11055         (gst_buffer_store_add_buffer_func),
11056         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11057         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11058         (gst_fakesink_render):
11059         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11060         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11061         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11062         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11063         (gst_filesrc_create_read):
11064         * gst/elements/gstidentity.c: (gst_identity_class_init):
11065         * gst/elements/gsttypefindelement.c:
11066         (gst_type_find_element_src_event), (free_entry_buffers),
11067         (gst_type_find_element_handle_event):
11068         * libs/gst/dataprotocol/dataprotocol.c:
11069         (gst_dp_header_from_buffer):
11070         * libs/gst/dataprotocol/dataprotocol.h:
11071         * libs/gst/dataprotocol/dp-private.h:
11072
11073 2005-05-15  David Schleef  <ds@schleef.org>
11074
11075         * gst/elements/gstelements.c: Don't include headers that were
11076         just removed.
11077
11078 2005-05-15  David Schleef  <ds@schleef.org>
11079
11080         * gst/elements/Makefile.am: Remove some elements that don't
11081         need to be in the core (or even exist at all).
11082         * gst/elements/gstaggregator.c:
11083         * gst/elements/gstaggregator.h:
11084         * gst/elements/gstmd5sink.c:
11085         * gst/elements/gstmd5sink.h:
11086         * gst/elements/gstmultifilesrc.c:
11087         * gst/elements/gstmultifilesrc.h:
11088         * gst/elements/gstpipefilter.c:
11089         * gst/elements/gstpipefilter.h:
11090         * gst/elements/gstshaper.c:
11091         * gst/elements/gstshaper.h:
11092         * gst/elements/gststatistics.c:
11093         * gst/elements/gststatistics.h:
11094         * po/POTFILES.in: Remove above files.
11095
11096 2005-05-14  Andy Wingo  <wingo@pobox.com>
11097
11098         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11099         so as to get the refs right.
11100         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11101         unreffing objects that don't pass the filter.
11102
11103         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11104         gst_element_set_bus.
11105         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11106         normal cases, this will destroy the bus.
11107
11108         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11109         object.
11110
11111         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11112         has no sinks.
11113
11114 2005-05-13  Andy Wingo  <wingo@pobox.com>
11115
11116         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11117         gst_pad_link, call pad_link_maybe_ghosting,
11118         (pad_link_maybe_ghosting): Links pads, making sure that the
11119         elements being linked are in the same bin.
11120         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11121         Helpers for pad_link_maybe_ghosting.
11122
11123 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11124
11125         * configure.ac:
11126           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11127
11128 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11129
11130         * docs/design/part-element-source.txt:
11131           Mention GstPushSrc
11132
11133 2005-05-12  Wim Taymans  <wim@fluendo.com>
11134
11135         * gst/base/gstbasesink.c: (gst_basesink_init),
11136         (gst_basesink_activate):
11137         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11138         (gst_basesrc_is_seekable):
11139         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11140         (bin_element_is_sink), (gst_bin_change_state):
11141         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11142         * gst/gstelement.h:
11143         Identify sinks by their flag to avoid overly complicated
11144         checks (fow now).
11145         Do state changes even for elements not reachable from the
11146         sinks.
11147         BaseSink is a sink now :)
11148         Some more debugging info in the basesrc.
11149
11150
11151 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11152
11153         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11154           Implement _query on a bin, similar to _send_event.
11155
11156 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11157
11158         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11159           Discont event offset format should be GST_FORMAT_BYTES,
11160           not GST_FORMAT_TIME.
11161
11162 2005-05-12  Wim Taymans  <wim@fluendo.com>
11163
11164         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11165         Same fix as Ronald's but without the signal. 
11166
11167 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11168
11169         * gst/gstutils.c: (gst_element_query_position):
11170           No, an element is not a pad.
11171
11172 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11173
11174         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11175         (gst_bin_get_state):
11176           If a child is removed from a bin while we remove the child from
11177           the bin and while we're retrieving its state, signal this to the
11178           get_state function so we abort the wait (instead of waiting for
11179           a timeout) and can immediately re-iterate over all other elements.
11180
11181 2005-05-12  Wim Taymans  <wim@fluendo.com>
11182
11183         * gst/base/Makefile.am:
11184         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11185         (gst_basesrc_start):
11186         * gst/base/gstbasesrc.h:
11187         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11188         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11189         (gst_pushsrc_init), (gst_pushsrc_create):
11190         * gst/base/gstpushsrc.h:
11191         Added is_seekable to BaseSrc
11192         Added simple PushSrc.
11193
11194 2005-05-11  Wim Taymans  <wim@fluendo.com>
11195
11196         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11197         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11198         (gst_element_link_pads), (gst_element_query_position),
11199         (gst_element_query_convert), (intersect_caps_func),
11200         (gst_pad_query_position), (gst_pad_query_convert):
11201         Fix refcounting in utils function.
11202         No point in trying to activate a pad when it's added, it could
11203         be added from the state change function and then we deadlock, the
11204         element has to decide what to do.
11205
11206 2005-05-10  Andy Wingo  <wingo@pobox.com>
11207
11208         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11209         *all* the arguments.
11210
11211         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11212         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11213         lock (according to the docs -- if this is wrong change the docs).
11214
11215         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11216         flush messages in the NULL state.
11217
11218         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11219         message immediately and return.
11220         (gst_bus_set_flushing): New function. If a bus is flushing, it
11221         flushes out any queued messages and immediately unrefs new
11222         messages. This is so when an element goes to NULL, all of the
11223         unhandled messages coming from it can be freed, and their
11224         references to the element dropped. In other words: message source
11225         ref considered harmful :P
11226
11227         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11228         we're finished with it.
11229
11230         * gst/gstmessage.c (gst_message_new_state_changed): 
11231
11232 2005-05-10  Wim Taymans  <wim@fluendo.com>
11233
11234         * gst/gstvalue.c: (gst_value_compare_flags),
11235         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11236         (_gst_value_initialize):
11237         Added flags serialize/deserialize/compare code.
11238
11239 2005-05-09  Andy Wingo  <wingo@pobox.com>
11240
11241         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11242         Intersect the peer's caps with our caps.
11243
11244 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11245
11246         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11247         * gst/elements/gsttypefindelement.c: (find_peek):
11248           Handle negative offsets better. Fixes decodebin.
11249
11250 2005-05-09  Wim Taymans  <wim@fluendo.com>
11251
11252         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11253         (gst_base_transform_event):
11254         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11255         Implement accept_caps.
11256         Fix silly lock/unlock mismatch in base class.
11257
11258 2005-05-09  Wim Taymans  <wim@fluendo.com>
11259
11260         * docs/design/draft-push-pull.txt:
11261         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11262         * gst/elements/gstfilesink.c: (gst_filesink_init),
11263         (gst_filesink_query):
11264         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11265         (gst_type_find_handle_src_query), (find_element_get_length):
11266         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11267         * gst/gstelement.h:
11268         * gst/gstmessage.c:
11269         * gst/gstmessage.h:
11270         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11271         (gst_real_pad_get_caps_unlocked),
11272         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11273         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11274         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11275         (gst_real_pad_dispose), (gst_real_pad_finalize),
11276         (gst_pad_load_and_link), (gst_pad_save_thyself),
11277         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11278         (gst_pad_check_pull_range), (gst_pad_pull_range),
11279         (gst_pad_template_get_type), (gst_pad_template_class_init),
11280         (gst_pad_template_init), (gst_pad_template_dispose),
11281         (name_is_valid), (gst_static_pad_template_get),
11282         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11283         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11284         (gst_pad_get_element_private), (gst_pad_start_task),
11285         (gst_pad_pause_task), (gst_pad_stop_task),
11286         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11287         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11288         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11289         (gst_ghost_pad_new):
11290         * gst/gstpad.h:
11291         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11292         (gst_query_new_position), (gst_query_set_position),
11293         (gst_query_parse_position), (gst_query_new_convert),
11294         (gst_query_set_convert), (gst_query_parse_convert):
11295         * gst/gstquery.h:
11296         * gst/gstqueryutils.c:
11297         * gst/gstqueryutils.h:
11298         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11299         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11300         (gst_queue_handle_src_query):
11301         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11302         (gst_element_query_position), (gst_element_query_convert),
11303         (intersect_caps_func), (gst_pad_query_position),
11304         (gst_pad_query_convert):
11305         * gst/gstutils.h:
11306         * tools/gst-inspect.c: (print_pad_info):
11307         * tools/gst-xmlinspect.c: (print_element_info):
11308         Remove old query functions. Ported old code.
11309         Added position/convert helper functions to gstutils.
11310         Reordered gstpad.c code, grouping relevant things.
11311         Remove gst_message_new(), always need to speficy a specific
11312         message.
11313
11314
11315 2005-05-09  Andy Wingo  <wingo@pobox.com>
11316
11317         * gst/gstiterator.h: Add some includes.
11318
11319         * gst/gstqueryutils.h: Include more headers.
11320
11321         * gst/gstpad.h:
11322         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11323         some uses of gst_pad_query.
11324
11325         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11326         NULL out parameters.
11327         (gst_query_new_position): New proc, allocates a new position
11328         query.
11329
11330         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11331         gstqueryutils.c to the build.
11332
11333         * gst/gststructure.c (gst_structure_set_valist): Implement with
11334         the generic G_VALUE_COLLECT.
11335         
11336 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11337
11338         * gst/Makefile.am: (gst_headers):
11339         Added gstqueryutils.h to the list of headers to install, that was
11340         a 'nachty' move wingo :)
11341
11342 2005-05-06  Andy Wingo  <wingo@pobox.com>
11343
11344         * gst/gstquery.h
11345         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11346         GstData, init a memchunk.
11347         (standard_definitions): Add a few query types, deprecate a few.
11348         (gst_query_get_type): New proc.
11349         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11350         implementation.
11351         (gst_query_new_application, gst_query_get_structure): New public
11352         procs.
11353
11354         * docs/design/draft-query.txt: Removed LINKS from the query types,
11355         because all the rest can be dispatched to other pads -- seemed
11356         ugly to have a query that couldn't be dispatched. internal_links
11357         is fine as a pad method.
11358
11359         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11360         in gstpad.c, but maintain binary compatibility for the moment.
11361         Will fix before 0.9 is out.
11362
11363         * gst/gstqueryutils.c: 
11364         * gst/gstqueryutils.h: New files, implement 3 methods for each
11365         query type: parse_query, parse_response, and set. Probably need an
11366         allocator as well.
11367
11368         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11369
11370         * gst/elements/gstfilesink.c (gst_filesink_query2):
11371         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11372         query_types, and formats methods.
11373
11374         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11375         (gst_pad_set_query2_function): New functions.
11376         (gst_real_pad_init): Set query2_default as the default query2
11377         function. Basically just dispatches to internally linked pads.
11378
11379         Needs review!
11380         
11381         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11382         without using the atomic operations. Only one thread can possibly
11383         be accessing the data at this point. Changed so as to avoid
11384         gst_atomic operations.
11385
11386 2005-05-06  Wim Taymans  <wim@fluendo.com>
11387
11388         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11389         Also set caps if we use the fallback buffer alloc.
11390
11391 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11392
11393         * docs/gst/Makefile.am:
11394         * docs/gst/gstreamer-docs.sgml:
11395         * docs/gst/gstreamer-sections.txt:
11396         * docs/gst/tmpl/gstatomic.sgml:
11397         * docs/gst/tmpl/gstmemchunk.sgml:
11398         * testsuite/elements/struct_i386.h:
11399         * win32/GStreamer.vcproj:
11400         * win32/Makefile:
11401           Purge GstAtomic stuff from docs and win32 makefiles as well
11402
11403 2005-05-06  Wim Taymans  <wim@fluendo.com>
11404
11405         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11406         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11407         * gst/gstpad.c: (gst_pad_peer_get_caps):
11408         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11409         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11410         (gst_queue_src_activate), (gst_queue_change_state):
11411         * gst/gstqueue.h:
11412         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11413         (intersect_caps_func):
11414         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11415         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11416         Some fixes for the peer_get_caps() change.
11417
11418 2005-05-06  Wim Taymans  <wim@fluendo.com>
11419
11420         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11421         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11422         (gst_basesink_activate):
11423         Actually do something with error codes returned from the push
11424         functions.
11425
11426 2005-05-06  Wim Taymans  <wim@fluendo.com>
11427
11428         * docs/design/part-element-sink.txt:
11429         * docs/design/part-element-source.txt:
11430         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11431         (gst_basesink_event), (gst_basesink_activate):
11432         * gst/base/gstbasesink.h:
11433         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11434         (gst_basesrc_activate):
11435         * gst/base/gstbasesrc.h:
11436         * gst/gstelement.c: (gst_element_pads_activate):
11437         Some more documentation.
11438         Fixed scheduling decision in _pads_activate().
11439
11440 2005-05-05  Andy Wingo  <wingo@pobox.com>
11441
11442         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11443         the test suite.
11444
11445 2005-05-05  Wim Taymans  <wim@fluendo.com>
11446
11447         * gst/base/Makefile.am:
11448         * gst/base/gstbasesink.h:
11449         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11450         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11451         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11452         (gst_collectpads_class_init), (gst_collectpads_init),
11453         (gst_collectpads_finalize), (gst_collectpads_new),
11454         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11455         (find_pad), (gst_collectpads_remove_pad),
11456         (gst_collectpads_is_active), (gst_collectpads_collect),
11457         (gst_collectpads_collect_range), (gst_collectpads_start),
11458         (gst_collectpads_stop), (gst_collectpads_peek),
11459         (gst_collectpads_pop), (gst_collectpads_available),
11460         (gst_collectpads_read), (gst_collectpads_flush),
11461         (gst_collectpads_chain):
11462         * gst/base/gstcollectpads.h:
11463         * gst/elements/Makefile.am:
11464         * gst/elements/gstelements.c:
11465         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11466         (gst_fakesink_get_times), (gst_fakesink_event),
11467         (gst_fakesink_preroll), (gst_fakesink_render):
11468         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11469         (gst_filesink_init), (gst_filesink_set_location),
11470         (gst_filesink_open_file), (gst_filesink_close_file),
11471         (gst_filesink_pad_query), (gst_filesink_event),
11472         (gst_filesink_render), (gst_filesink_change_state):
11473         * gst/elements/gstfilesink.h:
11474         Added object to help in making collect pad based elements.
11475         Ported filesink.
11476         Make event function in sink baseclass return gboolean.
11477
11478 2005-05-05  Wim Taymans  <wim@fluendo.com>
11479
11480         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11481         (gst_bin_get_by_name):
11482         * gst/gstbuffer.h:
11483         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11484         (gst_clock_finalize):
11485         * gst/gstdata.c: (gst_data_replace):
11486         * gst/gstdata.h:
11487         * gst/gstelement.c: (gst_element_request_pad),
11488         (gst_element_pads_activate):
11489         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11490         (gst_object_unref):
11491         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11492         (gst_pad_set_checkgetrange_function),
11493         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11494         (gst_pad_check_pull_range), (gst_pad_pull_range),
11495         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11496         (gst_pad_pause_task), (gst_pad_stop_task):
11497         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11498         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11499         Fix name lookup in GstBin.
11500         Added _data_replace() function and _buffer_replace()
11501         Use finalize method to clean up clock.
11502         Fix refcounting on request pads.
11503         Fix pad schedule mode error.
11504         Some more object refcounting debug info,
11505
11506
11507 2005-05-04  Andy Wingo <wingo@pobox.com>
11508
11509         * check/Makefile.am:
11510         * docs/gst/tmpl/gstatomic.sgml:
11511         * docs/gst/tmpl/gstplugin.sgml:
11512         * gst/base/gstbasesink.c: (gst_basesink_activate):
11513         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11514         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11515         (gst_basesrc_query), (gst_basesrc_set_property),
11516         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11517         (gst_basesrc_activate):
11518         * gst/base/gstbasesrc.h:
11519         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11520         (gst_base_transform_src_activate):
11521         * gst/elements/gstelements.c:
11522         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11523         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11524         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11525         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11526         (gst_type_find_element_checkgetrange),
11527         (gst_type_find_element_activate):
11528         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11529         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11530         (gst_caps_load_thyself):
11531         * gst/gstelement.c: (gst_element_pads_activate),
11532         (gst_element_save_thyself), (gst_element_restore_thyself):
11533         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11534         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11535         * gst/gstpad.h:
11536         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11537         (gst_xml_parse_file), (gst_xml_parse_memory),
11538         (gst_xml_get_element), (gst_xml_make_element):
11539         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11540         (_file_index_id_save_xml), (gst_file_index_commit):
11541         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11542         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11543         (load_paths):
11544         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11545         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11546         * tools/gst-complete.c: (main):
11547         * tools/gst-compprep.c: (main):
11548         * tools/gst-inspect.c: (print_element_properties_info):
11549         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11550         * tools/gst-xmlinspect.c: (print_element_properties):
11551         GCC 4 fixen.
11552         
11553 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11554
11555         * gst/gstplugin.c: (gst_plugin_check_module),
11556         (gst_plugin_check_file), (gst_plugin_load_file):
11557             apply patch from #172526 to make register work on MacOSX
11558
11559 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11560
11561         * docs/gst/tmpl/gstconfig.sgml:
11562         * gst/gstconfig.h.in:
11563           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11564         * testsuite/debug/printf_extension.c: (main):
11565           Do not use GST_PTR_FORMAT on pointers to types with
11566           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11567         * testsuite/elements/property.h:
11568           use correct printf format
11569
11570 2005-05-02  Wim Taymans  <wim@fluendo.com>
11571
11572         * docs/design/draft-push-pull.txt:
11573         * docs/design/draft-query.txt:
11574         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11575         (gst_basesrc_start):
11576         Added draft for new query API.
11577         Added draft for better selecting scheduling methods.
11578         Make basesrc ignore length if the subclass does not support
11579         it.
11580
11581 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11582
11583         * gst/Makefile.am:
11584           possible fixes for automake-1.5 - _LIBADD is reserved
11585
11586 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11587
11588         * docs/faq/Makefile.am:
11589         * docs/manual/Makefile.am:
11590         * docs/manuals.mak:
11591         * docs/pwg/Makefile.am:
11592         * gst/Makefile.am:
11593           possible fixes for automake-1.5
11594
11595 2005-04-28  Wim Taymans  <wim@fluendo.com>
11596
11597         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11598         (gst_basesink_pad_getcaps), (gst_basesink_init),
11599         (gst_basesink_do_sync):
11600         * gst/gstclock.c: (gst_clock_entry_new):
11601         * gst/gstevent.c: (gst_event_discont_get_value):
11602         * gst/gstpipeline.c: (pipeline_bus_handler),
11603         (gst_pipeline_change_state):
11604         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11605         Better debugging of clocking info.
11606         Allow NULL values when getting discont values.
11607
11608 2005-04-27  Wim Taymans  <wim@fluendo.com>
11609
11610         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11611         * check/gst/gstpad.c: (gst_pad_suite):
11612         Increase timeout for checks.
11613
11614 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11615
11616         * check/Makefile.am:
11617           fix the broken rule for cleanup.  Apparently this rule is
11618           only needed on FC2, so maybe this warrants further autotool
11619           inspection.
11620
11621 2005-04-26  Wim Taymans  <wim@fluendo.com>
11622
11623         * gst/gsttrashstack.h:
11624         Ooohh. a nasty one! After having a failed pop() from the stack,
11625         it's possible that the stack is empty. In that case, don't
11626         follow the NULL pointer.
11627
11628 2005-04-25  Wim Taymans  <wim@fluendo.com>
11629
11630         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11631         (gst_pad_set_checkgetrange_function),
11632         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11633         (gst_pad_check_pull_range), (gst_pad_pull_range),
11634         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11635         (gst_pad_pause_task), (gst_pad_stop_task):
11636         * gst/gstplugin.c: (gst_plugin_load):
11637         * gst/gstplugin.h:
11638         Remove gst_library_load as it does more harm than good with
11639         the new g_module flags.
11640         Revert bogus caps template check in pad linking, pad caps
11641         are important when linking not the template, which is more
11642         general than the current caps.
11643
11644 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11645
11646         * gst/autoplug/.cvsignore:
11647         * gst/autoplug/Makefile.am:
11648         * gst/autoplug/gstsearchfuncs.c:
11649         * gst/autoplug/gstsearchfuncs.h:
11650         * gst/autoplug/gstspider.c:
11651         * gst/autoplug/gstspider.h:
11652         * gst/autoplug/gstspideridentity.c:
11653         * gst/autoplug/gstspideridentity.h:
11654         * gst/autoplug/spidertest.c:
11655           Die, spider, die.
11656
11657 2005-04-25  Wim Taymans  <wim@fluendo.com>
11658
11659         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11660         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11661         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11662         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11663         * gst/gstpad.h:
11664         Added stubs for unimplemented functions. 
11665
11666 2005-04-24  David Schleef  <ds@schleef.org>
11667
11668         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11669         please fix.
11670
11671 2005-04-24  David Schleef  <ds@schleef.org>
11672
11673         Convert everything from GstAtomicInt to g_atomic_int_*, and
11674         remove gstatomic.
11675         * gst/Makefile.am:
11676         * gst/gstatomic.c:
11677         * gst/gstatomic.h:
11678         * gst/gstatomic_impl.h:
11679         * gst/gstbuffer.c:
11680         * gst/gstcaps.c:
11681         * gst/gstcaps.h:
11682         * gst/gstclock.c:
11683         * gst/gstclock.h:
11684         * gst/gstdata.c:
11685         * gst/gstdata.h:
11686         * gst/gstdata_private.h:
11687         * gst/gstevent.c:
11688         * gst/gstinfo.c:
11689         * gst/gstinfo.h:
11690         * gst/gstmessage.c:
11691         * gst/gstobject.c:
11692         * gst/gstobject.h:
11693         * gst/gststructure.c:
11694         * gst/gststructure.h:
11695         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11696         * gst/gstutils.h:
11697
11698 2005-04-24  David Schleef  <ds@schleef.org>
11699
11700         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11701         make the regressions tests work.  Remove some code that is no
11702         longer true.
11703         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11704         Disable warning for pads without templates.
11705
11706 2005-04-24  David Schleef  <ds@schleef.org>
11707
11708         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11709         functions that handle filtered links.
11710         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11711         removed functions.
11712         * gst/gstutils.c: Fix/remove utility functions that handle
11713         filtered caps.
11714         * gst/gstutils.h:
11715         * gst/gstvalue.c: Add serialization/deserialization of caps
11716         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11717         requires fixing so that the filter caps notation creates
11718         a capsfilter element and sets the filter_caps property.  I
11719         think everyone probably wants to keep the shorthand notation.
11720         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11721         * docs/gst/tmpl/gstpad.sgml:
11722
11723         * gst/elements/gstelements.c: Register capsfilter element.
11724         * gst/Makefile.am: fix spacing
11725         * docs/random/ds/0.9-suggested-changes: random
11726
11727 2005-04-23  David Schleef  <ds@schleef.org>
11728
11729         * gst/elements/Makefile.am:
11730         * gst/elements/gstcapsfilter.c: New element that acts like an
11731         identity, but filters caps.  Will eventually replace filtered
11732         caps in pad linking.
11733         * gst/gstutils.c: (gst_element_create_all_pads): New function
11734         to create all the ALWAYS pads that are registered with an
11735         element class.  This functionality should eventually be
11736         merged in with GstElement initialization.
11737         * gst/gstutils.h:
11738         * testsuite/trigger/README: part of trigger test code that should
11739         have been checked in a long time ago.
11740
11741 2005-04-23  David Schleef  <ds@schleef.org>
11742
11743         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11744         needed with new versions of libtool (nobody will confirm this),
11745         and hard to carry around.
11746         * gst/autoplug/Makefile.am:
11747         * gst/base/Makefile.am:
11748         * gst/elements/Makefile.am:
11749         * gst/indexers/Makefile.am:
11750         * gst/schedulers/Makefile.am:
11751         * libs/gst/bytestream/Makefile.am:
11752         * libs/gst/control/Makefile.am:
11753         * libs/gst/dataprotocol/Makefile.am:
11754         * libs/gst/getbits/Makefile.am:
11755
11756 2005-04-21  Wim Taymans  <wim@fluendo.com>
11757
11758         * docs/design/draft-push-pull.txt:
11759         * docs/design/part-MT-refcounting.txt:
11760         * docs/design/part-TODO.txt:
11761         * docs/design/part-caps.txt:
11762         * docs/design/part-events.txt:
11763         * docs/design/part-gstbus.txt:
11764         * docs/design/part-gstpipeline.txt:
11765         * docs/design/part-messages.txt:
11766         * docs/design/part-push-pull.txt:
11767         * docs/design/part-query.txt:
11768         Some more docs.
11769
11770 2005-04-21  Wim Taymans  <wim@fluendo.com>
11771
11772         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11773         (gst_message_new), (gst_message_new_error),
11774         (gst_message_new_warning), (gst_message_new_tag),
11775         (gst_message_new_state_changed), (gst_message_new_application),
11776         (gst_message_get_structure):
11777         * gst/gstmessage.h:
11778         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11779         (gst_structure_copy_conditional):
11780         Use parent refcount in GstMessage to ensure GstStructure
11781         consistency.
11782         Cleaned up headers a bit.
11783         
11784
11785 2005-04-20  Wim Taymans  <wim@fluendo.com>
11786
11787         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11788         (gst_basesink_pad_getcaps), (gst_basesink_init),
11789         (gst_basesink_chain_unlocked):
11790         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11791         (gst_type_find_helper):
11792         * gst/elements/gsttypefindelement.c:
11793         (gst_type_find_element_have_type), (gst_type_find_element_init),
11794         (stop_typefinding), (gst_type_find_element_handle_event),
11795         (find_suggest), (gst_type_find_element_chain),
11796         (gst_type_find_element_checkgetrange),
11797         (gst_type_find_element_getrange), (do_typefind),
11798         (gst_type_find_element_activate):
11799         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11800         (gst_buffer_default_free), (gst_buffer_default_copy),
11801         (gst_buffer_set_caps):
11802         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11803         (gst_caps_replace):
11804         * gst/gstmessage.c: (gst_message_new),
11805         (gst_message_new_state_changed):
11806         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11807         (gst_pad_set_checkgetrange_function),
11808         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11809         (gst_pad_set_caps), (gst_pad_check_pull_range),
11810         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11811         * gst/gstpad.h:
11812         * gst/gsttypefind.c: (gst_type_find_register):
11813         Make gst_caps_replace() work like other _replace() functions.
11814         Use _caps_replace() where possible.
11815         Make sure _message_new() initialises its field.
11816         Add gst_static_pad_template_get_caps()
11817
11818
11819 2005-04-18  Andy Wingo  <wingo@pobox.com>
11820
11821         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11822         on the peer, not the pad. I think that was a typo. Pass an extra
11823         arg to see if random access is possible. Activate the pads as
11824         PULL_RANGE if possible.
11825
11826         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11827
11828         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11829         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11830         to PROP_....
11831
11832 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11833
11834         * docs/faq/using.xml:
11835           Add note on gstreamer-properties (#154996).
11836
11837 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11838
11839         * docs/random/bbb/optional-properties:
11840           Some analysis on optional properties.
11841
11842 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11843
11844         * docs/gst/tmpl/gstelementfactory.sgml:
11845         * gst/gstelement.h:
11846         * gst/gstelementfactory.c: (gst_element_factory_init),
11847         (gst_element_factory_cleanup), (gst_element_register),
11848         (__gst_element_factory_add_static_pad_template),
11849         (gst_element_factory_get_static_pad_templates),
11850         (gst_element_factory_can_src_caps),
11851         (gst_element_factory_can_sink_caps):
11852         * gst/registries/Makefile.am:
11853         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11854         (gst_xml_registry_class_init), (gst_xml_registry_init),
11855         (gst_xml_registry_new), (gst_xml_registry_set_property),
11856         (gst_xml_registry_get_property), (get_time), (make_dir),
11857         (gst_xml_registry_get_perms_func),
11858         (plugin_times_older_than_recurse), (plugin_times_older_than),
11859         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11860         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11861         (add_to_char_array), (read_string), (read_uint), (read_enum),
11862         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11863         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11864         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11865         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11866         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11867         (gst_xml_registry_rebuild):
11868         * gst/registries/gstlibxmlregistry.h:
11869         * tools/gst-compprep.c: (main):
11870         * tools/gst-inspect.c: (print_pad_templates_info):
11871         * tools/gst-xmlinspect.c: (print_element_info):
11872           Use libxml2 for registry parsing, use staticpadtemplates in
11873           elementfactories. Makes gst_init() +/- 10x faster.
11874
11875 2005-04-12  Wim Taymans  <wim@fluendo.com>
11876
11877         * gst/base/Makefile.am:
11878         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11879         (gst_basesink_pad_getcaps), (gst_basesink_init),
11880         (gst_basesink_event), (gst_basesink_change_state):
11881         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11882         (gst_basesrc_init), (gst_basesrc_query),
11883         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11884         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11885         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11886         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11887         (gst_basesrc_stop), (gst_basesrc_activate),
11888         (gst_basesrc_change_state):
11889         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11890         (helper_find_suggest), (gst_type_find_helper):
11891         * gst/base/gsttypefindhelper.h:
11892         * gst/elements/Makefile.am:
11893         * gst/elements/gstelements.c:
11894         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11895         (gst_fakesink_get_times), (gst_fakesink_event),
11896         (gst_fakesink_preroll), (gst_fakesink_render):
11897         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11898         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11899         (gst_fakesrc_get_property), (gst_fakesrc_create),
11900         (gst_fakesrc_start), (gst_fakesrc_stop):
11901         * gst/elements/gstfakesrc.h:
11902         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11903         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11904         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11905         (gst_filesrc_create_read), (gst_filesrc_create),
11906         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11907         (gst_filesrc_start):
11908         * gst/elements/gsttypefindelement.c:
11909         (gst_type_find_element_have_type), (gst_type_find_element_init),
11910         (start_typefinding), (stop_typefinding), (push_buffer_store),
11911         (gst_type_find_element_handle_event),
11912         (gst_type_find_element_chain),
11913         (gst_type_find_element_checkgetrange),
11914         (gst_type_find_element_getrange), (do_typefind),
11915         (gst_type_find_element_activate),
11916         (gst_type_find_element_change_state):
11917         * gst/elements/gsttypefindelement.h:
11918         * gst/gstpipeline.c: (pipeline_bus_handler):
11919         Added typefind helper.
11920         Small preroll fix in the base sink.
11921         Disable typefind code in basesrc.
11922         Crude port of typefindelement.
11923         Fakesrc cleanups.
11924
11925
11926 2005-04-11  Wim Taymans  <wim@fluendo.com>
11927
11928         * check/gst/gstbus.c: (gstbus_suite):
11929         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11930         * check/gstcheck.h:
11931           Fix up the timeout so that the test does not fail.
11932
11933 2005-04-06  Wim Taymans  <wim@fluendo.com>
11934
11935         * gst/base/README:
11936         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11937         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11938         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11939         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11940         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11941         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11942         (gst_basesrc_stop), (gst_basesrc_activate),
11943         (gst_basesrc_change_state), (basesrc_find_peek),
11944         (basesrc_find_suggest), (gst_basesrc_type_find):
11945         * gst/base/gstbasesrc.h:
11946         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11947         (gst_filesrc_class_init), (gst_filesrc_init),
11948         (gst_filesrc_finalize), (gst_filesrc_set_location),
11949         (gst_filesrc_set_property), (gst_filesrc_get_property),
11950         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11951         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11952         (gst_filesrc_create_read), (gst_filesrc_create),
11953         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11954         * gst/elements/gstfilesrc.h:
11955         * gst/gstelement.c: (gst_element_get_state_func),
11956         (gst_element_lost_state), (gst_element_pads_activate):
11957         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11958         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11959         (gst_pad_pull_range):
11960         * gst/gstpad.h:
11961         More work on the generic source base class, implement seeking,
11962         query.
11963         Make filesrc extend the base source class.
11964         Added gst_pad_set_checkgetrange_function to GstPad.
11965
11966 2005-04-06  Andy Wingo  <wingo@pobox.com>
11967
11968         * pkgconfig/gstreamer-base.pc.in:
11969         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11970
11971         * pkgconfig/Makefile.am:
11972         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11973
11974 2005-04-04  Wim Taymans  <wim@fluendo.com>
11975
11976         * gst/base/Makefile.am:
11977         * gst/base/README:
11978         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11979         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11980         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11981         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11982         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11983         (gst_basesrc_base_init), (gst_basesrc_class_init),
11984         (gst_basesrc_init), (gst_basesrc_get_formats),
11985         (gst_basesrc_get_query_types), (gst_basesrc_query),
11986         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11987         (gst_basesrc_set_property), (gst_basesrc_get_property),
11988         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11989         (gst_basesrc_loop), (gst_basesrc_activate),
11990         (gst_basesrc_change_state):
11991         * gst/base/gstbasesrc.h:
11992         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11993         (gst_fakesrc_class_init), (gst_fakesrc_init),
11994         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11995         (gst_fakesrc_get_property), (gst_fakesrc_create):
11996         * gst/elements/gstfakesrc.h:
11997         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11998         (gst_filesrc_open_file), (gst_filesrc_loop),
11999         (gst_filesrc_activate), (filesrc_find_peek),
12000         (gst_filesrc_type_find):
12001         Made base source class, make fakesrc extend it.
12002         Add comments to basesink class.
12003         Some filesrc cleanup.
12004
12005 2005-03-31  David Schleef  <ds@schleef.org>
12006
12007         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12008         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12009         expected to link against libgstreamer.
12010         * gst/base/Makefile.am: link against libgstreamer
12011         * gst/elements/Makefile.am: same
12012
12013 2005-03-31  Andy Wingo  <wingo@pobox.com>
12014
12015         * tests/instantiate/Makefile.am:
12016         * tests/instantiate/caps.c: Add test to test speed of caps copy
12017         and free.
12018
12019         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12020         GMemChunk to be fair.
12021
12022         * gst/gsttrashstack.h: Remove warning about using the fallback
12023         trash stack implementation, it's still faster than malloc.
12024
12025 2005-03-30  Andy Wingo  <wingo@pobox.com>
12026
12027         * tests/complexity.c: Add a copyright.
12028
12029 2005-03-31  Wim Taymans  <wim@fluendo.com>
12030
12031         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12032         (gst_base_transform_class_init), (gst_base_transform_init),
12033         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12034         (gst_base_transform_get_property),
12035         (gst_base_transform_sink_activate),
12036         (gst_base_transform_src_activate),
12037         (gst_base_transform_change_state):
12038         * gst/base/gstbasetransform.h:
12039         * gst/elements/gstidentity.c: (gst_identity_class_init),
12040         (gst_identity_event), (gst_identity_check_perfect),
12041         (gst_identity_transform), (gst_identity_start),
12042         (gst_identity_stop):
12043         Added start/stop methods to transform base class so subclasses 
12044         don't need to deal with state changes even.
12045
12046 2005-03-31  Wim Taymans  <wim@fluendo.com>
12047
12048         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12049         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12050         * gst/gstevent.h:
12051         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12052         (gst_pad_pull_range):
12053         Added rate to the discont event to prepare for variable speed
12054         and reverse playback.
12055
12056 2005-03-29  David Schleef  <ds@schleef.org>
12057
12058         * configure.ac:
12059         * testsuite/trigger/Makefile.am:
12060         * testsuite/trigger/trigger.c: A little example program to show
12061         how trigger-based elements can work.
12062
12063 2005-03-29  Wim Taymans  <wim@fluendo.com>
12064
12065         * gst/base/Makefile.am:
12066         * gst/base/README:
12067         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12068         (gst_basesink_base_init), (gst_basesink_class_init),
12069         (gst_basesink_pad_getcaps), (gst_basesink_init),
12070         (gst_basesink_activate), (gst_basesink_change_state):
12071         * gst/base/gstbasesink.h:
12072         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12073         (gst_base_transform_base_init), (gst_base_transform_finalize),
12074         (gst_base_transform_class_init), (gst_base_transform_init),
12075         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12076         (gst_base_transform_event), (gst_base_transform_getrange),
12077         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12078         (gst_base_transform_set_property),
12079         (gst_base_transform_get_property),
12080         (gst_base_transform_sink_activate),
12081         (gst_base_transform_src_activate),
12082         (gst_base_transform_change_state):
12083         * gst/base/gstbasetransform.h:
12084         * gst/elements/gstidentity.c: (gst_identity_finalize),
12085         (gst_identity_class_init), (gst_identity_init),
12086         (gst_identity_event), (gst_identity_check_perfect),
12087         (gst_identity_transform), (gst_identity_set_property),
12088         (gst_identity_get_property), (gst_identity_change_state):
12089         * gst/elements/gstidentity.h:
12090         * gst/gstelement.c: (gst_element_get_state_func),
12091         (gst_element_lost_state), (gst_element_pads_activate):
12092         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12093         (gst_pad_check_pull_range), (gst_pad_pull_range):
12094         * gst/gstpad.h:
12095         Simplify pad activation.
12096         Added function to check if pull_range can be performed.
12097         Error out when pulling inactive or flushing pads.
12098         Removed const from refcounted types as it does not make sense.
12099         Simplify pad templates in basesink
12100         Added base class for simple 1-to-1 transforms.
12101         Make identity subclass the base transform.
12102
12103 2005-03-29  Andy Wingo  <wingo@pobox.com>
12104
12105         * docs/libs/gstreamer-libs-overrides.txt: 
12106         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12107         really don't understand what's going on, but like whatever. I want
12108         green buildbot!
12109
12110         * docs/gst/Makefile.am:
12111         * docs/libs/Makefile.am: Dist the overrides files.
12112
12113         * check/Makefile.am (clean-local): Remove .libs directories.
12114
12115         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12116         elements to EXTRA_DIST, so po/ files are happy.
12117
12118         * po/POTFILES.in: Er, remove it here.
12119
12120         * po/POTFILES: Remove gstspider.c.
12121
12122         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12123
12124         * docs/libs/gstreamer-libs-docs.sgml: 
12125         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12126         bytestream.
12127
12128         * tests/complexity.c (main): Set the length of the preroll queue
12129         on the sinks to prevent a lockup.
12130
12131         * libs/gst/dataprotocol/Makefile.am: 
12132         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12133         the same as the one in check/gst-libs/gdp.c.
12134
12135         * po/, docs/gst/: Commit automatic changes to docs and po files.
12136
12137         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12138         the versioned libgstbase.
12139
12140         * check/Makefile.am: Depend on an unversioned gst-register, seems
12141         to make autoconf happier.
12142
12143         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12144
12145 2005-03-28  Wim Taymans  <wim@fluendo.com>
12146
12147         * configure.ac:
12148         * docs/design/part-gstelement.txt:
12149         * docs/design/part-negotiation.txt:
12150         * docs/design/part-preroll.txt:
12151         * docs/design/part-scheduling.txt:
12152         * docs/design/part-states.txt:
12153         * gst/Makefile.am:
12154         * gst/base/Makefile.am:
12155         * gst/base/README:
12156         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12157         (gst_basesink_base_init), (gst_basesink_class_init),
12158         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12159         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12160         (gst_basesink_set_pad_functions),
12161         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12162         (gst_basesink_set_property), (gst_basesink_get_property),
12163         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12164         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12165         (gst_basesink_preroll_queue_push),
12166         (gst_basesink_preroll_queue_empty),
12167         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12168         (gst_basesink_event), (gst_basesink_get_times),
12169         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12170         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12171         (gst_basesink_loop), (gst_basesink_activate),
12172         (gst_basesink_change_state):
12173         * gst/base/gstbasesink.h:
12174         * gst/elements/Makefile.am:
12175         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12176         (gst_fakesink_class_init), (gst_fakesink_init),
12177         (gst_fakesink_set_property), (gst_fakesink_get_property),
12178         (gst_fakesink_get_times), (gst_fakesink_event),
12179         (gst_fakesink_preroll), (gst_fakesink_render),
12180         (gst_fakesink_change_state):
12181         * gst/elements/gstfakesink.h:
12182         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12183         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12184         * gst/gstelement.c: (gst_element_add_pad),
12185         (gst_element_get_state_func), (gst_element_abort_state),
12186         (gst_element_commit_state), (gst_element_lost_state),
12187         (gst_element_set_state), (gst_element_pads_activate):
12188         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12189         * gst/gstpipeline.c: (gst_pipeline_send_event),
12190         (gst_pipeline_change_state):
12191         Added state change code.
12192         Added/updated docs.
12193         Added sink base class, make fakesink extend the base class.
12194         Small cleanups in GstPipeline.
12195
12196 2005-03-26  David Schleef  <ds@schleef.org>
12197
12198         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12199         is broken and should be implemented in a different library.
12200         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12201         * gst/gst.h: remove gstcpu.h
12202         * gst/gstcpu.c: remove
12203         * gst/gstcpu.h: remove
12204         * gst/Makefile.am.future: Remove this file.  It's ancient.
12205
12206 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12207
12208         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12209         (gst_bin_send_event):
12210           Add default event/set_manager handlers. The set_manager handler
12211           takes care that the manager is distributed over kids that were
12212           already in the bin before the manager was set. The event handler
12213           is a utility virtual function that sends the event over all sinks,
12214           so that gst_element_send_event (bin, event); has the expected
12215           behaviour.
12216         * gst/gstpad.c: (gst_pad_event_default):
12217           Re-install default event handling for discontinuities, so that
12218           seeking works without requiring hacks in applications or extra
12219           code in sinks.
12220         * gst/gstpipeline.c: (gst_pipeline_class_init),
12221         (gst_pipeline_send_event):
12222           Half hack, half utility: set a pipeline to PAUSED for seek events,
12223           since that is the only way we can guarantee a/v sync. Means that
12224           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12225           and it "just works".
12226
12227 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12228
12229         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12230           Lock/unlock mismatch.
12231
12232 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12233
12234         * docs/faq/gst-uninstalled:
12235           add gst-plugins-base
12236         * docs/gst/Makefile.am:
12237           don't error out until docs are fixed
12238         * docs/gst/gstreamer.types:
12239           remove thread
12240
12241 2005-03-22  Wim Taymans  <wim@fluendo.com>
12242
12243         * check/Makefile.am:
12244         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12245         * gst/gststructure.c: (gst_structure_set_valist),
12246         (gst_structure_copy_conditional):
12247         Activated more tests.
12248         Added message test.
12249         Added G_TYPE_POINTER to GstStructure.
12250         
12251
12252 2005-03-22  Wim Taymans  <wim@fluendo.com>
12253
12254         * docs/design/part-TODO.txt:
12255         * docs/design/part-events.txt:
12256         * docs/design/part-gstbin.txt:
12257         * docs/design/part-gstbus.txt:
12258         * docs/design/part-gstpipeline.txt:
12259         * docs/design/part-messages.txt:
12260         * gst/gstbus.c:
12261         * gst/gstmessage.c:
12262         Docs updates
12263
12264 2005-03-21  Wim Taymans  <wim@fluendo.com>
12265
12266         * gst/gstbus.c: (gst_bus_post):
12267         Fix copy-and-paste error.
12268
12269 2005-03-21  Wim Taymans  <wim@fluendo.com>
12270
12271         * check/Makefile.am:
12272         * gst/Makefile.am:
12273         * gst/elements/Makefile.am:
12274         * gst/elements/gstelements.c:
12275         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12276         (gst_fakesink_event), (gst_fakesink_chain):
12277         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12278         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12279         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12280         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12281         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12282         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12283         (gst_fakesrc_loop), (gst_fakesrc_activate),
12284         (gst_fakesrc_change_state):
12285         * gst/elements/gstfakesrc.h:
12286         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12287         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12288         (gst_filesrc_open_file), (gst_filesrc_loop),
12289         (gst_filesrc_activate), (gst_filesrc_change_state),
12290         (filesrc_find_peek), (filesrc_find_suggest),
12291         (gst_filesrc_type_find):
12292         * gst/elements/gstidentity.c: (gst_identity_finalize),
12293         (gst_identity_class_init), (gst_identity_init),
12294         (gst_identity_proxy_getcaps), (identity_queue_push),
12295         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12296         (gst_identity_getrange), (gst_identity_chain),
12297         (gst_identity_sink_loop), (gst_identity_src_loop),
12298         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12299         (gst_identity_set_property), (gst_identity_get_property),
12300         (gst_identity_change_state):
12301         * gst/elements/gstidentity.h:
12302         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12303         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12304         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12305         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12306         (gst_tee_sink_activate):
12307         * gst/elements/gsttee.h:
12308         * gst/gst.c: (gst_register_core_elements), (init_post):
12309         * gst/gst.h:
12310         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12311         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12312         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12313         (gst_bin_change_state):
12314         * gst/gstbin.h:
12315         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12316         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12317         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12318         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12319         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12320         (bus_watch_callback), (bus_watch_destroy),
12321         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12322         (poll_timeout), (gst_bus_poll):
12323         * gst/gstbus.h:
12324         * gst/gstcaps.h:
12325         * gst/gstdata.h:
12326         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12327         (gst_element_post_message), (gst_element_message_full),
12328         (gst_element_get_state_func), (gst_element_get_state),
12329         (gst_element_abort_state), (gst_element_commit_state),
12330         (gst_element_lost_state), (gst_element_set_state),
12331         (gst_element_pads_activate), (gst_element_change_state),
12332         (gst_element_dispose), (gst_element_set_manager_func),
12333         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12334         (gst_element_set_manager), (gst_element_get_manager),
12335         (gst_element_set_bus), (gst_element_get_bus),
12336         (gst_element_set_scheduler), (gst_element_get_scheduler):
12337         * gst/gstelement.h:
12338         * gst/gstevent.c: (gst_event_new_segment_seek),
12339         (gst_event_new_flush):
12340         * gst/gstevent.h:
12341         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12342         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12343         (gst_message_new_eos), (gst_message_new_error),
12344         (gst_message_new_warning), (gst_message_new_tag),
12345         (gst_message_new_state_changed), (gst_message_new_application),
12346         (gst_message_get_structure), (gst_message_parse_tag),
12347         (gst_message_parse_state_changed), (gst_message_parse_error),
12348         (gst_message_parse_warning):
12349         * gst/gstmessage.h:
12350         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12351         (gst_real_pad_set_property), (gst_pad_set_active),
12352         (gst_pad_is_active), (gst_pad_set_blocked_async),
12353         (gst_pad_set_blocked), (gst_pad_is_blocked),
12354         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12355         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12356         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12357         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12358         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12359         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12360         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12361         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12362         (gst_pad_set_caps), (gst_pad_configure_sink),
12363         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12364         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12365         (gst_real_pad_dispose), (gst_real_pad_finalize),
12366         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12367         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12368         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12369         * gst/gstpad.h:
12370         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12371         (pipeline_bus_handler), (gst_pipeline_change_state),
12372         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12373         * gst/gstpipeline.h:
12374         * gst/gstprobe.h:
12375         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12376         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12377         (gst_queue_link_src), (gst_queue_bufferalloc),
12378         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12379         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12380         (gst_queue_loop), (gst_queue_handle_src_event),
12381         (gst_queue_handle_src_query), (gst_queue_src_activate),
12382         (gst_queue_change_state):
12383         * gst/gstqueue.h:
12384         * gst/gstscheduler.c: (gst_scheduler_init),
12385         (gst_scheduler_dispose), (gst_scheduler_create_task),
12386         (gst_scheduler_factory_create):
12387         * gst/gstscheduler.h:
12388         * gst/gststructure.c: (gst_structure_get_type),
12389         (gst_structure_copy_conditional):
12390         * gst/gststructure.h:
12391         * gst/gsttaginterface.h:
12392         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12393         (gst_task_init), (gst_task_dispose), (gst_task_create),
12394         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12395         (gst_task_pause):
12396         * gst/gsttask.h:
12397         * gst/gstthread.c:
12398         * gst/gstthread.h:
12399         * gst/gsttypes.h:
12400         * gst/schedulers/Makefile.am:
12401         * gst/schedulers/cothreads_compat.h:
12402         * gst/schedulers/entryscheduler.c:
12403         * gst/schedulers/faircothreads.c:
12404         * gst/schedulers/faircothreads.h:
12405         * gst/schedulers/fairscheduler.c:
12406         * gst/schedulers/gstbasicscheduler.c:
12407         * gst/schedulers/gstoptimalscheduler.c:
12408         * gst/schedulers/gthread-cothreads.h:
12409         * gst/schedulers/threadscheduler.c:
12410         (gst_thread_scheduler_task_get_type),
12411         (gst_thread_scheduler_task_class_init),
12412         (gst_thread_scheduler_task_init),
12413         (gst_thread_scheduler_task_start),
12414         (gst_thread_scheduler_task_stop),
12415         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12416         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12417         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12418         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12419         (plugin_init):
12420         * libs/gst/Makefile.am:
12421         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12422         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12423         (gst_file_pad_parent_set):
12424         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12425         (gst_dp_event_from_packet):
12426         * tests/complexity.c: (main):
12427         * tests/mass_elements.c: (main):
12428         * testsuite/states/locked.c: (message_received), (main):
12429         * testsuite/states/parent.c: (main):
12430         * tools/gst-inspect.c: (print_element_flag_info),
12431         (print_implementation_info), (print_pad_info):
12432         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12433         (main):
12434         * tools/gst-md5sum.c: (event_loop), (main):
12435         * tools/gst-typefind.c: (main):
12436         * tools/gst-xmlinspect.c: (print_element_info):
12437         Next big merge.
12438         Added GstBus for mainloop integration.
12439         Added GstMessage for sending notifications on the bus.
12440         Added GstTask as an abstraction for pipeline entry points.
12441         Removed GstThread.
12442         Removed Schedulers.
12443         Simplified GstQueue for multithreaded core.
12444         Made _link threadsafe, removed old capsnego.
12445         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12446         Added pad blocking functions.
12447         Reworked scheduling functions in GstPad to prepare for
12448         scheduling updates soon.
12449         Moved events out of data stream.
12450         Simplified GstEvent types.
12451         Added return values to push/pull.
12452         Removed clocking from GstElement.
12453         Added prototypes for state change function for next merge.
12454         Removed iterate from bins and state change management.
12455         Fixed some elements, disabled others for now.
12456         Fixed -inspect and -launch.
12457         Added check for GstBus.
12458
12459 2005-03-10  Wim Taymans  <wim@fluendo.com>
12460
12461         * docs/design/part-MT-refcounting.txt:
12462         * docs/design/part-clocks.txt:
12463         * docs/design/part-gstelement.txt:
12464         * docs/design/part-gstobject.txt:
12465         * docs/design/part-standards.txt:
12466         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12467         (gst_bin_remove_func), (gst_bin_remove):
12468         * gst/gstbin.h:
12469         * gst/gstbuffer.c:
12470         * gst/gstcaps.h:
12471         * testsuite/clock/clock1.c: (main):
12472         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12473         (main):
12474         * testsuite/dlopen/loadgst.c: (do_test):
12475         * testsuite/refcounting/bin.c: (add_remove_test1),
12476         (add_remove_test2), (main):
12477         * testsuite/refcounting/element.c: (main):
12478         * testsuite/refcounting/element_pad.c: (main):
12479         * testsuite/refcounting/pad.c: (main):
12480         * tools/gst-launch.c: (sigint_handler_sighandler):
12481         * tools/gst-typefind.c: (main):
12482         Doc updates.
12483         Added doc about clock.
12484         removed gst_bin_iterate_recurse_up(), marked methods
12485         for removal.
12486         Fix more testsuites.
12487
12488 2005-03-09  Wim Taymans  <wim@fluendo.com>
12489
12490         * gst/gstpad.c: (gst_pad_get_direction),
12491         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12492         (gst_pad_collect_valist):
12493         * testsuite/bins/interface.c: (main):
12494         * testsuite/caps/audioscale.c: (test_caps):
12495         * testsuite/caps/caps.c: (test1), (test2), (test3):
12496         * testsuite/caps/deserialize.c: (main):
12497         * testsuite/caps/enumcaps.c: (main):
12498         * testsuite/caps/filtercaps.c: (main):
12499         * testsuite/caps/intersect2.c: (main):
12500         * testsuite/caps/random.c: (main):
12501         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12502         * testsuite/caps/sets.c: (check_caps):
12503         * testsuite/caps/simplify.c: (check_caps), (main):
12504         * testsuite/caps/subtract.c: (check_caps):
12505         Fix _pad_get_direction wrt ghostpads.
12506         Fix caps testsuite.
12507
12508 2005-03-09  Wim Taymans  <wim@fluendo.com>
12509
12510         * check/Makefile.am:
12511         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12512         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12513         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12514         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12515         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12516         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12517         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12518         (bin_element_is_sink), (gst_bin_iterate_sinks),
12519         (gst_bin_iterate_all_by_interface):
12520         * gst/gstbin.h:
12521         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12522         (gst_element_change_state), (gst_element_dispose),
12523         (gst_element_finalize), (gst_element_set_loop_function):
12524         * gst/gstelement.h:
12525         * gst/gstiterator.c: (find_custom_fold_func):
12526         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12527         (gst_pad_collectv), (gst_pad_collect_valist),
12528         (gst_pad_template_new):
12529         * gst/gstpipeline.c: (gst_pipeline_class_init),
12530         (gst_pipeline_dispose), (gst_pipeline_set_property),
12531         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12532         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12533         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12534         * gst/gstutils.h:
12535         * gst/schedulers/entryscheduler.c:
12536         * gst/schedulers/gstbasicscheduler.c:
12537         (gst_basic_scheduler_cothreaded_chain),
12538         (gst_basic_scheduler_chain_add_element):
12539         * testsuite/bins/interface.c: (main):
12540         Added GstBin test.
12541         Added GstSystemClock test.
12542         Implemented clock distribution code in GstBin.
12543         Implemented iterate sinks method for future use.
12544         Rearranged gstelement.h
12545         Fix GstIterator comparison bug.
12546         Moved some code to GstPipeline, mostly clocking related.
12547
12548 2005-03-09  Wim Taymans  <wim@fluendo.com>
12549
12550         * configure.ac:
12551         * gst/gst_private.h:
12552         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12553         (gst_bin_remove_func), (gst_bin_remove),
12554         (gst_bin_get_by_name_recurse_up):
12555         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12556         (gst_clock_id_compare_func), (gst_clock_id_wait),
12557         (gst_clock_id_wait_async), (gst_clock_init),
12558         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12559         * gst/gstelement.h:
12560         * gst/gstinfo.c: (_gst_debug_init):
12561         * gst/gstobject.h:
12562         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12563         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12564         * gst/gstpad.h:
12565         Bump version number, we're now 0.9.0
12566         Add future debugging category.
12567         Fix NULL _unref() in _get_by_name_recurse_up
12568         Rearrange gstpad.h.
12569         Update some docs.
12570
12571 2005-03-08  Wim Taymans  <wim@fluendo.com>
12572
12573         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12574         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12575         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12576         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12577         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12578         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12579         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12580         * gst/elements/gstidentity.c: (gst_identity_class_init):
12581         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12582         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12583         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12584         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12585         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12586         (gst_tee_link):
12587         * gst/gstelement.c: (gst_element_class_init),
12588         (gst_element_base_class_init), (gst_element_init),
12589         (gst_element_get_random_pad), (gst_element_wait_state_change),
12590         (gst_element_change_state), (gst_element_dispose),
12591         (gst_element_finalize), (gst_element_set_loop_function):
12592         * gst/gstelement.h:
12593         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12594         * gst/gstthread.c: (gst_thread_class_init),
12595         (gst_thread_release_children_locks), (gst_thread_change_state):
12596         * gst/schedulers/gstbasicscheduler.c:
12597         (gst_basic_scheduler_loopfunc_wrapper),
12598         (gst_basic_scheduler_chain_wrapper),
12599         (gst_basic_scheduler_src_wrapper),
12600         (gst_basic_scheduler_remove_element):
12601         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12602         Remove threadsafe properties. Fix elements because GObject
12603         complains when installing a property before declaring a
12604         set/get_property handler.
12605         Rearrange gstelement.h file, use STATE macros for state locks.
12606         Free mutexes in the finalize method instead of dispose.
12607
12608 2005-03-08  Wim Taymans  <wim@fluendo.com>
12609
12610         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12611         * gst/gstthread.c: (gst_thread_release_children_locks):
12612         Added parentage check.
12613         Fix build og GstThread again.
12614
12615 2005-03-08  Wim Taymans  <wim@fluendo.com>
12616
12617         * docs/design/part-MT-refcounting.txt:
12618         * docs/design/part-conventions.txt:
12619         * docs/design/part-gstobject.txt:
12620         * docs/design/part-relations.txt:
12621         * docs/design/part-standards.txt:
12622         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12623         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12624         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12625         (gst_bin_iterate_all_by_interface):
12626         * gst/gstbuffer.h:
12627         * gst/gstclock.h:
12628         * gst/gstelement.c: (gst_element_class_init),
12629         (gst_element_change_state), (gst_element_set_loop_function):
12630         * gst/gstelement.h:
12631         * gst/gstiterator.c:
12632         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12633         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12634         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12635         (gst_object_set_parent), (gst_object_unparent),
12636         (gst_object_check_uniqueness):
12637         * gst/gstobject.h:
12638         Docs updates, clean up some headers.
12639
12640 2005-03-07  Wim Taymans  <wim@fluendo.com>
12641
12642         * check/.cvsignore:
12643         * check/Makefile.am:
12644         * check/gst-libs/.cvsignore:
12645         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12646         * check/gst/.cvsignore:
12647         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12648         (START_TEST), (gstbus_suite), (main):
12649         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12650         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12651         (gst_data_suite), (main):
12652         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12653         (add_fold_func), (gstiterator_suite), (main):
12654         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12655         (thread_name_object), (thread_name_object_default),
12656         (gst_object_name_compare), (gst_object_suite), (main):
12657         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12658         (gst_pad_suite), (main):
12659         * check/gstcheck.c: (gst_check_log_message_func),
12660         (gst_check_log_critical_func), (gst_check_init):
12661         * check/gstcheck.h:
12662         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12663         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12664         Added checks.
12665
12666 2005-03-07  Wim Taymans  <wim@fluendo.com>
12667
12668         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12669         (gst_list_iterator_next), (gst_list_iterator_resync),
12670         (gst_list_iterator_free), (gst_iterator_new_list),
12671         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12672         (gst_iterator_free), (gst_iterator_push), (filter_next),
12673         (filter_resync), (filter_uninit), (filter_free),
12674         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12675         (gst_iterator_foreach), (find_custom_fold_func),
12676         (gst_iterator_find_custom):
12677         * gst/gstiterator.h:
12678         Added missing files.
12679
12680 2005-03-07  Wim Taymans  <wim@fluendo.com>
12681
12682         * Makefile.am:
12683         * configure.ac:
12684         * docs/design/part-MT-refcounting.txt:
12685         * docs/design/part-conventions.txt:
12686         * docs/design/part-gstobject.txt:
12687         * docs/design/part-relations.txt:
12688         * examples/mixer/mixer.c: (main):
12689         * examples/thread/thread.c: (eos), (main):
12690         * gst/Makefile.am:
12691         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12692         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12693         (gst_spider_plug_from_srcpad):
12694         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12695         (gst_spider_identity_change_state),
12696         (gst_spider_identity_sink_loop_type_finding):
12697         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12698         * gst/elements/gstidentity.c: (gst_identity_init):
12699         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12700         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12701         * gst/elements/gsttypefindelement.c: (free_entry):
12702         * gst/gst.c:
12703         * gst/gst.h:
12704         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12705         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12706         (gst_bin_set_index), (gst_bin_set_element_sched),
12707         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12708         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12709         (gst_bin_iterate_elements), (iterate_child_recurse),
12710         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12711         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12712         (compare_interface), (gst_bin_get_by_interface),
12713         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12714         * gst/gstbin.h:
12715         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12716         (gst_buffer_default_free), (gst_buffer_default_copy),
12717         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12718         (gst_buffer_create_sub):
12719         * gst/gstbuffer.h:
12720         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12721         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12722         (gst_caps_unref), (gst_static_caps_get),
12723         (gst_caps_remove_and_get_structure), (gst_caps_append),
12724         (gst_caps_append_structure), (gst_caps_remove_structure),
12725         (gst_caps_copy_nth), (gst_caps_set_simple),
12726         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12727         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12728         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12729         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12730         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12731         (gst_caps_structure_figure_out_union),
12732         (gst_caps_switch_structures), (gst_caps_do_simplify),
12733         (gst_caps_replace), (gst_caps_from_string),
12734         (gst_caps_copy_conditional):
12735         * gst/gstcaps.h:
12736         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12737         (_gst_clock_id_free), (gst_clock_id_unref),
12738         (gst_clock_id_compare_func), (gst_clock_id_wait),
12739         (gst_clock_id_wait_async), (gst_clock_class_init),
12740         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12741         (gst_clock_get_time), (gst_clock_set_time_adjust),
12742         (gst_clock_set_property), (gst_clock_get_property):
12743         * gst/gstclock.h:
12744         * gst/gstcompat.h:
12745         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12746         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12747         * gst/gstdata.h:
12748         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12749         (gst_element_requires_clock), (gst_element_provides_clock),
12750         (gst_element_set_clock), (gst_element_clock_wait),
12751         (gst_element_wait), (gst_element_set_time_delay),
12752         (gst_element_is_indexable), (gst_element_add_pad),
12753         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12754         (pad_compare_name), (gst_element_get_static_pad),
12755         (gst_element_request_pad), (gst_element_get_request_pad),
12756         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12757         (gst_element_class_get_pad_template_list),
12758         (gst_element_class_get_pad_template), (gst_element_error_func),
12759         (gst_element_get_random_pad), (gst_element_get_event_masks),
12760         (gst_element_send_event), (gst_element_seek),
12761         (gst_element_get_query_types), (gst_element_query),
12762         (gst_element_get_formats), (gst_element_convert),
12763         (gst_element_is_locked_state), (gst_element_set_locked_state),
12764         (gst_element_sync_state_with_parent), (gst_element_change_state),
12765         (gst_element_finalize), (gst_element_yield),
12766         (gst_element_interrupt), (gst_element_set_scheduler),
12767         (gst_element_get_scheduler), (gst_element_set_loop_function):
12768         * gst/gstelement.h:
12769         * gst/gstevent.h:
12770         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12771         (gst_format_get_by_nick), (gst_format_get_details),
12772         (gst_format_iterate_definitions):
12773         * gst/gstformat.h:
12774         * gst/gstindex.c: (gst_index_gtype_resolver):
12775         * gst/gstinfo.c:
12776         * gst/gstinfo.h:
12777         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12778         (gst_mem_chunk_free):
12779         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12780         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12781         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12782         (gst_object_dispatch_properties_changed),
12783         (gst_object_set_name_default), (gst_object_set_name),
12784         (gst_object_get_name), (gst_object_set_name_prefix),
12785         (gst_object_get_name_prefix), (gst_object_set_parent),
12786         (gst_object_get_parent), (gst_object_unparent),
12787         (gst_object_check_uniqueness), (gst_object_save_thyself),
12788         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12789         (gst_object_set_property), (gst_object_get_property),
12790         (gst_object_get_path_string):
12791         * gst/gstobject.h:
12792         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12793         (gst_real_pad_init), (gst_real_pad_get_property),
12794         (gst_pad_custom_new), (gst_pad_get_direction),
12795         (gst_pad_set_active), (gst_pad_is_active),
12796         (gst_pad_set_event_function), (gst_pad_is_linked),
12797         (gst_pad_link_free), (gst_pad_link_intersect),
12798         (gst_pad_link_fixate), (gst_pad_set_caps),
12799         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12800         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12801         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12802         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12803         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12804         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12805         (gst_pad_realize), (gst_pad_get_allowed_caps),
12806         (gst_real_pad_dispose), (gst_real_pad_finalize),
12807         (gst_pad_collectv), (gst_pad_collect_valist),
12808         (gst_pad_template_dispose), (gst_pad_template_new),
12809         (gst_pad_get_internal_links):
12810         * gst/gstpad.h:
12811         * gst/gstpipeline.c: (gst_pipeline_dispose),
12812         (gst_pipeline_change_state):
12813         * gst/gstpipeline.h:
12814         * gst/gstplugin.c:
12815         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12816         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12817         * gst/gstpluginfeature.h:
12818         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12819         * gst/gstquery.c: (_gst_query_type_initialize),
12820         (gst_query_type_register), (gst_query_type_get_by_nick),
12821         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12822         * gst/gstquery.h:
12823         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12824         * gst/gstscheduler.c: (gst_scheduler_add_element),
12825         (gst_scheduler_factory_create):
12826         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12827         (gst_structure_free), (gst_structure_set_name),
12828         (gst_structure_id_set_value), (gst_structure_set_value),
12829         (gst_structure_set_valist), (gst_structure_remove_field),
12830         (gst_structure_remove_fields),
12831         (gst_structure_remove_fields_valist),
12832         (gst_structure_remove_all_fields), (gst_structure_foreach),
12833         (gst_structure_map_in_place),
12834         (gst_caps_structure_fixate_field_nearest_int),
12835         (gst_caps_structure_fixate_field_nearest_double):
12836         * gst/gststructure.h:
12837         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12838         (gst_system_clock_init), (gst_system_clock_dispose),
12839         (gst_system_clock_async_thread),
12840         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12841         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12842         * gst/gstsystemclock.h:
12843         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12844         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12845         * gst/gsttaginterface.c:
12846         * gst/gstthread.c: (gst_thread_dispose),
12847         (gst_thread_release_children_locks), (gst_thread_change_state),
12848         (gst_thread_main_loop):
12849         * gst/gsttrashstack.h:
12850         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12851         * gst/gsttypes.h:
12852         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12853         (gst_element_request_pad), (gst_element_get_pad_from_template),
12854         (gst_element_request_compatible_pad),
12855         (gst_element_get_compatible_pad_filtered),
12856         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12857         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12858         (gst_element_link_many), (gst_element_link),
12859         (gst_element_link_pads), (gst_element_unlink_pads),
12860         (gst_element_unlink_many), (gst_element_unlink),
12861         (gst_pad_can_link_filtered), (gst_pad_can_link),
12862         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12863         (gst_object_default_error), (gst_bin_add_many),
12864         (gst_bin_remove_many), (gst_element_populate_std_props),
12865         (gst_element_class_install_std_props), (gst_buffer_merge),
12866         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12867         (link_fold_func), (gst_pad_proxy_setcaps):
12868         * gst/gstutils.h:
12869         * gst/gstvalue.c: (gst_value_deserialize_string):
12870         * gst/parse/grammar.y:
12871         * gst/schedulers/gstbasicscheduler.c:
12872         (gst_basic_scheduler_cothreaded_chain),
12873         (gst_basic_scheduler_chain_recursive_add),
12874         (gst_basic_scheduler_pad_link):
12875         * gst/schedulers/gstoptimalscheduler.c:
12876         (get_group_schedule_function),
12877         (gst_opt_scheduler_state_transition),
12878         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12879         * libs/gst/bytestream/bytestream.c:
12880         * libs/gst/dataprotocol/dataprotocol.c:
12881         (gst_dp_header_from_buffer):
12882         * po/nb.po:
12883         * po/ru.po:
12884         * tests/threadstate/threadstate2.c: (eos):
12885         * tools/gst-compprep.c: (main):
12886         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12887         (print_pad_info), (print_children_info):
12888         * tools/gst-launch.c: (idle_func), (main):
12889         * tools/gst-md5sum.c: (idle_func), (main):
12890         * tools/gst-xmlinspect.c: (print_element_info):
12891         First THREADED backport attempt, focusing on adding locks and
12892         making sure the API is threadsafe. Needs more work. More docs
12893         follow this week.
12894
12895 2005-02-24  Andy Wingo  <wingo@pobox.com>
12896
12897         * tests/bench-complexity.scm:
12898         * tests/complexity.gnuplot: New files, good for running complexity
12899         benchmarks.
12900
12901         * tests/Makefile.am:
12902         * tests/complexity.c: New test, sets up N elements, at each level
12903         teeing into M streams per element. Eeeenteresting.
12904
12905         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12906         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12907         running bench-mass_elements.scm.
12908
12909         * tests/bench-mass_elements.scm: New script, runs mass_elements
12910         for various numbers of identities, outputting the results to a
12911         file. Requires guile 1.6. Just for testing.
12912
12913 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12914
12915         * gst/schedulers/fairscheduler.c:
12916           compile with debug disabled
12917
12918 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12919
12920         * configure.ac:
12921           hunting season on 0.9 is now OPEN