docs/faq/cvs.xml: Add missing quote, should be make ERROR_CFLAGS="".
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * docs/faq/cvs.xml:
4           Add missing quote, should be make ERROR_CFLAGS="".
5
6 2005-12-20  Wim Taymans  <wim@fluendo.com>
7
8         * docs/design/part-trickmodes.txt:
9         More documentation on trickmodes.
10
11 2005-12-20  Edward Hervey  <edward@fluendo.com>
12
13         * gst/gstcaps.c: (gst_static_caps_get_type):
14         * gst/gstcaps.h:
15           API addition: GST_TYPE_STATIC_CAPS
16         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
17         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18         * gst/gstpadtemplate.h:
19           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
20         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
21         bindings.
22
23 2005-12-18  Wim Taymans  <wim@fluendo.com>
24
25         * libs/gst/base/gstadapter.c:
26         * libs/gst/base/gstadapter.h:
27         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
28         (gst_base_sink_get_position):
29         * libs/gst/base/gstbasesink.h:
30         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
31         (gst_base_src_default_query), (gst_base_src_default_do_seek),
32         (gst_base_src_do_seek), (gst_base_src_perform_seek),
33         (gst_base_src_send_event), (gst_base_src_update_length),
34         (gst_base_src_get_range), (gst_base_src_loop),
35         (gst_base_src_start):
36         * libs/gst/base/gstbasesrc.h:
37         * libs/gst/base/gstbasetransform.h:
38         * libs/gst/base/gstcollectpads.h:
39         * libs/gst/base/gstpushsrc.c:
40         * libs/gst/base/gstpushsrc.h:
41         * libs/gst/dataprotocol/dataprotocol.c:
42         * libs/gst/dataprotocol/dataprotocol.h:
43         * libs/gst/net/gstnetclientclock.h:
44         * libs/gst/net/gstnettimeprovider.h:
45         Documentation updates.
46
47 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
48
49         * docs/manual/basics-helloworld.xml:
50           Remove superfluous closing bracket in helloworld example.
51
52 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
53
54         * tools/gst-launch.1.in:
55           Update gst-launch man page; add a section with useful
56           environment variables. Fixes #323882.
57
58 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
59
60         * gst/gst.c:
61         * gst/gst_private.h:
62           change some char* into char[]
63
64 2005-12-16  Wim Taymans  <wim@fluendo.com>
65
66         * gst/gstregistryxml.c: (load_feature):
67         Cleanups.
68         Don't use g_object_unref on GstObjects so that we avoid
69         leaks on unsafe glibs.
70
71 2005-12-16  Wim Taymans  <wim@fluendo.com>
72
73         * gst/gstbin.c: (gst_bin_recalc_state):
74         Small doc updates.
75
76 2005-12-16  Wim Taymans  <wim@fluendo.com>
77
78         * common/check.mak:
79         Added make forever target for check.
80
81 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
82
83         * gst/gst.c: (init_post):
84           make the registry cache file HOST_CPU-dependent
85
86 2005-12-16  Andy Wingo  <wingo@pobox.com>
87
88         * plugins/elements/gstbufferstore.c
89         (gst_buffer_store_cleared_func): Pay attention to g_list_append
90         return value.
91
92         * tests/check/gst/gstobject.c
93         (test_fake_object_name_threaded_unique): Pay attention to
94         g_list_sort return value.
95
96 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
97
98         * tools/gst-feedback-m.m:
99           Update for 0.9/0.10 (fixes #323870).
100
101 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
102
103         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
104           Fix lcopy for mini objects, the mini object needs to be ref'ed.
105           
106         * tests/check/gst/gstminiobject.c: (my_foo_init),
107         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
108         (test_value_collection), (gst_mini_object_suite):
109           Add test to ensure refcounts end up as expected when passing
110           GstMiniObjects through g_object_get() and g_object_set().
111
112 2005-12-14  Julien MOUTTE  <julien@moutte.net>
113
114         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
115         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
116         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
117         of collectpads. This version removes a lot of races without
118         touching API/ABI. Yay !
119
120 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
121
122         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
123           Don't allow activation of a srcpad in pull_range if it has no
124           getrange function.
125           Change some debug statements to be a little clearer
126
127         * plugins/elements/gsttypefindelement.c:
128         (gst_type_find_handle_src_query):
129           Check that we have a peer before executing queries thereupon.
130
131         * tests/examples/metadata/read-metadata.c: (message_loop):
132           Use gst_bus_pop instead of gst_bus_poll when we just want it to
133           immediately return us any available message with 0 timeout.
134
135 2005-12-12  Michael Smith  <msmith@fluendo.com>
136
137         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
138           Don't unref factories after calling them.
139         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
140         * plugins/elements/gsttypefindelement.c:
141         (gst_type_find_element_chain):
142           Free lists of factories after using them. Fixing typefinding memory
143           leaks.
144
145 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
146
147         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
148         (gst_plugin_feature_load):
149           more meaningful debug output
150         * configure.ac:
151         * tests/Makefile.am:
152         * tests/old/examples/Makefile.am:
153           make make distcheck happy again
154
155 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
156
157         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
158           Catch the special case where we are operating chain-based,
159           but the downstream peer pad has no chain function. Emit a
160           custom error message in this case instead of letting the
161           core generate one implying that this is some sort of core
162           bug. It's not, it just means that whatever got plugged
163           into the pipeline downstream when we announced the type
164           can only operate pull-based, while our source can only
165           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
166           Error string has not been marked for translation yet, as
167           it probably needs some more work first.
168
169         (gst_type_find_element_get_best_possibility):
170           Add helper function to find the best of all available
171           found possibilities that qualify given the min. threshold.
172
173         (gst_type_find_element_handle_event):
174           Fix the case where we get an EOS while still in TYPEFIND
175           mode (we want to chose the best of all possible types,
176           not just the first type that happens to be in our unsorted
177           list of possible types).
178
179         (gst_type_find_element_chain):
180           Make sure we return GST_FLOW_ERROR when we errored out
181           in stop_typefinding(); also, don't just find the best of
182           all found type entries and then use the last examined
183           type entry, but actually use the best entry.
184
185 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
186
187         * tests/examples/typefind/typefind.c: (type_found):
188         * tests/examples/xml/runxml.c: (xml_loaded):
189           More gcc4 fixes and a mem leak fix.
190
191 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
192
193         * tests/examples/xml/createxml.c: (object_saved):
194           gcc 4 fixes
195
196 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
197
198         * tests/Makefile.am:
199           enable the examples even more
200
201 2005-12-12  Andy Wingo  <wingo@pobox.com>
202
203         * libs/gst/net/gstnettimeprovider.c
204         (gst_net_time_provider_class_init, gst_net_time_provider_init)
205         (gst_net_time_provider_set_property)
206         (gst_net_time_provider_get_property): Export "active" as a GObject
207         property.
208         (gst_net_time_provider_thread): Only respond to time queries if
209         the time provider is active.
210
211         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
212         NetTimeProvider, preserving binary compat.
213
214 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
215
216         * tests/examples/controller/audio-example.c: (main):
217         * tests/examples/launch/Makefile.am:
218           convert comments again
219
220 2005-12-12  Wim Taymans  <wim@fluendo.com>
221
222         * libs/gst/base/gstpushsrc.c:
223         Fix typo.
224
225 2005-12-12  Wim Taymans  <wim@fluendo.com>
226
227         * docs/libs/gstreamer-libs-sections.txt:
228         Added new symbol to docs.
229
230         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
231         (gst_base_src_init), (gst_base_src_set_format),
232         (gst_base_src_default_query), (gst_base_src_query),
233         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
234         (gst_base_src_perform_seek), (gst_base_src_send_event),
235         (gst_base_src_default_event), (gst_base_src_event_handler),
236         (gst_base_src_set_property), (gst_base_src_get_property),
237         (gst_base_src_wait), (gst_base_src_do_sync),
238         (gst_base_src_update_length), (gst_base_src_get_range),
239         (gst_base_src_check_get_range), (gst_base_src_loop),
240         (gst_base_src_default_negotiate), (gst_base_src_start),
241         (gst_base_src_activate_push), (gst_base_src_activate_pull),
242         (gst_base_src_change_state):
243         * libs/gst/base/gstbasesrc.h:
244         Implement seeking to other formats than _BYTES.
245         Implement more seeking methods correctly.
246         Doc updates.
247         Added query vmethod.
248         Added do_seek vmethod to make life easier for subclasses
249         when seeking.
250         API addition: gst_base_src_set_format()
251
252 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
253
254         * tests/examples/Makefile.am:
255           added that too
256
257 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
258
259         * configure.ac:
260         * docs/random/ensonic/media-device-daemon.txt:
261         * tests/examples/controller/.cvsignore:
262         * tests/examples/controller/Makefile.am:
263         * tests/examples/controller/audio-example.c: (main):
264         * tests/examples/helloworld/.cvsignore:
265         * tests/examples/helloworld/Makefile.am:
266         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
267         * tests/examples/launch/.cvsignore:
268         * tests/examples/launch/Makefile.am:
269         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
270         * tests/examples/metadata/.cvsignore:
271         * tests/examples/metadata/Makefile.am:
272         * tests/examples/metadata/read-metadata.c: (message_loop),
273         (make_pipeline), (print_tag), (main):
274         * tests/examples/queue/.cvsignore:
275         * tests/examples/queue/Makefile.am:
276         * tests/examples/queue/queue.c: (event_loop), (main):
277         * tests/examples/typefind/.cvsignore:
278         * tests/examples/typefind/Makefile.am:
279         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
280         (main):
281         * tests/examples/xml/.cvsignore:
282         * tests/examples/xml/Makefile.am:
283         * tests/examples/xml/createxml.c: (object_saved), (main):
284         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
285         * tests/old/examples/Makefile.am:
286         * tests/old/examples/TODO:
287         * tests/old/examples/controller/.cvsignore:
288         * tests/old/examples/controller/Makefile.am:
289         * tests/old/examples/controller/audio-example.c:
290         * tests/old/examples/helloworld/.cvsignore:
291         * tests/old/examples/helloworld/Makefile.am:
292         * tests/old/examples/helloworld/helloworld.c:
293         * tests/old/examples/launch/.cvsignore:
294         * tests/old/examples/launch/Makefile.am:
295         * tests/old/examples/launch/mp3parselaunch.c:
296         * tests/old/examples/launch/mp3play:
297         * tests/old/examples/manual/Makefile.am:
298         * tests/old/examples/metadata/Makefile.am:
299         * tests/old/examples/metadata/read-metadata.c:
300         * tests/old/examples/queue/.cvsignore:
301         * tests/old/examples/queue/Makefile.am:
302         * tests/old/examples/queue/queue.c:
303         * tests/old/examples/typefind/.cvsignore:
304         * tests/old/examples/typefind/Makefile.am:
305         * tests/old/examples/typefind/typefind.c:
306         * tests/old/examples/xml/.cvsignore:
307         * tests/old/examples/xml/Makefile.am:
308         * tests/old/examples/xml/createxml.c:
309         * tests/old/examples/xml/runxml.c:
310           applied some simple fixing to some examples
311           re-enabled the working examples
312
313 2005-12-12  Wim Taymans  <wim@fluendo.com>
314
315         * gst/gstsegment.c: (gst_segment_init),
316         (gst_segment_set_last_stop), (gst_segment_set_seek),
317         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
318         (gst_segment_to_running_time):
319         Added more documentation.
320         Make sure the last_pos value is updated properly.
321         Make sure to_stream_time and to_running_time don't
322         operate on wrong values.
323
324         * tests/check/gst/gstsegment.c: (GST_START_TEST):
325         Update check.
326
327 2005-12-12  Michael Smith  <msmith@fluendo.com>
328
329         * plugins/elements/gsttypefindelement.c: (free_entry),
330         (gst_type_find_element_chain):
331           Now that we're not leaking factories, make sure we keep references
332           to them while we need them.
333
334 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
335
336         * tests/check/gst/struct_i386.h:
337           ifdef out the XML structs
338
339 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
340
341         * gst/gstvalue.c: (gst_value_transform_double_fraction):
342           floor is not needed, F is always positive; this obviates the
343           need for adding -lm when building without libxml
344
345 2005-12-12  Wim Taymans  <wim@fluendo.com>
346
347         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
348         Take current playback rate into account when reporting
349         the position.
350
351 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
352
353         * docs/manual/mime-world.fig:
354           Let's try this again, this time with a file that is
355           actually in XFig format.
356
357 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
358
359         * docs/manual/mime-world.fig:
360           Add audioconvert element to diagram so that it
361           matches the text and the code (fixes #319526).
362
363 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
364
365         * docs/pwg/building-chainfn.xml:
366         * docs/pwg/building-pads.xml:
367         * docs/pwg/building-state.xml:
368         * docs/pwg/other-source.xml:
369           Update state change stuff for 0.10 (fixes #322969).
370
371 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
372
373         * docs/manual/advanced-dataaccess.xml:
374         * docs/manual/appendix-checklist.xml:
375         * docs/manual/appendix-programs.xml:
376         * docs/manual/basics-pads.xml:
377         * docs/manual/highlevel-components.xml:
378         * docs/manual/manual.xml:
379           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
380           add converters in front of pipelines; remove curly
381           brackets for threads stuff, they no longer exist; use
382           GST_TYPE_FRACTION for framerates; update some pieces of
383           code to 0.10, but there's plenty more to do.
384
385         * docs/manual/appendix-porting.xml:
386           Expand on asynchroneous state changes; s/0.9/0.10/;
387           mention disappearance of gst_init_get_popt_table()
388           (fixes #322916).
389
390 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
391
392         * docs/faq/using.xml:
393           Spider no longer exists, and neither does gst-launch-ext.
394           Update examples to use decodebin and playbin and put
395           converters in front of sinks (fixes #323726).
396
397 2005-12-09  Michael Smith  <msmith@fluendo.com>
398
399         * plugins/elements/gsttypefindelement.c: (find_peek),
400         (gst_type_find_element_chain):
401           Fix leaking element factories in typefinding.
402           Fix problem where we forgot about a probable type on non-seekable
403           files, and thus later mis-typefound it.
404
405 2005-12-09  Michael Smith  <msmith@fluendo.com>
406
407         * common/m4/gst-makecontext.m4:
408         * common/m4/gst-mcsc.m4:
409         * configure.ac:
410         * win32/common/config.h:
411         * win32/common/config.h.in:
412           Remove makecontext stuff; not used in 0.10 and causes problems on
413           HPUX according to bug #322441
414
415 2005-12-07  Wim Taymans  <wim@fluendo.com>
416
417         * tests/check/Makefile.am:
418         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
419         (main):
420         * tests/check/libs/struct_i386.h:
421         Added ABI check for libs
422
423 2005-12-07  Wim Taymans  <wim@fluendo.com>
424
425         * tests/check/Makefile.am:
426         And add the struct_i386.h to dist.
427
428 2005-12-07  Wim Taymans  <wim@fluendo.com>
429
430         * tests/check/Makefile.am:
431         * tests/check/gst/.cvsignore:
432         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
433         (main):
434         * tests/check/gst/struct_i386.h:
435         Added check for ABI compatibility.
436
437 2005-12-07  Wim Taymans  <wim@fluendo.com>
438
439         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
440         (gst_fake_src_get_times), (gst_fake_src_create):
441         Fix broken sync option, fixes #323259
442
443 2005-12-07  Wim Taymans  <wim@fluendo.com>
444
445         * gst/gstbuffer.c:
446         Small docs update.
447
448         * gst/gstcaps.c: (gst_caps_is_equal):
449         Don't assert on NULL <--> X. Fixes #323260
450
451         * gst/gstminiobject.c: (gst_mini_object_replace):
452         If we're doing atomic operations, we might just as well use
453         the proper way to get an atomic pointer.
454
455         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
456         Clean up debugging.
457
458 2005-12-07  Michael Smith  <msmith@fluendo.com>
459
460         * gst/parse/grammar.y:
461           Remove handling of { } for threads.
462
463 2005-12-06  David Schleef  <ds@schleef.org>
464
465         * libs/gst/base/gstbasetransform.c: speling fix.
466
467 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
468
469         * docs/libs/tmpl/gstdataprotocol.sgml:
470         * docs/random/omega/testing/gstobject.c:
471         * gst/gst.c:
472         * gst/gstclock.c:
473         * gst/gstelement.c:
474         * gst/gstelementfactory.c:
475         * gst/gsterror.c:
476         * gst/gstevent.c:
477         * gst/gstghostpad.c:
478         * gst/gstinfo.c:
479         * gst/gstpadtemplate.c:
480         * gst/gstregistryxml.c:
481         * gst/gsttaglist.c:
482         * gst/gsttagsetter.c:
483         * gst/gsttypefind.c:
484         * gst/gstvalue.c:
485         * libs/gst/base/gstbasesrc.c:
486         * libs/gst/net/gstnetclientclock.c:
487         * libs/gst/net/gstnettimeprovider.c:
488         * plugins/elements/gstfakesrc.c:
489         * plugins/elements/gstfdsrc.c:
490         * plugins/elements/gstfilesrc.c:
491         * plugins/elements/gstidentity.c:
492         * plugins/elements/gstqueue.c:
493         * plugins/elements/gsttypefindelement.c:
494         * plugins/indexers/gstfileindex.c:
495         * plugins/indexers/gstmemindex.c:
496         * tests/check/gst/gsttag.c:
497         * tests/old/examples/cutter/cutter.c:
498         * tests/old/examples/mixer/mixer.c:
499         * tests/old/examples/xml/runxml.c: (main):
500         * tests/old/testsuite/caps/normalisation.c:
501         * tests/old/testsuite/debug/global.c:
502         * tests/old/testsuite/parse/parse1.c:
503         * tools/gst-xmlinspect.c:
504         * win32/common/dirent.c:
505           expand tabs
506
507 === release 0.10.0 ===
508
509 2005-12-05   <thomas (at) apestaart (dot) org>
510
511         * configure.ac:
512           releasing 0.10.0, "Maroilles"
513
514 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
515
516         submitted by: Funda Wang <fundawang@linux.net.cn>
517
518         * po/LINGUAS:
519         * po/zh_CN.po:
520           added Chinese (Traditional) translation
521
522 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
523
524         * docs/gst/gstreamer-sections.txt:
525         * docs/libs/tmpl/gstdataprotocol.sgml:
526         * docs/random/thomasvs/TODO:
527         * gst/gstutils.c:
528         * gst/gstutils.h:
529           fix docs
530
531 2005-12-05  Andy Wingo  <wingo@pobox.com>
532
533         patch by: Wim Taymans <wim@fluendo.com>
534
535         * libs/gst/base/gstbasetransform.c
536         (gst_base_transform_prepare_output_buf)
537         (gst_base_transform_buffer_alloc):
538         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
539         alloc_buffer_and_set_caps.
540
541         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
542         set_caps on the source pad.
543         (gst_pad_alloc_buffer_and_set_caps): New function, does what
544         alloc_buffer used to do. Fixes #322874.
545
546         * docs/gst/gstreamer-sections.txt: 
547         * docs/design/part-negotiation.txt: 
548         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
549         changes.
550
551 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
552
553         patch by: Sebastien Moutte
554
555         * win32/MANIFEST:
556         * win32/common/config.h.in:
557         * win32/vs6/libgstcontroller.dsp:
558           win32 build fixes
559
560 2005-12-05  Wim Taymans  <wim@fluendo.com>
561
562         * gst/gstcaps.c: (gst_caps_is_equal):
563         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
564         (gst_fake_src_create):
565         Back out previous code changes, leave doc updates, file bugs 
566         instead. 
567
568 2005-12-05  Wim Taymans  <wim@fluendo.com>
569
570         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
571         (gst_fake_src_get_times), (gst_fake_src_create):
572         * plugins/elements/gstfakesrc.h:
573         Fix broken sync code.
574
575 2005-12-05  Wim Taymans  <wim@fluendo.com>
576
577         * gst/gstcaps.c: (gst_caps_is_equal):
578         Comparing NULL against !NULL yields different caps, not a
579         failure.
580
581 2005-12-05  Wim Taymans  <wim@fluendo.com>
582
583         * gst/gstpipeline.c:
584         Fix small typo in docs.
585
586 2005-12-05  Andy Wingo  <wingo@pobox.com>
587
588         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
589
590         * gst/gst.c (init_post): remove hard-coded 0.9 location for
591         registries/plugins with a MAJORMINOR one.
592         (plugin_desc): Rename library from gstcoreleements to
593         staticelements. Fixes #323222.
594
595 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
596
597         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
598           Change debug category to 'collectpads' from 'collect_pads'
599           (fixes #323250).
600
601 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
602
603         patch by: Sebastien Moutte
604
605         * libs/gst/controller/gstinterpolation.c:
606           use convert function for uint64/double
607         * win32/vs6/libgstcontroller.dsp:
608           link to GLib
609
610 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
611
612         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
613         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
614         * gst/gstutils.h:
615         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
616           add tests that seem to show that the guint64/gdouble conversions
617           are correct.
618
619 2005-12-02  Wim Taymans  <wim@fluendo.com>
620
621         * gst/gstregistry.c: (gst_registry_add_path):
622         * gst/gstregistry.h:
623         * gst/gstregistryxml.c:
624         Fix docs again.
625
626 2005-12-02  Wim Taymans  <wim@fluendo.com>
627
628         * gst/gstutils.c: (gst_util_uint64_scale_int64),
629         (gst_util_uint64_scale_int):
630         Small cleanup.
631
632         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
633         Add debug log line.
634
635         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
636         Add FIXME.
637
638 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
639
640         * win32/MANIFEST:
641         * win32/common/config.h:
642         * win32/vs6/gstreamer.dsw:
643         * win32/vs6/libgstcoreelements.dsp:
644         * win32/vs6/libgstelements.dsp:
645           renamed core elements plugin
646
647 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
648
649         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
650         (get_candidates):
651           do piece-wise major/minor comparison so 0.9 < 0.10
652           also allow .exe extensions for tools
653
654 2005-12-02  Michael Smith  <msmith@fluendo.com>
655
656         * gst/gst.c:
657           Escape a % to make gtkdoc happier; bug 322958.
658
659 === release 0.9.7 ===
660
661 2005-12-01   <thomas (at) apestaart (dot) org>
662
663         * configure.ac:
664           releasing 0.9.7, "My Dog Has No Nose"
665
666 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
667
668         * common/gst-xmlinspect.py:
669         * configure.ac:
670         * docs/libs/tmpl/gstdataprotocol.sgml:
671         * docs/random/release:
672         * po/af.po:
673         * po/az.po:
674         * po/bg.po:
675         * po/ca.po:
676         * po/cs.po:
677         * po/de.po:
678         * po/en_GB.po:
679         * po/fr.po:
680         * po/it.po:
681         * po/nb.po:
682         * po/nl.po:
683         * po/ru.po:
684         * po/sq.po:
685         * po/sr.po:
686         * po/sv.po:
687         * po/tr.po:
688         * po/uk.po:
689         * po/vi.po:
690         * win32/common/config.h:
691         * win32/common/config.h.in:
692         * win32/vs6/gst_inspect.dsp:
693         * win32/vs6/gst_launch.dsp:
694         * win32/vs6/libgstbase.dsp:
695         * win32/vs6/libgstelements.dsp:
696         * win32/vs6/libgstreamer.dsp:
697         * win32/vs7/GStreamer.vcproj:
698         * win32/vs7/gst-inspect.vcproj:
699         * win32/vs7/gst-launch.vcproj:
700         * win32/vs7/libgstbase.vcproj:
701           bump GST_MAJORMINOR to 0.10
702           reset libtool version
703
704 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
705
706         * po/LINGUAS:
707         * po/bg.po:
708           Added Bulgarian translation by (Alexander Shopov)
709
710 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
711
712         * tests/check/gst/gstplugin.c:
713           fix test
714
715 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
716
717         * common/gst-xmlinspect.py:
718         * common/gtk-doc-plugins.mak:
719         * configure.ac:
720         * docs/Makefile.am:
721         * docs/gst/Makefile.am:
722         * docs/gst/gstreamer-docs.sgml:
723         * docs/gst/gstreamer-sections.txt:
724         * docs/gst/gstreamer.types:
725         * docs/gst/gstreamer.types.in:
726         * docs/plugins/Makefile.am:
727         * docs/plugins/gstreamer-plugins-docs.sgml:
728         * docs/plugins/gstreamer-plugins-sections.txt:
729         * docs/plugins/gstreamer-plugins.types:
730         * docs/plugins/inspect.stamp:
731         * docs/plugins/inspect/plugin-coreelements.xml:
732         * docs/plugins/inspect/plugin-coreindexers.xml:
733         * docs/plugins/scanobj-build.stamp:
734         * gstreamer.spec.in:
735         * plugins/elements/Makefile.am:
736         * plugins/elements/gstelements.c:
737         * plugins/elements/gstfakesink.c:
738         * plugins/elements/gstfakesrc.c:
739         * plugins/elements/gstfilesink.c:
740         * plugins/elements/gstfilesrc.c:
741         * plugins/elements/gstqueue.c:
742         * plugins/indexers/Makefile.am:
743         * plugins/indexers/gstindexers.c:
744           document core plugins in a separate document just like all the
745           others
746           rename these plugins to something starting with core
747
748 2005-12-01  Andy Wingo  <wingo@pobox.com>
749
750         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
751         padding here before, but it missed the commit.
752
753 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
754
755         * libs/gst/controller/gstinterpolation.c:
756           whitespace prices have crashed, we should feel free to use some now
757           use gst_guint64_to_gdouble
758
759 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
760
761         * libs/gst/controller/gstcontroller.c:
762         * libs/gst/controller/gsthelper.c:
763         * libs/gst/controller/gstinterpolation.c:
764         * libs/gst/controller/lib.c:
765           wrap config.h include
766
767 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
768
769         * docs/gst/gstreamer-sections.txt:
770           update docs
771
772 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
773
774         * plugins/elements/gstelements.c:
775         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
776         (gst_fd_sink__class_init), (gst_fd_sink__init),
777         (gst_fd_sink__chain), (gst_fd_sink__set_property),
778         (gst_fd_sink__get_property):
779         * plugins/elements/gstfdsink.h:
780         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
781         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
782         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
783         (gst_fd_src_unlock), (gst_fd_src_set_property),
784         (gst_fd_src_get_property), (gst_fd_src_create),
785         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
786         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
787         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
788         (gst_fd_src_uri_handler_init):
789         * plugins/elements/gstfdsrc.h:
790         * plugins/elements/gstqueue.c: (gst_queue_get_type):
791           more anal cleanup
792
793 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
794
795         * docs/gst/Makefile.am:
796         * docs/gst/gstreamer.types.in:
797         * gst/Makefile.am:
798           fix the docs build
799
800 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
801
802         * configure.ac:
803         * gst/Makefile.am:
804         * gst/gst.c:
805         * gst/gstplugin.h:
806         * gst/gstregistry.h:
807         * tests/benchmarks/complexity.c:
808         * tests/benchmarks/mass-elements.c:
809         * tests/check/Makefile.am:
810         * tools/Makefile.am:
811         * tools/gst-inspect.c:
812         * tools/gst-xmlinspect.c:
813           various fixes to make
814           --disable-nls --disable-registry --disable-loadsave
815           --disable-parse --disable-gst-debug
816           work and get the core .so down to 360444 bytes after stripping
817
818 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
819
820         * Makefile.am:
821         * configure.ac:
822           descend into tests
823         * docs/random/thomasvs/TODO:
824         * tests/Makefile.am:
825         * tests/README:
826           add a README
827
828 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
829
830         * win32/GStreamer.vcproj:
831         * win32/MANIFEST:
832         * win32/Makefile:
833         * win32/Makefile.inspect:
834         * win32/Makefile.launch:
835         * win32/Makefile.register:
836         * win32/README.txt:
837         * win32/gst-inspect.vcproj:
838         * win32/gst-launch.vcproj:
839         * win32/gst-register.vcproj:
840         * win32/gstelements.vcproj:
841         * win32/gstgetbits.def:
842         * win32/gstgetbits.vcproj:
843         * win32/gstreamer-dbg.def:
844         * win32/gstreamer.def:
845         * win32/libgstbase.def:
846         * win32/libgstbase.vcproj:
847         * win32/link_oldruntime.c:
848         * win32/mman.c:
849         * win32/mman.h:
850         * win32/mman.inl:
851         * win32/msvc71.sln:
852           move even more stuff, win32/ is nice and clean now
853
854 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
855
856         * libs/gst/control/.cvsignore:
857         * win32/MANIFEST:
858         * win32/config.h:
859         * win32/dirent.c:
860         * win32/dirent.h:
861         * win32/gstbytestream.def:
862         * win32/gstbytestream.vcproj:
863         * win32/gstconfig.h:
864         * win32/gstenumtypes.c:
865         * win32/gstenumtypes.h:
866         * win32/gstoptimalscheduler.vcproj:
867         * win32/gstversion.h:
868         * win32/gtchar.h:
869         * win32/testsuite/bins.vcproj:
870         * win32/testsuite/bytestream.vcproj:
871         * win32/testsuite/caps.vcproj:
872         * win32/testsuite/cleanup.vcproj:
873         * win32/testsuite/clock.vcproj:
874         * win32/testsuite/debug.vcproj:
875         * win32/testsuite/dlopen.vcproj:
876         * win32/testsuite/dynparams.vcproj:
877         * win32/testsuite/elements.vcproj:
878         * win32/testsuite/ghostpads.vcproj:
879         * win32/testsuite/indexers.vcproj:
880         * win32/testsuite/negotiation.vcproj:
881         * win32/testsuite/parse.vcproj:
882         * win32/testsuite/plugin.vcproj:
883         * win32/testsuite/refcounting.vcproj:
884         * win32/testsuite/schedulers.vcproj:
885         * win32/testsuite/states.vcproj:
886         * win32/testsuite/tags.vcproj:
887         * win32/testsuite/threads.vcproj:
888           remove old win32 stuff that isn't maintained and should be
889           reorganized
890
891 2005-11-30  Andy Wingo  <wingo@pobox.com>
892
893         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
894         loading the gst.interfaces python module bork.
895
896         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
897         available since GLib 2.2. Fixes #318031.
898
899 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
900
901         * Makefile.am:
902         * check/.cvsignore:
903         * check/Makefile.am:
904         * check/elements/.cvsignore:
905         * check/elements/fakesrc.c:
906         * check/elements/fdsrc.c:
907         * check/elements/identity.c:
908         * check/generic/.cvsignore:
909         * check/generic/states.c:
910         * check/gst-libs/.cvsignore:
911         * check/gst-libs/controller.c:
912         * check/gst-libs/gdp.c:
913         * check/gst/.cvsignore:
914         * check/gst/capslist.h:
915         * check/gst/gst.c:
916         * check/gst/gstbin.c:
917         * check/gst/gstbuffer.c:
918         * check/gst/gstbus.c:
919         * check/gst/gstcaps.c:
920         * check/gst/gstelement.c:
921         * check/gst/gstevent.c:
922         * check/gst/gstghostpad.c:
923         * check/gst/gstiterator.c:
924         * check/gst/gstmessage.c:
925         * check/gst/gstminiobject.c:
926         * check/gst/gstobject.c:
927         * check/gst/gstpad.c:
928         * check/gst/gstpipeline.c:
929         * check/gst/gstplugin.c:
930         * check/gst/gstsegment.c:
931         * check/gst/gststructure.c:
932         * check/gst/gstsystemclock.c:
933         * check/gst/gsttag.c:
934         * check/gst/gstutils.c:
935         * check/gst/gstvalue.c:
936         * check/net/.cvsignore:
937         * check/net/gstnetclientclock.c:
938         * check/net/gstnettimeprovider.c:
939         * check/pipelines/.cvsignore:
940         * check/pipelines/cleanup.c:
941         * check/pipelines/simple_launch_lines.c:
942         * check/pipelines/stress.c:
943         * check/states/.cvsignore:
944         * check/states/sinks.c:
945         * configure.ac:
946         * examples/Makefile.am:
947         * examples/appreader/.cvsignore:
948         * examples/appreader/Makefile.am:
949         * examples/appreader/appreader.c:
950         * examples/controller/.cvsignore:
951         * examples/controller/Makefile.am:
952         * examples/controller/audio-example.c:
953         * examples/cutter/.cvsignore:
954         * examples/cutter/Makefile.am:
955         * examples/cutter/cutter.c:
956         * examples/cutter/cutter.h:
957         * examples/events/Makefile.am:
958         * examples/events/seek.c:
959         * examples/helloworld/.cvsignore:
960         * examples/helloworld/Makefile.am:
961         * examples/helloworld/helloworld.c:
962         * examples/helloworld2/.cvsignore:
963         * examples/helloworld2/Makefile.am:
964         * examples/helloworld2/helloworld2.c:
965         * examples/launch/.cvsignore:
966         * examples/launch/Makefile.am:
967         * examples/launch/mp3parselaunch.c:
968         * examples/launch/mp3play:
969         * examples/manual/.cvsignore:
970         * examples/manual/Makefile.am:
971         * examples/manual/extract.pl:
972         * examples/metadata/Makefile.am:
973         * examples/metadata/read-metadata.c:
974         * examples/mixer/.cvsignore:
975         * examples/mixer/Makefile.am:
976         * examples/mixer/mixer.c:
977         * examples/mixer/mixer.h:
978         * examples/pingpong/.cvsignore:
979         * examples/pingpong/Makefile.am:
980         * examples/pingpong/pingpong.c:
981         * examples/plugins/.cvsignore:
982         * examples/plugins/Makefile.am:
983         * examples/plugins/example.c:
984         * examples/plugins/example.h:
985         * examples/pwg/.cvsignore:
986         * examples/pwg/Makefile.am:
987         * examples/pwg/extract.pl:
988         * examples/queue/.cvsignore:
989         * examples/queue/Makefile.am:
990         * examples/queue/queue.c:
991         * examples/queue2/.cvsignore:
992         * examples/queue2/Makefile.am:
993         * examples/queue2/queue2.c:
994         * examples/queue3/.cvsignore:
995         * examples/queue3/Makefile.am:
996         * examples/queue3/queue3.c:
997         * examples/queue4/.cvsignore:
998         * examples/queue4/Makefile.am:
999         * examples/queue4/queue4.c:
1000         * examples/retag/.cvsignore:
1001         * examples/retag/Makefile.am:
1002         * examples/retag/retag.c:
1003         * examples/retag/transcode.c:
1004         * examples/thread/.cvsignore:
1005         * examples/thread/Makefile.am:
1006         * examples/thread/thread.c:
1007         * examples/typefind/.cvsignore:
1008         * examples/typefind/Makefile.am:
1009         * examples/typefind/typefind.c:
1010         * examples/xml/.cvsignore:
1011         * examples/xml/Makefile.am:
1012         * examples/xml/createxml.c:
1013         * examples/xml/runxml.c:
1014         * tests/Makefile.am:
1015         * tests/check/Makefile.am:
1016         * testsuite/.cvsignore:
1017         * testsuite/Makefile.am:
1018         * testsuite/Rules:
1019         * testsuite/caps/.cvsignore:
1020         * testsuite/caps/Makefile.am:
1021         * testsuite/caps/app_fixate.c:
1022         * testsuite/caps/audioscale.c:
1023         * testsuite/caps/caps.c:
1024         * testsuite/caps/caps.h:
1025         * testsuite/caps/caps_strings:
1026         * testsuite/caps/compatibility.c:
1027         * testsuite/caps/deserialize.c:
1028         * testsuite/caps/enumcaps.c:
1029         * testsuite/caps/eratosthenes.c:
1030         * testsuite/caps/filtercaps.c:
1031         * testsuite/caps/fixed.c:
1032         * testsuite/caps/fraction-convert.c:
1033         * testsuite/caps/fraction-multiply-and-zero.c:
1034         * testsuite/caps/intersect2.c:
1035         * testsuite/caps/intersection.c:
1036         * testsuite/caps/normalisation.c:
1037         * testsuite/caps/random.c:
1038         * testsuite/caps/renegotiate.c:
1039         * testsuite/caps/sets.c:
1040         * testsuite/caps/simplify.c:
1041         * testsuite/caps/string-conversions.c:
1042         * testsuite/caps/structure.c:
1043         * testsuite/caps/subtract.c:
1044         * testsuite/caps/union.c:
1045         * testsuite/debug/.cvsignore:
1046         * testsuite/debug/Makefile.am:
1047         * testsuite/debug/category.c:
1048         * testsuite/debug/commandline.c:
1049         * testsuite/debug/global.c:
1050         * testsuite/debug/output.c:
1051         * testsuite/debug/printf_extension.c:
1052         * testsuite/dlopen/.cvsignore:
1053         * testsuite/dlopen/Makefile.am:
1054         * testsuite/dlopen/dlopen_gst.c:
1055         * testsuite/dlopen/loadgst.c:
1056         * testsuite/elements/.cvsignore:
1057         * testsuite/elements/Makefile.am:
1058         * testsuite/elements/gst-inspect-check.in:
1059         * testsuite/elements/struct_i386.h:
1060         * testsuite/elements/struct_size.c:
1061         * testsuite/indexers/.cvsignore:
1062         * testsuite/indexers/Makefile.am:
1063         * testsuite/indexers/cache1.c:
1064         * testsuite/indexers/indexdump.c:
1065         * testsuite/parse/.cvsignore:
1066         * testsuite/parse/Makefile.am:
1067         * testsuite/parse/parse1.c:
1068         * testsuite/parse/parse2.c:
1069         * testsuite/plugin/.cvsignore:
1070         * testsuite/plugin/Makefile.am:
1071         * testsuite/plugin/README:
1072         * testsuite/plugin/dynamic.c:
1073         * testsuite/plugin/linked.c:
1074         * testsuite/plugin/loading.c:
1075         * testsuite/plugin/registry.c:
1076         * testsuite/plugin/static.c:
1077         * testsuite/plugin/static2.c:
1078         * testsuite/plugin/testplugin.c:
1079         * testsuite/plugin/testplugin2.c:
1080         * testsuite/plugin/testplugin2_s.c:
1081         * testsuite/plugin/testplugin_s.c:
1082         * testsuite/refcounting/.cvsignore:
1083         * testsuite/refcounting/Makefile.am:
1084         * testsuite/refcounting/bin.c:
1085         * testsuite/refcounting/element.c:
1086         * testsuite/refcounting/element_pad.c:
1087         * testsuite/refcounting/mainloop.c:
1088         * testsuite/refcounting/mem.c:
1089         * testsuite/refcounting/mem.h:
1090         * testsuite/refcounting/object.c:
1091         * testsuite/refcounting/pad.c:
1092         * testsuite/refcounting/sched.c:
1093         * testsuite/refcounting/thread.c:
1094         * testsuite/states/.cvsignore:
1095         * testsuite/states/Makefile.am:
1096         * testsuite/states/bin.c:
1097         * testsuite/states/locked.c:
1098         * testsuite/states/parent.c:
1099         * testsuite/threads/.cvsignore:
1100         * testsuite/threads/159566.c:
1101         * testsuite/threads/159852.c:
1102         * testsuite/threads/Makefile.am:
1103         * testsuite/threads/queue.c:
1104         * testsuite/threads/signals.c:
1105         * testsuite/threads/staticrec.c:
1106         * testsuite/threads/thread.c:
1107         * testsuite/threads/threadb.c:
1108         * testsuite/threads/threadc.c:
1109         * testsuite/threads/threadd.c:
1110         * testsuite/threads/threade.c:
1111         * testsuite/threads/threadf.c:
1112         * testsuite/threads/threadg.c:
1113         * testsuite/threads/threadh.c:
1114         * testsuite/threads/threadi.c:
1115           move all of these under tests
1116
1117 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1118
1119         * configure.ac:
1120         * tests/Makefile.am:
1121           fix distcheck
1122
1123 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1124
1125         * docs/gst/gstreamer-sections.txt:
1126         * tests/sched/.cvsignore:
1127         * tests/sched/Makefile.am:
1128         * tests/sched/cases/(fs-fs).xml:
1129         * tests/sched/cases/(fs-i-fs).xml:
1130         * tests/sched/cases/(fs-i-i-fs).xml:
1131         * tests/sched/cases/(fs-i-q[i-fs]).xml:
1132         * tests/sched/dynamic-pipeline.c:
1133         * tests/sched/interrupt1.c:
1134         * tests/sched/interrupt2.c:
1135         * tests/sched/interrupt3.c:
1136         * tests/sched/runtestcases:
1137         * tests/sched/runxml.c:
1138         * tests/sched/sched-stress.c:
1139         * tests/sched/sort.c:
1140         * tests/sched/testcases:
1141         * tests/sched/testcases1.tc:
1142         * tests/seeking/.cvsignore:
1143         * tests/seeking/Makefile.am:
1144         * tests/seeking/seeking1.c:
1145         * tests/threadstate/.cvsignore:
1146         * tests/threadstate/Makefile.am:
1147         * tests/threadstate/test1.c:
1148         * tests/threadstate/test2.c:
1149         * tests/threadstate/threadstate1.c:
1150         * tests/threadstate/threadstate2.c:
1151         * tests/threadstate/threadstate3.c:
1152         * tests/threadstate/threadstate4.c:
1153         * tests/threadstate/threadstate5.c:
1154           remove obsolete tests
1155         * configure.ac:
1156         * tests/bench-complexity.scm:
1157         * tests/bench-mass_elements.scm:
1158         * tests/complexity.c:
1159         * tests/complexity.gnuplot:
1160         * tests/instantiate/.cvsignore:
1161         * tests/instantiate/Makefile.am:
1162         * tests/instantiate/caps.c:
1163         * tests/mass_elements.c:
1164         * tests/network-clock-utils.scm:
1165         * tests/network-clock.scm:
1166         * tests/plot-data:
1167         First pass at cleaning up tests/ dir before moving the rest
1168         Combined with CVS surgery
1169
1170 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1171
1172         * po/POTFILES.in:
1173           queue has moved, update
1174
1175 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1176
1177         * docs/gst/gstreamer-sections.txt:
1178           remove double entries from the docs
1179         * gst/gst_private.h:
1180         * gst/gstinfo.c: (_gst_debug_init):
1181           remove the THREAD debug category
1182         * gst/Makefile.am:
1183         * gst/gstqueue.c:
1184         * gst/gstqueue.h:
1185         * docs/gst/gstreamer.types:
1186         * plugins/elements/gstqueue.c: (gst_queue_get_type),
1187         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
1188           completely move queue and fix up debugging categories
1189
1190 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1191
1192         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1193           make initialization portable, using LL is not
1194
1195 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1196
1197         * win32/common/gstconfig.h:
1198           add large padding
1199
1200 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1201
1202         * win32/common/libgstreamer.def:
1203           rename symbols; sort base section
1204
1205 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1206
1207         * gst/gstclock.c: (do_linear_regression):
1208           remove crack non-portable handrolled DEBUG macro
1209
1210 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1211
1212         * docs/random/release:
1213           update notes
1214         * win32/common/gstenumtypes.c: (register_gst_object_flags),
1215         (gst_object_flags_get_type), (register_gst_bin_flags),
1216         (gst_bin_flags_get_type), (register_gst_buffer_flag),
1217         (gst_buffer_flag_get_type), (register_gst_bus_flags),
1218         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1219         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
1220         (gst_caps_flags_get_type), (register_gst_clock_return),
1221         (gst_clock_return_get_type), (register_gst_clock_entry_type),
1222         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1223         (gst_clock_flags_get_type), (register_gst_state),
1224         (gst_state_get_type), (register_gst_state_change_return),
1225         (gst_state_change_return_get_type), (register_gst_state_change),
1226         (gst_state_change_get_type), (register_gst_element_flags),
1227         (gst_element_flags_get_type), (register_gst_core_error),
1228         (gst_core_error_get_type), (register_gst_library_error),
1229         (gst_library_error_get_type), (register_gst_resource_error),
1230         (gst_resource_error_get_type), (register_gst_stream_error),
1231         (gst_stream_error_get_type), (register_gst_event_type_flags),
1232         (gst_event_type_flags_get_type), (register_gst_event_type),
1233         (gst_event_type_get_type), (register_gst_seek_type),
1234         (gst_seek_type_get_type), (register_gst_seek_flags),
1235         (gst_seek_flags_get_type), (register_gst_format),
1236         (gst_format_get_type), (register_gst_index_certainty),
1237         (gst_index_certainty_get_type), (register_gst_index_entry_type),
1238         (gst_index_entry_type_get_type),
1239         (register_gst_index_lookup_method),
1240         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1241         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1242         (gst_index_resolver_method_get_type), (register_gst_index_flags),
1243         (gst_index_flags_get_type), (register_gst_debug_level),
1244         (gst_debug_level_get_type), (register_gst_debug_color_flags),
1245         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1246         (gst_iterator_result_get_type), (register_gst_iterator_item),
1247         (gst_iterator_item_get_type), (register_gst_message_type),
1248         (gst_message_type_get_type), (register_gst_mini_object_flags),
1249         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1250         (gst_pad_link_return_get_type), (register_gst_flow_return),
1251         (gst_flow_return_get_type), (register_gst_activate_mode),
1252         (gst_activate_mode_get_type), (register_gst_pad_direction),
1253         (gst_pad_direction_get_type), (register_gst_pad_flags),
1254         (gst_pad_flags_get_type), (register_gst_pad_presence),
1255         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1256         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1257         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1258         (gst_plugin_error_get_type), (register_gst_plugin_flags),
1259         (gst_plugin_flags_get_type), (register_gst_rank),
1260         (gst_rank_get_type), (register_gst_query_type),
1261         (gst_query_type_get_type), (register_gst_tag_merge_mode),
1262         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1263         (gst_tag_flag_get_type), (register_gst_task_state),
1264         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1265         (gst_alloc_trace_flags_get_type),
1266         (register_gst_type_find_probability),
1267         (gst_type_find_probability_get_type), (register_gst_uri_type),
1268         (gst_uri_type_get_type), (register_gst_parse_error),
1269         (gst_parse_error_get_type):
1270         * win32/common/gstenumtypes.h:
1271         * win32/common/gstversion.h:
1272           update visual studio generated files
1273
1274 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1275
1276         * win32/vs6/libgstbase.dsp:
1277         * win32/vs6/libgstelements.dsp:
1278           update project files for new locations
1279
1280 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1281
1282         * Makefile.am:
1283           remove some files
1284         * README:
1285           reinstate and update
1286         * DEVEL:
1287         * REQUIREMENTS:
1288           removed
1289         * LICENSE:
1290         * docs/random/LICENSE:
1291           moved to random
1292
1293 2005-11-30  Edward Hervey  <edward@fluendo.com>
1294
1295         * gst/gsttypefind.c: (gst_type_find_register):
1296         * gst/gsttypefind.h:
1297         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1298         (gst_type_find_factory_dispose):
1299         * gst/gsttypefindfactory.h:
1300         Fix memory leak in GstTypeFindFactory.
1301
1302 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1303
1304         * gst/gst.c:
1305         * plugins/elements/Makefile.am:
1306         * plugins/elements/gstelements.c:
1307         * plugins/elements/gstqueue.c:
1308           move queue from core to the elements plugin
1309
1310 2005-11-29  Andy Wingo  <wingo@pobox.com>
1311
1312         * libs/gst/base/gstbasetransform.h: 
1313         * libs/gst/base/gstbasesrc.h: 
1314         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1315
1316         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1317         of pointers by which to pad very extensible base classes (like the
1318         ones in libs/gst/base).
1319
1320 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1321
1322         * docs/gst/gstreamer-docs.sgml:
1323         * docs/gst/gstreamer-sections.txt:
1324         * docs/libs/gstreamer-libs-docs.sgml:
1325         * docs/libs/gstreamer-libs-sections.txt:
1326           moving documentation from core to lib
1327
1328 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1329
1330         * check/Makefile.am:
1331         * configure.ac:
1332         * docs/gst/Makefile.am:
1333         * gst/Makefile.am:
1334         * gst/base/.cvsignore:
1335         * gst/base/Makefile.am:
1336         * gst/base/README:
1337         * gst/base/gstadapter.c:
1338         * gst/base/gstadapter.h:
1339         * gst/base/gstbasesink.c:
1340         * gst/base/gstbasesink.h:
1341         * gst/base/gstbasesrc.c:
1342         * gst/base/gstbasesrc.h:
1343         * gst/base/gstbasetransform.c:
1344         * gst/base/gstbasetransform.h:
1345         * gst/base/gstcollectpads.c:
1346         * gst/base/gstcollectpads.h:
1347         * gst/base/gstpushsrc.c:
1348         * gst/base/gstpushsrc.h:
1349         * gst/base/gsttypefindhelper.c:
1350         * gst/base/gsttypefindhelper.h:
1351         * gst/check/Makefile.am:
1352         * gst/check/gstcheck.c:
1353         * gst/check/gstcheck.h:
1354         * gst/net/Makefile.am:
1355         * gst/net/gstnet.h:
1356         * gst/net/gstnetclientclock.c:
1357         * gst/net/gstnetclientclock.h:
1358         * gst/net/gstnettimepacket.c:
1359         * gst/net/gstnettimepacket.h:
1360         * gst/net/gstnettimeprovider.c:
1361         * gst/net/gstnettimeprovider.h:
1362         * libs/gst/Makefile.am:
1363         * libs/gst/base/Makefile.am:
1364         * libs/gst/base/gstbasetransform.c:
1365         * libs/gst/check/Makefile.am:
1366         * plugins/elements/Makefile.am:
1367         * po/POTFILES.in:
1368           CVS surgery + support to move base, check, and net out of gst
1369           and into libs/gst
1370
1371 2005-11-29  Andy Wingo  <wingo@pobox.com>
1372
1373         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1374
1375         * gst/gststructure.h (struct _GstStructure): Only one pointer of
1376         padding.
1377
1378         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1379
1380         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1381
1382         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1383
1384         * gst/gstobject.h: (struct _GstObject): Only one pointer of
1385         padding; reduces object size by about 30%. We don't expect
1386         anything else to go into gstobject.
1387
1388         * gst/gstminiobject.h (struct _GstMiniObject)
1389         (struct _GstMiniObjectClass): Only one pointer of padding; the
1390         payload is only a pointer and two ints anyway. For the class there
1391         are only two methods as well.
1392         
1393         * gst/gstelement.h (struct _GstElementClass): Removed
1394         the state_changed signal callback, it is not used.
1395
1396 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1397
1398         * docs/gst/gstreamer.types:
1399           fix includes, though they are a little dinky
1400
1401 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1402
1403         * check/Makefile.am:
1404           look in the right place for elements, a lot more chance of
1405           success
1406         * gst/Makefile.am:
1407           remove indexers and elements subdirs
1408         * plugins/Makefile.am:
1409           make indexers conditional
1410
1411 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1412
1413         * Makefile.am:
1414         * configure.ac:
1415         * plugins/elements/Makefile.am:
1416         * plugins/elements/gstcapsfilter.c:
1417         * plugins/elements/gstfilesink.c:
1418         * plugins/elements/gstfilesrc.c:
1419         * plugins/elements/gstidentity.c:
1420         * plugins/indexers/Makefile.am:
1421           do CVS surgery and related build fixery to move elements
1422           and indexers in a new gstreamer/plugins directory, out of the
1423           gst/ directory
1424
1425 2005-11-29  Andy Wingo  <wingo@pobox.com>
1426
1427         * check/Makefile.am:
1428         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1429         * pkgconfig/gstreamer-net.pc.in:
1430         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1431         #322257.
1432
1433 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1434
1435         * tools/Makefile.am:
1436         * tools/gst-complete.1.in:
1437         * tools/gst-complete.c:
1438         * tools/gst-compprep.1.in:
1439         * tools/gst-compprep.c:
1440           removing -compprep and -complete
1441
1442 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1443
1444         * gst/gstevent.c: (gst_event_new_new_segment),
1445         (gst_event_parse_new_segment):
1446         * gst/gstevent.h:
1447           fix #320529 - clean up new_segment API and structure.
1448           Let's hope everyone was using the methods, and not the structure.
1449
1450 2005-11-29  Edward Hervey  <edward@fluendo.com>
1451
1452         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1453         (gst_base_sink_event), (gst_base_sink_do_sync),
1454         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1455         Properly handle non GST_FORMAT_TIME segment
1456         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1457         Properly handle non GST_FORMAT_TIME segment
1458         * gst/gstsegment.c:
1459         This function is valid if the accumulator is 0 and the format
1460         is different from the requested format.
1461         
1462 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1463
1464         * docs/gst/gstreamer-sections.txt:
1465         Add gst_query_new_seeking and gst_query_parse_seeking to the
1466         docs.
1467
1468 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1469
1470         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1471           Treat a pad alloc with new caps the same as if we were not
1472           negotiated, in order to allow a changing upstream output
1473           to produce a new format of data.
1474
1475 2005-11-29  Edward Hervey  <edward@fluendo.com>
1476
1477         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1478         (gst_base_transform_event), (gst_base_transform_eventfunc):
1479         The event virtual method is now properly implemented, with a default
1480         handler
1481         Sub classes should call the parent_class event method. They should
1482         return FALSE if they had a problem handling the given event, or don't
1483         want GstBaseTransform to send that even downstream
1484         * gst/elements/gstidentity.c: (gst_identity_class_init),
1485         (gst_identity_init), (gst_identity_event),
1486         (gst_identity_transform_ip), (gst_identity_set_property),
1487         (gst_identity_get_property):
1488         * gst/elements/gstidentity.h:
1489         Added the single-segment boolean property.
1490         If set to TRUE, it will output a single segment of data, starting from
1491         0, will eat up all incoming newsegment, and modify the timestamp of the
1492         buffers accordingly
1493
1494 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
1495
1496         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1497           Don't ref NULL target pad (#322751). Improve docs.
1498
1499 2005-11-29  Michael Smith  <msmith@fluendo.com>
1500
1501         * gst/gstregistryxml.c: (load_plugin):
1502           Don't crash if we failed to load a feature from a plugin. 
1503
1504 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1505
1506         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1507         (GST_START_TEST):
1508           use more check API and less GLib API
1509
1510 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1511
1512         * Makefile.am:
1513           don't run checks if we don't have check
1514         * common/check.mak:
1515           remove the registry when running make torture
1516         * docs/gst/gstreamer-sections.txt:
1517           remove second multiply
1518         * gst/gstqueue.c: (gst_queue_loop):
1519           fix a compile warning when disabling debug
1520
1521 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1522
1523         * gst/gstinfo.h:
1524         Hey! Let's print the pad name if the pointer != NULL instead
1525         of when it == NULL :-)
1526
1527 2005-11-28  Wim Taymans  <wim@fluendo.com>
1528
1529         * check/gst/gstutils.c: (GST_START_TEST):
1530         Updated check, add some scaling accuracy checking code.
1531
1532         * gst/gstutils.c: (gst_util_div128_64),
1533         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1534         (gst_util_uint64_scale_int):
1535         Fix 6 times faster division code. Optimize for common 
1536         1/1 and less common X/1 cases.
1537
1538 2005-11-28  Wim Taymans  <wim@fluendo.com>
1539
1540         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1541         More checks.
1542
1543         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1544         (do_linear_regression), (gst_clock_add_observation):
1545         Cleanups.
1546         Release lock when the clock cannot be slaved.
1547         Catch the case where the regression returned an invalid denominator.
1548
1549         * gst/gstutils.c: (gst_util_div128_64_iterate),
1550         (gst_util_div128_64), (gst_util_uint64_scale_int64),
1551         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1552         Add protentially more performant non-iterative 128/64 divide function
1553         that unfortunatly does not work yet.
1554         Shortcut the trivial 0/X = 0 case.
1555         Remove the warnings on overflow.
1556
1557 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1558
1559         * gst/gstplugin.c: (gst_plugin_register_func):
1560           everything causing a plugin not to load should be at least a WARNING
1561
1562 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
1563
1564         * docs/random/ensonic/dparams.txt:
1565           some TODOs for the next dev cycle
1566         * libs/gst/controller/gstcontroller.c:
1567         (gst_controlled_property_set_interpolation_mode),
1568         (gst_controlled_property_new):
1569         * libs/gst/controller/gstcontroller.h:
1570           use base type to assign acccessor functions
1571
1572 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1573
1574         * check/Makefile.am:
1575         Oops, that should have been top_srcdir
1576
1577 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1578
1579         * check/Makefile.am:
1580         * check/elements/fdsrc.c: (GST_START_TEST):
1581         Use a cmdline define to specify the location of a file to use for
1582         testing, to avoid breaking distcheck.
1583
1584 2005-11-28  Andy Wingo  <wingo@pobox.com>
1585
1586         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1587
1588 2005-11-28  Edward Hervey  <edward@fluendo.com>
1589
1590         * tools/gst-launch.c: (main):
1591         Clarify the output strings, makes it easier to translate.
1592         Fixes #322626
1593
1594 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1595
1596         * gst/Makefile.am:
1597           don't try and build net if we don't even have <sys/socket.h>
1598
1599 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1600
1601         * check/Makefile.am:
1602         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1603         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1604           Add tests for fdsrc seekability
1605
1606         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1607         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1608         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1609         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1610         * gst/elements/gstfdsrc.h:
1611           fdsrc should not be a 'live' source.
1612           Implement seeking on seekable fd's.
1613
1614         * gst/gstquery.c: (gst_query_new_seeking),
1615         (gst_query_parse_seeking):
1616         * gst/gstquery.h:
1617           Implement SEEKING query functions: 
1618             *_new_seeking and *_parse_seeking
1619
1620 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1621
1622         * gst/gstelement.c: (gst_element_dispose):
1623           don't loop forever
1624
1625         * gst/gstiterator.c:
1626         * gst/gststructure.c:
1627           doc fixes
1628
1629         * libs/gst/controller/gstcontroller.c:
1630         (gst_controlled_property_set_interpolation_mode):
1631         * libs/gst/controller/gstcontroller.h:
1632         * libs/gst/controller/gstinterpolation.c:
1633         (interpolate_none_get_enum_value_array):
1634           support controlling enums
1635
1636 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1637
1638         * gst/gstvalue.c:
1639           Improve documentation for gst_value_union().
1640
1641         * gst/gstvalue.h:
1642           Change return value for union, intersect and subtract functions
1643           from gint to gboolean.
1644
1645 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1646
1647         * gst/gstvalue.c: (gst_value_serialize_any_list),
1648         (gst_value_transform_any_list_string),
1649         (gst_value_deserialize_list), (gst_value_deserialize_array),
1650         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1651         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1652         (gst_value_set_fraction_range_full),
1653         (gst_value_deserialize_fraction_range),
1654         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1655         (gst_value_deserialize_boolean),
1656         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1657         (gst_value_serialize_float), (gst_value_deserialize_float),
1658         (gst_string_wrap), (gst_value_deserialize_string),
1659         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1660         (gst_value_union_int_range_int_range),
1661         (gst_value_intersect_int_range_int_range),
1662         (gst_value_intersect_double_range_double_range),
1663         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1664         (gst_value_subtract_int_range_int_range),
1665         (gst_value_subtract_double_double_range),
1666         (gst_value_subtract_double_range_double_range),
1667         (gst_value_deserialize_fraction):
1668         * gst/gstvalue.h:
1669           Use gint, gdouble and gchar in our API instead of int, double and
1670           char (and make usage in gstvalue.c more consistent).
1671
1672 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1673
1674         * check/Makefile.am:
1675         * libs/gst/controller/Makefile.am:
1676         * libs/gst/dataprotocol/Makefile.am:
1677           fix up Makefile.am and remove GST_ENABLE_NEW
1678
1679 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1680
1681         * configure.ac:
1682         * gst/Makefile.am:
1683         * gst/base/Makefile.am:
1684         * gst/check/Makefile.am:
1685         * gst/elements/Makefile.am:
1686         * gst/net/Makefile.am:
1687           update LDFLAGS use some more
1688
1689 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1690
1691         * common/m4/gst-doc.m4:
1692           Fixes #312589
1693
1694 2005-11-26  Edward Hervey  <edward@fluendo.com>
1695
1696         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1697         This shouldn't issue a g_warning since it returns NULL if it
1698         couldn't find the plugin, and all functions using this behave
1699         properly on a NULL return. Switching to a GST_WARNING.
1700
1701 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1702
1703         * gst/gstbin.c: (gst_bin_handle_message_func):
1704         Don't leak clock messages.
1705
1706 2005-11-25  Wim Taymans  <wim@fluendo.com>
1707
1708         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1709         (gst_util_uint64_scale_int):
1710         Optimisations, remove unneeded vars.
1711
1712 2005-11-25  Wim Taymans  <wim@fluendo.com>
1713
1714         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1715         Added more checks for the high precision uint64 cases.
1716
1717         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1718         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1719         Implement high precision (guint64 * guint64) / guint64.
1720
1721 2005-11-24  Wim Taymans  <wim@fluendo.com>
1722
1723         * gst/base/gstbasesrc.c: (gst_base_src_query):
1724         Fix wrong percentage query.
1725
1726         * gst/gstutils.c: (gst_util_uint64_scale),
1727         (gst_util_uint64_scale_int):
1728         Add some more common cases that can be handled 
1729         efficiently to _scale.
1730
1731 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1732
1733         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1734         (gst_mini_object_suite):
1735           don't use check calls from threads; check probably isn't
1736           threadsafe and using a lock to make it threadsafe would
1737           defeat the purpose of this check
1738         * gst/check/gstcheck.c:
1739         * gst/check/gstcheck.h:
1740           use GST_DEBUG some more
1741
1742 2005-11-24  Wim Taymans  <wim@fluendo.com>
1743
1744         * gst/gstutils.c: (gst_util_uint64_scale),
1745         (gst_util_uint64_scale_int):
1746         Chain trivial case to _scale_int.
1747
1748 2005-11-24  Wim Taymans  <wim@fluendo.com>
1749
1750         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1751         Added test for scaling.
1752
1753         * gst/gstclock.h:
1754         Small doc fix.
1755
1756         * gst/gstutils.c: (gst_util_uint64_scale_int):
1757         Implemented high precision scaling code.
1758
1759 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1760
1761         * gst/gstinfo.h:
1762           do not crash on pad==NULL
1763
1764 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1765
1766         Patch by: Stefan Kost
1767
1768         * common/gtk-doc.mak:
1769         * docs/gst/Makefile.am:
1770         * docs/libs/Makefile.am:
1771           Fix distcheck issues for the libraries docs build
1772           Closes #319599.
1773
1774 2005-11-24  Michael Smith <msmith@fluendo.com>
1775
1776         * docs/manual/basics-helloworld.xml:
1777           Fix bug #315027: memory leak in example code in docs.
1778
1779 2005-11-24  Michael Smith <msmith@fluendo.com>
1780
1781         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1782           Unlock the PREROLL_LOCK in a failure case.
1783
1784 2005-11-24  Wim Taymans  <wim@fluendo.com>
1785
1786         * docs/gst/gstreamer-sections.txt:
1787         * gst/base/gstadapter.h:
1788         * gst/base/gstbasesink.h:
1789         * gst/base/gstbasesrc.h:
1790         * gst/base/gstbasetransform.h:
1791         * gst/base/gstpushsrc.h:
1792         * gst/elements/gstfakesink.h:
1793         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1794         * gst/elements/gstfakesrc.h:
1795         * gst/elements/gstfilesink.h:
1796         * gst/elements/gstfilesrc.h:
1797         * gst/gst.c:
1798         * gst/gstbin.c:
1799         * gst/gstbuffer.c: (_gst_buffer_copy):
1800         * gst/gstbus.h:
1801         * gst/gstcaps.c:
1802         * gst/gstchildproxy.c:
1803         * gst/gstclock.c:
1804         * gst/gstelement.c:
1805         * gst/gstelementfactory.c:
1806         * gst/gstelementfactory.h:
1807         * gst/gstevent.c:
1808         * gst/gstghostpad.h:
1809         * gst/gstindex.h:
1810         * gst/gstinterface.h:
1811         * gst/gstminiobject.c:
1812         * gst/gstminiobject.h:
1813         * gst/gstpad.c:
1814         * gst/gstpad.h:
1815         * gst/gstpadtemplate.h:
1816         * gst/gstpipeline.h:
1817         * gst/gstpluginfeature.h:
1818         * gst/gstquery.h:
1819         * gst/gstqueue.h:
1820         * gst/gsttaglist.c:
1821         * gst/gsttaglist.h:
1822         * gst/gsttagsetter.c:
1823         * gst/gsttagsetter.h:
1824         * gst/gsttrace.c:
1825         * gst/gsttrace.h:
1826         * gst/gsttypefind.h:
1827         * gst/gsturi.h:
1828         * gst/gstvalue.c:
1829         * gst/net/gstnetclientclock.c:
1830         * gst/net/gstnetclientclock.h:
1831         * gst/net/gstnettimepacket.c:
1832         * gst/net/gstnettimeprovider.c:
1833         * gst/net/gstnettimeprovider.h:
1834         Doc fixes.
1835
1836 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1837
1838         * configure.ac: back to HEAD
1839
1840 === release 0.9.6 ===
1841
1842 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1843
1844         * configure.ac:
1845           releasing 0.9.6, "Always On Time"
1846
1847 2005-11-23  Wim Taymans  <wim@fluendo.com>
1848
1849         * docs/gst/gstreamer-sections.txt:
1850         * gst/glib-compat.c:
1851         * gst/gsttagsetter.c:
1852         * gst/gstvalue.c:
1853         * gst/net/gstnetclientclock.c:
1854         * gst/net/gstnettimepacket.h:
1855         Doc updates.
1856
1857 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1858
1859         * docs/faq/using.xml:
1860         * docs/libs/tmpl/gstcontrol.sgml:
1861         * docs/manual/advanced-dparams.xml:
1862         * docs/manual/appendix-checklist.xml:
1863         * docs/manual/basics-elements.xml:
1864         * docs/pwg/other-source.xml:
1865         * docs/random/moving-plugins:
1866         * gst/gstpad.c:
1867         * tools/gst-launch.1.in:
1868           remove mentions of sinesrc
1869
1870 2005-11-23  Michael Smith <msmith@fluendo.com>
1871
1872         * docs/gst/gstreamer-sections.txt:
1873           Update for new API and API changes.
1874         * gst/gstobject.h:
1875           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1876         * gst/gstvalue.c:
1877           Documentation typo fix.
1878         * gst/net/gstnettimepacket.c:
1879           Documentation fixes for arguments.
1880
1881 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1882
1883         * gst/gststructure.c: (gst_structure_get_fraction),
1884         (gst_structure_parse_value),
1885         (gst_structure_fixate_field_nearest_fraction):
1886         * gst/gststructure.h:
1887         * gst/gstutils.c: (gst_util_uint64_scale_int):
1888         * gst/gstutils.h:
1889         * scripts/update-funcnames:
1890         API Changes. 
1891         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1892         Make gst_structure_fixate_field_nearest_fraction take a numerator
1893         and denominator argument instead of a GValue
1894         add gst_structure_get_fraction helper function.
1895
1896 2005-11-23  Wim Taymans  <wim@fluendo.com>
1897
1898         * docs/design/part-TODO.txt:
1899         Update TODO.
1900
1901         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1902         * gst/net/gstnetclientclock.h:
1903         Use parent fields for timeout and window_size.
1904
1905 2005-11-23  Andy Wingo  <wingo@pobox.com>
1906
1907         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1908         rate_num/rate_denom change.
1909
1910         * gst/net/gstnetclientclock.c
1911         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1912         OBJECT_LOCK. Don't call add_observation with the lock.
1913
1914         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1915         fraction.
1916         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1917         rate fraction.
1918         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1919         deal with rate as a fraction whose numerator and denominator are
1920         GstClockTime values.
1921         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1922         master; the other fields are protected by the SLAVE_LOCK.
1923         (do_linear_regression): Note that this must be called with the
1924         SLAVE_LOCK.
1925         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1926         OBJECT_LOCK. Call set_calibration instead of touching the
1927         variables directly.
1928         (gst_clock_set_property, gst_clock_get_property): Protect
1929         master/slave parameters with the SLAVE_LOCK.
1930
1931         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1932         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1933         note that all of the instance variables that add_observation and
1934         the set_master functions use are protected by that lock and not
1935         the OBJECT_LOCK.
1936         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1937
1938         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1939         the caller to take the object lock.
1940
1941 2005-11-23  Wim Taymans  <wim@fluendo.com>
1942
1943         * gst/gsterror.c: (_gst_core_errors_init):
1944         * gst/gsterror.h:
1945         Add error for clock stuff.
1946
1947         * gst/gstpipeline.c: (gst_pipeline_change_state),
1948         (gst_pipeline_set_clock):
1949         Post clock error when clock cannot be used in a pipeline.
1950
1951 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1952
1953         * docs/gst/gstreamer-sections.txt:
1954           make two symbols from gstinfo private for the docs
1955         * gst/base/gstcollectpads.h:
1956         * gst/gstutils.c:
1957           fix doc typos, update docs
1958
1959 2005-11-22  Wim Taymans  <wim@fluendo.com>
1960
1961         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1962         (gst_base_sink_wait), (gst_base_sink_do_sync),
1963         (gst_base_sink_handle_event):
1964         * gst/base/gstbasesink.h:
1965         No need to store the clock, the parent element class already
1966         has it.
1967
1968         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1969         Updates for clock_set returning a gboolean
1970
1971         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1972         (gst_clock_id_wait_async), (gst_clock_class_init),
1973         (gst_clock_init), (gst_clock_finalize),
1974         (gst_clock_get_internal_time), (gst_clock_get_time),
1975         (gst_clock_slave_callback), (gst_clock_set_master),
1976         (gst_clock_get_master), (do_linear_regression),
1977         (gst_clock_add_observation), (gst_clock_set_property),
1978         (gst_clock_get_property):
1979         * gst/gstclock.h:
1980         Implement master/slave. When setting a clock as a slave, a
1981         periodic timeout is scheduled to sample master and slave times.
1982         Then the slave clock is recalibrated to match offset and rate
1983         of the master clock.
1984         Update logging a bit.
1985         Add flag so that a clock can state that is cannot be slaved to
1986         another clock.
1987
1988         * gst/gstelement.c: (gst_element_set_clock):
1989         * gst/gstelement.h:
1990         The set clock returns a gboolean for when an element cannot
1991         deal with the selected clock in the pipeline. 
1992
1993         * gst/gstpipeline.c: (gst_pipeline_change_state),
1994         (gst_pipeline_set_clock):
1995         * gst/gstpipeline.h:
1996         Handle the case where the selected clock cannot be set on
1997         the pipeline.
1998
1999         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
2000         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
2001         (gst_net_client_clock_set_property),
2002         (gst_net_client_clock_get_property),
2003         (gst_net_client_clock_observe_times):
2004         * gst/net/gstnetclientclock.h:
2005         Use regression code in GstClock parent, remove duplicated
2006         functionality.
2007
2008 2005-11-22  Michael Smith <msmith@fluendo.com>
2009
2010         * gst/gstutils.c: (gst_util_clock_time_scale):
2011         * gst/gstutils.h:
2012         * docs/gst/gstreamer-sections.txt:
2013           Rename method to have extra underscore.
2014
2015 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2016
2017         * gst/elements/Makefile.am:
2018         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
2019         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2020         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
2021         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
2022         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
2023         * gst/elements/gstfakesrc.h:
2024         * gst/gstqueue.c: (queue_leaky_get_type):
2025           correctly fix GEnumValues so that nick is the short lowercase
2026           dashed tag
2027         * tools/gst-inspect.c: (print_element_properties_info):
2028           also show the nick, since it's useful to use from parse_launch
2029           syntax
2030           Fixes #322139
2031
2032 2005-11-22  Michael Smith <msmith@fluendo.com>
2033
2034         * gst/gstutils.c: (gst_util_clocktime_scale):
2035         * gst/gstutils.h:
2036         * docs/gst/gstreamer-sections.txt:
2037           Add util method for scaling a clocktime by a fraction. Useful 
2038           implementation is left as an exercise for the reader.
2039
2040 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2041
2042         * gst/gstvalue.c: (gst_value_collect_fraction_range):
2043         If needed, allocate storage in the destination value during
2044         collection.
2045
2046 2005-11-22  Edward Hervey  <edward@fluendo.com>
2047
2048         * docs/gst/gstreamer-sections.txt:
2049         * gst/Makefile.am:
2050         * gst/gst.h:
2051         * gst/gsturitype.c:
2052         * gst/gsturitype.h:
2053         * gst/gstutils.c: (gst_util_set_object_arg):
2054         * tools/gst-compprep.c: (main):
2055         * tools/gst-inspect.c: (print_element_properties_info):
2056         Removed GstURI, closes bug #321061
2057
2058 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2059
2060         * check/gst/gststructure.c: (GST_START_TEST):
2061         * gst/gststructure.c: (gst_structure_parse_value):
2062           Oops, broke automatic string type parsing.
2063           Add a test to catch it in future.
2064
2065 2005-11-22  Andy Wingo  <wingo@pobox.com>
2066
2067         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
2068         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
2069         Actually rename the function implementations. Grr.
2070
2071 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2072
2073         * check/gst/capslist.h:
2074           Comment test cases
2075         * check/gst/gststructure.c: (GST_START_TEST),
2076         (gst_structure_suite):
2077           Test automatic value type detection in gst_structure_from_string.
2078         * gst/gststructure.c: (gst_structure_parse_value):
2079           Add fraction as a type we try and guess automatically in
2080           caps/structure strings.
2081
2082 2005-11-22  Andy Wingo  <wingo@pobox.com>
2083
2084         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
2085
2086         * gst/gsttagsetter.h:
2087         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
2088         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
2089         (gst_tag_setter_add_tag_valist)
2090         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
2091         _add_values, _add_valist, and _add_valist_values. Since this is an
2092         interface the function suffixes should be more explicit so
2093         language binding don't end up with element.add_valist ->
2094         gst_tag_setter_add_valist, for example. Fixes #322069.
2095
2096 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2097
2098         * check/gst/gstcaps.c: (GST_START_TEST):
2099           Extend caps string tests to check that a caps to string
2100           conversion is reversible and produces the same caps.
2101
2102         * gst/gststructure.c: (gst_structure_value_get_generic_type):
2103           Output "fraction" as the generic type fraction range, so caps
2104           serialisation and deserialisation works.
2105         * check/gst/capslist.h:
2106         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2107           Support 'MIN' and 'MAX' for deserialising fractions.
2108
2109 2005-11-22  Andy Wingo  <wingo@pobox.com>
2110
2111         * gst/gstevent.h (gst_event_new_new_segment)
2112         (gst_event_parse_new_segment, gst_event_new_buffer_size)
2113         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
2114         Renamed from *_newsegment, *_buffersize, *_notarget.
2115
2116         * scripts/update-funcnames: New script, performs the changes
2117         listed above.
2118
2119 2005-11-22  Wim Taymans  <wim@fluendo.com>
2120
2121         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2122         Make sure the GstFlowReturn is returned.
2123
2124         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
2125         (gst_bus_add_signal_watch):
2126         * gst/gstbus.h:
2127         add gst_bus_add_signal_watch_full.
2128
2129         * gst/gstplugin.c: (gst_plugin_load_file):
2130         Small style cleanup.
2131
2132 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2133
2134         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
2135           Block the fakesrc srcpad when we send an event, to avoid
2136           contention on the stream_lock causing random test failures.
2137
2138 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2139
2140         * check/gst/gstvalue.c: (GST_START_TEST):
2141         * gst/gstvalue.c: (gst_value_fraction_subtract):
2142           Fix subtraction.
2143
2144 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
2145
2146         * gst/gst.h:
2147           include "gstchildproxy.h"
2148         * gst/gstchildproxy.h:
2149         * libs/gst/controller/gstcontroller.h:
2150           use G_GNUC_NULL_TERMINATED
2151
2152 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2153
2154         * check/gst/capslist.h:
2155         * check/gst/gstcaps.c: (GST_START_TEST):
2156         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2157         * gst/gststructure.c: (gst_structure_parse_range),
2158         (gst_structure_fixate_field_nearest_fraction):
2159         * gst/gststructure.h:
2160         * gst/gstvalue.c: (gst_value_init_fraction_range),
2161         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
2162         (gst_value_collect_fraction_range),
2163         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
2164         (gst_value_set_fraction_range_full),
2165         (gst_value_get_fraction_range_min),
2166         (gst_value_get_fraction_range_max),
2167         (gst_value_serialize_fraction_range),
2168         (gst_value_transform_fraction_range_string),
2169         (gst_value_compare_fraction_range),
2170         (gst_value_deserialize_fraction_range),
2171         (gst_value_intersect_fraction_fraction_range),
2172         (gst_value_intersect_fraction_range_fraction_range),
2173         (gst_value_subtract_fraction_fraction_range),
2174         (gst_value_subtract_fraction_range_fraction),
2175         (gst_value_subtract_fraction_range_fraction_range),
2176         (gst_value_collect_fraction), (gst_value_fraction_multiply),
2177         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
2178         (gst_value_transform_string_fraction), (_gst_value_initialize):
2179         * gst/gstvalue.h:
2180           Implement fraction ranges and extend GstFraction to support
2181           arithmetic subtraction, as well as deserialization from integer
2182           strings such as "100"
2183           Add a testsuite as for int and double range set operations
2184
2185 2005-11-21  Andy Wingo  <wingo@pobox.com>
2186
2187         * gst/gsttaglist.h: 
2188         * gst/gstcaps.h: 
2189         * gst/gststructure.h: Add glib-compat.h.
2190
2191 2005-11-21  Wim Taymans  <wim@fluendo.com>
2192
2193         * gst/gstbin.c: (gst_bin_change_state_func):
2194         Fix for #321595
2195
2196 2005-11-21  Wim Taymans  <wim@fluendo.com>
2197
2198         * gst/gstsegment.h:
2199         And add a nice define too.
2200
2201 2005-11-21  Wim Taymans  <wim@fluendo.com>
2202
2203         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
2204         (gst_segment_new), (gst_segment_free), (gst_segment_init),
2205         (gst_segment_set_duration), (gst_segment_set_last_stop),
2206         (gst_segment_set_seek), (gst_segment_set_newsegment),
2207         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2208         (gst_segment_clip):
2209         * gst/gstsegment.h:
2210         Make binding friendly.
2211
2212 2005-11-21  Andy Wingo  <wingo@pobox.com>
2213
2214         * gst/gsttagsetter.h: 
2215         * gst/gsttaglist.h: 
2216         * gst/gststructure.h: 
2217         * gst/gstcaps.h: 
2218         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
2219         #319940.
2220
2221         * gst/gsterror.c (_gst_core_errors_init):
2222         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
2223         category.
2224
2225         * gst/Makefile.am (gst_headers): Add glib-compat.h.
2226         (noinst_HEADERS): noinst the -private.
2227
2228 2005-11-21  Michael Smith <msmith@fluendo.com>
2229
2230         * gst/gstplugin.h:
2231         * gst/gstregistry.h:
2232           Remove unimplemented declarations for which we can see no sensible
2233           use.
2234
2235 2005-11-21  Andy Wingo  <wingo@pobox.com>
2236
2237         * gst/gst.h: Include glib-compat.h.
2238
2239         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
2240
2241         * gst/glib-compat.c: Include the public and the private header.
2242
2243         * gst/glib-compat-private.h: Copied here from glib-compat.h.
2244
2245         * gst/gstvalue.c: 
2246         * gst/gstpad.c: 
2247         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
2248
2249         * check/gst/gstevent.c (create_custom_events): Check that
2250         FLUSH_STOP is serialized.
2251
2252         * check/elements/identity.c (event_func): 
2253         * check/elements/fakesrc.c (event_func): No stream lock, the core
2254         takes it.
2255
2256         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2257         stream lock taking, yay.
2258
2259         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2260         ensure that core takes the stream lock.
2261
2262         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2263         lock name change.
2264
2265         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2266         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2267         it already. For the flush start we do take it though so we get the
2268         right preroll state change messages.
2269
2270         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2271         the stream lock here, the core does it for us.
2272
2273         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2274         GST_STREAM_GET_LOCK.
2275         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
2276         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
2277         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2278         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2279         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
2280         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2281
2282         * gst/gstpad.c: Update for stream lock name change.
2283
2284         * gst/base/gstbasesink.c: Update for preroll lock name change.
2285
2286 2005-11-21  Wim Taymans  <wim@fluendo.com>
2287
2288         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2289         (gst_clock_get_master):
2290         * gst/gstclock.h:
2291         * gst/gstsystemclock.c: (gst_system_clock_init):
2292         Convert Clock flags to object flags.
2293         Added methods to manage master/slave clocks.
2294
2295 2005-11-21  Wim Taymans  <wim@fluendo.com>
2296
2297         * check/gst/gstsegment.c: (GST_START_TEST):
2298         * docs/design/part-TODO.txt:
2299         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2300         (gst_base_sink_event), (gst_base_sink_do_sync),
2301         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2302         (gst_base_sink_query), (gst_base_sink_change_state):
2303         * gst/base/gstbasesink.h:
2304         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2305         (gst_base_src_default_newsegment),
2306         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2307         (gst_base_src_get_range), (gst_base_src_loop),
2308         (gst_base_src_change_state):
2309         * gst/base/gstbasesrc.h:
2310         * gst/base/gstbasetransform.c:
2311         (gst_base_transform_prepare_output_buf),
2312         (gst_base_transform_event), (gst_base_transform_change_state):
2313         * gst/base/gstbasetransform.h:
2314         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2315         (gst_collect_pads_event):
2316         * gst/base/gstcollectpads.h:
2317         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2318         (gst_fake_src_create):
2319         * gst/elements/gstfakesrc.h:
2320         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2321         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2322         (gst_segment_set_last_stop), (gst_segment_set_seek),
2323         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2324         (gst_segment_to_running_time), (gst_segment_clip):
2325         * gst/gstsegment.h:
2326         More segment updates, replace code in plugins with segment
2327         helper functions.
2328
2329 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2330
2331         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2332         Don't ignore sscanf results
2333
2334 2005-11-21  Andy Wingo  <wingo@pobox.com>
2335
2336         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2337
2338         * *.h:
2339         * *.c: Ran scripts/update-macros. Oh yes.
2340
2341         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2342         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2343         GST_GET_LOCK, etc.
2344
2345         * scripts/update-macros: New script. Run it on your files to
2346         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2347         well.
2348
2349 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2350
2351         * docs/gst/Makefile.am:
2352         * docs/gst/gstreamer-docs.sgml:
2353         * docs/gst/gstreamer-sections.txt:
2354         * docs/gst/gstreamer.types:
2355         * gst/gstinfo.h:
2356           more docs fixes, add new api to the docs
2357
2358 2005-11-21  Andy Wingo  <wingo@pobox.com>
2359
2360         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2361         state_broadcast call.
2362
2363         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2364
2365 2005-11-21  Julien MOUTTE  <julien@moutte.net>
2366
2367         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2368         function calls for arrays.
2369
2370 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2371
2372         * docs/random/ensonic/media-device-daemon.txt:
2373           wild idea, can this be done?
2374         * docs/gst/gstreamer-sections.txt:
2375         * gst/gsterror.h:
2376         * gst/gstfilter.c:
2377         * gst/gstfilter.h:
2378         * gst/gstplugin.h:
2379         * gst/gstpluginfeature.c:
2380         * gst/gsttrace.c:
2381         * gst/gstvalue.c:
2382         * gst/gstvalue.h:
2383           doc fixes and additions
2384
2385 2005-11-21  Andy Wingo  <wingo@pobox.com>
2386
2387         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
2388         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
2389         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
2390         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2391         private to the basesrc implementation.
2392
2393         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2394         behalf of event function if necessary. It should no longer be
2395         necessary to take the stream lock in pad's event functions. Fixes
2396         #320299.
2397
2398 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2399         * docs/gst/gstreamer-sections.txt:
2400         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2401         (gst_structure_fixate_field_nearest_double),
2402         (gst_structure_fixate_field_boolean):
2403         * gst/gststructure.h:
2404         * win32/common/libgstreamer.def:
2405         * win32/gstreamer.def:
2406
2407         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2408         (#322027)
2409
2410 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2411
2412         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2413         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2414         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2415         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2416         (gst_fdsrc_uri_handler_init):
2417         * gst/elements/gstfdsrc.h:
2418           Port fd:// URI handler from 0.8 to fdsrc
2419
2420 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2421
2422         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2423         (gst_value_serialize_fourcc):
2424         * gst/gstvalue.h:
2425           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2426           consistent with our other format defines (#320324).
2427
2428 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2429
2430         * gst/gstvalue.c: (gst_value_is_fixed):
2431           Revert previous commit. Value lists are by definition
2432           not fixed, as they are a list of possible values.
2433
2434 2005-11-21  Andy Wingo  <wingo@pobox.com>
2435
2436         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2437         during the stable series if we need it. Fixes #319178.
2438
2439         * gst/gstevent.c (gst_event_new_filler): Removed.
2440
2441         * check/gst/gstevent.c: Update comment about filler events.
2442
2443 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2444
2445         * gst/gstvalue.c: (gst_value_is_fixed):
2446           Should handle both value arrays and value lists.
2447
2448 2005-11-21  Andy Wingo  <wingo@pobox.com>
2449
2450         patch by: Alessandro Dessina <alessandro nnva org>
2451
2452         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2453         functions to access arrays. Fixes #321962.
2454
2455 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2456
2457         * docs/gst/gstreamer.types:
2458           gst_collectpads_get_type => gst_collect_pads_get_type.
2459           
2460         * gst/base/gstbasetransform.c:
2461           Remove unused SIGNAL_HANDOFF enum.
2462
2463 2005-11-21  Andy Wingo  <wingo@pobox.com>
2464
2465         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2466         the event type (upstream, downstream, serialized). Renamed
2467         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2468         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2469         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2470
2471         * gst/gstevent.c: Update for new CUSTOM event names.
2472
2473         * check/gst/gstevent.c: Update check for new CUSTOM event names.
2474
2475         * gst/gstevent.h:
2476         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2477         bug #319392.
2478
2479 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2480
2481         * docs/gst/gstreamer-sections.txt:
2482         * win32/common/libgstbase.def:
2483         * win32/libgstbase.def:
2484         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2485         (gst_collect_pads_class_init), (gst_collect_pads_init),
2486         (gst_collect_pads_finalize), (gst_collect_pads_new),
2487         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2488         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2489         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2490         (gst_collect_pads_start), (gst_collect_pads_stop),
2491         (gst_collect_pads_peek), (gst_collect_pads_pop),
2492         (gst_collect_pads_available), (gst_collect_pads_read),
2493         (gst_collect_pads_flush), (gst_collect_pads_event),
2494         (gst_collect_pads_chain):
2495         * gst/base/gstcollectpads.h:
2496           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2497           unimplemented functions as unimplemented. Add padding to
2498           GstCollectData. (#320766, #320423)
2499
2500 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2501
2502         * gst/gstmessage.c:
2503           Improve docs for DURATION message (usage of duration parameter)
2504           (#320113)
2505
2506 2005-11-20  Wim Taymans  <wim@fluendo.com>
2507
2508         * check/Makefile.am:
2509         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2510         (main):
2511         * gst/Makefile.am:
2512         * gst/gst.h:
2513         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2514         (gst_segment_set_seek), (gst_segment_set_newsegment),
2515         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2516         (gst_segment_clip):
2517         * gst/gstsegment.h:
2518         Added segment helper structure and methods. Not fully implemented
2519         yet.
2520         Added segment check.
2521
2522 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
2523
2524         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2525           Add a deserialisation test for fractions
2526         * examples/metadata/read-metadata.c: (message_loop),
2527         (make_pipeline), (main):
2528           Fix up metadata reading sample.
2529         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2530           Debug format fix
2531         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2532           Don't try and fixate empty caps
2533         * gst/gst_private.h:
2534           Wrap in G_BEGIN_DECLS/G_END_DECLS
2535         * gst/gstvalue.c: (gst_value_collect_fraction),
2536         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2537         (gst_value_transform_string_fraction),
2538         (gst_value_compare_fraction):
2539           Add some extra guards to ensure that we don't end up 
2540           with an invalid denominator of 0 in a gstfraction and
2541           that fractions always get reduced.
2542
2543 2005-11-20  Wim Taymans  <wim@fluendo.com>
2544
2545         * docs/gst/gstreamer-sections.txt:
2546         * gst/gstbuffer.h:
2547         * gst/gstelement.c:
2548         * gst/gstformat.c:
2549         * gst/gstformat.h:
2550         * gst/gstindex.h:
2551         * gst/gstquery.c:
2552         * gst/gstquery.h:
2553         * gst/gstvalue.c:
2554         Doc fixes.
2555
2556 2005-11-20  Wim Taymans  <wim@fluendo.com>
2557
2558         * docs/design/part-TODO.txt:
2559         * gst/gstcaps.h:
2560         Make a proper enum of the flag.
2561
2562 2005-11-19  Wim Taymans  <wim@fluendo.com>
2563
2564         * docs/design/part-TODO.txt:
2565         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2566         (gst_format_to_quark), (gst_format_register):
2567         * gst/gstformat.h:
2568         * gst/gstquery.c: (_gst_query_initialize),
2569         (gst_query_type_get_name), (gst_query_type_to_quark),
2570         (gst_query_type_register):
2571         * gst/gstquery.h:
2572         Add type to quark and type to string conversions.
2573
2574 2005-11-19  Andy Wingo  <wingo@pobox.com>
2575
2576         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2577         #320097.
2578
2579 2005-11-19  Wim Taymans  <wim@fluendo.com>
2580
2581         * docs/design/part-TODO.txt:
2582         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2583         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2584         (gst_bin_handle_message_func):
2585         * gst/gstbin.h:
2586         Make message handling overridable.
2587
2588 2005-11-19  Andy Wingo  <wingo@pobox.com>
2589
2590         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2591
2592         * gst/gstclock.h:
2593         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2594         be a GstClockTime.
2595         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2596         is a GstClockTime. Fixes #321710.
2597
2598         * gst/gstclock.h (GstClock): Remove offset property. Add
2599         internal_calibration and external_calibration. Fix padding. Pad
2600         also by GstClockTime so we don't run into problems.
2601
2602         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2603         (gst_clock_get_rate_offset): Remove.
2604         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2605
2606         * gst/gstutils.h:
2607         * gst/gstutils.c (g_static_rec_cond_wait)
2608         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2609
2610         * gst/gstbin.c: Remove terrible continue_state prototype.
2611
2612         * gst/gstelement.h (gst_element_continue_state): Make public.
2613
2614         * gst/gstelement.h:
2615         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2616         by continue_state. Fixes #319389.
2617
2618         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2619         Really fixes #168438. However I don't see anywhere where the
2620         filter function is called... stupid GStreamer...
2621         
2622         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2623         don't have a dispose function, so it won't get called when the
2624         object is unreffed, but oh well!
2625
2626         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2627         allows a destroy function to be set so user_data can be freed.
2628         Fixes #168438.
2629         (gst_index_set_filter): Call gst_index_set_filter_full.
2630
2631         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2632
2633         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2634         string should produce an error, given the lack of a way to
2635         represent NULL strings. Fixes #165650.
2636         
2637         * gst/gstvalue.h: 
2638         * gst/gstvalue.c (gst_value_array_append_value) 
2639         (gst_value_array_prepend_value, gst_value_array_get_size) 
2640         (gst_value_array_get_value): New API, copied from
2641         gst_value_list_*, only operates on arrays.
2642         (gst_value_list_append_value, gst_value_list_prepend_value) 
2643         (gst_value_list_concat, gst_value_list_get_size) 
2644         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2645
2646         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2647         init_list, because it works on both.
2648         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2649         (gst_value_copy_list_or_array): Renamed from copy_list.
2650         (gst_value_free_list_or_array): Renamed from free_list.
2651         (gst_value_collect_list_or_array): Renamed from collect_list.
2652         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2653         (gst_value_list_or_array_peek_pointer): Renamed from
2654         list_peek_pointer.
2655         (_gst_value_array_value_table, _gst_value_list_value_table):
2656         Update value table functions.
2657         (gst_value_compare_list_or_array): Renamed from compare_list.
2658
2659         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2660         some constness.
2661
2662         * gst/gsttaglist.c:
2663         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2664         GstTagList*. Fixes #143472.
2665
2666         * gst/gststructure.h: Clarify what the foreach/map functions can
2667         or can't do to their arguments.
2668
2669 2005-11-18  Wim Taymans  <wim@fluendo.com>
2670
2671         * gst/gstclock.c: (gst_clock_set_calibration),
2672         (gst_clock_get_calibration):
2673         Doc and API fixes.
2674         Calibration can be set with internal time equal to current
2675         internal time too.
2676
2677 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2678
2679         * gst/gsterror.c:
2680         * gst/gsterror.h:
2681           document
2682
2683 2005-11-18  Andy Wingo  <wingo@pobox.com>
2684
2685         * configure.ac: 
2686         * pkgconfig/gstreamer-net.pc.in:
2687         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2688         * pkgconfig/Makefile.am: Add net pkgconfig files.
2689
2690 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2691
2692         * gst/gstcaps.c:
2693         * gst/gstghostpad.c:
2694         * gst/gsttrace.c:
2695         * gst/gstvalue.c:
2696         * gst/gstvalue.h:
2697           docs fixes
2698
2699 2005-11-18  Andy Wingo  <wingo@pobox.com>
2700
2701         * gst/net/gstnetclientclock.c: Turn off debugging.
2702
2703         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2704         times connverge somewhat. Can't make a real test.
2705
2706         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2707         integer arithmetic. Return the minimum of the domain, which can be
2708         set as "internal" for gst_clock_set_calibration.
2709         (gst_net_client_clock_observe_times): Call _set_calibration.
2710         (gst_net_client_clock_new): Call _set_calibration instead of
2711         rate_offset.
2712
2713         * check/net/gstnetclientclock.c (test_functioning): Use the right
2714         adjustment api.
2715
2716         * gst/gstclock.h:
2717         * gst/gstclock.c (gst_clock_get_calibration) 
2718         (gst_clock_set_calibration): New functions, obsolete the ones I
2719         added yesterday. Doh. Precision issues mean we have to extrapolate
2720         from a point in the more recent past than 1970.
2721         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2722         obsolete.
2723         (gst_clock_adjust_unlocked): Use the right calibration data.
2724
2725 2005-11-18  Edward Hervey  <edward@fluendo.com>
2726
2727         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2728         Also reset the ->current_* values in READY->PAUSED
2729
2730 2005-11-18  Andy Wingo  <wingo@pobox.com>
2731
2732         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2733         Whoops, check the right fd. Also add some debugging.
2734         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2735         (do_linear_regression): Add a crapload of debugging. Subtract off
2736         the minimum values from the input series to discard unneeded bits.
2737         Use only int arithmetic. There is still double arithmetic when
2738         calculating the intercept that needs fixing. Return boolean to
2739         indicate success; FALSE would mean the domain or range is too
2740         great. Still needs fixes.
2741
2742 2005-11-18  Wim Taymans  <wim@fluendo.com>
2743
2744         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2745         For the current position in stream time, we need to subtract
2746         accumulated time.
2747         
2748         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2749         Release lock before calling the callback function of async
2750         entries.
2751
2752 2005-11-18  Andy Wingo  <wingo@pobox.com>
2753
2754         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2755         Port goes all the way to MAXUINT16.
2756
2757         * gst/net/gstnettimeprovider.c: Make the port range the same as
2758         for the kernel: 0 assigns, otherwise ports are less than
2759         MAXUINT16.
2760
2761         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2762         port change.
2763
2764         * check/net/gstnetclientclock.c (test_functioning): Add the start
2765         of another test. 
2766
2767 2005-11-18  Wim Taymans  <wim@fluendo.com>
2768
2769         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2770         (gst_bin_remove_func), (bin_bus_handler):
2771         * gst/gstbin.h:
2772         Removing a clock provider from a bin, triggers a clock lost message
2773         so that a new clock will be selected.
2774         Adding a clock to a bin triggers a clock provider message.
2775         Make sure we reselect a clock when we received a clock lost message.
2776         Keep a reference to the element that provided the clock.
2777
2778 2005-11-18  Andy Wingo  <wingo@pobox.com>
2779
2780         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2781         the clock initially so it produces values around the base time.
2782         (gst_net_client_clock_class_init): Typo fix.
2783         (gst_net_client_clock_thread): Add note on when the socket gets
2784         closed.
2785
2786 2005-11-17  Wim Taymans  <wim@fluendo.com>
2787
2788         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2789         Free remote and local time arrays.
2790
2791 2005-11-17  Wim Taymans  <wim@fluendo.com>
2792
2793         * gst/net/gstnetclientclock.c: (do_linear_regression),
2794         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2795         Fix compilation, uninitialized vars and a forgotten continue.
2796
2797 2005-11-17  Andy Wingo  <wingo@pobox.com>
2798
2799         * check/Makefile.am (check_PROGRAMS): 
2800         * check/net/gstnetclientclock.c: Add a most minimal test for the
2801         net client clock. More to come later.
2802
2803         * gst/net/gstnet.h: 
2804         * gst/net/Makefile.am: Add netclientclock.
2805
2806         * gst/net/gstnetclientclock.h:
2807         * gst/net/gstnetclientclock.c: New files, implement an untested
2808         GstClock that takes its time from a network time provider.
2809         Implements the algorithm in network-clock.scm.
2810
2811         * tests/network-clock.scm (*window-size*): Rename from
2812         *queue-length*.
2813         * tests/network-clock.scm (network-time): 
2814         * tests/network-clock-utils.scm (q-push): Update callers.
2815
2816 2005-11-17  Wim Taymans  <wim@fluendo.com>
2817
2818         * gst/gstbin.c: (gst_bin_provide_clock_func),
2819         (gst_bin_sort_iterator_new):
2820         And unref the child too..
2821
2822 2005-11-17  Wim Taymans  <wim@fluendo.com>
2823
2824         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2825         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2826         Refactor the sort iterator so it can be used while holding the
2827         LOCK too.
2828         Make clock selection select a clock closest to the source.
2829
2830 2005-11-17  Michael Smith <msmith@fluendo.com>
2831
2832         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2833         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2834         * gst/gstclock.h:
2835           Anonymous structs are a gcc (and some other compilers) extension, so
2836           don't use them. Since this is only for ABI-compatibility, and our
2837           API/ABI freeze is over in a few days, this whole thing will only
2838           last a few days, so don't bother trying to think up a meaningful
2839           name for the struct.
2840
2841 2005-11-17  Andy Wingo  <wingo@pobox.com>
2842
2843         * gst/gstclock.h (GstClock): Add rate and offset properties,
2844         preserving ABI stability. Add rate/offset accessors. Will file bug
2845         for the freeze break.
2846
2847         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2848         and offset, trying to keep precision and avoiding
2849         underflow/overflow.
2850         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2851         functions. Make gst_clock_set_time_adjust obsolete.
2852         (gst_clock_set_time_adjust): Note that this function is obsolete.
2853         Will file bug soon.
2854
2855         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2856         greppable by using GST_PADDING-1+1.
2857
2858 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2859
2860         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2861
2862         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2863           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2864
2865         * gst/gstpadtemplate.h:
2866         * gst/gstpluginfeature.h:
2867           Don't use c++ style comments in headers (#321638).
2868
2869 2005-11-16  Andy Wingo  <wingo@pobox.com>
2870
2871         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2872         buffer.
2873
2874         * check/net/gstnettimeprovider.c: Check to see that the time
2875         provider actually provides times. Works, yo!
2876
2877 2005-11-16  Wim Taymans  <wim@fluendo.com>
2878
2879         * check/Makefile.am:
2880         Enable more tests.
2881
2882         * check/elements/fakesrc.c: (GST_START_TEST):
2883         Set element to NULL before disposing it.
2884
2885 2005-11-16  Andy Wingo  <wingo@pobox.com>
2886
2887         * gst/net/Makefile.am:
2888         * gst/net/gstnet.h:
2889         * gst/net/gstnettimeprovider.c: 
2890         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2891         provider, include it from gstnet.h, and add it to the build.
2892
2893         * gst/net/gstnettimepacket.h: 
2894         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2895         sending and receiving.
2896
2897 2005-11-16  Wim Taymans  <wim@fluendo.com>
2898
2899         * check/Makefile.am:
2900         Enable valgrind check.
2901
2902         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2903         (gst_fake_src_alloc_buffer):
2904         Fix memleak.
2905
2906 2005-11-16  Wim Taymans  <wim@fluendo.com>
2907
2908         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2909         Call parent finalize too.
2910
2911 2005-11-16  Wim Taymans  <wim@fluendo.com>
2912
2913         * check/Makefile.am:
2914         Enable valgrind check that should work fine now.
2915
2916         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2917         * gst/gstqueue.c: (gst_queue_init):
2918         Fix memleaks in pad allocation.
2919
2920 2005-11-16  Andy Wingo  <wingo@pobox.com>
2921
2922         * gst/net/Makefile.am:
2923         * gst/net/gstnet.h: New part of core to hold network elements and
2924         objects. Put in core because it exposes API that applications want
2925         to use. The library is named libgstnet-tempname right now because
2926         of the existing libgstnet in gst-plugins-base. Solution is
2927         probably to rename the one in plugins-base; will file a bug for
2928         the freeze break.
2929
2930         * gst/net/gstnettimeprovider.c: 
2931         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2932         get_time call over the network.
2933
2934         * configure.ac: 
2935         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2936
2937         * check/Makefile.am:
2938         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2939         get additions shortly.
2940
2941 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2942
2943         * gst/gstpad.c: (gst_pad_new_from_static_template):
2944         * gst/gstpad.h:
2945           add gst_pad_new_from_static_template functions
2946         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2947         (gst_check_setup_sink_pad):
2948         * gst/elements/gsttee.c: (gst_tee_init):
2949           and use them
2950
2951 2005-11-16  Wim Taymans  <wim@fluendo.com>
2952
2953         * gst/gstpad.c: (gst_pad_pause_task):
2954         Removed warning, it's not really an error either.
2955
2956 2005-11-16  Wim Taymans  <wim@fluendo.com>
2957
2958         * gst/base/gstbasetransform.c:
2959         (gst_base_transform_prepare_output_buf),
2960         (gst_base_transform_event):
2961         Check if the caps are NULL, this can happen if the element
2962         is shutting down and the pad caps are set to NULL.
2963
2964 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2965
2966         * gst/elements/gsttee.c: (gst_tee_init):
2967           fix pad template leak in tee
2968
2969 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2970
2971         * gst/glib-compat.c: (g_value_dup_gst_object):
2972         * gst/glib-compat.h:
2973         * gst/gstpad.c: (gst_pad_set_property):
2974           use gst_object_ref when setting the pad template; this will
2975           trigger the pad template leaks on GLib 2.6 and the slaves
2976
2977 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2978
2979         * gst/glib-compat.c: (gst_flags_get_first_value):
2980         * gst/glib-compat.h:
2981         * gst/gstregistryxml.c:
2982           remove functions copied from GLib 2.6
2983
2984 2005-11-16  Michael Smith <msmith@fluendo.com>
2985
2986         * gst/Makefile.am:
2987           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2988           do, but only breaks with newer valgrind versions. We're not a
2989           valgrind tool, we have no link-time dependencies on libcoregrind.
2990
2991 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2992
2993         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2994           some debug changes
2995         * gst/gstmessage.h:
2996           typo fixes
2997
2998 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2999
3000         * gst/base/gstbasesrc.c: (gst_base_src_init):
3001         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3002         * gst/gstqueue.c: (gst_queue_init):
3003         * gst/gstregistryxml.c: (load_feature):
3004           Revert all these unrefs, they don't even pass make check !
3005
3006 2005-11-15  Johan Dahlin  <johan@gnome.org>
3007
3008         * gst/base/gstbasesrc.c: (gst_base_src_init):
3009         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3010         * gst/gstqueue.c: (gst_queue_init): 
3011         Free pad templates, fixes a couple of leaks.
3012
3013 2005-11-15  Daniel Fischer  <dan at f3c dot com>
3014
3015         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3016
3017         * gst/gstpad.c: (gst_pad_get_property):
3018           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
3019           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
3020           (#321452)
3021
3022 2005-11-15  Wim Taymans  <wim@fluendo.com>
3023
3024         * gst/gstevent.c:
3025         Small doc update.
3026
3027 2005-11-15  Andy Wingo  <wingo@pobox.com>
3028
3029         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
3030
3031         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
3032         using GST_CLOCK_TIME_NONE to disable base time management.
3033         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
3034         time if it was NONE before.
3035         (gst_pipeline_change_state): Only munge the base time if
3036         stream_time != GST_CLOCK_TIME_NONE.
3037
3038         * check/gst/gstpipeline.c (test_base_time): Punt around the
3039         problem of the probe not being called, because that's not the
3040         issue I'm looking at. Add a check that setting stream_time to NONE
3041         disables base time management.
3042         
3043 2005-11-15  Wim Taymans  <wim@fluendo.com>
3044
3045         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3046         segment_stop == -1 at startup.
3047
3048         * gst/base/gstbasetransform.c: (gst_base_transform_event),
3049         (gst_base_transform_change_state):
3050         Init segment values at start.
3051
3052 2005-11-15  Wim Taymans  <wim@fluendo.com>
3053
3054         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3055         0 segment values are 0 in any format.
3056
3057         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3058         * gst/base/gstbasetransform.h:
3059         Parse newsegment correctly in basetransform
3060
3061         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
3062         Sync to clock using updated segment values.
3063
3064 2005-11-15  Andy Wingo  <wingo@pobox.com>
3065
3066         * check/gst/gstpipeline.c (test_base_time): Add check that the
3067         base time and stream time are reset correctly.
3068
3069 2005-11-15  Wim Taymans  <wim@fluendo.com>
3070
3071         * docs/design/part-TODO.txt:
3072         Some more TODO items.
3073
3074 2005-11-15  Andy Wingo  <wingo@pobox.com>
3075
3076         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
3077         error if the user selected "no clock" as the clocking method.
3078
3079         * check/gst/gstpipeline.c (test_base_time): New test for buffer
3080         timestamps with live capture.
3081
3082         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
3083         is 0 but we are a live source, timestamp the buffers using the
3084         element's clock.
3085
3086 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
3087
3088         * docs/gst/gstreamer-sections.txt:
3089         * gst/gsterror.c:
3090         * gst/gstghostpad.c:
3091         * gst/gstobject.h:
3092         * gst/gstxml.c:
3093           more section docs
3094
3095 2005-11-14  Wim Taymans  <wim@fluendo.com>
3096
3097         * common/gst.supp:
3098           add suppressions from Wim's Debian machine
3099
3100 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3101
3102         * common/gst.supp:
3103           add suppressions from Andy's AMD64 Ubuntu machine
3104
3105 2005-11-14  Andy Wingo  <wingo@pobox.com>
3106
3107         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
3108         STATE_LOCK not necessary. Fixes #311489.
3109
3110         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
3111         #305291.
3112
3113         * gst/gstindex.c (gst_index_add_object): Note in the docs that
3114         this function is not implemented.
3115
3116 2005-11-14  Julien MOUTTE  <julien@moutte.net>
3117
3118         * gst/base/gstbasetransform.c:
3119         (gst_base_transform_prepare_output_buf):
3120         Ref the source pad caps while we need them.
3121         Fixes (#321386)
3122
3123 2005-11-11  Wim Taymans  <wim@fluendo.com>
3124
3125         * docs/gst/gstreamer-sections.txt:
3126         Added some docs for GstCollectData.
3127
3128         * gst/base/gstadapter.c:
3129         Some small code example fix.
3130
3131         * gst/base/gstcollectpads.c:
3132         * gst/base/gstcollectpads.h:
3133         Document some more.
3134
3135 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3136
3137         * configure.ac: back to HEAD
3138
3139 === release 0.9.5 ===
3140
3141 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
3142
3143         * configure.ac:
3144           releasing 0.9.5, "Bike Lunch Day"
3145
3146 2005-11-11  Wim Taymans  <wim@fluendo.com>
3147
3148         * gst/gstbuffer.c: (_gst_buffer_copy):
3149         Copy more flags.
3150
3151         * gst/gstcaps.c: (gst_caps_is_equal):
3152         Fix some docs.
3153         Make _is_equal fast in the trivial cases.
3154
3155         * gst/gstminiobject.c:
3156         * gst/gstminiobject.h:
3157         More docs. Spifify .h file.
3158
3159         * gst/gstutils.c:
3160         Small doc update.
3161
3162 2005-11-11  Wim Taymans  <wim@fluendo.com>
3163
3164         * gst/base/gstbasetransform.c:
3165         (gst_base_transform_prepare_output_buf),
3166         (gst_base_transform_handle_buffer):
3167         Small cleanups.
3168         If we're processing a buffer and need to allocate an output
3169         buffer, we cannot accept a format change. If we did get a 
3170         format change, we have to alloc a buffer ourselves of the 
3171         right size.
3172
3173 2005-11-11  Wim Taymans  <wim@fluendo.com>
3174
3175         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
3176         While checking the flag for reentrancy in the gstcaps function
3177         is nice to detect recursive invocations, it also makes it 
3178         impossible to call getcaps from multiple threads, which must be
3179         possible. So, checking for recursive calls has to go.
3180
3181 2005-11-11  Michael Smith <msmith@fluendo.com>
3182
3183         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3184           Don't sync on buffers that fall partially outside our current
3185           segment. Prevents an assertion failure/abort playing some files.
3186
3187 2005-11-10  Andy Wingo  <wingo@pobox.com>
3188
3189         * check/gst/gstbin.c (test_message_state_changed_children): Style
3190         fix..
3191
3192         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
3193         gst_bus_poll with the signal watch. Ensures that poll and a signal
3194         watch see the same messages.
3195
3196         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
3197         a poll and a watch at the same time get the same messages.
3198
3199 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3200
3201         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
3202         * gst/gstcaps.c: (gst_caps_intersect):
3203           Don't call gst_caps_do_simplify - it doesn't respect order of caps
3204           and it's not needed.
3205
3206 2005-11-10  Wim Taymans  <wim@fluendo.com>
3207
3208         * docs/design/part-TODO.txt:
3209         Updated todo.
3210
3211 2005-11-10  Wim Taymans  <wim@fluendo.com>
3212
3213         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3214         * gst/base/gstbasesrc.c: (gst_base_src_wait),
3215         (gst_base_src_do_sync), (gst_base_src_get_range):
3216         Implement clock sync in base class.
3217
3218 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3219
3220         patch by: Tim-Philipp Müller <tim at centricular dot net>
3221
3222         * gst/gststructure.c: (gst_structure_parse_field),
3223         (gst_structure_from_string):
3224           Forward-port a 0.8 patch to handle escaped spaces in structure string,
3225           so that gst_parse_launch() can deal with spaces in filtered link
3226           caps (fixes #164479)
3227         * check/gst/capslist.h:
3228         * check/gst/gststructure.c: (GST_START_TEST):
3229           add unit tests for this change
3230
3231 2005-11-10  Wim Taymans  <wim@fluendo.com>
3232
3233         * docs/gst/gstreamer-sections.txt:
3234         * gst/gstelement.c:
3235         * gst/gstelement.h:
3236         Fix docs, move some STATE macros to private.
3237
3238 2005-11-10  Wim Taymans  <wim@fluendo.com>
3239
3240         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3241         Added check for bug #317341
3242
3243         * gst/gstbuffer.c:
3244         * gst/gstbuffer.h:
3245         Some more spiffifying.
3246
3247         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
3248         Call peer linkfunction if we are a source pad. Totally fixes
3249         #317341
3250
3251         * gst/gstpad.c:
3252         Update docs, source pads should call the peer linkfunction
3253         so they can atomically perform the pad link.
3254
3255 2005-11-09  Wim Taymans  <wim@fluendo.com>
3256
3257         * gst/gstbuffer.c:
3258         * gst/gstbuffer.h:
3259         Uber-spiffy-spiffify some more.
3260
3261 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
3262
3263         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3264         * gst/elements/gstfilesink.c: (gst_file_sink_init):
3265         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3266         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3267         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3268         * gst/gstpad.c: (gst_pad_init):
3269           Use GST_DEBUG_FUNCPTR() more extensively.
3270
3271 2005-11-09  Wim Taymans  <wim@fluendo.com>
3272
3273         * gst/gstobject.c: (gst_object_class_init):
3274         * gst/gstobject.h:
3275         Documentation fixes.
3276
3277 2005-11-09  Edward Hervey  <edward@fluendo.com>
3278
3279         * gst/gsttypefindfactory.c:
3280         Fix docs.
3281         
3282 2005-11-09  Edward Hervey  <edward@fluendo.com>
3283
3284         * gst/base/gsttypefindhelper.c:
3285         * gst/gsttypefind.c:
3286         * gst/gsttypefind.h:
3287         Fix docs.
3288
3289 2005-11-09  Wim Taymans  <wim@fluendo.com>
3290
3291         * gst/gstiterator.c:
3292         Fix revision data.
3293
3294         * gst/gsttask.c:
3295         * gst/gsttask.h:
3296         Fix docs.
3297
3298 2005-11-09  Wim Taymans  <wim@fluendo.com>
3299
3300         * gst/gstevent.h:
3301         * gst/gsturi.h:
3302         Fix docs.
3303
3304 2005-11-09  Wim Taymans  <wim@fluendo.com>
3305
3306         * docs/gst/gstreamer-sections.txt:
3307         Moved the message async delivery private lock and cond
3308         to the private section.
3309
3310         * gst/gstmessage.c:
3311         * gst/gstmessage.h:
3312         Fixed docs.
3313
3314 2005-11-09  Edward Hervey  <edward@fluendo.com>
3315
3316         * docs/gst/gstreamer-sections.txt:
3317         * gst/gsturi.c:
3318         * gst/gsturi.h:
3319         Document GstURIHandler
3320
3321 2005-11-09  Wim Taymans  <wim@fluendo.com>
3322
3323         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3324         (gst_iterator_find_custom):
3325         * gst/gstiterator.h:
3326         Fix iterator docs.
3327
3328 2005-11-09  Wim Taymans  <wim@fluendo.com>
3329
3330         * gst/gstbin.h:
3331         Document another field.
3332
3333         * gst/gststructure.c:
3334         * gst/gststructure.h:
3335         Document.
3336
3337 2005-11-09  Wim Taymans  <wim@fluendo.com>
3338
3339         * gst/gstbin.h:
3340         Documented structs.
3341
3342 2005-11-09  Wim Taymans  <wim@fluendo.com>
3343
3344         * docs/gst/gstreamer-sections.txt:
3345         Added some new macros.
3346
3347         * gst/gstclock.c:
3348         * gst/gstclock.h:
3349         * gst/gstobject.h:
3350         Docs updates.
3351
3352 2005-11-09  Wim Taymans  <wim@fluendo.com>
3353
3354         * docs/design/part-TODO.txt:
3355         Some more items for the TODO
3356
3357         * gst/gstcaps.c:
3358         * gst/gstcaps.h:
3359         Document GstCaps.
3360
3361 2005-11-09  Andy Wingo  <wingo@pobox.com>
3362
3363         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3364         to work on something else now tho...
3365
3366         * gst/base/gstadapter.c: More adapter docs.
3367
3368         * gst/elements/gstfilesink.c (gst_file_sink_start) 
3369         (gst_file_sink_stop): New functions, replace the state change
3370         handler.
3371         (gst_file_sink_class_init): Hook up the start and stop functions.
3372         (gst_file_sink_base_init): Don't set the state change handler any
3373         more. It was a bit ugly too, being set from here...
3374         (gst_file_sink_get_property, gst_file_sink_set_property):
3375         Cleanups...
3376         (gst_file_sink_set_location): More robust check that doesn't call
3377         GST_STATE. Ugggggg.
3378
3379 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
3380
3381         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3382           Hold STREAM_LOCK while pushing newsegment or tag events as well.
3383
3384 2005-11-08  Wim Taymans  <wim@fluendo.com>
3385
3386         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3387         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3388         (gst_base_sink_chain), (gst_base_sink_change_state):
3389         * gst/base/gstbasesink.h:
3390         * gst/base/gstbasesrc.h:
3391         * gst/gstelement.h:
3392         * gst/gstevent.h:
3393         Avoid excessive typechecking in macros.
3394
3395         * gst/gstminiobject.c: (gst_mini_object_get_type),
3396         (gst_mini_object_init), (gst_mini_object_new),
3397         (gst_mini_object_free):
3398         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3399         (gst_object_finalize):
3400         Remove cruft code, optimize alloc_trace.
3401
3402 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3403
3404         * docs/faq/gst-uninstalled:
3405           fix up PS1 for systems that try to reset it
3406
3407 2005-11-07  Wim Taymans  <wim@fluendo.com>
3408
3409         * gst/base/gstbasesrc.c: (gst_base_src_init),
3410         (gst_base_src_get_range):
3411         Set the segment_end to -1 initially. Fixed typefind.
3412
3413 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3414
3415         * gst/base/gstadapter.c:
3416           Debug category should be 'adapter', not 'GstAdapter'.
3417           
3418         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3419         (gst_collectpads_class_init), (gst_collectpads_init),
3420         (gst_collectpads_peek), (gst_collectpads_pop),
3421         (gst_collectpads_event), (gst_collectpads_chain):
3422           Add debug category and some debugging output. Use boilerplate
3423           macros. Remove some extraneous words from docs.
3424
3425 2005-11-05  Andy Wingo  <wingo@pobox.com>
3426
3427         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3428         macro.
3429
3430 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3431
3432         * docs/gst/gstreamer-sections.txt:
3433         * gst/gstcaps.h:
3434         * gst/gstinfo.c:
3435         * gst/gstminiobject.h:
3436         * gst/gstobject.h:
3437         * gst/gstutils.h:
3438           more docs added
3439
3440 2005-11-04  Wim Taymans  <wim@fluendo.com>
3441
3442         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3443         Small update to stop at the configured segment_end
3444         position.
3445
3446 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3447
3448         * gst/gstregistry.c:
3449         * gst/gstregistry.h:
3450           added missing docs
3451
3452 2005-11-04  Edward Hervey  <edward@fluendo.com>
3453
3454         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3455         Check if we are doing a segment seek and have arrived at the
3456         end of that segment.
3457
3458 2005-11-04  Wim Taymans  <wim@fluendo.com>
3459
3460         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3461         Don't leak a mutex unlock in case of an error.
3462
3463         * gst/gstbus.h:
3464         Doc fixes.
3465
3466 2005-11-04  Wim Taymans  <wim@fluendo.com>
3467
3468         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3469         (gst_bus_post):
3470         Get the context to wake up only once.
3471
3472 2005-11-03  Wim Taymans  <wim@fluendo.com>
3473
3474         * check/states/sinks.c: (GST_START_TEST):
3475         Uncomment fixed check.
3476
3477         * docs/design/part-TODO.txt:
3478         Updated TODO.
3479
3480         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3481         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3482         (gst_base_sink_get_position):
3483         If we are going to PLAYING, post the right pending state
3484         when we post the intermediate paused message.
3485
3486         * gst/gstelement.c: (gst_element_continue_state),
3487         (gst_element_set_state_func), (gst_element_change_state):
3488         Don't post state changes that were between the same state
3489         and were not ASYNC.
3490
3491 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3492
3493         * docs/gst/gstreamer-sections.txt:
3494         * gst/gstcaps.h:
3495         * gst/gstinfo.c:
3496         * gst/gstminiobject.h:
3497         * gst/gstobject.h:
3498         * gst/gstutils.h:
3499           more docs and doc style fixes
3500
3501 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3502
3503         * docs/gst/gstreamer-sections.txt:
3504         * gst/gstelement.c:
3505         * gst/gstminiobject.c:
3506         doc fixes
3507
3508 2005-11-03  Andy Wingo  <wingo@pobox.com>
3509
3510         * check/states/sinks.c (test_livesrc_sink): Add checks that the
3511         state-changed messages actually have the right order and the right
3512         values.
3513
3514 2005-11-03  Wim Taymans  <wim@fluendo.com>
3515
3516         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3517         Added some more checks. Specifically the case where NO_PREROLL
3518         elements are in the pipeline.
3519
3520         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3521         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3522         (gst_base_sink_get_position):
3523         Post READY->PAUSED state change messages too.
3524         Fix bug where VOID was posted as pending state...
3525
3526         * gst/gstbin.c: (gst_bin_recalc_state):
3527         use _element_continue_state() to continue the state change.
3528
3529         * gst/gstelement.c: (gst_element_continue_state),
3530         (gst_element_commit_state), (gst_element_set_state_func),
3531         (gst_element_change_state), (gst_element_change_state_func):
3532         Lots of state change cleanups, assign the STATE_RETURN in
3533         a new continue_state() function that also propagates the
3534         last return value from a state change to the app.
3535         Update some debug statements with proper category.
3536
3537 2005-11-03  Wim Taymans  <wim@fluendo.com>
3538
3539         * docs/design/part-events.txt:
3540         * docs/design/part-gstpipeline.txt:
3541         * docs/design/part-messages.txt:
3542         * docs/design/part-overview.txt:
3543         * docs/design/part-seeking.txt:
3544         * docs/design/part-states.txt:
3545         * docs/design/part-trickmodes.txt:
3546         * docs/manual/advanced-position.xml:
3547         Small docs updates.
3548
3549         * gst/gstobject.h:
3550         People think !! is ugly, this looks better.
3551
3552         * gst/gstpad.c: (gst_pad_set_blocked_async):
3553         Remove !! since it's fixed elsewhere now.
3554
3555 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3556
3557         * gst/gstminiobject.h:
3558         * gst/gstobject.h:
3559           Add !! to _FLAG_IS_SET macros to make the result boolean.
3560
3561 2005-11-03  Edward Hervey  <edward@fluendo.com>
3562
3563         * gst/gstpad.c: (gst_pad_set_blocked_async):
3564         comparing a flag and a gboolean rarely returns coherent results...
3565         Added two characters (!!) to make that work correctly.
3566         
3567 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3568
3569         * gst/gstbus.c: (gst_bus_class_init):
3570           Fix some typos.
3571           
3572         * gst/gstqueue.c: (gst_queue_loop):
3573           Don't assume a miniobject that isn't a buffer is an
3574           event (it could be that there is a refcounting
3575           problem somewhere and the pointer is stale and
3576           refers to an already destroyed miniobject).
3577
3578 2005-11-03  Julien MOUTTE  <julien@moutte.net>
3579
3580         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3581
3582 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3583
3584         * docs/manual/advanced-position.xml:
3585           Update seek example and explanations to current 0.9 API.
3586
3587         * gst/elements/gsttypefindelement.c:
3588         (gst_type_find_element_activate):
3589           Remove FIXME comment now that the found caps
3590           are unreffed.
3591
3592 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3593
3594         * gst/gstregistryxml.c: (load_feature):
3595           Add another GST_STR_NULL instance
3596
3597 2005-11-02  Edward Hervey  <edward@fluendo.com>
3598
3599         * gst/gstpad.c: (handle_pad_block):
3600         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3601         
3602 2005-11-02  Wim Taymans  <wim@fluendo.com>
3603
3604         * gst/gstbin.c:
3605         Fix typo in docs.
3606
3607         * gst/gstelement.c: (gst_element_commit_state):
3608         Remove unused value.
3609
3610         * gst/gstiterator.c:
3611         Mention that the returned element is reffed in the docs.
3612
3613 2005-11-02  Wim Taymans  <wim@fluendo.com>
3614
3615         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3616         (gst_pad_push), (gst_pad_push_event):
3617         Unlock blocked pads when they are flushed.
3618
3619 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3620
3621         * docs/README:
3622         * docs/gst/gstreamer-sections.txt:
3623         * gst/gstbin.c:
3624           doc updates
3625         * gst/gstregistry.c: (gst_registry_scan_path_level):
3626           fix for a nasty little missed situation where an installed plug-in
3627           which was in the cache did not get overridden by an uninstalled one
3628           which was earlier in the plugin path because the newly created plugin
3629           for the uninstalled one (not in the registry) didn't get its
3630           ->registered set to TRUE
3631
3632 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3633
3634         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3635         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3636         (gst_collectpads_is_active), (gst_collectpads_collect),
3637         (gst_collectpads_collect_range), (gst_collectpads_start),
3638         (gst_collectpads_stop), (gst_collectpads_peek),
3639         (gst_collectpads_pop), (gst_collectpads_available),
3640         (gst_collectpads_read), (gst_collectpads_flush):
3641           Guard public API with assertions.
3642         
3643         * gst/gstpad.c:
3644           Fix docs for gst_pad_set_link_function().
3645
3646 2005-11-02  Johan Dahlin  <johan@gnome.org>
3647
3648         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3649         Unref found_caps after we used it.
3650
3651 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3652
3653         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3654           Don't try to ref NULL.
3655
3656 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3657
3658         * win32/common/config.h.in:
3659           provide a GST_FUNCTION that just gives a string for now
3660
3661 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3662
3663         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3664         (gst_object_flags_get_type), (register_gst_bin_flags),
3665         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3666         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3667         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3668         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3669         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3670         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3671         (gst_clock_flags_get_type), (register_gst_state),
3672         (gst_state_get_type), (register_gst_state_change_return),
3673         (gst_state_change_return_get_type), (register_gst_state_change),
3674         (gst_state_change_get_type), (register_gst_element_flags),
3675         (gst_element_flags_get_type), (register_gst_core_error),
3676         (gst_core_error_get_type), (register_gst_library_error),
3677         (gst_library_error_get_type), (register_gst_resource_error),
3678         (gst_resource_error_get_type), (register_gst_stream_error),
3679         (gst_stream_error_get_type), (register_gst_event_type),
3680         (gst_event_type_get_type), (register_gst_seek_type),
3681         (gst_seek_type_get_type), (register_gst_seek_flags),
3682         (gst_seek_flags_get_type), (register_gst_format),
3683         (gst_format_get_type), (register_gst_index_certainty),
3684         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3685         (gst_index_entry_type_get_type),
3686         (register_gst_index_lookup_method),
3687         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3688         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3689         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3690         (gst_index_flags_get_type), (register_gst_debug_level),
3691         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3692         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3693         (gst_iterator_result_get_type), (register_gst_iterator_item),
3694         (gst_iterator_item_get_type), (register_gst_message_type),
3695         (gst_message_type_get_type), (register_gst_mini_object_flags),
3696         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3697         (gst_pad_link_return_get_type), (register_gst_flow_return),
3698         (gst_flow_return_get_type), (register_gst_activate_mode),
3699         (gst_activate_mode_get_type), (register_gst_pad_direction),
3700         (gst_pad_direction_get_type), (register_gst_pad_flags),
3701         (gst_pad_flags_get_type), (register_gst_pad_presence),
3702         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3703         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3704         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3705         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3706         (gst_plugin_flags_get_type), (register_gst_rank),
3707         (gst_rank_get_type), (register_gst_query_type),
3708         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3709         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3710         (gst_tag_flag_get_type), (register_gst_task_state),
3711         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3712         (gst_alloc_trace_flags_get_type),
3713         (register_gst_type_find_probability),
3714         (gst_type_find_probability_get_type), (register_gst_uri_type),
3715         (gst_uri_type_get_type), (register_gst_parse_error),
3716         (gst_parse_error_get_type):
3717         * win32/common/gstversion.h:
3718           update win32 copies
3719
3720 2005-11-01  Luca Ognibene  <luogni@tin.it>
3721
3722         * gst/gst.c:
3723           fix docs. popt is dead, long live GOption.
3724
3725 2005-10-31  Wim Taymans  <wim@fluendo.com>
3726
3727         * gst/gstbuffer.h:
3728         Small doc fix.
3729
3730 2005-10-31  Andy Wingo  <wingo@pobox.com>
3731
3732         * Boo!
3733
3734         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3735
3736         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3737         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3738         the possibility of deadlocks here if code calling notify() or
3739         set() has a lock that can be taken in another notify handler (ABBA
3740         with class lock and e.g. python GIL state lock).
3741
3742 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3743
3744         * gst/gstbus.c: Doc updates.
3745
3746 2005-10-28  Wim Taymans  <wim@fluendo.com>
3747
3748         * docs/design/part-TODO.txt:
3749         * gst/gstiterator.c:
3750         * gst/gstsystemclock.c:
3751         * gst/gstsystemclock.h:
3752         Doc updates.
3753
3754 2005-10-28  Edward Hervey  <edward@fluendo.com>
3755
3756         * docs/gst/gstreamer-docs.sgml:
3757         * docs/gst/gstreamer-sections.txt:
3758         the GstURIType documentation page is private, it only defines GstURIType
3759         which should be defined in the GstURIHandler page
3760         
3761 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3762
3763         * gst/gstbin.c: (gst_bin_class_init):
3764         * gst/gstbin.h:
3765         * gst/gstutils.c:
3766         Documentation updates.
3767
3768 2005-10-28  Wim Taymans  <wim@fluendo.com>
3769
3770         * docs/gst/gstreamer-sections.txt:
3771         * gst/gstclock.c:
3772         * gst/gstclock.h:
3773         Documented the clocks.
3774
3775 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3776
3777         * docs/gst/gstreamer-sections.txt:
3778           move some macros to private sections
3779         * gst/gstminiobject.c:
3780         * gst/gstminiobject.h:
3781           add descriptions provided by ds and some more
3782         * gst/gstpad.h:
3783           mark macro as to be removed
3784
3785 2005-10-28  Wim Taymans  <wim@fluendo.com>
3786
3787         * docs/design/part-TODO.txt:
3788         Add an item to TODO.
3789
3790         * gst/gstiterator.c: (gst_iterator_fold),
3791         (gst_iterator_find_custom):
3792         * gst/gstiterator.h:
3793         Add iterator docs.
3794
3795 2005-10-28  Wim Taymans  <wim@fluendo.com>
3796
3797         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3798         (gst_base_transform_init):
3799         Don't leak class.
3800
3801         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3802         An EOS event marks the queue as completely filled.
3803
3804 2005-10-27  Wim Taymans  <wim@fluendo.com>
3805
3806         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3807         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3808         Some more debugging.
3809
3810         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3811         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3812         (gst_base_transform_event), (gst_base_transform_getrange),
3813         (gst_base_transform_chain):
3814         * gst/base/gstbasetransform.h:
3815         Fix debugging,
3816         Protect transform and concurrent buffer alloc with a new lock.
3817         Try not to break ABI/API.
3818
3819 2005-10-27  Wim Taymans  <wim@fluendo.com>
3820
3821         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3822         (gst_base_src_init), (gst_base_src_query),
3823         (gst_base_src_default_newsegment),
3824         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3825         (gst_base_src_send_event), (gst_base_src_event_handler),
3826         (gst_base_src_pad_get_range), (gst_base_src_loop),
3827         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3828         (gst_base_src_start), (gst_base_src_deactivate),
3829         (gst_base_src_activate_push), (gst_base_src_change_state):
3830         Move some stuff around and cleanup things.
3831
3832 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3833
3834         * gst/base/gstbasesrc.c: (gst_base_src_query):
3835           Add missing break statements.
3836
3837 2005-10-27  Wim Taymans  <wim@fluendo.com>
3838
3839         * check/gst/gstbin.c: (GST_START_TEST):
3840         An extra refcount is taken in basesrc.
3841
3842         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3843         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3844         (gst_base_src_loop):
3845         Small cleanups, check for flushing after being unlocked from the 
3846         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3847         Don't send out EOS when going to READY.
3848
3849 2005-10-27  Wim Taymans  <wim@fluendo.com>
3850
3851         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3852         (gst_base_sink_get_position):
3853         Some more debug.
3854
3855         * gst/gstbin.c: (message_check), (bin_replace_message),
3856         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3857         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3858         (bin_query_duration_init), (bin_query_duration_fold),
3859         (bin_query_duration_done), (bin_query_generic_fold),
3860         (gst_bin_query):
3861         * tools/gst-launch.c: (main):
3862         Remove old option.
3863
3864 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3865
3866         * examples/controller/audio-example.c: (main):
3867         * examples/queue/queue.c: (event_loop):
3868         * gst/base/gstbasetransform.h:
3869         * gst/gstelement.c: (gst_element_send_event):
3870         * gst/gstevent.h:
3871         * gst/gstpad.c: (gst_pad_send_event):
3872           fixing examples
3873           fixing docs typos
3874           changing log priority in error situations
3875
3876 2005-10-25  Wim Taymans  <wim@fluendo.com>
3877
3878         * gst/gstbin.c: (message_check), (bin_replace_message),
3879         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3880         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3881         (bin_query_duration_init), (bin_query_duration_fold),
3882         (bin_query_duration_done), (bin_query_generic_fold),
3883         (gst_bin_query):
3884         Some doc and debug updates.
3885         Cache previously requested query DURATION for speed. invalidate
3886         cached duration if element posts a DURATION message.
3887
3888 2005-10-25  Wim Taymans  <wim@fluendo.com>
3889
3890         * docs/design/part-TODO.txt:
3891         Update TODO.
3892
3893         * gst/gstbin.c: (message_check), (bin_replace_message),
3894         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3895         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3896         (bin_query_duration_init), (bin_query_duration_fold),
3897         (bin_query_duration_done), (bin_query_generic_fold),
3898         (gst_bin_query):
3899         Handle SEGMENT_START/DONE messages correctly.
3900         More evolved query algorithm that handles duration queries
3901         correctly.
3902
3903         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3904         (gst_element_get_state_func), (gst_element_abort_state),
3905         (gst_element_commit_state), (gst_element_lost_state):
3906         Some more debugging.
3907
3908         * gst/gstmessage.h:
3909         Added doc.
3910
3911 2005-10-25  Wim Taymans  <wim@fluendo.com>
3912
3913         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3914         Don't use invalid stream_time.
3915
3916         * gst/gstevent.c: (gst_event_new_newsegment):
3917         stream_time in newsegment cannot be undefined.
3918
3919 2005-10-24  Wim Taymans  <wim@fluendo.com>
3920
3921         * gst/gstbus.c:
3922         Doc fix.
3923
3924         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3925         (gst_queue_loop):
3926         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3927
3928 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3929
3930         * docs/libs/tmpl/gstdparam.sgml:
3931         * docs/libs/tmpl/gstdplinint.sgml:
3932         * docs/libs/tmpl/gstdpman.sgml:
3933         * docs/libs/tmpl/gstdpsmooth.sgml:
3934         * docs/libs/tmpl/gstunitconvert.sgml:
3935           these are obsolete
3936
3937 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3938
3939         * configure.ac:
3940           back to HEAD
3941
3942 === release 0.9.4 ===
3943
3944 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3945
3946         * configure.ac:
3947           releasing 0.9.4, "Tyrannosaurus Rex"
3948
3949 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3950
3951         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3952         (gst_file_sink_get_current_offset):
3953           Use fseeko() and ftello() if available. When falling back on
3954           lseek() to get the current offset, fflush() first to make sure
3955           everything is up-to-date and we get the right offset.
3956
3957 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3958
3959         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3960         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3961         * gst/gsterror.c: (_gst_stream_errors_init):
3962         * gst/gsterror.h:
3963         * gst/gstqueue.c: (gst_queue_loop):
3964         * po/POTFILES.in:
3965           remove prematurely added error category and clean up the instances
3966
3967 2005-10-21  Wim Taymans  <wim@fluendo.com>
3968
3969         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3970         (gst_base_sink_get_position), (gst_base_sink_query),
3971         (gst_base_sink_change_state):
3972         Simply set the right flag when going to playing, that's all
3973         we need to do instead of calling a function inside the object
3974         lock (that could take the lock as well and deadlock)
3975
3976 2005-10-21  Wim Taymans  <wim@fluendo.com>
3977
3978         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3979         (gst_base_src_loop):
3980         Don't warn, the peer element knows what to do best when
3981         the seek failed, it might try something else.
3982
3983 2005-10-21  Wim Taymans  <wim@fluendo.com>
3984
3985         * gst/base/gstbasesrc.c: (gst_base_src_init),
3986         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3987         Fix seeking.
3988
3989 2005-10-21  Wim Taymans  <wim@fluendo.com>
3990
3991         * docs/design/part-segments.txt:
3992         More docs.
3993
3994         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3995         Correctly set caps, even on the subbufer.
3996
3997 2005-10-21  Wim Taymans  <wim@fluendo.com>
3998
3999         * docs/gst/gstreamer-docs.sgml:
4000         * docs/gst/gstreamer-sections.txt:
4001         * gst/gstelement.h:
4002         * gst/gstevent.c:
4003         * gst/gstevent.h:
4004         * gst/gstmessage.h:
4005         * gst/gstpad.h:
4006         * gst/gstparse.h:
4007         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
4008         * gst/gsttask.h:
4009         * gst/gstutils.c:
4010         * gst/gstutils.h:
4011         And 2% more doc coverage.
4012
4013 2005-10-21  Andy Wingo  <wingo@pobox.com>
4014
4015         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
4016         position reporting.
4017
4018 2005-10-20  Wim Taymans  <wim@fluendo.com>
4019
4020         * gst/gsterror.c: (gst_error_get_message):
4021         * gst/gstparse.h:
4022         * gst/gstquery.h:
4023         * gst/gststructure.c:
4024         * gst/gsttrace.c:
4025         * gst/gstutils.c:
4026         More docs.
4027
4028 2005-10-20  Wim Taymans  <wim@fluendo.com>
4029
4030         * gst/gstbuffer.h:
4031         * gst/gstpad.c:
4032         * gst/gstparse.c:
4033         Another 1% more coverage.
4034
4035 2005-10-20  Wim Taymans  <wim@fluendo.com>
4036
4037         * docs/gst/gstreamer-sections.txt:
4038         * gst/gstelement.c: (gst_element_get_state_func),
4039         (gst_element_abort_state), (gst_element_commit_state),
4040         (gst_element_lost_state):
4041         * gst/gstevent.h:
4042         * gst/gstquery.c: (gst_query_set_position),
4043         (gst_query_parse_position), (gst_query_set_duration),
4044         (gst_query_parse_duration), (gst_query_new_convert):
4045         * gst/gstutils.c:
4046         Yay! 1% more docs coverage.
4047
4048 2005-10-20  Wim Taymans  <wim@fluendo.com>
4049
4050         * gst/gstpad.h:
4051         * gst/gstquery.c: (gst_query_set_position),
4052         (gst_query_parse_position), (gst_query_set_duration),
4053         (gst_query_parse_duration), (gst_query_new_convert):
4054         * gst/gstquery.h:
4055         * gst/gstutils.c: (gst_element_query_convert):
4056         * gst/gstutils.h:
4057         Docs and consistency fixes.
4058
4059 2005-10-20  Wim Taymans  <wim@fluendo.com>
4060
4061         * gst/gsttask.c:
4062         * gst/gsttask.h:
4063         More docs.
4064
4065 2005-10-20  Wim Taymans  <wim@fluendo.com>
4066
4067         * gst/gstbin.c: (message_check), (bin_replace_message),
4068         (bin_remove_messages), (is_eos), (gst_bin_add_func),
4069         (update_degree), (gst_bin_sort_iterator_next),
4070         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
4071         Reworked the message handling a bit, cache the messages instead of
4072         only the senders. alows us to do more in the future.
4073
4074 2005-10-20  Wim Taymans  <wim@fluendo.com>
4075
4076         * docs/design/part-TODO.txt:
4077         Update TODO
4078
4079         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4080         (gst_base_sink_query):
4081         Don't use clock time to report position when in EOS.
4082
4083 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
4084
4085         * tools/gst-inspect.c: (print_interfaces),
4086         (print_element_properties_info), (print_element_info):
4087           Fix interface output with gst-inspect -a; don't print
4088           newlines after double/float properties.
4089
4090 2005-10-20  Wim Taymans  <wim@fluendo.com>
4091
4092         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4093         (gst_base_sink_query):
4094         Speed up current position calculation.
4095
4096         * gst/base/gstbasesrc.c: (gst_base_src_query),
4097         (gst_base_src_default_newsegment):
4098         Correctly set stream position in newsegment.
4099
4100         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
4101         (update_degree), (gst_bin_sort_iterator_next),
4102         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
4103         * gst/gstmessage.c: (gst_message_new_custom):
4104         Clean up debugging info
4105
4106         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4107         (gst_queue_loop), (gst_queue_handle_src_query):
4108         Pause task faster.
4109
4110 2005-10-19  Wim Taymans  <wim@fluendo.com>
4111
4112         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4113         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4114         Fix query handling again.
4115
4116 2005-10-19  Wim Taymans  <wim@fluendo.com>
4117
4118         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4119         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4120         * gst/base/gstbasesrc.c: (gst_base_src_query):
4121         * gst/elements/gstfilesink.c: (gst_file_sink_query):
4122         * gst/elements/gsttypefindelement.c:
4123         (gst_type_find_handle_src_query), (find_element_get_length),
4124         (gst_type_find_element_activate):
4125         API change fix.
4126
4127         * gst/gstquery.c: (gst_query_new_position),
4128         (gst_query_set_position), (gst_query_parse_position),
4129         (gst_query_new_duration), (gst_query_set_duration),
4130         (gst_query_parse_duration), (gst_query_set_segment),
4131         (gst_query_parse_segment):
4132         * gst/gstquery.h:
4133         Bundling query position/duration is not a good idea since duration
4134         does not change much and we don't want to recalculate it for every
4135         position query, so they are separated again..
4136         Base value in segment query is not needed.
4137
4138         * gst/gstqueue.c: (gst_queue_handle_src_query):
4139         * gst/gstutils.c: (gst_element_query_position),
4140         (gst_element_query_duration), (gst_pad_query_position),
4141         (gst_pad_query_duration):
4142         * gst/gstutils.h:
4143         Updates for query API change.
4144         Added some docs here and there.
4145
4146 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
4147
4148         * check/gst/gstbin.c: (GST_START_TEST):
4149         * check/gst/gstghostpad.c: (GST_START_TEST):
4150         * check/pipelines/cleanup.c: (GST_START_TEST):
4151           wait on thread to die so we can check refcount correctly
4152
4153 2005-10-18  Wim Taymans  <wim@fluendo.com>
4154
4155         * check/pipelines/stress.c: (GST_START_TEST):
4156         Make check a little more time consuming.
4157
4158 2005-10-18  Wim Taymans  <wim@fluendo.com>
4159
4160         * check/Makefile.am:
4161         * check/pipelines/stress.c: (GST_START_TEST),
4162         (simple_launch_lines_suite), (main):
4163         Small state change torture test.
4164
4165         * docs/design/part-states.txt:
4166         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4167         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
4168         (gst_base_sink_change_state):
4169         Never take state lock from streaming thread, clean up ugly
4170         hacks. Unfortunatly core does not yet support nice ways to
4171         async commit state.
4172         
4173         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
4174         (bin_bus_handler):
4175         Start state recalc if a STATE_DIRTY message is posted, but only
4176         on the toplevel bin.
4177
4178         * gst/gstelement.c: (gst_element_sync_state_with_parent),
4179         (gst_element_get_state_func), (gst_element_abort_state),
4180         (gst_element_commit_state), (gst_element_lost_state),
4181         (gst_element_set_state_func), (gst_element_change_state):
4182         * gst/gstelement.h:
4183         State variables are now protected with the LOCK, the state
4184         lock is only used to serialize _set_state().
4185
4186 2005-10-18  Wim Taymans  <wim@fluendo.com>
4187
4188         * check/gst/gstbin.c: (GST_START_TEST):
4189         * check/gst/gstmessage.c: (GST_START_TEST):
4190         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4191         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
4192         (bin_bus_handler):
4193         * gst/gstelement.c: (gst_element_abort_state),
4194         (gst_element_commit_state), (gst_element_lost_state):
4195         * gst/gstmessage.c: (gst_message_new_state_changed),
4196         (gst_message_new_state_dirty), (gst_message_new_segment_start),
4197         (gst_message_new_segment_done), (gst_message_new_duration),
4198         (gst_message_parse_state_changed),
4199         (gst_message_parse_segment_start),
4200         (gst_message_parse_segment_done), (gst_message_parse_duration):
4201         * gst/gstmessage.h:
4202         * tools/gst-launch.c: (event_loop):
4203         Seriously, this is better than a previous commit as we only need
4204         to notify the fact that an element changed state in a streaming
4205         thread, marking the state of the parents dirty, hence the 
4206         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
4207         message.
4208
4209 2005-10-18  Wim Taymans  <wim@fluendo.com>
4210
4211         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4212         (gst_bin_recalc_func):
4213         * gst/gstelement.c: (gst_element_set_clock),
4214         (gst_element_abort_state), (gst_element_lost_state):
4215         Cleanups, prepare for state change fixes.
4216
4217 2005-10-18  Wim Taymans  <wim@fluendo.com>
4218
4219         * gst/gstbin.h:
4220         * gst/gstelement.c: (gst_element_class_init),
4221         (gst_element_set_state), (gst_element_set_state_func):
4222         * gst/gstelement.h:
4223         Pending ABI changes.
4224         GThreadPool in GstBinClass to monitor async state changes.
4225         state_cookie in GstElement to detect concurrent gst/set state.
4226         set_state is now virtual too in case a very complicated element
4227         has to be constructed.
4228
4229 2005-10-18  Wim Taymans  <wim@fluendo.com>
4230
4231         * check/gst/gstbin.c: (GST_START_TEST):
4232         * check/gst/gstmessage.c: (GST_START_TEST):
4233         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4234         * gst/gstbin.c: (bin_bus_handler):
4235         * gst/gstelement.c: (gst_element_commit_state),
4236         (gst_element_lost_state):
4237         * gst/gstmessage.c: (gst_message_new_state_changed),
4238         (gst_message_new_segment_start), (gst_message_new_segment_done),
4239         (gst_message_new_duration), (gst_message_parse_state_changed),
4240         (gst_message_parse_segment_start),
4241         (gst_message_parse_segment_done), (gst_message_parse_duration):
4242         * gst/gstmessage.h:
4243         * tools/gst-launch.c: (event_loop):
4244         Make messages future proof.
4245         state-change gets a flag if it was a message comming from the
4246         streaming thread.
4247         segment-start/stop can also be specified in other formats.
4248         A message to notify an app that a pipeline changed playback 
4249         duration.
4250         Also fix a GstMessage leak in -launch
4251
4252 2005-10-18  Andy Wingo  <wingo@pobox.com>
4253
4254         * gst/gstelement.c (gst_element_dispose): More helpful message.
4255
4256 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4257
4258         reviewed by: <delete if not using a buddy>
4259
4260         * common/gtk-doc.mak:
4261
4262 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4263
4264         * gst/gstregistry.c: (gst_registry_scan_path_level):
4265           unref a plug-in we get that was already initialized
4266
4267 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
4268
4269         * docs/gst/gstreamer-sections.txt:
4270         * docs/libs/gstreamer-libs-sections.txt:
4271         * gst/gstelement.h:
4272           add new api entries
4273           hide internal macro
4274
4275 2005-10-17  Andy Wingo  <wingo@pobox.com>
4276
4277         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4278         cleanup.
4279
4280         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4281
4282         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4283
4284         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4285         (gst_element_get_state_func): Better debug message.
4286         (gst_element_commit_state): s/INFO/DEBUG/.
4287         (gst_element_lost_state, gst_element_change_state): 
4288
4289         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4290         (gst_message_new_custom): s/INFO/LOG/.
4291
4292 2005-10-17  Michael Smith <msmith@fluendo.com>
4293
4294         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4295           Check if end time is valid using end time, not start time.
4296
4297 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
4298
4299         * check/gst-libs/controller.c: (GST_START_TEST),
4300         (gst_controller_suite):
4301         * libs/gst/controller/gstcontroller.c:
4302         (gst_controlled_property_set_interpolation_mode):
4303         * libs/gst/controller/gstcontroller.h:
4304         * libs/gst/controller/gstinterpolation.c:
4305         * testsuite/controller/.cvsignore:
4306         * testsuite/controller/Makefile.am:
4307         * testsuite/controller/interpolator.c:
4308           merge controller testsuites
4309           fix broken tests
4310           remove mem-chunk from docs
4311
4312 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4313
4314         * gst/gstmemchunk.c:
4315         * gst/gstmemchunk.h:
4316         * gst/gsttrashstack.c:
4317         * gst/gsttrashstack.h:
4318           out.  get out.  you're fired.  to the Attic !
4319
4320 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4321
4322         * gst/gstcaps.c: (gst_caps_intersect):
4323           fix signedness issues in a (hopefully) correct way
4324         * gst/gstelement.c: (gst_element_pads_activate):
4325           some debugging
4326         * gst/gstobject.c: (gst_object_set_parent):
4327           some debugging
4328
4329 2005-10-17  Julien MOUTTE  <julien@moutte.net>
4330
4331         * gst/gstvalue.h: Fix prototypes.
4332
4333 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4334
4335         * docs/gst/gstreamer-sections.txt:
4336         * gst/gst.c: (gst_version_string):
4337         * gst/gst.h:
4338         * gst/gstversion.h.in:
4339         * win32/common/libgstreamer.def:
4340           add gst_version_string ()
4341
4342 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4343
4344         * configure.ac:
4345           clean up further
4346         * gst/gst.c: (init_post):
4347         * win32/common/config.h.in:
4348           it's PLUGINDIR now
4349         * gst/gstcaps.c: (gst_caps_intersect):
4350           use gint64, the range could be bigger than a guint
4351
4352 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4353
4354         * gst/gstclock.h:
4355           document potential problem in 2038
4356
4357 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4358
4359         * gst/gstcaps.c: (gst_caps_intersect):
4360           Fix guint j diving under 0
4361
4362 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4363
4364         * configure.ac:
4365         * win32/common/config.h:
4366         * win32/common/config.h.in:
4367           check for process.h, declares getpid() on Windows
4368         * gst/gstinfo.c:
4369           include process.h if we have it
4370         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4371         * gst/gstmemchunk.h:
4372           fix signedness issues
4373         * win32/common/libgstreamer.def:
4374           fix get_type's
4375
4376 2005-10-16  Julien MOUTTE  <julien@moutte.net>
4377
4378         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4379         fix. Because of unsigned ints, caps intersection was going nuts and
4380         trying to access structures with G_MAXUINT index. That fixes
4381         videotestsrc ! ffmpegcolorspace ! fakesink
4382         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4383         consistency.
4384
4385 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4386
4387         * configure.ac:
4388           use the gettext macro
4389         * gst/elements/gstelements.c:
4390         * gst/gst.c:
4391         * gst/indexers/gstindexers.c:
4392           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4393         * win32/common/config.h:
4394           updated config.h
4395         * win32/common/config.h.in:
4396           add the template to generate config.h
4397         * win32/common/gstenumtypes.c:
4398         * win32/common/gstversion.h:
4399           updated copies
4400
4401 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4402
4403         * gst/gst.c: (gst_version):
4404         * gst/gstversion.h.in:
4405           add the nano
4406
4407 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4408
4409         * gst/gstevent.h:
4410           Oops, add missing closing bracket.
4411
4412 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4413
4414         * configure.ac:
4415           use common m4's for argument checking
4416
4417 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4418
4419         * docs/gst/gstreamer-sections.txt:
4420         * gst/gstevent.h:
4421           Add GST_EVENT_TYPE_NAME() macro.
4422
4423 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4424
4425         * gst/gstinfo.c:
4426         * gst/gstpluginfeature.c:
4427         * gst/gsttask.c:
4428           privatize more symbols
4429
4430 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4431
4432         * configure.ac:
4433           add srcdir, builddir includes to GST_ALL_CFLAGS, since
4434           everything that uses GStreamer API should have the includes
4435
4436 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4437
4438         * docs/gst/gstreamer-sections.txt:
4439         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4440         * gst/gstvalue.h:
4441           give each value a _get_type, removes the DATA exports
4442
4443 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4444
4445         * gst/gst.c:
4446         * gst/gst.h:
4447           remove _gst_registry_auto_load, not used anymore
4448         * gst/gstbin.c: (gst_bin_get_type):
4449         * gst/gstbin.h:
4450         * gst/gstelement.c: (gst_element_get_type):
4451         * gst/gstelement.h:
4452         * gst/gstobject.c: (gst_object_get_type):
4453         * gst/gstobject.h:
4454         * gst/gstpad.c: (gst_pad_get_type):
4455         * gst/gstpad.h:
4456           make _get_type functions similar, fixes data export from library
4457
4458 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4459
4460         * configure.ac:
4461           correctly make conditionals
4462         * gst/elements/Makefile.am:
4463         * gst/elements/gstelements.c:
4464           fix typo causing fdsrc not to build
4465
4466 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4467
4468         * testsuite/Makefile.am:
4469         * testsuite/bytestream/.cvsignore:
4470         * testsuite/bytestream/Makefile.am:
4471         * testsuite/bytestream/filepadsink.c:
4472         * testsuite/bytestream/gstbstest.c:
4473         * testsuite/bytestream/test1.c:
4474         * testsuite/bytestream/testfile1:
4475         * testsuite/caps/normalisation.c:
4476         * testsuite/caps/random.c: (main):
4477         * testsuite/cleanup/.cvsignore:
4478         * testsuite/cleanup/Makefile.am:
4479         * testsuite/cleanup/cleanup1.c:
4480         * testsuite/cleanup/cleanup2.c:
4481         * testsuite/cleanup/cleanup3.c:
4482         * testsuite/cleanup/cleanup4.c:
4483         * testsuite/cleanup/cleanup5.c:
4484         * testsuite/controller/interpolator.c:
4485         * testsuite/debug/printf_extension.c: (main):
4486         * testsuite/elements/tee.c:
4487         * testsuite/negotiation/.cvsignore:
4488         * testsuite/negotiation/Makefile.am:
4489         * testsuite/negotiation/pad_link.c:
4490         * testsuite/pad/Makefile.am:
4491         * testsuite/pad/chainnopull.c:
4492         * testsuite/pad/getnopush.c:
4493         * testsuite/pad/link.c:
4494         * testsuite/refcounting/sched.c: (create_pipeline):
4495         * testsuite/registry/Makefile.am:
4496         * testsuite/registry/gst-print-formats.c:
4497         * testsuite/schedulers/.cvsignore:
4498         * testsuite/schedulers/142183-2.c:
4499         * testsuite/schedulers/142183.c:
4500         * testsuite/schedulers/143777-2.c:
4501         * testsuite/schedulers/143777.c:
4502         * testsuite/schedulers/147713.c:
4503         * testsuite/schedulers/147819.c:
4504         * testsuite/schedulers/147894-2.c:
4505         * testsuite/schedulers/147894.c:
4506         * testsuite/schedulers/Makefile.am:
4507         * testsuite/schedulers/group_link.c:
4508         * testsuite/schedulers/queue_link.c:
4509         * testsuite/schedulers/relink.c:
4510         * testsuite/schedulers/unlink.c:
4511         * testsuite/schedulers/unref.c:
4512         * testsuite/schedulers/useless_iteration.c:
4513         * testsuite/states/bin.c:
4514           clean out/remove some stuff from the testsuite directories
4515
4516 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4517
4518         * configure.ac:
4519           check for some headers
4520         * gst/elements/Makefile.am:
4521         * gst/elements/gstelements.c:
4522           don't compile fdsrc without sys/socket.h
4523         * gst/indexers/Makefile.am:
4524         * gst/indexers/gstindexers.c: (plugin_init):
4525           don't compile fileindex without mmap
4526
4527 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4528
4529         * configure.ac:
4530           reorganize
4531           clean up
4532           document more
4533           remove cruft
4534         * check/Makefile.am:
4535         * docs/gst/Makefile.am:
4536         * examples/helloworld/Makefile.am:
4537         * gst/Makefile.am:
4538         * gst/base/Makefile.am:
4539         * gst/check/Makefile.am:
4540         * gst/elements/Makefile.am:
4541         * gst/indexers/Makefile.am:
4542         * gst/parse/Makefile.am:
4543         * libs/gst/controller/Makefile.am:
4544         * libs/gst/dataprotocol/Makefile.am:
4545         * examples/helloworld/helloworld.c: (event_loop):
4546           compile fixes, though it's not being compiled currently
4547
4548 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4549
4550         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4551           Add some simple tests for the new taglist date API.
4552
4553 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4554
4555         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4556         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4557           Beautify 'last-message' output: print 'none' for buffer timestamps
4558           and durations if none is set; improve alignment with next messages.
4559
4560 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4561
4562         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4563         * gst/gstpluginfeature.h:
4564         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4565         * gst/gstregistry.h:
4566         * docs/gst/gstreamer-sections.txt:
4567           Add new API to check plugin feature version requirements.
4568
4569         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4570           Some basic tests for the above.         
4571
4572 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4573
4574         * gst/gststructure.c: (gst_structure_to_string):
4575           guard against NULL printf - happens when for example
4576           a message structure with GstClock gets serialized
4577
4578 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4579
4580         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4581           Fix presumable copy'n'pasto.
4582
4583 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4584
4585         * gst/elements/gstfakesrc.h:
4586         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4587         * gst/elements/gsttypefindelement.c:
4588           fix some signedness
4589         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4590           I wonder if this could actually write +2GB files before
4591
4592 2005-10-13  Andy Wingo  <wingo@pobox.com>
4593
4594         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4595         Fix Timmeke Waymans bug.
4596         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4597         string of the proper length to gst_caps_from_string. There's a
4598         potential for, before this fix, that this could cause someone
4599         connecting over the network to cause a segfault if the payload is
4600         not NUL-terminated.
4601
4602 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4603
4604         * docs/design/draft-push-pull.txt:
4605         * docs/design/part-overview.txt:
4606         * docs/random/TODO-pre-0.9:
4607         * docs/random/old/ChangeLog.gstreamer:
4608         * gst/base/gstpushsrc.c:
4609         * gst/gstclock.c:
4610           fixed typos
4611
4612 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4613
4614         * gst/glib-compat.c: (gst_flags_get_first_value):
4615         * gst/glib-compat.h:
4616         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4617         (gst_value_compare_double), (gst_value_serialize_flags):
4618           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4619           infinite loop
4620
4621 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4622
4623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4624         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4625           fix up debugging
4626         * tools/gst-launch.c: (event_loop):
4627           print out clock nicely
4628
4629 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4630
4631         * docs/gst/gstreamer-sections.txt:
4632         * gst/gsttaglist.h:
4633         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4634         (gst_tag_list_get_date_index):
4635           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4636           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4637
4638 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4639
4640         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4641         (gst_collectpads_chain):
4642         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4643         in CollectData.
4644
4645 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4646
4647         * docs/gst/gstreamer-sections.txt:
4648         * gst/gst.c:
4649         * gst/gsterror.h:
4650         * tools/gst-inspect.c: (main):
4651         * tools/gst-launch.c: (main):
4652         * tools/gst-run.c: (main):
4653         * tools/gst-xmlinspect.c: (main):
4654           fix GOption context leaks
4655           doc fixes
4656
4657 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4658
4659         * gst/gstbus.c:
4660           use HAVE_UNISTD_H
4661         * win32/common/config.h:
4662           update config
4663         * win32/vs6/grammar.dsp:
4664         * win32/vs6/libgstelements.dsp:
4665         * win32/vs6/libgstreamer.dsp:
4666           update vs6 files
4667
4668 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4669
4670         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4671         * gst/base/gstbasesrc.c: (gst_base_src_query):
4672           fix more guint64<->gdouble conversions
4673
4674 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4675
4676         * Makefile.am:
4677           add win32-update target
4678         * win32/common/gstconfig.h:
4679         * win32/common/gstenumtypes.c:
4680         * win32/common/gstenumtypes.h:
4681         * win32/common/gstversion.h:
4682           add files that visual studio can't generate
4683
4684 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4685
4686         * Makefile.am:
4687           add a win32-update target
4688         * configure.ac:
4689
4690 2005-10-12  Wim Taymans  <wim@fluendo.com>
4691
4692         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4693         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4694         * gst/gstelement.c: (gst_element_commit_state),
4695         (gst_element_set_state):
4696         Protect flags with proper lock.
4697         unref provided cached clock in dispose.
4698
4699 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4700
4701         * gst/gst.c:
4702         * gst/gstminiobject.h:
4703         * gst/gstpad.h:
4704         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4705           removed unused flags from miniobject
4706           doc fixes
4707
4708 2005-10-12  Wim Taymans  <wim@fluendo.com>
4709
4710         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4711         (gst_file_sink_event), (gst_file_sink_render):
4712         Flush before seeking.
4713
4714 2005-10-12  Andy Wingo  <wingo@pobox.com>
4715
4716         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4717         always been the case.
4718
4719 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4720
4721         * check/gst/gstbin.c: (GST_START_TEST):
4722         * docs/gst/gstreamer-sections.txt:
4723         * gst/base/gstbasesink.c: (gst_base_sink_init):
4724         * gst/base/gstbasesrc.c: (gst_base_src_init),
4725         (gst_base_src_get_range), (gst_base_src_check_get_range),
4726         (gst_base_src_start), (gst_base_src_stop):
4727         * gst/base/gstbasesrc.h:
4728         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4729         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4730         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4731         (bin_bus_handler):
4732         * gst/gstbin.h:
4733         * gst/gstbuffer.h:
4734         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4735         * gst/gstbus.h:
4736         * gst/gstelement.c: (gst_element_is_locked_state),
4737         (gst_element_set_locked_state), (gst_element_commit_state),
4738         (gst_element_set_state):
4739         * gst/gstelement.h:
4740         * gst/gstindex.c: (gst_index_init):
4741         * gst/gstindex.h:
4742         * gst/gstminiobject.h:
4743         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4744         (gst_object_set_parent):
4745         * gst/gstobject.h:
4746         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4747         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4748         * gst/gstpad.h:
4749         * gst/gstpadtemplate.h:
4750         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4751         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4752         * gst/gstpipeline.h:
4753         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4754         (gst_file_index_commit):
4755         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4756         * testsuite/pad/link.c: (gst_test_src_init),
4757         (gst_test_filter_init), (gst_test_sink_init):
4758         * testsuite/states/locked.c: (main):
4759           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4760           moved bitshift from macro to enum definition
4761
4762 2005-10-12  Wim Taymans  <wim@fluendo.com>
4763
4764         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4765         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4766         (gst_file_sink_render):
4767         Some more debugging info.
4768
4769 2005-10-12  Wim Taymans  <wim@fluendo.com>
4770
4771         * docs/design/part-states.txt:
4772         * tools/gst-launch.c: (main):
4773         Some doc updates.
4774         Revert non-intentional change.
4775
4776 2005-10-12  Wim Taymans  <wim@fluendo.com>
4777
4778         * check/gst/gstbin.c: (GST_START_TEST):
4779         * check/gst/gstelement.c: (GST_START_TEST):
4780         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4781         * check/gst/gstghostpad.c: (GST_START_TEST):
4782         * check/gst/gstpipeline.c: (GST_START_TEST):
4783         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4784         * check/states/sinks.c: (GST_START_TEST):
4785         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4786         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4787         (gst_bin_remove_func), (gst_bin_get_state_func),
4788         (gst_bin_recalc_state), (gst_bin_change_state_func),
4789         (bin_bus_handler):
4790         * gst/gstelement.c: (gst_element_get_state_func),
4791         (gst_element_get_state), (gst_element_abort_state),
4792         (gst_element_commit_state), (gst_element_set_state),
4793         (gst_element_change_state), (gst_element_change_state_func):
4794         * gst/gstelement.h:
4795         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4796         (gst_pipeline_provide_clock_func):
4797         * gst/gstutils.c: (gst_element_link_pads_filtered):
4798         * tools/gst-launch.c: (main):
4799         * tools/gst-typefind.c: (main):
4800         Use GstClockTime in _get_state() instead of GTimeVal.
4801         Remove old code in gstutils.c
4802
4803 2005-10-12  Andy Wingo  <wingo@pobox.com>
4804
4805         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4806         removed.
4807
4808         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4809         there is no task. Shouldn't affect any code, as nothing in our
4810         plugins checks this return value.
4811         (gst_pad_stop_task): Also take the stream lock if the pad has no
4812         task. Docs updated.
4813
4814 2005-10-12  Wim Taymans  <wim@fluendo.com>
4815
4816         * gst/gstpad.c: (pre_activate), (post_activate),
4817         (gst_pad_activate_pull), (gst_pad_activate_push):
4818         Cleanup activation code. Reset old state if
4819         activation failed.
4820
4821 2005-10-12  Wim Taymans  <wim@fluendo.com>
4822
4823         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4824         (gst_base_sink_change_state):
4825         No need to prerol after receiving EOS.
4826
4827         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4828         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4829         * gst/elements/gstidentity.c: (gst_identity_event):
4830         Print events more verbosely.
4831
4832 2005-10-12  Wim Taymans  <wim@fluendo.com>
4833
4834         * check/Makefile.am:
4835         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4836         * check/states/sinks2.c:
4837         Moved sinks2 testcode in sinks check.
4838
4839         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4840         (gst_bin_remove_func), (gst_bin_recalc_state),
4841         (gst_bin_change_state_func), (bin_bus_handler):
4842         Fix potential race condition when _get_state() iterated over an
4843         ASYNC element right before it posted a state completion.
4844
4845         * gst/gstclock.h:
4846         Do proper cast here.
4847
4848         * gst/gstevent.c: (gst_event_new_newsegment),
4849         (gst_event_parse_newsegment):
4850         A playback rate of 0.0 is not allowed.
4851
4852 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4853
4854         * win32/common/config.h:
4855         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4856         (_trewinddir), (_ttelldir), (_tseekdir):
4857         * win32/common/dirent.h:
4858         * win32/common/gtchar.h:
4859         * win32/common/libgstbase.def:
4860         * win32/common/libgstreamer.def:
4861         * win32/vs6/grammar.dsp:
4862         * win32/vs6/gst_inspect.dsp:
4863         * win32/vs6/gst_launch.dsp:
4864         * win32/vs6/gstreamer.dsw:
4865         * win32/vs6/libgstbase.dsp:
4866         * win32/vs6/libgstelements.dsp:
4867         * win32/vs6/libgstreamer.dsp:
4868           Visual Studio 6 project files, and a new common directory.
4869           Phear.
4870
4871 2005-10-11  Wim Taymans  <wim@fluendo.com>
4872
4873         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4874         (gst_base_sink_do_sync), (gst_base_sink_query),
4875         (gst_base_sink_change_state):
4876         * gst/base/gstbasesink.h:
4877         Correctly parse newsegment info.
4878
4879 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4880
4881         * gst/gst.c: (init_post):
4882           split plugin paths correctly
4883
4884 2005-10-11  Wim Taymans  <wim@fluendo.com>
4885
4886         * check/gst/gstevent.c: (GST_START_TEST):
4887         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4888         (gst_base_sink_change_state):
4889         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4890         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4891         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4892         * gst/gstevent.c: (gst_event_new_newsegment),
4893         (gst_event_parse_newsegment):
4894         * gst/gstevent.h:
4895         Added extra flag to newsegment for future API freeze.
4896         Updated check and base elements.
4897
4898 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4899
4900         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4901         (gst_collectpads_add_pad), (gst_collectpads_pop),
4902         (gst_collectpads_event), (gst_collectpads_chain):
4903         * gst/base/gstcollectpads.h: Handle EOS correctly.
4904
4905 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4906
4907         * tools/gst-launch.c: (main):
4908           more null protecting
4909
4910 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4911
4912         * gst/gst-i18n-lib.h:
4913           check for ENABLE_NLS, not GETTEXT_PACKAGE
4914         * gst/gstregistry.c: (gst_registry_add_plugin),
4915         (gst_registry_scan_path_level),
4916         (_gst_registry_remove_cache_plugins):
4917           protect possibly NULL strings
4918         * gst/parse/types.h:
4919           config.h already included before
4920         * tools/gst-inspect.c: (main):
4921           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4922           check for ENABLE_NLS, not GETTEXT_PACKAGE
4923         * tools/gst-launch.c: (main):
4924           check for ENABLE_NLS, not GETTEXT_PACKAGE
4925
4926 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4927
4928         * configure.ac:
4929           if we don't have glib, fail before testing 2.8
4930         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4931           fix a leak, should fix plugins-base testsuite
4932
4933 2005-10-11  Andy Wingo  <wingo@pobox.com>
4934
4935         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4936         take the mode we're going to as an arg. Go head and set the mode
4937         and flushing flags now, so that if the activate function starts a
4938         thread all the flags will be in the right state.
4939         (post_activate): Renamed also. Just handle making sure streaming
4940         finishes for the deactivation case, and setting the deactivated
4941         mode.
4942         (gst_pad_set_active): Complain loudly if deactivation fails.
4943         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4944         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4945         remove the terrible hack.
4946
4947 2005-10-11  Wim Taymans  <wim@fluendo.com>
4948
4949         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4950         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4951         (gst_bin_recalc_state), (gst_bin_change_state_func),
4952         (gst_bin_dispose), (bin_bus_handler):
4953         * gst/gstbin.h:
4954         Prepare to make current EOS message queue more generic.
4955         Fix some typos.
4956
4957         * gst/gstevent.c: (gst_event_new_newsegment),
4958         (gst_event_parse_newsegment):
4959         * gst/gstevent.h:
4960         Rename base to stream_time.
4961
4962         * gst/gstmessage.h:
4963         Fix typo in docs.
4964
4965 2005-10-11  Wim Taymans  <wim@fluendo.com>
4966
4967         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4968         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4969         (gst_bin_change_state_func), (bin_bus_handler):
4970         * gst/gstbin.h:
4971         Work on proper clock selection.
4972
4973 2005-10-11  Edward Hervey  <edward@fluendo.com>
4974
4975         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4976         * libs/gst/controller/gstcontroller.h:
4977         Added GList* version of _remove_properties() in order to be able to wrap
4978         it in bindings.
4979
4980 2005-10-11  Wim Taymans  <wim@fluendo.com>
4981
4982         * docs/design/part-states.txt:
4983         Some more docs.
4984
4985         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4986         (gst_bin_change_state_func), (bin_bus_handler):
4987         Doc updates. Don't distribute the same clock over and over again.
4988
4989         * gst/gstclock.c:
4990         * gst/gstclock.h:
4991         Doc updates.
4992
4993         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4994         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4995         (gst_pad_send_event):
4996         * gst/gstpad.h:
4997         Make probe emission threadsafe again.
4998         Register quarks and move _get_name() from utils.
4999         Doc updates.
5000
5001         * gst/gstpipeline.c: (gst_pipeline_class_init),
5002         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5003         Only redistribute the clock of it changed.
5004
5005         * gst/gstsystemclock.h:
5006         Doc updates. 
5007
5008         * gst/gstutils.c:
5009         * gst/gstutils.h:
5010         Moved the _flow_get_name() to GstPad.
5011
5012 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5013
5014         * check/gst-libs/gdp.c: (GST_START_TEST):
5015         * check/gst/gstcaps.c: (GST_START_TEST):
5016         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
5017         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
5018         (gst_dp_packet_from_caps):
5019           fix more valgrind warnings before turning up the heat
5020
5021 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5022
5023         * gst/parse/grammar.y:
5024           some cleanup before the hacking
5025
5026 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5027
5028         * gst/base/gstbasesrc.c: (gst_base_src_query):
5029           use conversions
5030         * gst/gstutils.c: (gst_guint64_to_gdouble),
5031         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
5032         * gst/gstutils.h:
5033           externalize, basesrc uses it
5034           obviously the implementation needs testing
5035
5036 2005-10-10  Wim Taymans  <wim@fluendo.com>
5037
5038         * tests/sched/Makefile.am:
5039         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
5040         (make_pipeline3), (make_pipeline4), (print_elem), (main):
5041
5042 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5043
5044         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
5045           apparently converting from guint64 to double is not implemented
5046           on MSVC
5047
5048 2005-10-10  Wim Taymans  <wim@fluendo.com>
5049
5050         * check/Makefile.am:
5051         * check/generic/states.c: (GST_START_TEST):
5052         * check/gst/gstbin.c: (GST_START_TEST):
5053         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5054         * check/states/sinks.c: (GST_START_TEST):
5055         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
5056         (main):
5057         Check fixes, use API as stated in design docs, remove hacks.
5058
5059         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5060         (gst_base_sink_change_state):
5061         Catch stopping our task while we're shutting down.
5062
5063         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5064         (gst_bin_remove_func), (gst_bin_get_state_func),
5065         (gst_bin_recalc_state), (gst_bin_change_state_func),
5066         (bin_bus_handler):
5067         * gst/gstbin.h:
5068         * gst/gstelement.c: (gst_element_init),
5069         (gst_element_get_state_func), (gst_element_abort_state),
5070         (gst_element_commit_state), (gst_element_lost_state),
5071         (gst_element_set_state), (gst_element_change_state),
5072         (gst_element_change_state_func):
5073         * gst/gstelement.h:
5074         New state change algorithm (see #318116)
5075
5076         * gst/gstpipeline.c: (gst_pipeline_class_init),
5077         (gst_pipeline_init), (gst_pipeline_set_property),
5078         (gst_pipeline_get_property), (do_pipeline_seek),
5079         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5080         * gst/gstpipeline.h:
5081         Remove crude state change hacks.
5082
5083         * gst/gstutils.h:
5084         Remove crude hacks.
5085
5086         * tools/gst-launch.c: (main):
5087         Fixes for state change. Needs some more work to fully use the
5088         new stuff.
5089
5090 2005-10-10  Andy Wingo  <wingo@pobox.com>
5091
5092         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
5093
5094         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
5095         this flag, but it's not even in GLib 2.6. Odd. Hack around the
5096         issue.
5097
5098 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5099
5100         * gst/gstiterator.c: (gst_iterator_new):
5101           Fix my previous commit: GTypes passed to gst_iterator_new()
5102           can be fundamental types.
5103
5104 2005-10-10  Wim Taymans  <wim@fluendo.com>
5105
5106         * gst/gstelement.c: (gst_element_iterate_pad_list),
5107         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
5108         (gst_element_iterate_sink_pads):
5109         Use src/sink pads lists for the respective iterators instead
5110         of filtering.
5111
5112 2005-10-10  Andy Wingo  <wingo@pobox.com>
5113
5114         Merged in popt removal + GOption addition patch from Ronald, bug
5115         #169772.
5116
5117         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
5118         GstElement macros around, remove popt-related symbols, add goption
5119         stuff.
5120
5121         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
5122         
5123         * docs/gst/Makefile.am:
5124         * docs/libs/Makefile.am: No POPT_CFLAGS.
5125         
5126         * examples/manual/Makefile.am:
5127         * docs/manual/basics-init.xml: Doc updates with an example.
5128         
5129         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5130         (gst_init), (parse_one_option), (parse_goption_arg):
5131         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
5132         bit of hand merging and debugging to get the GOption stuff working
5133         tho.
5134         
5135         * tests/Makefile.am:
5136         * tools/Makefile.am:
5137         * tools/gst-inspect.c: (main):
5138         * tools/gst-launch.c: (main):
5139         * tools/gst-run.c: (main):
5140         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
5141
5142 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5143
5144         * gst/gstiterator.c: (gst_iterator_new):
5145           Add assertions to make sure passed GType is likely to really
5146           be a GType (as the compiler won't catch it if the size and
5147           GType arguments get mixed up, see #318447).
5148
5149 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
5150
5151         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5152
5153         * gst/gstbin.c: (gst_bin_iterate_sorted):
5154           Pass GType and size arguments to gst_iterator_new() in the right
5155           order (maybe we should make _new() take the GType as first argument
5156           just like _new_list()?) (#318447).
5157           
5158
5159 2005-10-10  Wim Taymans  <wim@fluendo.com>
5160
5161         * gst/gstelement.c: (gst_element_finalize):
5162         And free the GStaticRecMutex too
5163
5164 2005-10-10  Andy Wingo  <wingo@pobox.com>
5165
5166         * gst/gstelement.c (gst_element_init, gst_element_finalize):
5167         Allocate and free the mutex properly.
5168
5169         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
5170         New macros.
5171         (GstElement): The state_lock is now recursive. Rebuild your
5172         plugins, suckers. Old macros adapted.
5173
5174         * docs/gst/gstreamer-sections.txt: Doc updates.
5175
5176         * gst/gstutils.h:
5177         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
5178         (g_static_rec_cond_wait): Ported from state changes patch, while
5179         we wait on bug #317802 to be solved in a well-distributed GLib.
5180
5181         * gst/gstelement.c (gst_element_change_state_func): Renamed from
5182         gst_element_change_state, variable name changes.
5183         (gst_element_change_state): Split out of gst_element_set_state in
5184         preparation for the state change merge. Doesn't pay attention to
5185         the 'transition' argument.
5186         (gst_element_set_state): Updates, hopefully purely cosmetic.
5187         (gst_element_sync_state_with_parent): MT-safety. Ported from the
5188         state change patch.
5189         (gst_element_get_state_func): Renamed from get_state, cosmetic
5190         changes.
5191
5192 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5193
5194         * gst/elements/gstelements.c:
5195         * win32/GStreamer.vcproj:
5196         * win32/config.h:
5197         * win32/dirent.c: (_tseekdir):
5198         * win32/gst-inspect.vcproj:
5199         * win32/gst-launch.vcproj:
5200         * win32/gstconfig.h:
5201         * win32/gstelements.vcproj:
5202         * win32/gstenumtypes.c: (gst_object_flags_get_type):
5203         * win32/gstreamer.def:
5204         * win32/msvc71.sln:
5205           updates for the win32 build (patch from Sebastien Moutte)
5206
5207 2005-10-10  Andy Wingo  <wingo@pobox.com>
5208
5209         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
5210         gst_bin_get_state, cleaned up (but no logic changes).
5211         (bin_element_is_sink): Comment updates.
5212         (sink_iterator_filter): Remove needless cast.
5213         (gst_bin_iterate_sinks): Doc update.
5214         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
5215         cleaned up (but no logic changes).
5216
5217         * check/states/sinks.c (test_src_sink): Cleanups from the state
5218         change patch.
5219         (test_livesrc_sink): Sync on the state.
5220
5221         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
5222         the state change patch.
5223
5224         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
5225         change patch.
5226
5227         * check/gst/gstbin.c: Merge in some style fixes and additional
5228         checks from Wim's state change patch.
5229
5230 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5231
5232         * gst/base/gsttypefindhelper.c: (helper_find_peek),
5233         (gst_type_find_helper):
5234           Check whether we have the requested data already in our list of
5235           cached buffers before pulling a new buffer; also make the buffer
5236           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
5237
5238 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5239
5240         * gst/gstcaps.c:
5241         * gst/gstevent.c:
5242           doc updates
5243         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5244           don't use long long, it's not portable.  Replacing with
5245           gint64 seems to work; let's hope no skeletons fall out of the closet.
5246
5247 2005-10-10  Andy Wingo  <wingo@pobox.com>
5248
5249         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
5250
5251 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
5252
5253         * docs/gst/gstreamer-sections.txt:
5254         * gst/gstevent.c:
5255         * gst/gstevent.h:
5256         * gst/gstinfo.c:
5257         * gst/gstinfo.h:
5258         * gst/gstmessage.c: (gst_message_parse_state_changed):
5259         * gst/gstpad.c:
5260         * gst/gstpad.h:
5261           more docs, fix compilation
5262
5263 2005-10-09  Philippe Khalaf <burger@speedy.org>
5264         * gst/gstmessage.c:
5265           Fixed a few forgotten variables on previous commit
5266
5267 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5268
5269         * gst/base/gsttypefindhelper.c: (helper_find_peek):
5270           Fix evil typefind crasher: getrange() might return a short
5271           buffer at the end of a file, but gst_type_find_peek() must
5272           either return the full data as requested or NULL, but
5273           never a short buffer.
5274
5275 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5276
5277         * gst/gstmessage.c: (gst_message_new_state_changed),
5278         (gst_message_parse_state_changed):
5279         * gst/gstmessage.h:
5280           don't use "new", it's a C++ keyword
5281
5282 2005-10-08  Wim Taymans  <wim@fluendo.com>
5283
5284         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5285         * gst/gstelement.c: (gst_element_post_message):
5286         * gst/gstpipeline.c: (gst_pipeline_change_state):
5287         Small docs and debug updates.
5288
5289 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5290
5291         * docs/gst/gstreamer-sections.txt:
5292         * gst/gstelementfactory.c:
5293         * gst/gstevent.c:
5294         * gst/gsttaglist.c:
5295           more docs
5296
5297 2005-10-08  Wim Taymans  <wim@fluendo.com>
5298
5299         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5300         (gst_bin_dispose), (bin_bus_handler):
5301         Fix typos, add comments.
5302         Clear EOS list when going to PAUSED from any direction and do it
5303         in a threadsafe way.
5304         Get base time in a threadsafe way too.
5305         Fix confusing debug in the change_state function.
5306         Various other small cleanups.
5307         
5308         * gst/gstelement.c: (gst_element_post_message):
5309         Fix very verbose bus posting code.
5310
5311         * gst/gstpipeline.c: (gst_pipeline_class_init),
5312         (gst_pipeline_set_property), (gst_pipeline_get_property),
5313         (gst_pipeline_change_state):
5314         Small ARG_ -> PROP_ cleanup
5315
5316 2005-10-08  Wim Taymans  <wim@fluendo.com>
5317
5318         * gst/gstbin.c: (is_eos), (bin_bus_handler):
5319         Do a less CPU demanding EOS check because we can.
5320
5321 2005-10-08  Wim Taymans  <wim@fluendo.com>
5322
5323         * libs/gst/dataprotocol/dataprotocol.c:
5324         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5325         (gst_dp_packet_from_event):
5326         * libs/gst/dataprotocol/dataprotocol.h:
5327         * libs/gst/dataprotocol/dp-private.h:
5328         It's about time we bump the version number.
5329         Since event types don't fit in the guint8 anymore describing
5330         the payload type, make payload type 16 bits wide.
5331
5332 2005-10-08  Wim Taymans  <wim@fluendo.com>
5333
5334         * docs/design/part-TODO.txt:
5335         * docs/design/part-clocks.txt:
5336         * docs/design/part-events.txt:
5337         * docs/design/part-gstbin.txt:
5338         * docs/design/part-gstelement.txt:
5339         * docs/design/part-gstpipeline.txt:
5340         * docs/design/part-live-source.txt:
5341         * docs/design/part-messages.txt:
5342         * docs/design/part-overview.txt:
5343         * docs/design/part-states.txt:
5344         Many doc updates.
5345
5346 2005-10-08  Wim Taymans  <wim@fluendo.com>
5347
5348         * gst/gstevent.c:
5349         * gst/gstevent.h:
5350         Fix event quark registration.
5351         Add some space between events so we can insert them in the
5352         right groups.
5353
5354 2005-10-08  Wim Taymans  <wim@fluendo.com>
5355
5356         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5357         (gst_base_sink_handle_buffer):
5358         Better log message.
5359
5360         * gst/gstbus.h:
5361         * gst/gstelement.h:
5362         More docs.
5363
5364         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5365         (gst_queue_set_property), (gst_queue_get_property):
5366         * gst/gstqueue.h:
5367         Remove old unused properties.
5368
5369 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5370         * docs/gst/gstreamer-sections.txt:
5371         * gst/gstmessage.c:
5372         * gst/gstmessage.h:
5373         * gst/gstminiobject.c:
5374         * gst/gstminiobject.h:
5375         * gst/gstobject.h:
5376         * gst/gstpad.h:
5377         * gst/gstutils.h:
5378           lots of new docs and doc fixes
5379
5380 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5381
5382         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5383         * gst/gstplugin.h:
5384         * gst/gstregistry.c: (gst_registry_lookup_locked),
5385         (gst_registry_scan_path_level):
5386         * gst/gstregistryxml.c: (load_plugin):
5387           Only ever load one plugin for a given plugin basename.
5388           This ensures correct overriding of GST_PLUGIN_PATH over
5389           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5390           system installed plugins.
5391
5392 2005-10-08  Wim Taymans  <wim@fluendo.com>
5393
5394         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5395         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5396         Prepare for doing QOS.
5397
5398 2005-10-08  Wim Taymans  <wim@fluendo.com>
5399
5400         * check/gst/gstbin.c: (GST_START_TEST):
5401         * check/pipelines/cleanup.c: (GST_START_TEST):
5402         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5403         Allow new clock message too.
5404
5405 2005-10-08  Wim Taymans  <wim@fluendo.com>
5406
5407         * gst/gstmessage.c: (gst_message_new_error),
5408         (gst_message_new_warning), (gst_message_new_tag),
5409         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5410         (gst_message_new_clock_lost), (gst_message_new_new_clock),
5411         (gst_message_new_segment_start), (gst_message_new_segment_done),
5412         (gst_message_parse_state_changed),
5413         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5414         (gst_message_parse_new_clock):
5415         * gst/gstmessage.h:
5416         Also carry the clock in question.
5417
5418 2005-10-08  Wim Taymans  <wim@fluendo.com>
5419
5420         * gst/gstmessage.c: (gst_message_new_custom),
5421         (gst_message_new_eos), (gst_message_new_error),
5422         (gst_message_new_warning), (gst_message_new_tag),
5423         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5424         (gst_message_new_new_clock), (gst_message_new_segment_start),
5425         (gst_message_new_segment_done), (gst_message_parse_state_changed),
5426         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5427         * gst/gstmessage.h:
5428         Clean up.
5429         Added clock related messages.
5430
5431         * gst/gstpipeline.c: (gst_pipeline_change_state):
5432         Post message when the clock changed.
5433
5434         * tools/gst-launch.c: (event_loop):
5435         Print new clock.
5436
5437 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5438
5439         * tools/gst-inspect.c: (print_element_properties_info):
5440           Can't pass NULL strings to g_print() on windows.
5441
5442 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5443
5444         * docs/Makefile.am:
5445         * docs/gst/Makefile.am:
5446         * docs/gst/gstreamer-docs.sgml:
5447         * docs/gst/running.xml:
5448         * docs/version.entities.in:
5449           add a chapter on running GStreamer.
5450           document GST_DEBUG and GST_PLUGIN* env vars
5451
5452 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5453
5454         * Makefile.am:
5455           remove include dir
5456         * configure.ac:
5457           remove PLUGINS_BUILDDIR stuff
5458         * gst/gst.c: (init_post):
5459           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5460         * idiottest.mak:
5461           remove, it was condescending and not needed
5462
5463 2005-10-08  Wim Taymans  <wim@fluendo.com>
5464
5465         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5466         (gst_base_sink_handle_object), (gst_base_sink_event),
5467         (gst_base_sink_wait), (gst_base_sink_handle_event),
5468         (gst_base_sink_change_state):
5469         * gst/base/gstbasesink.h:
5470         Repost EOS message while going to PLAYING if still EOS.
5471         Make sure that when receiving a FLUSH_START we don't attempt
5472         to sync on the clock anymore.
5473
5474 2005-10-08  Wim Taymans  <wim@fluendo.com>
5475
5476         * tools/gst-launch.c: (event_loop):
5477         Better message printout.
5478
5479 2005-10-08  Wim Taymans  <wim@fluendo.com>
5480
5481         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5482         (gst_bin_child_proxy_get_children_count):
5483         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5484         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5485         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5486         (gst_child_proxy_set_valist):
5487         * gst/parse/grammar.y:
5488         Make ChildProxy threadsafe and fix mem leaks.
5489
5490 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5491
5492         * gst/gst.c: (init_post):
5493           debug the GST_PLUGIN_ env vars
5494
5495 2005-10-08  Wim Taymans  <wim@fluendo.com>
5496
5497         * check/gst/gstbin.c: (GST_START_TEST):
5498         * check/gst/gstmessage.c: (GST_START_TEST):
5499         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5500         * gst/gstelement.c: (gst_element_commit_state),
5501         (gst_element_lost_state):
5502         * gst/gstmessage.c: (gst_message_new_state_changed),
5503         (gst_message_parse_state_changed):
5504         * gst/gstmessage.h:
5505         * tools/gst-launch.c: (event_loop):
5506         Added extra field to STATE_CHANGE message with the pending
5507         state, which will be different from the new state soon.
5508
5509 2005-10-08  Wim Taymans  <wim@fluendo.com>
5510
5511         * gst/gstbus.c: (gst_bus_pop):
5512         * gst/gstclock.c:
5513         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5514         Small cleanups and doc updates.
5515
5516 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5517
5518         * gst/gst.c: (init_pre):
5519         * gst/gstbin.c: (gst_bin_add_func):
5520           log distributing clocks and base time
5521         * gst/gstregistry.c: (gst_registry_add_plugin),
5522         (gst_registry_scan_path_level), (gst_registry_scan_path):
5523           clean up the debugging output a little
5524         * gst/gstutils.c: (gst_element_state_get_name):
5525           warn about a memleak (I've actually seen this be used, though
5526           it was probably a bug)
5527
5528 2005-10-07  Wim Taymans  <wim@fluendo.com>
5529
5530         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5531         (gst_base_src_init), (gst_base_src_default_newsegment),
5532         (gst_base_src_newsegment), (gst_base_src_do_seek),
5533         (gst_base_src_loop), (gst_base_src_start):
5534         * gst/base/gstbasesrc.h:
5535         Make the newsegment event customizable by subclasses.
5536
5537 2005-10-07  Wim Taymans  <wim@fluendo.com>
5538
5539         * gst/gstevent.c: (gst_event_new_buffersize),
5540         (gst_event_parse_buffersize):
5541         * gst/gstevent.h:
5542         New event for future idea.
5543
5544 2005-10-07  Andy Wingo  <wingo@pobox.com>
5545
5546         * gst/gstelement.c (gst_element_post_message): Doc update.
5547
5548         * docs/gst/gstreamer-sections.txt: Update.
5549
5550         * gst/gstmessage.c (gst_message_new_application): Made into a
5551         function like honest API calls.
5552         (gst_message_new_element): New message type.
5553
5554         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5555
5556         * check/elements/fakesrc.c (test_no_preroll): New check, checks
5557         that setting a live fakesrc to PAUSED returns NO_PREROLL both
5558         times.
5559
5560         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5561         NO_PREROLL from gst_element_change_state to fall through.
5562
5563 2005-10-07  Wim Taymans  <wim@fluendo.com>
5564
5565         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5566         (gst_ghost_pad_do_activate_push):
5567         Activating a ghostpad with no internal pad in push mode
5568         is ok.
5569
5570 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5571
5572         * gst/gstobject.h:
5573           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5574           Fixes compilation on Windows.
5575
5576 2005-10-07  Michael Smith <msmith@fluendo.com>
5577
5578         * tools/gst-inspect.c:
5579           Print out feature and plugin count at the end when printing out
5580           all features.
5581
5582 2005-10-04  Michael Smith <msmith@fluendo.com>
5583
5584         * gst/gsterror.c: (_gst_stream_errors_init):
5585           Add another error string used in a few existing plugins.
5586
5587         * gst/gstplugin.c:
5588         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5589         * tools/gst-inspect.c: (print_element_info):
5590           When a feature disappears from a plugin (and the feature exists in
5591           the cached registry file), things went horribly wrong. This isn't a
5592           complete fix, we should actually be removing the 'missing' features
5593           from the features list when we load the actual plugin. That's not
5594           yet implemented. 
5595
5596 2005-10-04  Johan Dahlin  <johan@gnome.org>
5597
5598         * check/gst/gstiterator.c: (GST_START_TEST):
5599         * gst/gstbin.c: (gst_bin_iterate_elements),
5600         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5601         * gst/gstelement.c: (gst_element_iterate_pads):
5602         * gst/gstformat.c: (gst_format_iterate_definitions):
5603         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5604         (gst_iterator_new_list), (gst_iterator_filter):
5605         * gst/gstiterator.h:
5606         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5607         Add a GType to GstIterator, update callsites and tests.
5608
5609 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5610
5611         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5612           give events a chance to be handled by event probes when the pad
5613           is not linked
5614
5615 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5616
5617         * gst/gstevent.c: (gst_event_type_get_name),
5618         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5619         * gst/gstevent.h:
5620           add string representations for event types
5621
5622 2005-10-06  Wim Taymans  <wim@fluendo.com>
5623
5624         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5625         Don't use NULL pointers.
5626
5627 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5628
5629         * gst/gst_private.h:
5630         * gst/gstbus.c:
5631         * gst/gstelement.c:
5632         * gst/gstinfo.c:
5633         * gst/gstpluginfeature.c:
5634           widen the debug category in output to fit the biggest one we have
5635           add a bus category and use it
5636           play with the colors
5637           fix up some categories
5638
5639 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5640
5641         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5642           add push activation of sink ghost pads.
5643           Andye, please verify
5644
5645 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5646
5647         * gst/gstutils.c: (gst_element_link_pads):
5648           fix a bug in the case where neither element has a pad
5649         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5650           add a test for that case
5651
5652 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5653
5654         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5655           emit have-data before checking for peers.  This allows
5656           for probe handlers to connect elements.  This helps autopluggers.
5657         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5658         (gst_pad_suite):
5659           add six checks, linked/unlinked with no/true/false probe
5660
5661 2005-10-04  Wim Taymans  <wim@fluendo.com>
5662
5663         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5664         (gst_fake_sink_event), (gst_fake_sink_preroll),
5665         (gst_fake_sink_render), (gst_fake_sink_change_state):
5666         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5667         (gst_fake_src_get_property), (gst_fake_src_create),
5668         (gst_fake_src_stop):
5669         * gst/elements/gstidentity.c: (gst_identity_stop):
5670         Protect last_message with lock.
5671
5672 2005-10-04  Edward Hervey  <edward@fluendo.com>
5673
5674         * gst/gstformat.h: 
5675         Added precision in the comments for GST_FORMAT_DEFAULT
5676
5677 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5678
5679         * tools/gst-launch.c: (main):
5680           Don't try to run erroneous pipelines.
5681
5682 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5683
5684         * gst/gstbus.c: We don't need this header.
5685
5686 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5687
5688         * configure.ac:
5689           back to development
5690
5691 === release 0.9.3 ===
5692
5693 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5694
5695         * README:
5696         * configure.ac:
5697           Releasing 0.9.3, "Unregistered"
5698
5699 2005-10-03  Andy Wingo  <wingo@pobox.com>
5700
5701         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5702         whereby calling a pad's activatepush() function can start a thread
5703         that starts to push or pull before the pad gets the FLUSHING flag
5704         unset. Hack around it by holding the stream lock until the flag is
5705         set. Need to replace this with a proper solution. Together with
5706         the ghost pad fixes, this fixes mp3 playing/tagreading.
5707
5708         * docs/design/part-gstghostpad.txt: Add a note about activation of
5709         proxy pads outside of ghost pads.
5710
5711         * gst/gstghostpad.c: Implement the ghost pad activation design.
5712
5713 2005-10-02  Andy Wingo  <wingo@pobox.com>
5714
5715         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5716         It is volatile, after all.
5717
5718         * docs/design/part-gstghostpad.txt: Flesh out activation with
5719         ghost pads.
5720
5721         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5722         GST_DEBUG_FUNCPTR.
5723
5724 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5725
5726         * configure.ac:
5727           Fix (unused) AM_CONDITIONAL tests.
5728
5729 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5730
5731         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5732
5733         * gst/gstutils.c: (gst_pad_query_convert):
5734           Add assertion that makes sure src_val is >=0, just like
5735           gst_query_new_convert() has. (#315895)
5736
5737 2005-09-30  Edward Hervey  <edward@fluendo.com>
5738
5739         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5740         Let's not iterate pads we're not interested in, it avoids getting 
5741         sky-high refcounts on sinkpad.
5742
5743 2005-09-30  Wim Taymans  <wim@fluendo.com>
5744
5745         * gst/gstelement.c: (gst_element_set_state),
5746         (gst_element_change_state):
5747         Small tweak, element in ASYNC remains ASYNC.
5748
5749 2005-09-30  Wim Taymans  <wim@fluendo.com>
5750
5751         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5752         Only error is an error.
5753
5754         * gst/gstbin.c: (gst_bin_change_state):
5755         Better debugging.
5756
5757         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5758         Also call pad_block in pad alloc.
5759
5760         * gst/gstutils.c: (gst_flow_get_name):
5761         Better debugging.
5762
5763 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5764
5765         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5766         (gst_base_src_get_range):
5767           Fix documentation typos. Add some more debug info.
5768
5769 2005-09-29  David Schleef  <ds@schleef.org>
5770
5771         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5772           more end-user friendly.
5773         * tools/gst-inspect.c: (main): Check if command-line argument is
5774           a file and attempt to load that file as a plugin.
5775
5776 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5777
5778         * check/gst/gstbin.c:
5779         * check/states/sinks.c:
5780           fix tests for the new warning
5781         * check/gst/gstpipeline.c:
5782           add a test for pipeline and bus interaction
5783         * gst/gstelement.c:
5784           elements should be NULL if they get disposed; add a warning if not
5785
5786 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5787
5788         * gst/gstobject.c:
5789           for 2.6 refcounting, make debug log more correct by printing
5790           the actual refcounts at the time of swap (Wim)
5791
5792 2005-09-29  Andy Wingo  <wingo@pobox.com>
5793
5794         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5795         removes signal watches previously added via
5796         gst_bus_add_signal_watch.
5797         (gst_bus_add_signal_watch): Don't return the source id, just store
5798         it on the bus if there wasn't an id already.
5799
5800         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5801         add_signal_watch and remove_signal_watch.
5802
5803 2005-09-29  Edward Hervey  <edward@fluendo.com>
5804
5805         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5806         Better if we actually iterate the list :)
5807
5808 2005-09-29  Wim Taymans  <wim@fluendo.com>
5809
5810         * check/gst/gstbin.c: (GST_START_TEST):
5811         Change for new bus API.
5812
5813         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5814         (send_messages), (GST_START_TEST), (gstbus_suite):
5815         Change for new bus signal API.
5816
5817         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5818         (gst_bus_source_prepare), (gst_bus_source_check),
5819         (gst_bus_create_watch), (gst_bus_add_watch_full),
5820         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5821         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5822         * gst/gstbus.h:
5823         Remove support for multiple GSources operating on different
5824         message types as it is too complex and unneeded when using
5825         signals.
5826         Added support for receiving signals from the bus.
5827
5828 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5829
5830         * docs/libs/tmpl/gstdataprotocol.sgml:
5831         * docs/manual/advanced-dataaccess.xml:
5832         * gst/elements/gstcapsfilter.c:
5833         * gst/gstutils.c:
5834           rename filter-caps to caps property
5835
5836 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5837
5838         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5839           More robust fraction string parsing.
5840
5841         * docs/pwg/appendix-porting.xml:
5842           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5843
5844 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5845
5846         * gst/gstcaps.c: (gst_caps_do_simplify):
5847           Thou shalt not free a structure and then continue using it
5848           in the next loop iteration.
5849
5850         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5851         (gst_caps_suite):
5852           Add test case for caps simplification.
5853
5854 2005-09-29  Wim Taymans  <wim@fluendo.com>
5855
5856         * check/gst/gstbin.c: (GST_START_TEST):
5857         Oops.
5858
5859 2005-09-29  Wim Taymans  <wim@fluendo.com>
5860
5861         * check/gst/gstbin.c: (GST_START_TEST):
5862         Add bus to bin.
5863
5864         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5865         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5866         (find_element), (gst_bin_sort_iterator_next),
5867         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5868         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5869         (gst_bin_change_state), (gst_bin_dispose):
5870         A bin does not have a bus, it gets the bus from the parent.
5871
5872         * gst/gstelement.c: (gst_element_requires_clock),
5873         (gst_element_provides_clock), (gst_element_is_indexable),
5874         (gst_element_is_locked_state), (gst_element_change_state),
5875         (gst_element_set_bus_func):
5876         Small cleanups.
5877
5878         * gst/gstpipeline.c: (gst_pipeline_class_init),
5879         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5880         The pipeline provides a bus.
5881
5882 2005-09-28  Johan Dahlin  <johan@gnome.org>
5883
5884         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5885         gst_structure_get_enum instead of gst_structure_get_int
5886
5887         * gst/gststructure.c (gst_structure_get_enum): Impl.
5888
5889         * gst/gststructure.h (gst_structure_get_enum): Add
5890
5891         * docs/gst/gstreamer-sections.txt: Ditto
5892
5893         * gst/gstmessage.c (gst_message_new_state_changed): Use
5894         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5895         which does introspection.
5896         Reviewed by Christian Schaller
5897
5898 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5899
5900         * gst/gstinfo.c: (gst_debug_log_default):
5901           don't do dummy g_strdup()s
5902         * libs/gst/controller/gstcontroller.c:
5903         (on_object_controlled_property_changed),
5904         (gst_controlled_property_new), (gst_controller_new_valist),
5905         (gst_controller_new_list),
5906         (gst_controller_remove_properties_valist), (gst_controller_set),
5907         (gst_controller_get), (gst_controller_sync_values),
5908         (gst_controller_get_value_array), (_gst_controller_class_init),
5909         (gst_controller_get_type):
5910         * libs/gst/controller/gstcontroller.h:
5911         * libs/gst/controller/gstinterpolation.c:
5912         (gst_controlled_property_find_timed_value_node):
5913           convert // to /**/ comments
5914
5915 2005-09-28  Wim Taymans  <wim@fluendo.com>
5916
5917         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5918         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5919         (gst_bus_sync_signal_handler):
5920         * gst/gstbus.h:
5921         Added async-message and sync-message signals to the bus.
5922         Added helper BusFunc to emit signals for all posted messages.
5923
5924         * gst/gstmessage.c: (gst_message_type_get_name),
5925         (gst_message_type_to_quark), (gst_message_get_type):
5926         * gst/gstmessage.h:
5927         Register quarks for message names.
5928
5929 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5930
5931         * docs/libs/gstreamer-libs-sections.txt:
5932         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5933         (gst_controller_new_list):
5934         * libs/gst/controller/gstcontroller.h:
5935           added another constructor for language bindings
5936
5937 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5938
5939         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5940           add another check
5941         * gst/gstbus.c:
5942           add some doc
5943         * gst/gstinfo.c: (_gst_debug_init):
5944           slightly more readable color for refcount debugging
5945
5946 2005-09-28  Wim Taymans  <wim@fluendo.com>
5947
5948         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5949         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5950         (find_element), (gst_bin_sort_iterator_next),
5951         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5952         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5953         (gst_bin_change_state), (gst_bin_dispose):
5954         Small doc fixes. get_clock -> provide_clock.
5955
5956         * gst/gstelement.c: (gst_element_class_init),
5957         (gst_element_provides_clock), (gst_element_provide_clock),
5958         (gst_element_get_clock), (gst_element_commit_state),
5959         (gst_element_lost_state):
5960         * gst/gstelement.h:
5961         Make get/set_clock() symetric. Add provide_clock vmethod since
5962         that is actually what this function does.
5963
5964         * gst/gstpipeline.c: (gst_pipeline_class_init),
5965         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5966         (gst_pipeline_get_clock):
5967         get_clock -> provide_clock.
5968
5969 2005-09-28  Andy Wingo  <wingo@pobox.com>
5970
5971         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5972         lieu of real docs...
5973
5974         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5975
5976 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5977
5978         * gst/elements/gstcapsfilter.c:
5979         * gst/elements/gstfakesink.c:
5980         * gst/elements/gstfakesrc.c:
5981         * gst/elements/gstfdsink.c:
5982         * gst/elements/gstfdsrc.c:
5983         * gst/elements/gstfilesink.c:
5984         * gst/elements/gstfilesrc.c:
5985         * gst/elements/gstidentity.c:
5986         * gst/elements/gsttee.c:
5987         * gst/elements/gsttypefindelement.c:
5988           Make element details static.
5989
5990 2005-09-28  Wim Taymans  <wim@fluendo.com>
5991
5992         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5993         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5994         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5995         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5996         (gst_bin_change_state), (gst_bin_dispose):
5997         Some documentation updates.
5998         Clean up dispose handlers.
5999
6000         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
6001         * gst/gstpad.c: (gst_pad_dispose):
6002         Clean up dispose handler.
6003
6004         * gst/gstpipeline.c: (gst_pipeline_change_state):
6005         Removed spurious UNLOCK.
6006
6007 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
6008
6009         * docs/gst/gstreamer-sections.txt:
6010         * gst/base/gstbasesrc.h:
6011         * gst/gstelement.h:
6012         * gst/gstevent.h:
6013         * gst/gstobject.h:
6014         * gst/gstpad.h:
6015         * gst/gstpipeline.c:
6016         * gst/gstpipeline.h:
6017         * gst/gstutils.h:
6018         * gst/gstxml.h:
6019           added two new functions to the docs
6020                 documents all undocumented GstXXXFlags
6021                 completed some incomplete docs 
6022
6023 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6024
6025         * gst/gstbin.c: (gst_bin_dispose):
6026         * gst/gstelement.c: (gst_element_dispose):
6027           remove now useless and leaky resurrection code in dispose
6028         * gst/base/gstbasesrc.c: (gst_base_src_init):
6029         * gst/gstelementfactory.c: (gst_element_factory_create):
6030         * gst/gstobject.c: (gst_object_set_parent):
6031           add some debugging
6032
6033 2005-09-27  Wim Taymans  <wim@fluendo.com>
6034
6035         * docs/design/part-TODO.txt:
6036         Update TODO.
6037
6038         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6039         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6040         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6041         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6042         (gst_bin_change_state):
6043         * gst/gstelement.h:
6044         Remove element variable, we keep element info in the iterator now.
6045
6046 2005-09-27  Andy Wingo  <wingo@pobox.com>
6047
6048         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
6049         values.
6050
6051 2005-09-27  Wim Taymans  <wim@fluendo.com>
6052
6053         * check/gst/gstbin.c: (GST_START_TEST):
6054         Enable check that works now.
6055
6056         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6057         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6058         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6059         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6060         (gst_bin_change_state):
6061         * gst/gstbin.h:
6062         Redid the state change algorithm using a topological sort algo.
6063         Handles all cases correctly.
6064         Exposed iterator for state change order.
6065
6066         * gst/gstelement.h:
6067         Temp storage for state changes. Need to get rid of this soon.
6068
6069 2005-09-27  Wim Taymans  <wim@fluendo.com>
6070
6071         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
6072         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
6073         (link_fold_func), (gst_pad_proxy_setcaps):
6074         Leak fixes, the fold functions need to unref the passed object and
6075         _get_parent_*() returns ref to parent.
6076
6077 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6078
6079         * check/gst/gstbuffer.c: (test_make_writable):
6080           Plug leak in test case and fix 'make check-valgrind'
6081
6082 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6083
6084         * gst/gstbuffer.c: (gst_subbuffer_init):
6085           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
6086           works correctly in all circumstances (we could have just copied
6087           the parent buffer's readonly flag, but conceptually it seems
6088           cleaner to mark all subbuffers as read-only). (based on patch
6089           by Alessandro Decina, #314710).
6090         
6091         * check/gst/gstbuffer.c: (create_read_only_buffer),
6092         (test_make_writable), (test_subbuffer_make_writable),
6093         (gst_test_suite):
6094           Add some tests for gst_buffer_make_writable().
6095
6096 2005-09-27  Wim Taymans  <wim@fluendo.com>
6097
6098         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
6099         use gst_object_has_ancestor().
6100
6101         * gst/gstobject.c: (gst_object_has_ancestor):
6102         * gst/gstobject.h:
6103         gst_object_has_ancestor() copied from gstbin.c as it is a
6104         usefull function.
6105
6106         * tests/instantiate/create.c: (create_all_elements):
6107         * tests/lat.c: (handoff_src), (handoff_sink):
6108         * tests/sched/runxml.c: (main):
6109         * tests/seeking/seeking1.c: (main):
6110         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6111         (main):
6112         Fix compilation of some tests.
6113
6114 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6115
6116         * gst/gsterror.h:
6117           Remove comment. GST_TYPE_G_ERROR is here to stay,
6118           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
6119           (#316961, #300610).
6120
6121 2005-09-26  Wim Taymans  <wim@fluendo.com>
6122
6123         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6124         Added check that shows error in state change order.
6125
6126 2005-09-26  Wim Taymans  <wim@fluendo.com>
6127
6128         * gst/gstbin.c: (gst_bin_change_state):
6129         Make state change function use 3 queues again, we were
6130         adding elements in the wrong order.
6131
6132         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6133         Some debug info,
6134
6135         * gst/gstpad.c: (gst_pad_dispose):
6136         Added some debug info first.
6137
6138 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6139
6140         * docs/design/draft-push-pull.txt:
6141         * docs/design/part-events.txt:
6142         * docs/design/part-overview.txt:
6143         * docs/design/part-scheduling.txt:
6144           Replace all _pull_region() with _pull_range()
6145           
6146 2005-09-26  Andy Wingo  <wingo@pobox.com>
6147
6148         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
6149
6150         * check/gst-libs/controller.c: Update for controller api change.
6151
6152         * configure.ac: 
6153         * tests/Makefile.am:
6154         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
6155         over by GLib bug 118439.
6156         
6157         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
6158         routines to a function.
6159
6160         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
6161
6162         * libs/gst/controller/gsthelper.c:
6163         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
6164         (gst_object_sync_values): Renamed from sink_values. Ugh.
6165
6166         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
6167
6168         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
6169         Renamed from controller_key, as it is exported.
6170
6171         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
6172
6173 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6174
6175         * gst/Makefile.am:
6176         * gst/gst.h:
6177         * gst/gstpad.h:
6178         * gst/gstpadtemplate.h:
6179         * gst/gstquery.c:
6180         * gst/gstquery.h:
6181         * gst/gstqueryutils.c:
6182         * gst/gstqueryutils.h:
6183           remove queryutils headers after moving the two used functions
6184           to gstquery.  also fixes build problem for gstsiddec
6185
6186 2005-09-26  Michael Smith <msmith@fluendo.com>
6187
6188         * tools/gst-launch.1.in:
6189         Correct documentation in manpage of debug syntax
6190
6191 2005-09-26  Wim Taymans  <wim@fluendo.com>
6192
6193         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6194         (gst_base_src_is_seekable), (gst_base_src_change_state):
6195         Some more debugging info.
6196
6197 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6198
6199         * docs/gst/gstreamer-sections.txt:
6200         * gst/base/gstbasetransform.h:
6201         * gst/gstindex.h:
6202           added more docs
6203
6204 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6205
6206         * docs/gst/.cvsignore:
6207         * docs/gst/tmpl/.cvsignore:
6208         * docs/gst/tmpl/gstpipeline.sgml:
6209         * docs/gst/tmpl/gstplugin.sgml:
6210         * gst/gstpipeline.c:
6211         * gst/gstplugin.c:
6212         * gst/gstplugin.h:
6213           inlined the last two docs files
6214           removed the tmpl directory from cvs (no more conflicts here!)
6215
6216 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6217
6218         * docs/gst/gstreamer-sections.txt:
6219         * docs/gst/tmpl/.cvsignore:
6220         * docs/gst/tmpl/gstpad.sgml:
6221         * docs/gst/tmpl/gstpadtemplate.sgml:
6222         * gst/Makefile.am:
6223         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6224         (gst_pad_finalize), (gst_pad_set_pad_template):
6225         * gst/gstpad.h:
6226         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6227         (gst_pad_template_class_init), (gst_pad_template_init),
6228         (gst_pad_template_dispose), (name_is_valid),
6229         (gst_static_pad_template_get), (gst_pad_template_new),
6230         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
6231         (gst_pad_template_pad_created):
6232         * gst/gstpadtemplate.h:
6233           inlined two more docs
6234           factored gstpadtemplate out of gstpad
6235
6236 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6237
6238         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6239         (test_children_state_change_order_semi_sink):
6240           Fix test case: we can't rely on a fixed state change order when
6241           going from READY => PAUSED because the sink might commit its 
6242           new state first when the first buffer created by the source 
6243           reaches the sink before the source has finished its change state.
6244           (Test case still fails at times, see #316856, comment 5 onwards)
6245
6246 2005-09-24  Wim Taymans  <wim@fluendo.com>
6247
6248         * docs/design/part-events.txt:
6249         * docs/design/part-gstbus.txt:
6250         * docs/design/part-gstpipeline.txt:
6251         * docs/design/part-messages.txt:
6252         * docs/design/part-overview.txt:
6253         * docs/design/part-segments.txt:
6254         * gst/gstbin.c:
6255         * gst/gstbuffer.c:
6256         * gst/gstclock.c:
6257         * gst/gstelement.c:
6258         * gst/gstevent.c:
6259         * gst/gstfilter.c:
6260         * gst/gstiterator.c:
6261         Various documentation updates.
6262
6263 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6264
6265         * gst/gstclock.h:
6266           Well, that's embarassing.  Luckily we weren't using
6267           GST_CLOCK_DIFF anywhere.
6268
6269 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6270
6271         * common/gtk-doc.mak:
6272           don't fail on building XML, FC4 slave shows a bunch of doc
6273           missing bits that I don't get
6274         * gst/gstpad.c:
6275         * gst/gstpipeline.c:
6276         * gst/gststructure.c:
6277           some doc updates
6278
6279 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6280
6281         * docs/design/part-gstbin.txt:
6282         * docs/design/part-gstbus.txt:
6283         * gst/gstbus.c:
6284           Add blurb about how the bus goes into flushing mode and
6285           drops all messages when its bin goes from READY into NULL 
6286           state.
6287
6288 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6289
6290         * docs/gst/gstreamer-sections.txt:
6291         * gst/gststructure.c: (gst_structure_get_clock_time):
6292         * gst/gststructure.h:
6293           add a method to get a GstClockTime out of a structure
6294
6295 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6296
6297         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6298         (test_children_state_change_order_semi_sink), (gst_bin_suite):
6299           Added test to check state change order in bins (can still be made
6300           to fail here under heavy disk load; bails out with 'Push on pad
6301           fakesink:sink0, but it was not activated in push mode').
6302
6303         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6304           Fix state change order when there is only a semi sink (#316856)
6305
6306         * gst/gstbus.c: (gst_bus_class_init):
6307           Use _class_peek_parent(), not _class_ref(); fix docs to say
6308           'default main context' instead of 'mainloop' where that is
6309           what's meant.
6310
6311         * gst/gstelement.c: (gst_element_commit_state),
6312         (gst_element_set_state):
6313           Fix typos in debug messages
6314
6315 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6316
6317         * docs/README:
6318         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6319         * gst/gstpluginfeature.c:
6320         * gst/gstutils.c:
6321           various doc updates
6322         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6323           change an assert into an error until it gets fixed properly
6324
6325 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
6326
6327         * docs/gst/gstreamer-sections.txt:
6328         * docs/gst/tmpl/.cvsignore:
6329         * docs/gst/tmpl/gstelement.sgml:
6330         * docs/gst/tmpl/gstinfo.sgml:
6331         * docs/gst/tmpl/gstobject.sgml:
6332         * gst/gstelement.c:
6333         * gst/gstelement.h:
6334         * gst/gstinfo.c:
6335         * gst/gstinfo.h:
6336         * gst/gstobject.c: (gst_object_class_init):
6337         * gst/gstobject.h:
6338           inlined 3 more biiiig doc files and added some missing docs on the fly
6339
6340 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6341
6342         * check/gst/.cvsignore:
6343         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6344         * gst/gstregistryxml.c: (load_plugin),
6345         (gst_registry_xml_save_plugin):
6346           put back source in registry.  add checks for find_plugin.
6347         * testsuite/states/bin.c: (assert_state), (empty_bin),
6348         (test_adding_one_element), (main):
6349         * testsuite/states/locked.c: (main):
6350           some compile/run fixes
6351
6352 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6353
6354         * check/gst/gstvalue.c: (GST_START_TEST):
6355           fix leaks in the test itself
6356
6357 2005-09-22  Wim Taymans  <wim@fluendo.com>
6358
6359         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6360         (gst_base_sink_send_event), (gst_base_sink_peer_query),
6361         (gst_base_sink_query):
6362         Prepare for more accurate position reporting and query
6363         handling.
6364
6365         * gst/gstelement.c: (gst_element_send_event),
6366         (gst_element_set_state):
6367         Add some comment.
6368
6369 2005-09-22  Wim Taymans  <wim@fluendo.com>
6370
6371         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6372         (gst_query_parse_segment):
6373         * gst/gstquery.h:
6374         More documentation.
6375         Add segment query for future use.
6376
6377 2005-09-22  Wim Taymans  <wim@fluendo.com>
6378
6379         * gst/gstbin.c: (gst_bin_add_func):
6380         Some more debug info.
6381
6382         * gst/gstelement.c: (gst_element_send_event):
6383         Simplify send_event
6384
6385         * gst/gstelement.h:
6386         Don't know how flags got broken.
6387
6388         * gst/gstquery.h:
6389         Added new query.
6390
6391 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6392
6393         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6394           Add simplistic test suite for GST_TYPE_DATE serialisation and
6395           deserialisation.
6396
6397 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6398
6399         * docs/gst/gstreamer-sections.txt:
6400         * gst/gststructure.c: (gst_structure_set_valist),
6401         (gst_structure_get_date):
6402         * gst/gststructure.h:
6403         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6404         (gst_date_copy), (gst_value_compare_date),
6405         (gst_value_serialize_date), (gst_value_deserialize_date),
6406         (gst_value_transform_date_string),
6407         (gst_value_transform_string_date), (_gst_value_initialize):
6408         * gst/gstvalue.h:
6409           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6410           bunch of utility functions along with a hack that checks that
6411           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6412           is required. Part of the grand scheme in #170777.
6413
6414 2005-09-22  Andy Wingo  <wingo@pobox.com>
6415
6416         * gst/gstconfig.h.in: Psych out gtk-doc.
6417
6418         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6419
6420         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6421
6422         * tools/gst-inspect.c (print_element_list): Plug some
6423         inconsequential leaks.
6424
6425         * gst/gstregistry.c (gst_registry_get_default): Doc.
6426
6427         * check/gst/gstplugin.c: 
6428         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6429         * gst/gstelementfactory.c (gst_element_factory_create): 
6430         * gst/gstindexfactory.c (gst_index_factory_create): Update for
6431         refcount changes.
6432
6433         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6434         (gst_plugin_feature_load): Doc, don't eat refs.
6435
6436         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6437         (gst_plugin_list_free): Doc.
6438         (gst_plugin_load_file): Doc updates.
6439
6440         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6441         accessors returning refcounted objects, return a ref.
6442
6443         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6444         accessor for caps. IDEMPOTENCE. Oh yes.
6445
6446 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
6447
6448         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6449
6450         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6451         (_gst_debug_register_funcptr):
6452           Add mutex to serialise access to the hash table with
6453           the function pointer => function name string mapping;
6454           make that hash table static scope (#316809).
6455
6456         * gst/registries/.cvsignore:
6457           Remove left-over file.
6458
6459 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6460
6461         * docs/pwg/appendix-porting.xml:
6462           And something about newsegment events and caps-on-buffers to
6463           the porting guide (feel free to improve).
6464
6465 2005-09-21  Andy Wingo  <wingo@pobox.com>
6466
6467         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6468         data and event probes on the same pad.
6469         (test_buffer_probe_once): Test that removing probes from within
6470         the probe functions works.
6471
6472 2005-09-21  Andy Wingo  <wingo@pobox.com>
6473
6474         * check/gst/gstutils.c: New file.
6475         (test_buffer_probe_n_times): A simple buffer probe test. More to
6476         come, foolios.
6477
6478         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6479         have-data::buffer, not have-data.
6480         (gst_pad_add_event_probe): Likewise for have-data::event.
6481         (gst_pad_add_data_probe): More docs. The part about 'resolving the
6482         peer' isn't quite right yet though.
6483         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
6484         (gst_pad_remove_data_probe): Change to take the guint handler_id
6485         as their arg, not the function+data, which is more glib-like.
6486
6487         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6488         the signal emission to indicate if the data is a buffer or an
6489         event.
6490         (gst_pad_get_type): Initialize buffer and event quarks.
6491         (gst_pad_class_init): have-data is now a detailed signal, yes it
6492         is.
6493
6494 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6495
6496         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6497         * gst/gstutils.c: (gst_util_set_value_from_string),
6498         (gst_util_set_object_arg):
6499           Don't put functional code in g_return_if_fail() or
6500           g_return_val_if_fail() statements, otherwise things will 
6501           break when G_DISABLE_CHECKS is defined during compilation.
6502
6503 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6504
6505         * docs/gst/tmpl/.cvsignore:
6506         * docs/gst/tmpl/gstvalue.sgml:
6507         * gst/gstvalue.c:
6508         * gst/gstvalue.h:
6509           inlied another one and added  some obvious docs
6510
6511 2005-09-21  Wim Taymans  <wim@fluendo.com>
6512
6513         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6514         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6515         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6516         (gst_fdsrc_get_property), (gst_fdsrc_create):
6517         * gst/elements/gstfdsrc.h:
6518         Properly implement fdsrc. Removed signal and timeout,
6519         better implemented somewhere else.
6520
6521 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6522
6523         * docs/gst/tmpl/.cvsignore:
6524         * docs/gst/tmpl/gstimplementsinterface.sgml:
6525         * gst/gstinterface.c:
6526           inlined more docs
6527
6528 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6529
6530         * docs/gst/gstreamer-sections.txt:
6531         * docs/gst/tmpl/.cvsignore:
6532         * docs/gst/tmpl/gstenumtypes.sgml:
6533           remove obsolete doc file
6534
6535 2005-09-21  David Schleef  <ds@schleef.org>
6536
6537         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6538         little beer, fix a little leak.
6539
6540 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6541
6542         * docs/gst/gstreamer-docs.sgml:
6543         * docs/gst/gstreamer-sections.txt:
6544         * docs/gst/tmpl/.cvsignore:
6545         * gst/Makefile.am:
6546         * gst/gst.h:
6547         * gst/gstbin.c:
6548         * gst/gstelement.h:
6549         * gst/gstindex.c: (gst_index_class_init):
6550         * gst/gstindex.h:
6551         * gst/gstindexfactory.c: (gst_index_factory_get_type),
6552         (gst_index_factory_class_init), (gst_index_factory_init),
6553         (gst_index_factory_finalize), (gst_index_factory_new),
6554         (gst_index_factory_destroy), (gst_index_factory_find),
6555         (gst_index_factory_create), (gst_index_factory_make):
6556         * gst/gstindexfactory.h:
6557         * gst/gstpluginfeature.c:
6558         * gst/gstpluginfeature.h:
6559         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6560           more docs inlined, splitted gstindex.{c,h}
6561
6562 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6563
6564         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6565           fix a leak
6566
6567 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6568
6569         * gst/elements/gstfilesink.c: (gst_file_sink_init):
6570           Set sync to FALSE by default.
6571
6572 2005-09-20  Wim Taymans  <wim@fluendo.com>
6573
6574         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6575         (gst_base_sink_init):
6576         Make sync property settable from subclass.
6577
6578         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6579         (gst_fake_sink_change_state):
6580         Set sync to FALSE by default.
6581
6582 2005-09-20  Wim Taymans  <wim@fluendo.com>
6583
6584         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6585         * tools/gst-launch.c: (main):
6586         The timeout handler should have lower priority than the source
6587         so we don't timeout before popping a message with 0 timeout.
6588         Dump error messages after failed state change.
6589
6590 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6591
6592         * tools/gst-inspect.c: (print_element_properties_info):
6593           Fix two typos.
6594
6595 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6596
6597         * check/gst/gstevent.c:
6598         * gst/elements/gstfakesink.c:
6599         * gst/elements/gstfakesink.h:
6600           remove the sync property from fakesink.
6601           has the side effect of setting sync TRUE
6602           for fakesink, which is a change.  Anyone who knows how
6603           to fix this nicely in a GObject-y way, feel free.
6604
6605 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6606
6607         * docs/gst/gstreamer-docs.sgml:
6608           remove probe refsection
6609
6610 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6611
6612         * check/Makefile.am:
6613           disable valgrinding the controller test again
6614         * docs/gst/gstreamer-sections.txt:
6615           update for api-changes
6616
6617 2005-09-20  Wim Taymans  <wim@fluendo.com>
6618
6619         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6620         (gst_base_sink_set_property), (gst_base_sink_get_property),
6621         (gst_base_sink_do_sync):
6622         * gst/base/gstbasesink.h:
6623         Added sync property to basesink to disable clock sync.
6624
6625 2005-09-20  Andy Wingo  <wingo@pobox.com>
6626
6627         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6628         eating the caller's refcount.
6629
6630         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6631         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6632         refcount.
6633
6634         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6635         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6636         of GLib 2.8 public, so we can know which refcount to check in
6637         tests.
6638
6639         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6640         (gst_object_init): Only set the gst refcount if we're going ahead
6641         with the refcount hack.
6642
6643 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6644
6645         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6646         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6647           more leaks plumbed, added more debug-logging
6648         * gst/gstmacros.h:
6649           whitespace fix
6650
6651 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6652
6653         * gst/gstmessage.c:
6654           remove include of gstmemchunk.h
6655
6656 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6657
6658         * gst/gstclock.c: (_gst_clock_id_free):
6659           Commit from the Political Party For More Atomic CVS Commits,
6660           so that people don't waste too much of their day fishing
6661           out obvious leaks out of massive commits.
6662           Oh, and fix a pretty damn obvious leak in the memchunk
6663           removal code.
6664
6665 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6666
6667         * check/Makefile.am:
6668         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6669           plug mem-leak, re-add to valgrindable tests
6670
6671 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6672
6673         * gst/gstplugin.h:
6674           unbreak the build for those who have chronic arthritis
6675           and typing "make check" is just too taxing on the hands
6676
6677 2005-09-20  Andy Wingo  <wingo@pobox.com>
6678
6679         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6680         really want it out, you should fix plugins at the same time.
6681
6682 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6683
6684         * configure.ac:
6685         * docs/gst/gstreamer-sections.txt:
6686         * gst/gstobject.c:
6687           added missing symbols to api docs
6688           disable ref-count hack if we have glib >= 2.8
6689
6690 2005-09-19  David Schleef  <ds@schleef.org>
6691
6692         * docs/gst/Makefile.am: Ignore a few more internal headers
6693         * docs/gst/gstreamer-docs.sgml: Remove old sections
6694         * docs/gst/gstreamer-sections.txt: Remove old sections
6695         * docs/gst/tmpl/gstobject.sgml: update
6696         * docs/gst/tmpl/gstplugin.sgml: update
6697         * docs/gst/tmpl/gstpluginfeature.sgml: update
6698         * docs/random/ds/0.9-suggested-changes: update.
6699         * gst/Makefile.am: remove memchunk and trashstack, since they're
6700           not used.
6701         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6702         * gst/gst.h: don't include some headers
6703         * gst/gstchildproxy.c: add gstmarshal.h
6704         * gst/gstclock.c: Don't use memchunks
6705         * gst/gstminiobject.c: Add some docs
6706         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6707         * gst/gstobject.h: same
6708         * gst/gstplugin.c: include gstmacros.h
6709         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6710         * gst/gstquery.c: don't use memchunks
6711         * gst/gstregistry.c: rename gst_registry_deinit()
6712         * gst/gstregistry.h: same
6713
6714 2005-09-19  David Schleef  <ds@schleef.org>
6715
6716         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6717         * docs/libs/gstreamer-libs-sections.txt:
6718         * docs/libs/tmpl/gstgetbits.sgml:
6719         * docs/libs/tmpl/gstputbits.sgml:
6720
6721 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6722
6723         * win32/gstenumtypes.c:
6724         * win32/gstenumtypes.h:
6725           Update.
6726
6727 2005-09-19  Wim Taymans  <wim@fluendo.com>
6728
6729         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6730         Automatically PAUSE and RESUME a pipeline when a flushing seek
6731         is performed.
6732
6733 2005-09-19  Andy Wingo  <wingo@pobox.com>
6734
6735         * gst/gstregistry.h: Spacing fixen.
6736
6737 2005-09-19  Wim Taymans  <wim@fluendo.com>
6738
6739         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6740         Handle state change failure more correctly.
6741
6742 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6743
6744         * check/Makefile.am:
6745         * check/pipelines/cleanup.c: (run_pipeline):
6746         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6747         (GST_START_TEST):
6748           enable cleanup again after fixing the leak
6749         * docs/README:
6750           some more info on docs
6751
6752 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6753
6754         * check/Makefile.am:
6755           re-enable tests now that leaks are plugged
6756         * check/gst/gst.c:
6757         * check/gst/gstbin.c:
6758         * check/gst/gstpipeline.c:
6759           add some more tests while fixing leaks
6760         * common/check.mak:
6761           make sure binaries are uptodate when valgrinding/gdbing
6762         * gst/gst.c:
6763         * gst/gstelementfactory.c:
6764           remove a ref too many, and add a FIXME for when we get
6765           round to disposing of classes
6766         * gst/gstplugin.c:
6767           fix the refcounting when loading a plugin from a file and
6768           the code pretends that the pointer is the same even though
6769           of course it can change
6770         * gst/gstpluginfeature.c:
6771           unref plugins marked cached (a bit confusing as a name)
6772           as the docs state should be done
6773           various doc additions to explain refcounting
6774         * gst/gstregistry.c:
6775         * gst/gstregistryxml.c:
6776           debugging
6777
6778 2005-09-19  Wim Taymans  <wim@fluendo.com>
6779
6780         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6781         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6782         (send_messages), (GST_START_TEST), (gstbus_suite):
6783         * check/gst/gstpipeline.c: (GST_START_TEST):
6784         * check/pipelines/cleanup.c: (run_pipeline):
6785         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6786         (GST_START_TEST):
6787         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6788         (gst_bus_source_check), (gst_bus_source_dispatch),
6789         (gst_bus_create_watch), (gst_bus_add_watch_full),
6790         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6791         * gst/gstbus.h:
6792         * tools/gst-launch.c: (event_loop):
6793         * tools/gst-md5sum.c: (event_loop):
6794         GstBusHandler -> GstBusFunc, return value has the same meaning as
6795         any other GSource (FALSE == remove source).
6796         _add_watch() and _add_watch_full() now take a MessageType mask to
6797         only handle specific types of messages.
6798         _poll() returns the GstMessage instead of the message type to avoid
6799         race conditions.
6800         _have_pending() takes a MessageType mask now too.
6801         Added testsuite for multiple bus watches.
6802         Fix testsuites and applications for new bus API.
6803
6804 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6805
6806         * check/Makefile.am:
6807           mark a bunch of the tests as to fix until we fix them
6808
6809 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6810
6811         * common/check.mak:
6812           use GST_PLUGIN settings for valgrind tests as well, so we're
6813           valgrinding the correct thing
6814         * gst/gst.c: (init_post):
6815           plug another leak
6816
6817 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6818
6819         * gst/gst.c: (init_post), (gst_deinit):
6820         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6821         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6822         * gst/gstindex.c: (gst_index_factory_class_init),
6823         (gst_index_factory_finalize):
6824         * gst/gstobject.c: (gst_object_dispose):
6825         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6826         (gst_plugin_load_file), (gst_plugin_desc_free):
6827         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6828         (gst_plugin_feature_finalize):
6829         * gst/gstregistry.c: (gst_registry_class_init),
6830         (gst_registry_init), (gst_registry_finalize),
6831         (gst_registry_get_default), (gst_registry_deinit):
6832         * gst/gstregistry.h:
6833         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6834           various cleanups and memleak plugging.  make valgrind is happy now.
6835
6836 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6837
6838         * common/check.mak:
6839           add a check-valgrind target
6840
6841 2005-09-18  David Schleef  <ds@schleef.org>
6842
6843         * tools/gst-inspect.c: Revert the GOption code.
6844
6845 2005-09-17  David Schleef  <ds@schleef.org>
6846
6847         * check/Makefile.am: Fix environment variables.
6848         * check/gst/gstplugin.c: Fix for API changes.
6849         * tools/gst-inspect.c: Fix for API changes.
6850         * tools/gst-xmlinspect.c: Fix for API changes.
6851         * gst/gstelementfactory.c:
6852         * gst/gstplugin.c:
6853         * gst/gstplugin.h:
6854         * gst/gstpluginfeature.c:
6855         * gst/gstpluginfeature.h:
6856         * gst/gstregistry.c:
6857         * gst/gstregistry.h:
6858         * gst/gstregistryxml.c:
6859         * gst/gsttypefind.c:
6860         * gst/gsttypefindfactory.c:
6861         * gst/indexers/gstfileindex.c:
6862         * gst/indexers/gstmemindex.c:
6863         * gst/schedulers/Makefile.am:
6864           Change registry to keep track of both plugins and features,
6865           removing the feature tracking from plugins themselves.
6866
6867 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6868
6869         * check/Makefile.am:
6870         * tools/gst-register.1.in:
6871           remove gst-register
6872
6873 2005-09-15  David Schleef  <ds@schleef.org>
6874
6875         * check/gst/gstplugin.c:
6876         * gst/gstelementfactory.c:
6877         * gst/gstplugin.c:
6878         * gst/gstpluginfeature.c:
6879         * gst/gstregistry.c:
6880           Getting tired of debugging.  Disabled all the unreffing of
6881           plugins and features, which fixes the segfaults, but of
6882           course leaks like crazy.  At least playbin works.
6883
6884 2005-09-15  David Schleef  <ds@schleef.org>
6885
6886         * check/gst/gstplugin.c: (register_check_elements),
6887         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6888         More testing
6889         * gst/elements/gsttypefindelement.c: Fix refcounting.
6890         * gst/gsttypefind.c:
6891         * gst/gsttypefindfactory.c:
6892         * gst/gsttypefindfactory.h:
6893
6894 2005-09-15  David Schleef  <ds@schleef.org>
6895
6896         * gst/gstindex.c: get refcounting correct.
6897         * gst/gstregistry.c: Handle the case where a feature/plugin is
6898           not found.
6899
6900 2005-09-15  David Schleef  <ds@schleef.org>
6901
6902         * check/Makefile.am:
6903         * check/gst/gstplugin.c: Add test
6904         * gst/gstplugin.c: Fix problems noticed by testsuite
6905         * gst/gstplugin.h:
6906         * gst/gstregistry.c: 
6907         * gst/gstregistry.h:
6908
6909 2005-09-15  David Schleef  <ds@schleef.org>
6910
6911         * gst/gstplugin.c: Implement semi-decent recounting and locking
6912           in plugins and plugin features.
6913         * gst/gstplugin.h:
6914         * gst/gstpluginfeature.c:
6915         * gst/gstpluginfeature.h:
6916         * gst/gstregistry.c:
6917
6918 2005-09-15  Michael Smith <msmith@fluendo.com>
6919
6920         * gst/gstregistry.c: (gst_registry_get_feature_list):
6921           Implement this. Makes oggdemux work; decodebin still broken.
6922
6923 2005-09-14  David Schleef  <ds@schleef.org>
6924
6925         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6926           #316076)
6927         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6928         * gst/check/Makefile.am:
6929         * libs/gst/controller/Makefile.am:
6930         * libs/gst/dataprotocol/Makefile.am:
6931
6932 2005-09-14  David Schleef  <ds@schleef.org>
6933
6934         * configure.ac: Remove getbits library.  Nothing uses it, and
6935           it should be in something like liboil if someone did want
6936           to use it.
6937         * libs/gst/Makefile.am:
6938         * libs/gst/getbits/Makefile.am:
6939         * libs/gst/getbits/gbtest.c:
6940         * libs/gst/getbits/getbits.c:
6941         * libs/gst/getbits/getbits.h:
6942         * libs/gst/getbits/gstgetbits_generic.c:
6943         * libs/gst/getbits/gstgetbits_i386.s:
6944         * libs/gst/getbits/gstgetbits_inl.h:
6945
6946 2005-09-14  David Schleef  <ds@schleef.org>
6947
6948         * gst/Makefile.am: Dist glib-compat.h
6949
6950 2005-09-14  David Schleef  <ds@schleef.org>
6951
6952         * configure.ac: Remove gst/registries, since it's no longer used.
6953         * gst/registries/Makefile.am:
6954         * gst/registries/gstlibxmlregistry.c:
6955         * gst/registries/gstlibxmlregistry.h:
6956         * gst/registries/gstxmlregistry.c:
6957         * gst/registries/gstxmlregistry.h:
6958         * gst/registries/registrytest.c:
6959
6960 2005-09-14  David Schleef  <ds@schleef.org>
6961
6962         * gst/glib-compat.h:
6963         * gst/gstregistryxml.c:
6964           Convergence is near.  Seriously.
6965
6966 2005-09-14  David Schleef  <ds@schleef.org>
6967
6968         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6969         * gst/glib-compat.h:
6970           Attempt #4 to appease the buildbots.
6971
6972 2005-09-14  David Schleef  <ds@schleef.org>
6973
6974         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6975           Attempt #3.
6976
6977 2005-09-14  David Schleef  <ds@schleef.org>
6978
6979         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6980         Attempt #2.
6981
6982 2005-09-14  David Schleef  <ds@schleef.org>
6983
6984         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6985           the new functions.
6986
6987 2005-09-14  David Schleef  <ds@schleef.org>
6988
6989         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6990         * gst/glib-compat.h: Add some functions that are in newer versions
6991           of glib than we care to require.
6992         * gst/gstregistryxml.c: Use them.
6993
6994 2005-09-14  David Schleef  <ds@schleef.org>
6995
6996         * po/POTFILES.in: remove gst-register.c
6997
6998 2005-09-14  David Schleef  <ds@schleef.org>
6999
7000         * docs/gst/gstreamer-docs.sgml:
7001         * docs/gst/gstreamer-sections.txt:
7002         * docs/gst/gstreamer.types:
7003         * docs/gst/tmpl/gstelement.sgml:
7004         * docs/gst/tmpl/gstplugin.sgml:
7005         * docs/gst/tmpl/gstpluginfeature.sgml:
7006           Documentation updates for registry changes.
7007
7008 2005-09-14  David Schleef  <ds@schleef.org>
7009
7010         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
7011           because we don't require glib-2.8.
7012
7013 2005-09-14  David Schleef  <ds@schleef.org>
7014
7015         * gst/gstregistryxml.c: Added.  Essentially moved out of the
7016           registries directory.
7017
7018 2005-09-14  David Schleef  <ds@schleef.org>
7019
7020         * check/Makefile.am:
7021         * check/generic/states.c:
7022         * gst/Makefile.am:
7023         * gst/gst.c:
7024         * gst/gst.h:
7025         * gst/gst_private.h:
7026         * gst/gstelementfactory.c:
7027         * gst/gstindex.c:
7028         * gst/gstinfo.c:
7029         * gst/gstplugin.c:
7030         * gst/gstplugin.h:
7031         * gst/gstpluginfeature.c:
7032         * gst/gstpluginfeature.h:
7033         * gst/gstregistry.c:
7034         * gst/gstregistry.h:
7035         * gst/gstregistrypool.c: remove
7036         * gst/gstregistrypool.h: remove
7037         * gst/gsttypefind.c:
7038         * gst/gsttypefindfactory.c:
7039         * gst/gsturi.c:
7040         * tools/Makefile.am:
7041         * tools/gst-compprep.c:
7042         * tools/gst-inspect.c:
7043         * tools/gst-register.c: remove
7044         * tools/gst-xmlinspect.c:
7045           Registry rewrite.  Changes registry from being a file created
7046           by a tool into a simple cache file created automatically by 
7047           libgstreamer.  Removed gst-register (because it's no longer
7048           needed).  Remove registry pools, because we only have one
7049           registry implementation (XML).  Fix up other subsystems as
7050           necessary.
7051
7052 2005-09-13  Michael Smith <msmith@fluendo.com>
7053
7054         * gst/gstconfig.h.in:
7055           Don't Use windows linking attributes for MinGW. Fixes #316157
7056
7057 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7058
7059         * gst/gstutils.c: (set_state_async_thread_func),
7060         (gst_element_set_state_async):
7061           Apparently people think it's better if this function doesn't
7062           try to set the state to whatever state was asked for on the first
7063           call to this function for any object.  Seriously.
7064
7065 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7066
7067         * check/gst/gstpipeline.c: (GST_START_TEST):
7068         * docs/gst/gstreamer-sections.txt:
7069         * gst/gstutils.c: (set_state_async_thread_func),
7070         (gst_element_set_state_async):
7071         * gst/gstutils.h:
7072           add a "gst_element_set_state_async" method that
7073           sets the state and starts a thread to make sure the state
7074           change completes as best as it can
7075
7076 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7077
7078         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
7079           codify design+behaviour in testsuite after discussion
7080
7081 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7082
7083         * docs/gst/tmpl/gstelement.sgml:
7084         * docs/manual/appendix-quotes.xml:
7085           add a quote
7086         * gst/gstelement.c: (gst_element_set_state):
7087           add some debug
7088
7089 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
7090
7091         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7092         (gst_base_transform_prepare_output_buf),
7093         (gst_base_transform_handle_buffer):
7094         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
7095         (gst_capsfilter_prepare_buf):
7096           Remove the requirement for sub-classes to call the parent
7097           implementation of prepare_output_buffer with a wrapper function.
7098           
7099         * gst/gsttaglist.h:
7100         * gst/gsttagsetter.h:
7101           Fix #define wrapper
7102
7103 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
7104
7105         * docs/gst/gstreamer-sections.txt:
7106           more doc cleanups
7107
7108 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7109
7110         * docs/gst/gstreamer-sections.txt:
7111         * docs/gst/tmpl/gstelement.sgml:
7112         * docs/gst/tmpl/gstplugin.sgml:
7113         * gst/gstminiobject.c:
7114         * gst/gstvalue.h:
7115           docs now stop throwing warnings
7116
7117 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7118
7119         * docs/gst/gstreamer-sections.txt:
7120         * docs/gst/gstreamer.types:
7121         * docs/gst/tmpl/gstpad.sgml:
7122         * docs/gst/tmpl/gsttypes.sgml:
7123         * gst/base/gstadapter.h:
7124         * gst/base/gstbasesink.h:
7125         * gst/base/gstbasesrc.h:
7126         * gst/gstbin.h:
7127         * gst/gstbuffer.h:
7128         * gst/gstbus.h:
7129         * gst/gstcaps.h:
7130         * gst/gstclock.h:
7131         * gst/gstelement.h:
7132         * gst/gstevent.h:
7133         * gst/gstmessage.h:
7134         * gst/gstpad.h:
7135         * gst/gststructure.c:
7136         * gst/registries/gstlibxmlregistry.h:
7137           various documentation fixes
7138
7139 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7140
7141         * docs/gst/gstreamer-sections.txt:
7142         * docs/gst/tmpl/gstvalue.sgml:
7143           rearrange gstvalue section
7144         * gst/gstutils.c: (gst_element_state_get_name):
7145           NONE -> VOID
7146         * gst/gstvalue.c: (_gst_value_initialize):
7147         * gst/gstvalue.h:
7148           doc updates
7149
7150 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
7151
7152         * check/gst-libs/controller.c:
7153           Header include fix.
7154         * gst/base/gstbasetransform.c:
7155         (gst_base_transform_default_prepare_buf),
7156         (gst_base_transform_handle_buffer):
7157         * gst/base/gstbasetransform.h:
7158           Some more basetransform changes and fixes to enable sub-classes
7159           that modify buffer metadata only.
7160         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7161         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
7162         (gst_capsfilter_prepare_buf):
7163           If the output pad has fixed allowed caps and input buffers 
7164           don't have any, set the fixed caps on outgoing buffers.
7165
7166 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
7167         * check/elements/identity.c: (GST_START_TEST):
7168           Make the error a little clearer when the test fails because
7169           identity made a copy of the buffer.
7170         * docs/gst/gstreamer-sections.txt:
7171           New symbols in gstbasetransform.h
7172         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7173         (gst_base_transform_init), (gst_base_transform_transform_size),
7174         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7175         (gst_base_transform_default_prepare_buf),
7176         (gst_base_transform_get_unit_size),
7177         (gst_base_transform_buffer_alloc),
7178         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7179         (gst_base_transform_change_state),
7180         (gst_base_transform_set_passthrough),
7181         (gst_base_transform_set_in_place),
7182         (gst_base_transform_is_in_place):
7183         * gst/base/gstbasetransform.h:
7184           Change BaseTransform to separate in_place operate from same_caps
7185           output. in_place implies that the element can perform the transform
7186           on incoming buffers in-place, even if the caps on the output are
7187           different.
7188           Sub-class elements can now implement special buffer allocation
7189           methods for outgoing buffers if they wish to.
7190           Big documentation addition.
7191         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
7192         * gst/elements/gstelements.c:
7193           Changes for basetransform modifications.
7194         * gst/elements/Makefile.am:
7195         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
7196           Compile fix. Extra debug output.
7197
7198 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7199
7200         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
7201         (gst_pad_suite):
7202           add tests for valid pad naming
7203         * gst/check/gstcheck.c: (gst_check_log_message_func),
7204         (gst_check_log_critical_func):
7205           add ASSERT_WARNING
7206           remove printing of code, it is fragile when the code contains
7207           % and the line number is enough info
7208         * gst/check/gstcheck.h:
7209         * gst/gstpad.c: (gst_pad_template_new):
7210           fix memleaks
7211
7212 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7213
7214         * configure.ac:
7215           say what CHECK flags we use
7216         * docs/libs/gstreamer-libs.types:
7217         * libs/gst/controller/Makefile.am:
7218         * libs/gst/controller/gst-controller.c:
7219         * libs/gst/controller/gst-controller.h:
7220         * libs/gst/controller/gst-helper.c:
7221         * libs/gst/controller/gst-interpolation.c:
7222         * libs/gst/controller/gstcontroller.c:
7223         * libs/gst/controller/gsthelper.c:
7224         * libs/gst/controller/gstinterpolation.c:
7225         * tools/gst-inspect.c: (print_plugin_info):
7226           we don't use dashes in header names
7227
7228 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7229
7230         * check/Makefile.am:
7231         * check/gst/.cvsignore:
7232         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
7233         (gst_pipeline_suite), (main):
7234           adding a test for pipelines and state changes
7235         * gst/gstutils.c: (get_state_func):
7236           add some debugging
7237         * gstreamer.spec.in:
7238           fix up spec file
7239
7240 2005-09-08  Michael Smith <msmith@fluendo.com>
7241
7242         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
7243         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
7244         (gst_file_src_is_seekable), (gst_file_src_get_size),
7245         (gst_file_src_start):
7246         * gst/elements/gstfilesrc.h:
7247           Various fixes for unseekable, unmmapable, and non-normal files, so
7248           that fallback to read() rather than mmap() works.
7249         * gst/gstevent.c: (gst_event_new_newsegment):
7250           Allow newsegment events with segment_start == segment_end, as will
7251           correctly happen if you use filesrc on a zero-size file, for
7252           example.
7253
7254 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7255
7256         * gst/gstplugin.c: (gst_plugin_load_file):
7257           Call g_module_close when we don't load the module
7258
7259         * gst/registries/gstlibxmlregistry.c:
7260         (gst_xml_registry_get_property):
7261           Port leak fix from 0.8
7262
7263 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7264
7265         * docs/gst/gstreamer-docs.sgml:
7266         * docs/gst/tmpl/.cvsignore:
7267         * docs/gst/tmpl/gsttrace.sgml:
7268         * docs/gst/tmpl/gsttrashstack.sgml:
7269         * gst/Makefile.am:
7270         * gst/gst.h:
7271         * gst/gstelement.h:
7272         * gst/gstevent.h:
7273         * gst/gstmessage.c:
7274         * gst/gstmessage.h:
7275         * gst/gsttag.c:
7276         * gst/gsttag.h:
7277         * gst/gsttaginterface.c:
7278         * gst/gsttaginterface.h:
7279         * gst/gsttaglist.c:
7280         * gst/gsttaglist.h:
7281         * gst/gsttagsetter.c:
7282         * gst/gsttagsetter.h:
7283         * gst/gsttrace.c:
7284         * gst/gsttrace.h:
7285         * gst/gsttrashstack.c:
7286           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7287           inlined docs for gsttrace, gsttrashstack
7288
7289 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7290
7291         * gst/Makefile.am:
7292         * gst/elements/gstbufferstore.h:
7293         * gst/elements/gsttypefindelement.c:
7294         * gst/elements/gsttypefindelement.h:
7295         * gst/gst.h:
7296         * gst/gsttypefind.c:
7297         * gst/gsttypefind.h:
7298         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7299         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7300         (gst_type_find_factory_dispose),
7301         (gst_type_find_factory_unload_thyself),
7302         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7303         (gst_type_find_factory_get_caps),
7304         (gst_type_find_factory_get_extensions),
7305         (gst_type_find_factory_call_function):
7306         * gst/gsttypefindfactory.h:
7307         * gst/registries/gstlibxmlregistry.c:
7308         * gst/registries/gstxmlregistry.c:
7309           splitted gsttypefind into gsttypefind, gsttypefindfactory
7310
7311 2005-09-07  Andy Wingo  <wingo@pobox.com>
7312
7313         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7314         condition whereby the pad's task function is entered before the
7315         pad_mode variable was set.
7316
7317 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7318
7319         * gst/gstpad.c: (gst_pad_alloc_buffer):
7320           Catch misbehaving pad_alloc functions that don't
7321           set up caps and do it for them.
7322
7323 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7324
7325         * check/pipelines/simple_launch_lines.c: (run_pipeline):
7326           test for pipe!=NULL
7327         * docs/gst/tmpl/.cvsignore:
7328         * docs/gst/tmpl/gstmemchunk.sgml:
7329         * docs/gst/tmpl/gstparse.sgml:
7330         * docs/gst/tmpl/gsttaglist.sgml:
7331         * docs/gst/tmpl/gsttagsetter.sgml:
7332         * docs/gst/tmpl/gsttypefind.sgml:
7333         * docs/gst/tmpl/gsttypefindfactory.sgml:
7334         * gst/gstmemchunk.c:
7335         * gst/gstparse.c:
7336         * gst/gsttag.c:
7337         * gst/gsttaginterface.c:
7338         * gst/gsttypefind.c:
7339         * gst/gsttypefind.h:
7340           inlined more docs
7341
7342 === release 0.9.2 ===
7343
7344 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7345
7346         * NEWS:
7347         * RELEASE:
7348         * configure.ac:
7349           releasing 0.9.2, "South"
7350
7351 2005-09-05  Andy Wingo  <wingo@pobox.com>
7352
7353         * gst/registries/gstxmlregistry.h:
7354         * gst/registries/gstxmlregistry.c: Um... resurrect...
7355         
7356         * gst/registries/gstxmlregistry.h:
7357         * gst/registries/gstxmlregistry.c: and update to newer API.
7358         Incidentally they should be a bit faster now that they don't have
7359         to parse the caps.
7360         
7361 2005-09-05  Andy Wingo  <wingo@pobox.com>
7362
7363         * gst/registries/gstxmlregistry.h:
7364         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7365         replaced by the libxml registry a while back
7366
7367 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7368
7369         * docs/gst/tmpl/gstplugin.sgml:
7370         * gst/elements/gstelements.c:
7371         * gst/gst.c:
7372         * gst/gstplugin.c: (gst_plugin_register_func),
7373         (gst_plugin_desc_copy), (gst_plugin_desc_free),
7374         (gst_plugin_get_source):
7375         * gst/gstplugin.h:
7376         * gst/registries/gstlibxmlregistry.c: (load_plugin),
7377         (gst_xml_registry_save_plugin):
7378         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7379         (gst_xml_registry_save_plugin):
7380         * tools/gst-inspect.c: (print_plugin_info):
7381           add a "source" plugin description field, to represent the source
7382           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
7383           will set it to PACKAGE, which is automake's idea of the name of
7384           the source project.
7385
7386 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7387
7388         * Makefile.am:
7389         * autogen.sh:
7390         * configure.ac:
7391         * docs/Makefile.am:
7392         * docs/faq/Makefile.am:
7393         * docs/gst/tmpl/gstelement.sgml:
7394         * docs/gst/tmpl/gsttypes.sgml:
7395         * docs/htmlinstall.mak:
7396         * docs/manual/Makefile.am:
7397         * docs/pwg/Makefile.am:
7398           reorganize doc build a little
7399           split out docbook and gtk-doc stuff
7400           have two separate --enable's and enable them through autogen
7401           but disable by default in configure (to be similar to other
7402           projects)
7403         * gstreamer.spec.in:
7404           clean up docs install
7405         * po/af.po:
7406         * po/az.po:
7407         * po/ca.po:
7408         * po/cs.po:
7409         * po/de.po:
7410         * po/en_GB.po:
7411         * po/fr.po:
7412         * po/it.po:
7413         * po/nb.po:
7414         * po/nl.po:
7415         * po/ru.po:
7416         * po/sq.po:
7417         * po/sr.po:
7418         * po/sv.po:
7419         * po/tr.po:
7420         * po/uk.po:
7421         * po/vi.po:
7422           translation updates
7423
7424 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7425
7426         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7427           Add comment.
7428           
7429         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7430         (gst_fake_sink_change_state):
7431           Make state change function thread-safe.
7432           
7433         * gst/gstpad.c: (gst_pad_alloc_buffer):
7434           Set offset on generic buffer allocated by fallback.
7435
7436 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
7437
7438         * docs/gst/gstreamer-sections.txt:
7439         * docs/gst/tmpl/gstelement.sgml:
7440         * gst/gstpad.c:
7441         * libs/gst/controller/gst-controller.c:
7442         (gst_controlled_property_set_interpolation_mode),
7443         (gst_controlled_property_new),
7444         (gst_controller_find_controlled_property):
7445          run the wingo-magic script against the docs
7446
7447 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7448
7449         * docs/gst/gstreamer-docs.sgml:
7450         * docs/gst/gstreamer-sections.txt:
7451         * docs/gst/tmpl/.cvsignore:
7452         * docs/gst/tmpl/gstelementdetails.sgml:
7453         * docs/gst/tmpl/gstelementfactory.sgml:
7454         * gst/gst.c:
7455         * gst/gstbus.c:
7456         * gst/gstelementfactory.c:
7457         * gst/gstelementfactory.h:
7458           merged elementdetails docs into elementfactory docs
7459           inlined both
7460
7461 2005-09-02  Andy Wingo  <wingo@pobox.com>
7462
7463         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7464         consider this enum an enum and not a flags.
7465
7466 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7467
7468         * docs/gst/gstreamer-docs.sgml:
7469         * docs/gst/tmpl/.cvsignore:
7470         * docs/gst/tmpl/gstghostpad.sgml:
7471         * docs/gst/tmpl/gstiterator.sgml:
7472         * docs/gst/tmpl/gstmacros.sgml:
7473         * docs/gst/tmpl/gstrealpad.sgml:
7474         * docs/gst/tmpl/gstregistry.sgml:
7475         * docs/gst/tmpl/gstregistrypool.sgml:
7476         * docs/gst/tmpl/gststructure.sgml:
7477         * docs/gst/tmpl/gstsystemclock.sgml:
7478         * docs/gst/tmpl/gsttrace.sgml:
7479         * gst/gstghostpad.c:
7480         * gst/gstmacros.h:
7481         * gst/gstmemchunk.c:
7482         * gst/gstmemchunk.h:
7483         * gst/gstqueue.c:
7484         * gst/gstregistry.c:
7485         * gst/gstregistrypool.c:
7486         * gst/gststructure.c:
7487         * gst/gstsystemclock.c:
7488           more docs inlined
7489
7490 2005-09-02  Andy Wingo  <wingo@pobox.com>
7491
7492         * gst/gstelement.h (GstState): Renamed from GstElementState,
7493         changed to be a normal enum instead of flags.
7494         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7495         munged to be GST_STATE_CHANGE_*.
7496         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7497         work with the new state representation.
7498         (GstStateChange): New enumeration of possible state transitions.
7499         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7500         (GstElementClass::change_state): Pass the GstStateChange along as
7501         an argument. Helps language bindings, so they don't have to use
7502         tricky lock-needing macros like GST_STATE_CHANGE ().
7503
7504         * scripts/update-states (file): New script. Run it on a file to
7505         update it for state naming and API changes. Updates files in
7506         place.
7507
7508         * All files updated for the new API.
7509
7510 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7511
7512         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7513         * gst/gstutils.c: (gst_util_set_value_from_string),
7514         (gst_util_set_object_arg):
7515           fix a bunch of unchecked return values
7516         * tools/gst-complete.c: (main):
7517         * gstreamer.spec.in:
7518           clean up a little
7519
7520 2005-09-01  Wim Taymans  <wim@fluendo.com>
7521
7522         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7523         (gst_base_sink_event), (gst_base_sink_do_sync),
7524         (gst_base_sink_handle_event):
7525         * gst/base/gstbasesink.h:
7526         Handle newsegments more correctly.
7527
7528         * gst/gstbus.c:
7529         Fix docs.
7530
7531         * gst/gstevent.c: (gst_event_new_newsegment):
7532         A newsegment cannot have a start_time of -1
7533
7534 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7535
7536         * win32/gstenumtypes.c:
7537         * win32/gstenumtypes.h:
7538           Update
7539
7540 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7541
7542         * libs/gst/controller/gst-controller.c:
7543         (gst_controlled_property_set_interpolation_mode),
7544         (gst_controlled_property_new):
7545          fixed boolean again
7546
7547 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
7548
7549         * docs/faq/gst-uninstalled:
7550           add -good
7551         * gst/gstevent.c:
7552         * gst/gstevent.h:
7553           remove wrong docs
7554         * gst/gstutils.c: (gst_element_link_filtered):
7555         * gst/gstutils.h:
7556           add gst_element_link_filtered
7557
7558 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7559
7560         * docs/gst/gstreamer-docs.sgml:
7561         * docs/gst/gstreamer-sections.txt:
7562         * docs/gst/tmpl/.cvsignore:
7563         * docs/gst/tmpl/gsterror.sgml:
7564         * docs/gst/tmpl/gstfilter.sgml:
7565         * docs/gst/tmpl/gsturihandler.sgml:
7566         * docs/gst/tmpl/gsturitype.sgml:
7567         * docs/gst/tmpl/gstutils.sgml:
7568         * docs/gst/tmpl/gstxml.sgml:
7569         * gst/gsterror.c:
7570         * gst/gsterror.h:
7571         * gst/gstfilter.c:
7572         * gst/gsturi.c:
7573         * gst/gsturitype.c:
7574         * gst/gstutils.c:
7575         * gst/gstxml.c:
7576           inlined more docs, fixed double id-ref
7577
7578 2005-08-31  Wim Taymans  <wim@fluendo.com>
7579
7580         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7581         (gst_base_transform_handle_buffer):
7582         Passthrough elements don't need the caps as they don't care.
7583
7584 2005-08-31  Wim Taymans  <wim@fluendo.com>
7585
7586         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7587         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7588         Don't leak refcounts on buffers.
7589
7590 2005-08-31  Wim Taymans  <wim@fluendo.com>
7591
7592         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7593         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7594         (gst_base_transform_chain), (gst_base_transform_change_state):
7595         * gst/base/gstbasetransform.h:
7596         Handle the case where we are not negotiated more gracefully.
7597
7598 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7599
7600         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7601         (gst_file_src_map_region):
7602           Set READONLY flag on mmap'ed buffers, otherwise
7603           gst_buffer_make_writable() won't work properly (#314708).
7604
7605 2005-08-31  Wim Taymans  <wim@fluendo.com>
7606
7607         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7608         passthrough elements can even do inplace on non writable
7609         buffers (as they don't touch them).
7610
7611 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7612
7613         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7614         (gst_test_mono_source_set_property),
7615         (gst_test_mono_source_class_init), (GST_START_TEST),
7616         (gst_controller_suite):
7617           more tests (hehe I have the most)
7618         * gst/gstbus.c:
7619           describe popping messages whenusing mulltiple sources
7620         * libs/gst/controller/gst-controller.c:
7621         (gst_controlled_property_set_interpolation_mode),
7622         (gst_controlled_property_new):
7623         * libs/gst/controller/gst-controller.h:
7624         * libs/gst/controller/gst-interpolation.c:
7625           implement boolean properties
7626
7627 2005-08-31  Wim Taymans  <wim@fluendo.com>
7628
7629         * gst/gstminiobject.c: (gst_mini_object_ref):
7630         Cannot assert that the refcount has to be positive
7631         since a disposed object can be resurrected.
7632
7633 2005-08-31  Wim Taymans  <wim@fluendo.com>
7634
7635         * gst/gstpad.c: (gst_pad_init):
7636         Revert change, need to first fix badly behaving 
7637         apps.
7638
7639 2005-08-30  Wim Taymans  <wim@fluendo.com>
7640
7641         * check/elements/fakesrc.c: (setup_fakesrc):
7642         * check/elements/identity.c: (setup_identity):
7643         Activate pads before using them.
7644
7645 2005-08-30  Wim Taymans  <wim@fluendo.com>
7646
7647         * gst/base/gstadapter.c: (gst_adapter_flush):
7648         Flushing out 0 bytes is ok for this function.
7649
7650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7651         no newsegment gives a warning and sets the start/stop to 
7652         invalid.
7653
7654         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7655         (gst_base_transform_set_passthrough):
7656         Some debug info.
7657
7658         * gst/gstminiobject.c: (gst_mini_object_ref):
7659         Check refcount here too.
7660
7661         * gst/gstpad.c: (gst_pad_init):
7662         Pads are initially flushing and refusing data.
7663
7664         * gst/gstutils.c: (gst_element_link_pads_filtered):
7665         When adding a capsfilter element make sure it has the
7666         same state as the parent bin.
7667
7668 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7669
7670         * docs/gst/tmpl/.cvsignore:
7671         * docs/gst/tmpl/gstformat.sgml:
7672         * docs/gst/tmpl/gstversion.sgml:
7673         * gst/gstbus.h:
7674         * gst/gstformat.c:
7675         * gst/gstformat.h:
7676         * gst/gstversion.h.in:
7677           more docs and two more inlined
7678
7679 2005-08-30  Wim Taymans  <wim@fluendo.com>
7680
7681         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7682         Don't sync to clock.
7683
7684 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7685
7686         * docs/gst/gstreamer-sections.txt:
7687           ultral33t func10ns deserve to appear in the docs actually
7688         * docs/gst/tmpl/.cvsignore:
7689         * docs/gst/tmpl/gstcompat.sgml:
7690         * docs/gst/tmpl/gstconfig.sgml:
7691         * gst/check/gstcheck.c:
7692         * gst/gstcompat.h:
7693         * gst/gstconfig.h.in:
7694           inlined more docs
7695
7696 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7697
7698         * docs/gst/tmpl/.cvsignore:
7699         * docs/gst/tmpl/gstquery.sgml:
7700         * docs/gst/tmpl/gstutils.sgml:
7701         * gst/gstquery.c:
7702         * gst/gstquery.h:
7703           inlined and extended docs
7704
7705 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7706
7707         * check/gst-libs/controller.c: (GST_START_TEST),
7708         (gst_controller_suite):
7709           more tests
7710         * docs/gst/tmpl/gstutils.sgml:
7711         * docs/libs/gstreamer-libs-sections.txt:
7712         * docs/libs/tmpl/gstdataprotocol.sgml:
7713           include path fixes
7714         * examples/controller/audio-example.c: (main):
7715           controller example works now
7716         * gst/gstclock.h:
7717           doc fixes
7718         * tools/gst-inspect.c: (print_element_properties_info):
7719           show param spec flags
7720
7721 2005-08-29  Andy Wingo  <wingo@pobox.com>
7722
7723         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7724
7725 2005-08-28  Andy Wingo  <wingo@pobox.com>
7726
7727         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7728         as having two arguments instead of just one. Allows superclasses
7729         to access information on subclasses -- see the terrible for() loop
7730         in gtype.c:g_type_create_instance for the reason why. All callers
7731         changed.
7732
7733 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7734
7735         * docs/design/part-messages.txt:
7736           update info
7737         * docs/gst/tmpl/.cvsignore:
7738         * docs/gst/tmpl/gstcaps.sgml:
7739         * docs/gst/tmpl/gstclock.sgml:
7740         * gst/gstbus.c:
7741         * gst/gstcaps.c:
7742         * gst/gstcaps.h:
7743         * gst/gstclock.c:
7744         * gst/gstclock.h:
7745         * gst/gstmessage.c:
7746           added descriptions for bus and message
7747           inline caps and clock docs
7748
7749 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7750
7751         * gst/gstmessage.c:
7752         * gst/gstmessage.h:
7753           doc fixes
7754
7755 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7756
7757         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7758           fix div-by-zero
7759
7760 2005-08-26  Andy Wingo  <wingo@pobox.com>
7761
7762         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7763         element_set_state's return val.
7764         (test_2_elements): Add test that's been disabled for months.
7765
7766         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7767         can-activate-pull properties.
7768
7769         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7770         can-activate-pull properties. Implement is_seekable so fakesrc can
7771         operate in pull mode.
7772
7773         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7774         properties.
7775         (gst_base_sink_activate, gst_base_sink_activate_pull)
7776         (gst_base_sink_activate_push): Make activation mode choosing work.
7777         Cleanups.
7778         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7779         is right. Make pull mode work. Post an eos before pausing in pull
7780         mode.
7781         (gst_base_sink_change_state): Pay attention to the core's
7782         change_state() return val.
7783         
7784         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7785         has-getrange properties. Cleanups.
7786         
7787         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7788         has_getrange and replace with can_activate_pull and
7789         can_activate_push.
7790
7791         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7792         locking comments. Remove has_loop, has_chain and replace with
7793         can_activate_pull and can_activate_push.
7794
7795 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7796
7797         * configure.ac:
7798         * examples/Makefile.am:
7799         * examples/metadata/Makefile.am:
7800         * examples/metadata/read-metadata.c: (message_loop),
7801         (have_pad_handler), (make_pipeline), (print_tag), (main):
7802           Add metadata reading example that loops over a list of filenames,
7803           dumping any tags found.
7804
7805         * gst/gstbus.c: (gst_bus_dispose):
7806         * gst/gstelement.c: (gst_element_dispose):
7807           Release a few potentially-held references in dispose.
7808
7809 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7810
7811         * docs/gst/tmpl/gstminiobject.sgml:
7812           do *not* add tmpl/*.sgml files to CVS!
7813
7814 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7815
7816         * libs/gst/bytestream/.cvsignore:
7817         * libs/gst/bytestream/Makefile.am:
7818         * libs/gst/bytestream/adapter.c:
7819         * libs/gst/bytestream/adapter.h:
7820         * libs/gst/bytestream/bytestream.c:
7821         * libs/gst/bytestream/bytestream.h:
7822         * libs/gst/bytestream/filepad.c:
7823         * libs/gst/bytestream/filepad.h:
7824           removing obsolete files
7825
7826 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7827
7828         * docs/gst/gstreamer-docs.sgml:
7829         * docs/libs/gstreamer-libs-docs.sgml:
7830           disabed additional index entries again, as this makes docs-gen just
7831           slow and they aren't useful yet
7832         * docs/libs/gstreamer-libs-sections.txt:
7833           little -section.txt cleanup for libs
7834
7835 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7836
7837         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7838         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7839           fix up some debugging
7840         (gst_base_transform_get_unit_size),
7841         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7842         (gst_base_transform_handle_buffer):
7843         * gst/base/gstbasetransform.h:
7844           handle and store timed NEWSEGMENT events so that subclasses that
7845           calculate time by counting samples have a segment_start time they
7846           need to add to their timestamps - see audioresample
7847
7848 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7849
7850         * gst/gstbin.h:
7851           removed ';' from the end of macro defs
7852         * docs/gst/gstreamer-docs.sgml:
7853         * docs/gst/gstreamer-sections.txt:
7854         * docs/gst/tmpl/.cvsignore:
7855         * gst/gstbus.h:
7856         * gst/gstelement.c: (gst_element_class_init),
7857         (gst_element_set_state), (activate_pads),
7858         (gst_element_save_thyself):
7859         * gst/gstevent.c: (gst_event_new_newsegment):
7860         * gst/gstevent.h:
7861         * gst/gstiterator.c:
7862         * gst/gstiterator.h:
7863         * gst/gstpad.c:
7864         * gst/gstprobe.h:
7865         * gst/gstutils.c: (gst_pad_query_convert):
7866         * gst/gstutils.h:
7867           fixed parameter name mismatches between source, header and docs
7868           added some more docs, resolved the last batch of unused elements in
7869           docs (now someone needs to doc them)
7870
7871 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7872
7873         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7874         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7875           don't walk through the plugins backwards.  Where is all this
7876           reversed logic coming from ?
7877
7878 2005-08-25  Wim Taymans  <wim@fluendo.com>
7879
7880         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7881         (gst_base_transform_transform_size),
7882         (gst_base_transform_configure_caps),
7883         (gst_base_transform_get_unit_size),
7884         (gst_base_transform_buffer_alloc),
7885         (gst_base_transform_change_state):
7886         * gst/base/gstbasetransform.h:
7887         Cache caps unit_size.
7888         Make sure we cannot negotiate up and downstream at the
7889         same time.
7890
7891 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7892
7893         * gst/gst.c: (init_pre), (init_post):
7894           register the installed plugin path after the env var
7895         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7896         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7897           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7898           directories, so the tests can prefer uninstalled over installed
7899
7900 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7901
7902         * gst/base/gstbasetransform.h:
7903           comment
7904         * gst/gstpad.c:
7905           add to docs
7906
7907 2005-08-25  Wim Taymans  <wim@fluendo.com>
7908
7909         * gst/gstbin.c: (bin_bus_handler):
7910         Be a bit more conservative about the posted message.
7911         
7912         * gst/gstbus.c: (gst_bus_post):
7913         Some cleanups, warn wrong return values.
7914
7915 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7916
7917         * check/gst/gstbin.c: (GST_START_TEST):
7918         * gst/gstbin.c: (bin_bus_handler):
7919         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7920         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7921         (gst_message_new_warning), (gst_message_new_tag),
7922         (gst_message_new_state_changed), (gst_message_new_segment_start),
7923         (gst_message_new_segment_done), (gst_message_new_custom):
7924         * gst/gstmessage.h:
7925         * tools/gst-launch.c: (event_loop):
7926         * tools/gst-md5sum.c: (event_loop):
7927           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7928
7929 2005-08-25  Wim Taymans  <wim@fluendo.com>
7930
7931         * check/generic/states.c: (GST_START_TEST):
7932         Cleanup can be done at the end.
7933
7934         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7935         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7936         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7937         Oh boy.. Thanks for finding this, Thomas. 
7938
7939 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7940
7941         * docs/gst/gstreamer.types:
7942           added missing types
7943
7944 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7945
7946         * docs/gst/gstreamer-docs.sgml:
7947         * docs/gst/gstreamer-sections.txt:
7948         * docs/gst/tmpl/.cvsignore:
7949         * gst/gstbin.c:
7950         * gst/gstiterator.c:
7951         * gst/gstutils.c:
7952         * gst/registries/gstxmlregistry.h:
7953           added missing classes and symbols (123 more to go)
7954           removed removed symbols from section file
7955           fixed many doc-comments
7956
7957 2005-08-24  Wim Taymans  <wim@fluendo.com>
7958
7959         * check/generic/states.c: (GST_START_TEST):
7960         Make sure all tasks are stopped.
7961
7962         * check/gst/gstbin.c: (GST_START_TEST):
7963         Unref after usage for proper valgrinding.
7964
7965         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7966         Really wait for the task to stop before destroying the
7967         mutex.
7968
7969         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7970         (gst_queue_src_activate_push):
7971         Small cleanups. Don't stop the task when we did not start
7972         it.
7973
7974         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7975         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7976         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7977         (gst_task_join):
7978         * gst/gsttask.h:
7979         Protect the stream lock with the object lock.
7980         Disallow setting the stream lock when running.
7981         Add cleanup_all to wait for the threadpool to finish.
7982         Remove code to autoallocate a mutex if none was provided.
7983         Add _join() to wait for a task to stop.
7984         Protect the thread pool with a global lock.
7985
7986 2005-08-24  Wim Taymans  <wim@fluendo.com>
7987
7988         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7989         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7990         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7991         * gst/base/gstbasesink.h:
7992         Handle newsegment events correctly.
7993         Drop buffers out of the segment range.
7994
7995 2005-08-22  Andy Wingo  <wingo@pobox.com>
7996
7997         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7998         macro, implements an interface and gstimplementsinterface for a
7999         new type.
8000
8001 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8002
8003         * check/Makefile.am:
8004         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
8005           add a test that does a bunch of state changes on elements
8006           needs some fixing for valgrind
8007         * check/states/sinks.c: (gst_object_suite):
8008           whitespace
8009         * gst/gstcaps.h:
8010           add prototype for gst_caps_is_equal_fixed
8011         * gst/gstplugin.c:
8012         * gst/gstregistrypool.c:
8013           doc fixes
8014
8015 2005-08-24  Andy Wingo  <wingo@pobox.com>
8016
8017         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
8018         convert a negative value. Doesn't make much sense. Mostly this is
8019         here to force callers to ensure -1 maps to -1.
8020
8021 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
8022
8023         * docs/pwg/advanced-types.xml:
8024           Well done to Michael for catching my deliberate introduction
8025           of this spelling mistake. 
8026         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
8027         * gst/gstelement.h:
8028           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
8029           unlink pads before removing the element from the bin.
8030
8031 2005-08-24  Andy Wingo  <wingo@pobox.com>
8032
8033         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
8034         the same thing as GST_DEBUG=*:4.
8035         (parse_debug_level, parse_debug_category): New helper parsers.
8036
8037 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8038
8039         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8040         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
8041         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
8042         (gst_base_transform_buffer_alloc),
8043         (gst_base_transform_handle_buffer):
8044           use gboolean return values and pointers to size so we can use the
8045           full GST_BUFFER_SIZE range (guint) for buffer sizes
8046           use GstPadDirection for transform_caps
8047         * gst/base/gstbasetransform.h:
8048           rename get_size to get_unit_size since that's what it is
8049         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
8050           use GstPadDirection for transform_caps
8051         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8052         * gst/gstutils.h:
8053           cleanup and debugging
8054
8055 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
8056
8057         * gst/gstelement.c: (gst_element_class_init),
8058         (gst_element_set_state), (activate_pads),
8059         (gst_element_save_thyself):
8060         * tools/gst-compprep.c: (main):
8061         * tools/gst-inspect.c: (print_element_properties_info):
8062         * tools/gst-xmlinspect.c: (print_element_properties):
8063           Fixed long standing mem-leak
8064
8065 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
8066
8067         * check/gst/gstbin.c: (GST_START_TEST):
8068         * gst/gstbin.c: (bin_bus_handler):
8069         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
8070         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
8071         (gst_message_new_warning), (gst_message_new_tag),
8072         (gst_message_new_state_changed), (gst_message_new_segment_start),
8073         (gst_message_new_segment_done), (gst_message_new_custom):
8074         * gst/gstmessage.h:
8075         * tools/gst-launch.c: (event_loop):
8076         * tools/gst-md5sum.c: (event_loop):
8077           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
8078           that applications can sensibly post custom messages with references
8079           to their own objects.
8080
8081 2005-08-24  Andy Wingo  <wingo@pobox.com>
8082
8083         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
8084         already.
8085
8086 2005-08-24  Wim Taymans  <wim@fluendo.com>
8087
8088         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8089         (gst_base_transform_transform_caps),
8090         (gst_base_transform_transform_size),
8091         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8092         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8093         (gst_base_transform_handle_buffer):
8094         * gst/base/gstbasetransform.h:
8095         Many fixes and new features added by Thomas. Can now also do
8096         transforms with variable sizes and a custom fixate_caps function.
8097
8098 2005-08-24  Wim Taymans  <wim@fluendo.com>
8099
8100         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8101         Some debugging.
8102
8103         * gst/gstclock.h:
8104         Cast to ClockTime before formatting to time.
8105
8106         * gst/gstutils.h:
8107         Cleanups.
8108
8109 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
8110
8111         * check/gst-libs/controller.c: (GST_START_TEST),
8112         (gst_controller_suite):
8113         * docs/gst/tmpl/gstcaps.sgml:
8114         * docs/gst/tmpl/gstghostpad.sgml:
8115         * docs/gst/tmpl/gstquery.sgml:
8116         * docs/gst/tmpl/gstutils.sgml:
8117         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
8118         (gst_object_sink_values), (gst_object_get_value_arrays),
8119         (gst_object_get_value_array):
8120           gracefully handle helper method calls to objects that are not beeing
8121           controlled, added test case for that          
8122
8123 2005-08-23  Wim Taymans  <wim@fluendo.com>
8124
8125         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
8126         (gst_event_new_newsegment), (gst_event_parse_newsegment),
8127         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
8128         (gst_event_parse_qos), (gst_event_new_seek),
8129         (gst_event_parse_seek):
8130         * gst/gstevent.h:
8131         Some more debugging output and doc cleanups.
8132
8133         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8134         Fix possible deadlock.
8135
8136 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8137
8138         * docs/gst/gstreamer-docs.sgml:
8139         * docs/gst/gstreamer-sections.txt:
8140         * docs/gst/gstreamer.types:
8141         * docs/gst/tmpl/.cvsignore:
8142         * gst/gstbin.h:
8143         * gst/gstbus.c:
8144         * gst/gstelement.c:
8145         * gst/gstevent.h:
8146           added 100 symbols from gstreamer-unused.txt to the right sections
8147           fixed more broken comments
8148           added GstBus to docs
8149
8150 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8151
8152         * docs/gst/gstreamer-sections.txt:
8153         * docs/gst/tmpl/.cvsignore:
8154         * docs/gst/tmpl/gstbin.sgml:
8155         * docs/gst/tmpl/gstbuffer.sgml:
8156         * gst/base/gstbasesrc.c:
8157         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
8158         * gst/gstbuffer.c:
8159         * gst/gstbuffer.h:
8160         * tools/gst-launch.1.in:
8161           inlined more doc comments, added missing comments and fixed comments
8162           fixed typos
8163
8164 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8165
8166         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8167           some debugging
8168         * gst/gstcaps.h:
8169           whitespace fixes
8170         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
8171           more debugging
8172         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
8173         * gst/gststructure.h:
8174           add a fixate function for booleans; add a FIXME that these func
8175           names should probably be gst_structure_fixate_*
8176
8177 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8178
8179         * docs/gst/gstreamer-docs.sgml:
8180         * docs/gst/gstreamer-sections.txt:
8181         * gst/Makefile.am:
8182         * gst/gstbin.c: (gst_bin_get_type),
8183         (gst_bin_child_proxy_get_child_by_index),
8184         (gst_bin_child_proxy_get_children_count),
8185         (gst_bin_child_proxy_init):
8186         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8187         (gst_child_proxy_get_child_by_index),
8188         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
8189         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
8190         (gst_child_proxy_get), (gst_child_proxy_set_property),
8191         (gst_child_proxy_set_valist), (gst_child_proxy_set),
8192         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
8193         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
8194         * gst/gstchildproxy.h:
8195         * gst/parse/grammar.y:
8196         * tools/gst-inspect.c: (print_interfaces),
8197         (print_element_properties_info), (print_element_info):
8198           ported gstchildproxy over from 0.8
8199           ported gst-inspect fixes and enhancements over from 0.8
8200
8201 2005-08-22  Wim Taymans  <wim@fluendo.com>
8202
8203         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8204         (gst_base_transform_handle_buffer):
8205         Also call the transform function if we have ANY caps.
8206
8207         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
8208         Fix debug info.
8209
8210 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
8211
8212         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
8213           Don't pretend to handle seek events if the source is not seekable
8214
8215 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
8216
8217         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8218           Remove extra parameter to debug output
8219
8220         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8221         (gst_base_src_do_seek), (gst_base_src_activate_push):
8222           Fix seek event handling.
8223
8224         * gst/gstpipeline.c: (gst_pipeline_change_state):
8225         * gst/gstqueue.c: (gst_queue_handle_sink_event),
8226         (gst_queue_src_activate_push):
8227           Don't start the src pad task on FLUSH_STOP if the pad
8228           isn't linked.
8229           Debug changes.
8230
8231 2005-08-22  Wim Taymans  <wim@fluendo.com>
8232
8233         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8234         Added check for gst_static_caps_get() refcounting.
8235
8236 2005-08-22  Wim Taymans  <wim@fluendo.com>
8237
8238         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
8239         Make _static_caps_get() refcounting sane.
8240         
8241         * gst/gstelement.c: (gst_element_set_state):
8242         Add g_return_val_if_fail() to protect against segfaults.
8243
8244 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
8245
8246         * docs/gst/tmpl/gstevent.sgml:
8247         * gst/gstevent.c:
8248         * gst/gstevent.h:
8249           inlined remaining docs, added missing doc comments
8250
8251 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8252
8253         * check/gst/gstbin.c: (GST_START_TEST):
8254           since we don't know when preroll is done, use refcount range
8255           check for the sink
8256         * gst/check/gstcheck.h:
8257           add macro for checking refcount range
8258
8259 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8260
8261         * check/Makefile.am:
8262           clean up environment for when registry gets built versus
8263           when actual tests are run; valgrind seems to not report
8264           leaks if GST_PLUGIN_PATH is set to some specific values
8265         * check/gst/gstbin.c: (GST_START_TEST):
8266           add more refcounting checks; maybe this exposes a
8267           preroll lock bug ?
8268         * common/check.mak:
8269         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8270         * gst/check/gstcheck.h:
8271         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8272         (gst_bin_change_state):
8273         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8274           add/fix debugging/whitespace
8275
8276 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8277
8278         * check/gst/gstevent.c: (event_probe), (test_event),
8279         (GST_START_TEST):
8280          Er, don't call gst_bin_watch_for_state_change you idiot.
8281
8282 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8283
8284         * check/Makefile.am:
8285           Use CHECK_CFLAGS and CHECK_LIBS
8286         * check/gst/gstevent.c: (event_probe), (test_event),
8287         (GST_START_TEST):
8288           Don't leak events.
8289         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8290         (gst_base_src_start), (gst_base_src_stop),
8291         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8292         (gst_base_src_change_state):
8293           Sprinkle gst_base_src_stop liberally around error paths to fix
8294           problems reusing a source after failed state changes.
8295         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8296         (helper_find_suggest), (gst_type_find_helper):
8297           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8298         * gst/gstevent.h:
8299         * docs/gst/tmpl/gstevent.sgml:
8300           Migrate part of the docs from the SGML file. Wait for ensonic to
8301           tell me how I did it wrong ;)
8302         * tools/gst-typefind.c: (main):
8303           Extra robustness to state changes between files.
8304
8305 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8306
8307         * check/Makefile.am:
8308           don't valgrind the controller test - it's leaking - Stefan, HELP
8309         * gst/check/gstcheck.c: (gst_check_message_error),
8310         (gst_check_chain_func), (gst_check_setup_element),
8311         (gst_check_teardown_element), (gst_check_setup_src_pad),
8312         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8313         (gst_check_teardown_sink_pad):
8314         * gst/check/gstcheck.h:
8315           add a bunch of methods to set up elements, and src and sink pads
8316         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8317         * check/elements/identity.c: (setup_identity), (cleanup_identity),
8318         (GST_START_TEST):
8319           use them
8320         * gst/gstmessage.c:
8321         * gst/gsttag.h:
8322           whitespace/doc fixes
8323
8324 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8325
8326         * gst/gstelement.h:
8327           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8328           be handled by the application and not always printed as well
8329
8330 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8331
8332         * check/Makefile.am:
8333           set GST_TOOLS_DIR
8334         * gst/check/gstcheck.c: (gst_check_message_error):
8335         * gst/check/gstcheck.h:
8336           add a fail_unless_equals_int
8337           add fail_unless for error messages
8338
8339 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8340
8341         * check/Makefile.am:
8342         * check/gst.supp:
8343         * common/Makefile.am:
8344         * common/check.mak:
8345         * common/gst.supp:
8346           factor out some of the common stuff so we can use it
8347
8348 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8349
8350         * check/Makefile.am:
8351         * check/gst/gstiterator.c: (GST_START_TEST):
8352         * check/gst/gstsystemclock.c: (GST_START_TEST),
8353         (gst_systemclock_suite):
8354         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8355         * gst/gstclock.c:
8356           valgrind more tests
8357
8358 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8359
8360         * check/elements/.cvsignore:
8361         * check/elements/gstfakesrc.c:
8362           rename to name of element
8363         * check/elements/identity.c: (chain_func), (event_func),
8364         (setup_identity), (cleanup_identity), (GST_START_TEST),
8365         (identity_suite), (main):
8366           add a test for identity
8367         * check/Makefile.am:
8368         * pkgconfig/Makefile.am:
8369         * pkgconfig/gstreamer-check.pc.in:
8370         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8371         * gst/check:
8372         * gst/Makefile.am:
8373         * configure.ac:
8374           move the check stuff to a library that gets installed
8375         * check/gst-libs/controller.c: (GST_START_TEST):
8376         * check/gst-libs/gdp.c:
8377         * check/gst/gst.c: (GST_START_TEST):
8378         * check/gst/gstbin.c:
8379         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8380         * check/gst/gstbus.c:
8381         * check/gst/gstcaps.c: (GST_START_TEST):
8382         * check/gst/gstelement.c:
8383         * check/gst/gstghostpad.c:
8384         * check/gst/gstiterator.c:
8385         * check/gst/gstmessage.c:
8386         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8387         * check/gst/gstobject.c:
8388         * check/gst/gstpad.c: (GST_START_TEST):
8389         * check/gst/gststructure.c: (GST_START_TEST):
8390         * check/gst/gstsystemclock.c: (GST_START_TEST),
8391         (gst_systemclock_suite):
8392         * check/gst/gsttag.c: (gst_tag_suite):
8393         * check/gst/gstvalue.c:
8394         * check/pipelines/cleanup.c:
8395         * check/pipelines/simple_launch_lines.c:
8396         * check/states/sinks.c:
8397           change include statement
8398
8399         * docs/gst/gstreamer-sections.txt:
8400         * docs/gst/tmpl/gstpad.sgml:
8401           document more pad stuff
8402         * gst/gstminiobject.c: (gst_mini_object_ref),
8403         (gst_mini_object_unref):
8404           debug refcounting
8405
8406 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
8407
8408         * docs/gst/tmpl/gst.sgml:
8409         * gst/gst.c:
8410           eliminate another tmpl file, fix spelling in the long-description
8411
8412 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8413
8414         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8415         (test_event), (timediff), (gstevents_suite):
8416           Should fix build on 64-bit arch's
8417
8418 2005-08-18  Andy Wingo  <wingo@pobox.com>
8419
8420         Make sure that when a pipeline goes to PLAYING, that data has
8421         actually hit the sink.
8422
8423         * check/states/sinks.c (test_sink): A sink that doesn't get any
8424         data shouldn't return SUCCESS for going to either PLAYING or
8425         PAUSED. Test also the return values on the way back down.
8426
8427         * gst/gstelement.c (gst_element_set_state): When changing the
8428         state of an element currently changing state asynchronously, go to
8429         lost-state after commiting the pending state. Makes future calls
8430         to get_state continue to return ASYNC.
8431
8432         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8433         ASYNC when going to PLAYING if we still don't have preroll, as can
8434         happen with live sources.
8435
8436 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8437
8438         * docs/pwg/advanced-types.xml:
8439           Hack long paragraph into 2 chunks as a workaround for buggy
8440           jadetex version in sid and breezy that loops infinitely and
8441           eats all RAM.
8442
8443 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8444
8445         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8446         (test_event), (timediff), (gstevents_suite):
8447           Provide more error margin in clock measurements to allow for 
8448           g_get_current_time inaccuracies.
8449
8450 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8451
8452         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8453         (test_event), (timediff), (gstevents_suite):
8454            Fix error message output so I might be able to tell why the
8455            test works here but fails on the build farm.
8456
8457 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8458
8459         * check/Makefile.am:
8460         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8461         (test_event), (timediff), (gstevents_suite), (main):
8462           I wrote a test!
8463
8464         * docs/design/part-seeking.txt:
8465           Spelling correction
8466
8467         * docs/gst/tmpl/gstevent.sgml:
8468         * docs/gst/tmpl/gstfakesrc.sgml:
8469           Docs updates.
8470
8471         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8472           Treat a buffer-without-newsegment the same as a receiving 
8473           a newsegment not in time format, and disable syncing to the clock
8474           with a warning.
8475
8476         * gst/gstbus.c: (gst_bus_set_sync_handler):
8477           Assert if anyone tries to replace the existing sync_handler for bus, 
8478           as only the owner should be setting it.
8479
8480         * gst/gstevent.h:
8481           Have a fixed set of custom event enums with events identified by
8482           their structure name (as in 0.8), rather than a free-for-all
8483           allowing collisions between enum values from different plugins.
8484
8485         * gst/gstpad.c: (gst_pad_class_init):
8486           Docs change.
8487           
8488         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8489           Handle out-of-band downstream events from the sending thread.
8490
8491 2005-08-17  Andy Wingo  <wingo@pobox.com>
8492
8493         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8494         play-timeout==0 to mean no timeout at all. In that case, don't
8495         bother with a get_state or a warning, just return directly, even
8496         if it's ASYNC.
8497
8498         * gst/base/gstbasetransform.c: Debug changes.
8499
8500         * gst/gstutils.h:
8501         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8502         ensure bins post state change messages. A bit of a hack but I can't
8503         think of a way to avoid it.
8504
8505         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8506
8507 2005-08-16  Andy Wingo  <wingo@pobox.com>
8508
8509         * gst/base/gstadapter.h:
8510         * gst/base/gstadapter.c (gst_adapter_take): New function, like
8511         peek() but you own the data. Not terribly efficient atm.
8512
8513 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8514
8515         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8516         (gst_element_found_tags):
8517         * gst/gstutils.h:
8518           Add two utility functions for tag handling.
8519
8520 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8521
8522         * docs/manual/advanced-dataaccess.xml:
8523         * docs/manual/basics-helloworld.xml:
8524           Fix docs to use _bin_add() before _link(), which fixes the examples
8525           with recent core versions (reported by Madhan Raj M
8526           <raj_madan@rediffmail.com>, #313199).
8527
8528 2005-08-16  Wim Taymans  <wim@fluendo.com>
8529
8530         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8531         Added subtract checks.
8532
8533         * docs/design/part-events.txt:
8534         Some more docs about newsegment
8535
8536         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8537         Fix FIXME
8538
8539         * gst/gstcaps.c: (gst_caps_to_string):
8540         Add comments, cleanups.
8541         
8542         * gst/gstelement.c: (gst_element_save_thyself):
8543         cleanups
8544         
8545         * gst/gstvalue.c: (gst_value_collect_int_range),
8546         (gst_string_unwrap), (gst_value_union_int_int_range),
8547         (gst_value_union_int_range_int_range),
8548         (gst_value_intersect_int_int_range),
8549         (gst_value_intersect_int_range_int_range),
8550         (gst_value_intersect_double_double_range),
8551         (gst_value_intersect_double_range_double_range),
8552         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8553         (gst_value_subtract_int_range_int),
8554         (gst_value_subtract_double_range_double),
8555         (gst_value_subtract_double_range_double_range),
8556         (gst_value_subtract_from_list), (gst_value_subtract_list),
8557         (gst_value_can_compare), (gst_value_compare_fraction):
8558         Cleanups, add comments, remove unneeded asserts.
8559
8560 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8561
8562         * tools/gst-launch.c: (event_loop):
8563           don't convert NULL structures to strings
8564
8565 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
8566
8567         * docs/gst/gstreamer-sections.txt:
8568           made some defines private
8569         * docs/gst/tmpl/gstconfig.sgml:
8570         * docs/gst/tmpl/gstqueue.sgml:
8571         * docs/gst/tmpl/gsttaglist.sgml:
8572         * docs/gst/tmpl/gsttypes.sgml:
8573         * docs/gst/tmpl/gstutils.sgml:
8574         * docs/pwg/appendix-porting.xml:
8575         * gst/base/gstbasesink.h:
8576         * gst/base/gstbasesrc.c:
8577         * gst/base/gstbasesrc.h:
8578         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8579         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8580         * gst/gstelement.c: (gst_element_class_init):
8581         * gst/gstpad.c: (gst_pad_class_init):
8582         * gst/gstqueue.c: (gst_queue_class_init):
8583         * gst/gstxml.c: (gst_xml_class_init):
8584           documented all undocumented signal inline
8585         * libs/gst/controller/gst-controller.h:
8586           added padding
8587
8588 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8589
8590         * docs/pwg/appendix-porting.xml:
8591           Document _set_link_function -> _set_setcaps_function.
8592
8593 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8594
8595         * check/Makefile.am:
8596           add a .check target for running the check
8597         * check/gst-libs/controller.c: (GST_START_TEST):
8598           cosmetic fixups
8599         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8600           complete checks for gstbuffer; would be nice if I could get the
8601           gcov stuff to work so I can see if I actually completed gstbuffer.c
8602         * check/gstcheck.h:
8603           add ASSERT_BUFFER_REFCOUNT
8604
8605 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8606
8607         * docs/gst/gstreamer-sections.txt:
8608         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8609         * gst/gsttag.h:
8610           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8611           spew out a warning if a tag that is already registered
8612           is re-registered, unless it is re-registered with a 
8613           different type (#308438).
8614
8615 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8616
8617         * docs/pwg/appendix-porting.xml:
8618         * docs/pwg/building-state.xml:
8619           Add some paragraphs about state changes in 0.9 to the PWG
8620           and the porting guide, in particular about the new meaning
8621           of GST_STATE_PAUSED and how to write state change functions
8622           with concurrent access by multiple threads in mind.
8623
8624 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8625
8626         * docs/gst/gstreamer-docs.sgml:
8627         * docs/libs/gstreamer-libs-docs.sgml:
8628           added deprecation and since indexes
8629         * libs/gst/controller/gst-controller.c:
8630         * libs/gst/controller/gst-helper.c:
8631           added since tags
8632
8633
8634 2005-08-11  Wim Taymans  <wim@fluendo.com>
8635
8636         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8637         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8638         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8639         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8640         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8641         (gst_ghost_pad_set_target):
8642         Actually implement (re)setting the target on a ghostpad
8643         as described in the docs.
8644
8645 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8646
8647         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8648           Check whether GST_DEBUG_NO_COLOR environment variable is
8649           set and disable coloured debug output if that is the case.
8650
8651 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8652
8653         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8654         (gst_type_find_helper):
8655           The memory returned by gst_type_find_peek() needs to
8656           stay valid until the end of a typefind function, and
8657           typefind functions may keep results from different 
8658           offsets around, so we can't just unref the buffer from
8659           the previous _peek(), but have to save all buffers 
8660           returned by _peek() until typefinding is done and only
8661           free them then.
8662
8663 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8664
8665         * docs/gst/gstreamer-sections.txt:
8666         * gst/gstutils.h:
8667           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8668
8669 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8670
8671         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8672           Fix a pretty good memleak.
8673
8674 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8675
8676         * gst/gstiterator.h:
8677           Fix wrong include and 'make distcheck'.
8678
8679 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8680
8681         * gst/gstbin.c: (bin_bus_handler):
8682           Use gst_element_post_message() instead.
8683
8684 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8685
8686         * gst/base/gstadapter.h:
8687         * gst/base/gstbasesink.h:
8688         * gst/base/gstbasesrc.h:
8689         * gst/base/gstbasetransform.h:
8690         * gst/base/gstcollectpads.h:
8691         * gst/base/gstpushsrc.h:
8692         * gst/gstiterator.h:
8693           Add padding to our base elements' class and instance structs and
8694           to GstIterator (you will need to rebuild all plugins and apps!)
8695
8696 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8697
8698         * gst/gstbin.c: (bin_bus_handler):
8699           Make default message forwarding from child->bus to bin->bus
8700           threadsafe and make it not emit warnings if the parent has no bus.
8701
8702 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8703
8704         * gst/gstelement.c: (activate_pads):
8705           On paused->ready, set pad->caps to NULL, as is the documented
8706           behaviour in this state change. Fixes playback of series of
8707           media files when visualization is enabled in Totem.
8708
8709 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8710
8711         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8712           Allow NULL as filter-caps (which means "any").
8713
8714 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8715
8716         * docs/libs/gstreamer-libs-sections.txt:
8717         * libs/gst/controller/gst-controller.c:
8718         * libs/gst/controller/gst-controller.h:
8719         * libs/gst/controller/gst-helper.c:
8720           adding more entries to the docs and fix small doc-bugs
8721
8722 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8723
8724         * docs/gst/gstreamer-docs.sgml:
8725         * docs/gst/gstreamer-sections.txt:
8726         * docs/gst/gstreamer.types:
8727         * docs/gst/tmpl/gstbasesink.sgml:
8728         * docs/gst/tmpl/gstbasesrc.sgml:
8729         * docs/gst/tmpl/gstbasetransform.sgml:
8730         * docs/gst/tmpl/gstfakesrc.sgml:
8731         * gst/base/gstcollectpads.c:
8732         * gst/base/gstcollectpads.h:
8733         * libs/gst/controller/gst-controller.c:
8734         * libs/gst/controller/gst-controller.h:
8735         * libs/gst/controller/gst-helper.c:
8736         * libs/gst/controller/gst-interpolation.c:
8737         * libs/gst/controller/lib.c:
8738           added long/short desc for controller docs
8739           added collectpads base class docs
8740           added correct includes to base-class docs
8741
8742 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8743
8744         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8745         (gst_test_mono_source_set_property),
8746         (gst_test_mono_source_class_init), (GST_START_TEST),
8747         (gst_controller_suite):
8748         * docs/gst/gstreamer-docs.sgml:
8749         * docs/gst/gstreamer-sections.txt:
8750         * docs/gst/gstreamer.types:
8751         * docs/libs/gstreamer-libs-docs.sgml:
8752         * docs/libs/gstreamer-libs-sections.txt:
8753         * gst/base/gstadapter.c:
8754         * libs/gst/controller/gst-controller.c:
8755         (gst_controlled_property_new), (gst_controlled_property_free),
8756         (gst_controller_new_valist),
8757         (gst_controller_remove_properties_valist),
8758         (gst_controller_sink_values), (_gst_controller_finalize):
8759         * libs/gst/controller/gst-controller.h:
8760         * libs/gst/controller/gst-helper.c:
8761         (gst_object_control_properties), (gst_object_uncontrol_properties),
8762         (gst_object_get_controller), (gst_object_set_controller),
8763         (gst_object_sink_values), (gst_object_get_value_arrays),
8764         (gst_object_get_value_array):
8765           more tests (and fixes) for the controller
8766           more docs for the controller
8767           integrated companies docs for the adapter 
8768
8769 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8770
8771         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8772         (GST_START_TEST), (fakesrc_suite):
8773           add tests for sizetype
8774
8775 2005-08-04  Andy Wingo  <wingo@pobox.com>
8776
8777         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8778         fixes buffer_alloc proxying among other things.
8779
8780         * gst/base/gstbasetransform.c:
8781         * gst/base/gstbasetransform.h:
8782         Revert patch to gstbasetransform from 7-28 removing
8783         delay_configure.
8784
8785         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8786         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8787         Semantics changed, should return not the size of the output buffer
8788         but the byte size of a buffer with a given caps.
8789
8790         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8791         debug object.
8792         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8793         out) are not the pad caps until setcaps finishes.
8794         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8795         not-in-place case as well. Deal with changing from in-place to
8796         not-in-place within calling pad_alloc_buffer. Still a bit
8797         concerned about the overhead here...
8798
8799 2005-08-03  Andy Wingo  <wingo@pobox.com>
8800
8801         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8802         fixating is an error.
8803
8804 2005-08-04  Edward Hervey  <edward@fluendo.com>
8805
8806         * gst/base/gstadapter.h: 
8807         Added gst_adapter_get_type() to the header
8808
8809 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8810
8811         * check/Makefile.am:
8812         * check/gst-libs/controller.c:
8813         * libs/gst/controller/gst-controller.c:
8814         (gst_controller_new_valist):
8815           added check test suite for the controller
8816         * gst/base/gstpushsrc.c:
8817           fixed a doc typo
8818
8819 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8820
8821         * docs/gst/Makefile.am:
8822         * docs/gst/gstreamer-docs.sgml:
8823         * docs/gst/gstreamer-sections.txt:
8824         * docs/gst/gstreamer.types:
8825         * docs/gst/tmpl/gstfakesrc.sgml:
8826         * gst/base/README:
8827         * gst/base/gstbasesink.c:
8828         * gst/base/gstbasesink.h:
8829         * gst/base/gstbasesrc.c:
8830         * gst/base/gstbasesrc.h:
8831         * gst/base/gstbasetransform.c:
8832         * gst/base/gstpushsrc.c:
8833         * gst/base/gstpushsrc.h:
8834           add short/long description docs to base classes
8835           add pushsrc to the docs
8836           remove consolidated doc fragments
8837
8838 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8839
8840         * configure.ac:
8841         * docs/libs/Makefile.am:
8842         * docs/libs/gstreamer-libs-docs.sgml:
8843         * docs/libs/gstreamer-libs-sections.txt:
8844         * docs/libs/gstreamer-libs.types:
8845         * examples/Makefile.am:
8846         * examples/controller/.cvsignore:
8847         * examples/controller/Makefile.am:
8848         * examples/controller/audio-example.c: (main):
8849         * libs/gst/Makefile.am:
8850         * libs/gst/controller/.cvsignore:
8851         * libs/gst/controller/Makefile.am:
8852         * libs/gst/controller/gst-controller.c:
8853         (on_object_controlled_property_changed), (gst_timed_value_compare),
8854         (gst_timed_value_find),
8855         (gst_controlled_property_set_interpolation_mode),
8856         (gst_controlled_property_new), (gst_controlled_property_free),
8857         (gst_controller_find_controlled_property),
8858         (gst_controller_new_valist), (gst_controller_new),
8859         (gst_controller_remove_properties_valist),
8860         (gst_controller_remove_properties), (gst_controller_set),
8861         (gst_controller_set_from_list), (gst_controller_unset),
8862         (gst_controller_get), (gst_controller_get_all),
8863         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8864         (gst_controller_get_value_array),
8865         (gst_controller_set_interpolation_mode),
8866         (_gst_controller_finalize), (_gst_controller_init),
8867         (_gst_controller_class_init), (gst_controller_get_type):
8868         * libs/gst/controller/gst-controller.h:
8869         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8870         (g_object_uncontrol_properties), (g_object_get_controller),
8871         (g_object_set_controller), (g_object_sink_values),
8872         (g_object_get_value_arrays), (g_object_get_value_array):
8873         * libs/gst/controller/gst-interpolation.c:
8874         (gst_controlled_property_find_timed_value_node),
8875         (interpolate_none_get), (interpolate_trigger_get),
8876         (interpolate_trigger_get_value_array):
8877         * libs/gst/controller/lib.c: (gst_controller_init):
8878         * pkgconfig/Makefile.am:
8879         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8880         * pkgconfig/gstreamer-control.pc.in:
8881         * testsuite/Makefile.am:
8882         * testsuite/controller/.cvsignore:
8883         * testsuite/controller/Makefile.am:
8884         * testsuite/controller/interpolator.c: (main):
8885           added controller code
8886           removed dparam pc files
8887
8888 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8889         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8890         (gst_collectpads_stop):
8891           Broadcast the condition when shutting down, to make sure we wake all
8892           threads up. Shut down pads on finalize, for safety.
8893
8894 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8895         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8896         (gst_base_transform_handle_buffer),
8897         (gst_base_transform_change_state):
8898           Handle PAUSED->READY->PAUSED transition after negotiation
8899           occurred already.
8900         * gst/gstmessage.c: (gst_message_init):
8901           Extra piece of debug for new messages.
8902
8903 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8904
8905         * configure.ac:
8906         * docs/gst/tmpl/gstbasesrc.sgml:
8907         * docs/gst/tmpl/gstelement.sgml:
8908         * docs/gst/tmpl/gstevent.sgml:
8909         * docs/gst/tmpl/gstfakesrc.sgml:
8910         * docs/gst/tmpl/gstformat.sgml:
8911         * docs/gst/tmpl/gstghostpad.sgml:
8912         * docs/gst/tmpl/gstpad.sgml:
8913         * docs/gst/tmpl/gstquery.sgml:
8914         * docs/gst/tmpl/gststructure.sgml:
8915         * docs/gst/tmpl/gsttaglist.sgml:
8916         * docs/gst/tmpl/gstvalue.sgml:
8917         * docs/libs/gstreamer-libs-docs.sgml:
8918         * docs/libs/gstreamer-libs-sections.txt:
8919         * docs/libs/gstreamer-libs.types:
8920         * libs/gst/Makefile.am:
8921         * libs/gst/control/.cvsignore:
8922         * libs/gst/control/Makefile.am:
8923         * libs/gst/control/control.c:
8924         * libs/gst/control/control.h:
8925         * libs/gst/control/dparam.c:
8926         * libs/gst/control/dparam.h:
8927         * libs/gst/control/dparam_smooth.c:
8928         * libs/gst/control/dparam_smooth.h:
8929         * libs/gst/control/dparamcommon.h:
8930         * libs/gst/control/dparammanager.c:
8931         * libs/gst/control/dparammanager.h:
8932         * libs/gst/control/dplinearinterp.c:
8933         * libs/gst/control/dplinearinterp.h:
8934         * libs/gst/control/unitconvert.c:
8935         * libs/gst/control/unitconvert.h:
8936         * testsuite/Makefile.am:
8937         * testsuite/dynparams/.cvsignore:
8938         * testsuite/dynparams/Makefile.am:
8939         * testsuite/dynparams/dparamstest.c:
8940         * tools/Makefile.am:
8941         * tools/gst-inspect.c: (print_element_info), (main):
8942         * tools/gst-xmlinspect.c: (print_element_info), (main):
8943           deactivate and remove dparams (libgstcontrol)
8944
8945 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8946
8947         * gst/elements/gsttypefindelement.c:
8948         (gst_type_find_element_have_type), (gst_type_find_element_init),
8949         (stop_typefinding), (gst_type_find_element_handle_event),
8950         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8951         * gst/elements/gsttypefindelement.h:
8952           Set caps on all outgoing buffers, not just the first one.
8953
8954 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8955
8956         * gst/elements/gsttypefindelement.c:
8957         (gst_type_find_element_have_type),
8958         (gst_type_find_element_check_set_buffer_caps),
8959         (gst_type_find_element_init), (stop_typefinding),
8960         (gst_type_find_element_handle_event),
8961         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8962         * gst/elements/gsttypefindelement.h:
8963           Set caps on first outgoing buffer when we've found the type.
8964
8965 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8966
8967         * docs/gst/gstreamer-docs.sgml:
8968         * docs/gst/gstreamer-sections.txt:
8969         * docs/gst/tmpl/gstscheduler.sgml:
8970         * docs/gst/tmpl/gstschedulerfactory.sgml:
8971           Remove some old cruft from docs.
8972
8973 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8974
8975         * gst/gstpad.h:
8976           Fix inline docs for GstPadLinkReturn.
8977           
8978         * gst/gststructure.c: (gst_structure_has_name):
8979         * gst/gststructure.h:
8980         * docs/gst/gstreamer-sections.txt:
8981           New API: gst_structure_has_name().
8982
8983 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8984
8985         * configure.ac:
8986           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8987           and _LARGEFILE_SOURCE in config.h as required. Do not 
8988           export those flags in our .pc files any longer (#142209).
8989
8990           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8991
8992         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8993         (gst_file_sink_do_seek), (gst_file_sink_event),
8994         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8995           Redo seek/tell calls with large file support in mind; add some
8996           debugging messages; add log message that tells us when large
8997           file support is unavailable or not enabled for some reason.
8998
8999         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
9000           Add log message that tells us when large file support 
9001           is unavailable or not enabled for some reason.
9002
9003 2005-07-29  Wim Taymans  <wim@fluendo.com>
9004
9005         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9006         Added test for removing an element with ghostpad from a bin.
9007         Fixed test as current implementation does the right thing.
9008
9009         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
9010         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
9011         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
9012         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
9013         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
9014         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9015         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9016         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9017         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
9018         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
9019         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
9020         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
9021         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9022         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
9023         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
9024         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
9025         * gst/gstghostpad.h:
9026         Clean up ghostpads, remove properties for internal stuff.
9027         Make threadsafe.
9028         Fix refcounting.
9029         Prepare for switching targets, not all use cases work yet.
9030
9031 2005-07-29  Wim Taymans  <wim@fluendo.com>
9032
9033         * docs/design/part-gstghostpad.txt:
9034         Small update.
9035
9036         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9037         (gst_bin_remove_func):
9038         Unlinking pads while holding the bin LOCK is not a good
9039         idea.
9040
9041         * gst/gstpad.c: (gst_pad_class_init),
9042         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
9043         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
9044         No prob setting template after creating the pad.
9045
9046 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
9047
9048         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
9049         (gst_bus_peek), (gst_bus_source_dispatch),
9050         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
9051         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
9052           gst_bus_poll may be called from other threads. Handle
9053           this nicely by not making poll_data disappear off the
9054           stack once gst_bus_poll returns.
9055           gst_bus_peek now increments the refcount on the returned
9056           message.
9057
9058 2005-07-29  Wim Taymans  <wim@fluendo.com>
9059
9060         * docs/design/part-gstghostpad.txt:
9061         Overview of current GhostPad datastructures and use
9062         cases for changing the target.
9063
9064 2005-07-28  Wim Taymans  <wim@fluendo.com>
9065
9066         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9067         Added checks for hierarchy consistency whan adding linked
9068         elements to bins.
9069
9070         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9071         Added check to test element scheduling without bin/pipeline.
9072
9073         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9074         First add elements to bin, then link.
9075         
9076         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9077         (gst_bin_remove_func):
9078         Unlink pads from elements added/removed from bin to maintain
9079         hierarchy consistency.
9080
9081 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9082
9083         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
9084         (gst_base_transform_handle_buffer):
9085         * gst/base/gstbasetransform.h:
9086           Remove broken delay_configure (fixes renegotiation of software
9087           scaling pipelines); remove some leftover printf()s.
9088
9089 2005-07-28  Wim Taymans  <wim@fluendo.com>
9090
9091         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9092         Added some more tests for wrong hierarchy
9093
9094         * docs/design/part-overview.txt:
9095         Some updates.
9096
9097         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
9098         Cleanups.
9099
9100         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
9101         (gst_element_dispose):
9102         Some more cleanups.
9103
9104         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9105         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
9106         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9107         (gst_pad_set_caps), (gst_pad_send_event):
9108         Check for correct hierarchy when linking pads. Moving to
9109         strict requirement for ghostpads when linking elements in
9110         different bins.
9111
9112         * gst/gstpad.h:
9113         Clean ups. Added WRONG_HIERARCHY return value.
9114
9115 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9116
9117         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9118           Better debug if no transform is possible.
9119
9120 2005-07-27  Wim Taymans  <wim@fluendo.com>
9121
9122         * docs/random/wtay/network-transp:
9123         Some old doc I had.
9124
9125 2005-07-27  Wim Taymans  <wim@fluendo.com>
9126
9127         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9128         (gst_dp_event_from_packet):
9129         Fix serialization of seek events.
9130
9131 2005-07-27  Wim Taymans  <wim@fluendo.com>
9132
9133         * check/gst-libs/gdp.c: (GST_START_TEST):
9134         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9135         Fix compilation and fix event serialization.
9136
9137 2005-07-27  Wim Taymans  <wim@fluendo.com>
9138
9139         * CHANGES-0.9:
9140         * docs/design/part-TODO.txt:
9141         * docs/design/part-events.txt:
9142         Some docs updates
9143
9144         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9145         (gst_base_sink_event), (gst_base_sink_do_sync),
9146         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9147         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9148         (gst_base_src_do_seek), (gst_base_src_event_handler),
9149         (gst_base_src_loop):
9150         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9151         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9152         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9153         (gst_base_transform_event), (gst_base_transform_handle_buffer),
9154         (gst_base_transform_set_passthrough),
9155         (gst_base_transform_is_passthrough):
9156         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9157         * gst/elements/gstfilesink.c: (gst_file_sink_event):
9158         Event updates.
9159
9160         * gst/gstbuffer.h:
9161         Use faster casts.
9162
9163         * gst/gstelement.c: (gst_element_seek):
9164         * gst/gstelement.h:
9165         Update gst_element_seek.
9166
9167         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
9168         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
9169         (gst_event_new_flush_start), (gst_event_new_flush_stop),
9170         (gst_event_new_eos), (gst_event_new_newsegment),
9171         (gst_event_parse_newsegment), (gst_event_new_tag),
9172         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
9173         (gst_event_parse_qos), (gst_event_new_seek),
9174         (gst_event_parse_seek), (gst_event_new_navigation):
9175         * gst/gstevent.h:
9176         Make GstEvent use GstStructure. Add parsing code, make sure the
9177         API is sufficiently generic.
9178         Mark possible directions of events and serialization.
9179
9180         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
9181         (_gst_message_copy), (gst_message_new_segment_start),
9182         (gst_message_new_segment_done), (gst_message_new_custom),
9183         (gst_message_parse_segment_start),
9184         (gst_message_parse_segment_done):
9185         Small cleanups.
9186
9187         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9188         (gst_pad_set_caps), (gst_pad_send_event):
9189         Update for new events. 
9190         Catch events sent in wrong directions.
9191
9192         * gst/gstqueue.c: (gst_queue_link_src),
9193         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9194         (gst_queue_handle_src_query):
9195         Event updates.
9196
9197         * gst/gsttag.c:
9198         * gst/gsttag.h:
9199         Remove event code from this file.
9200
9201         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9202         (gst_dp_event_from_packet):
9203         Event updates.
9204
9205 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9206
9207         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
9208         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9209         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
9210           Make debugging actually useful.
9211
9212 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9213
9214         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
9215         (gst_pad_fixate_caps):
9216           Implement default fixation once again, so that gst_pad_fixate()
9217           actually does anything at all. This probably needs to be some
9218           sort of a last resort, and use profile-based fixation first, but
9219           since that doesn't exist yet, this is the best we have. Fixes
9220           visualization in Totem.
9221
9222 2005-07-22  Wim Taymans  <wim@fluendo.com>
9223
9224         * docs/design/part-events.txt:
9225         Small update.
9226
9227         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9228         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
9229         (gst_base_sink_activate_pull):
9230         Some more comments.
9231
9232         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
9233         (gst_fake_src_create):
9234         Fix handoff marshall.
9235
9236         * gst/elements/gstidentity.c: (gst_identity_class_init),
9237         (gst_identity_transform_ip):
9238         We're a real inplace element.
9239
9240         * gst/gstbus.c: (gst_bus_post):
9241         Added some comments.
9242
9243         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
9244         * tests/muxing/case1.c: (main):
9245         * tests/sched/dynamic-pipeline.c: (main):
9246         * tests/sched/interrupt1.c: (main):
9247         * tests/sched/interrupt2.c: (main):
9248         * tests/sched/interrupt3.c: (main):
9249         * tests/sched/runxml.c: (main):
9250         * tests/sched/sched-stress.c: (main):
9251         * tests/seeking/seeking1.c: (event_received), (main):
9252         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9253         (main):
9254         * tests/threadstate/threadstate3.c: (main):
9255         * tests/threadstate/threadstate4.c: (main):
9256         * tests/threadstate/threadstate5.c: (main):
9257         Fix the tests.
9258
9259 2005-07-21  Wim Taymans  <wim@fluendo.com>
9260
9261         * docs/design/part-seeking.txt:
9262         Some small additions.
9263
9264         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9265         (gst_base_sink_get_times), (gst_base_sink_do_sync),
9266         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9267         * gst/base/gstbasesink.h:
9268         discont values are gint64, handle the math correctly.
9269
9270         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9271         Make the basesrc report error if the source pad is not linked.
9272
9273         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9274         (gst_queue_loop), (gst_queue_handle_src_query),
9275         (gst_queue_src_activate_push):
9276         Make queue collect data even if the srcpad is not linked.
9277         Start pushing out data as soon as it is linked.
9278
9279         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9280         * gst/gstutils.h:
9281         Added gst_flow_get_name() to ease error reporting.
9282
9283 2005-07-20  Wim Taymans  <wim@fluendo.com>
9284
9285         * gst/gstmessage.c: (gst_message_new_segment_start),
9286         (gst_message_new_segment_done), (gst_message_parse_segment_start),
9287         (gst_message_parse_segment_done):
9288         * gst/gstmessage.h:
9289         Added a bunch of messages for advanced seeking.
9290
9291         * gst/parse/grammar.y:
9292         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9293         (gst_dpman_state_changed):
9294         Fix some new-pad -> pad-added signals
9295
9296 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9297
9298         * docs/manual/appendix-porting.xml:
9299         * docs/pwg/appendix-porting.xml:
9300           Document new-pad/state-change signal renames and the FixedList
9301           type rename.
9302
9303 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9304
9305         * docs/manual/advanced-autoplugging.xml:
9306         * docs/manual/basics-helloworld.xml:
9307         * docs/manual/basics-pads.xml:
9308         * docs/random/ds/0.9-suggested-changes:
9309         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9310         * gst/gstelement.h:
9311         * gst/gstevent.h:
9312         * gst/gstformat.h:
9313         * gst/gstquery.h:
9314         * gst/gststructure.c: (gst_structure_value_get_generic_type),
9315         (gst_structure_parse_array), (gst_structure_parse_value):
9316         * gst/gstvalue.c: (gst_type_is_fixed),
9317         (gst_value_list_prepend_value), (gst_value_list_append_value),
9318         (gst_value_list_get_size), (gst_value_list_get_value),
9319         (gst_value_transform_array_string), (gst_value_serialize_array),
9320         (gst_value_deserialize_array), (gst_value_intersect_array),
9321         (gst_value_is_fixed), (_gst_value_initialize):
9322         * gst/gstvalue.h:
9323           GstElement::new-pad -> pad-added, GstElement::state-change ->
9324           state-changed, GstValueFixedList -> GstValueArray, add format and
9325           flags as their own arguments in gst_element_seek() (should improve
9326           "bindeability"), remove function generators since they don't work
9327           under a whole bunch of compilers (they were deprecated already
9328           anyway).
9329
9330 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9331
9332         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9333         (_gst_debug_register_funcptr):
9334         * gst/gstinfo.h:
9335           Fix illegal cast on some platforms (#309253).
9336
9337 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9338
9339         * gst/gstmessage.c: (gst_message_new_custom):
9340         * gst/gstmessage.h:
9341           Add _new_custom, make _new_application a macro to _new_custom.
9342
9343 2005-07-20  Wim Taymans  <wim@fluendo.com>
9344
9345         * gst/base/gstbasesrc.c: (gst_base_src_init),
9346         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9347         * gst/base/gstbasesrc.h:
9348         Add a gboolean to decide when to push out a discont.
9349
9350         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9351         (gst_queue_loop), (gst_queue_handle_src_query),
9352         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9353         (gst_queue_set_property), (gst_queue_get_property):
9354         Some cleanups.
9355
9356         * tests/threadstate/threadstate1.c: (main):
9357         Make a thread test compile and run... very silly..
9358
9359
9360 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9361
9362         * docs/manual/appendix-porting.xml:
9363           Mention removal of libgstgconf-0.9.la and existence of gconf
9364           elements.
9365
9366 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9367
9368         * docs/pwg/advanced-clock.xml:
9369         * docs/pwg/appendix-porting.xml:
9370         * docs/pwg/intro-preface.xml:
9371         * docs/pwg/other-base.xml:
9372         * docs/pwg/other-manager.xml:
9373         * docs/pwg/other-nton.xml:
9374         * docs/pwg/other-ntoone.xml:
9375         * docs/pwg/other-oneton.xml:
9376         * docs/pwg/pwg.xml:
9377           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9378           demuxer), remove n-to-n (was never written), fix some code examples
9379           and links and update the porting section to include all this.
9380
9381 2005-07-19  Wim Taymans  <wim@fluendo.com>
9382
9383         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9384         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9385         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9386         (gst_queue_src_activate_push), (gst_queue_change_state),
9387         (gst_queue_get_property):
9388         * gst/gstqueue.h:
9389         Propagate GstFlowReturn more intelligently upstream and output
9390         an ERROR/EOS when streaming stopped due to fatal error.
9391
9392 2005-07-19  Wim Taymans  <wim@fluendo.com>
9393
9394         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9395         Don't block forever for the state change to complete, the
9396         pipeline already did with a sensible timeout.
9397
9398 2005-07-19  Wim Taymans  <wim@fluendo.com>
9399
9400         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9401         Make sure we never call the create function is we
9402         got deactivated.
9403
9404 2005-07-19  Andy Wingo  <wingo@pobox.com>
9405
9406         * gst/parse/parse.l: Attempt to solve bug #172815.
9407
9408 2005-07-19  Wim Taymans  <wim@fluendo.com>
9409
9410         * docs/design/part-clocks.txt:
9411         * docs/design/part-events.txt:
9412         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9413         Small docs updates.
9414         Only update the seeking values when we are not
9415         busy streaming.
9416
9417 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9418
9419         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9420           Oops, ignore the result of gst_pad_push_event here.
9421
9422 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9423
9424         * gst/base/gstbasesrc.c: (gst_base_src_loop),
9425         (gst_base_src_activate_push):
9426           Send discont event from the loop function, as pads
9427           aren't activated yet in the activate_push handler.
9428
9429         * gst/gstbin.c: (bin_bus_handler):
9430           Don't leak element name.
9431
9432 2005-07-18  Andy Wingo  <wingo@pobox.com>
9433
9434         * configure.ac: Use AS_LIBTOOL_TAGS.
9435
9436 2005-07-18  Wim Taymans  <wim@fluendo.com>
9437
9438         * docs/gst/gstreamer.types:
9439         Remove deleted types.
9440
9441 2005-07-18  Wim Taymans  <wim@fluendo.com>
9442
9443         * check/elements/gstfakesrc.c: (GST_START_TEST):
9444         * configure.ac:
9445         * gst/Makefile.am:
9446         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9447         (init_popt_callback):
9448         * gst/gst.h:
9449         * gst/gst_private.h:
9450         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9451         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9452         * gst/gstbin.h:
9453         * gst/gstbus.h:
9454         * gst/gstconfig.h.in:
9455         * gst/gstelement.c: (gst_element_class_init),
9456         (gst_element_set_base_time), (gst_element_get_base_time),
9457         (iterator_fold_with_resync), (gst_element_change_state),
9458         (gst_element_dispose), (gst_element_get_bus):
9459         * gst/gstelement.h:
9460         * gst/gstelementfactory.h:
9461         * gst/gsterror.c: (_gst_core_errors_init):
9462         * gst/gsterror.h:
9463         * gst/gstevent.h:
9464         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9465         * gst/gstindex.c:
9466         * gst/gstinfo.c: (_gst_debug_init):
9467         * gst/gstmessage.c: (_gst_message_copy):
9468         * gst/gstmessage.h:
9469         * gst/gstminiobject.h:
9470         * gst/gstobject.c:
9471         * gst/gstobject.h:
9472         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9473         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9474         * gst/gstpad.h:
9475         * gst/gstparse.h:
9476         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9477         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9478         (gst_pipeline_get_last_stream_time):
9479         * gst/gstpipeline.h:
9480         * gst/gstpluginfeature.h:
9481         * gst/gstquery.h:
9482         * gst/gstscheduler.c:
9483         * gst/gstscheduler.h:
9484         * gst/gststructure.h:
9485         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9486         (gst_task_finalize), (gst_task_func), (gst_task_create),
9487         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9488         (gst_task_stop), (gst_task_pause):
9489         * gst/gsttask.h:
9490         * gst/gsttypefind.h:
9491         * gst/gsttypes.h:
9492         * gst/registries/gstlibxmlregistry.c: (load_feature),
9493         (gst_xml_registry_load), (gst_xml_registry_save_feature):
9494         * gst/registries/gstxmlregistry.c:
9495         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9496         * gst/schedulers/threadscheduler.c:
9497         * libs/gst/control/dparammanager.h:
9498         * tools/gst-inspect.c: (print_element_list),
9499         (print_plugin_features), (print_element_features):
9500         * tools/gst-xmlinspect.c: (print_element_list),
9501         (print_plugin_info), (main):
9502         Removed plugable schedulers.
9503         Removed Scheduler/Manager from elements.
9504         Removed gsttypes.h, rearranged includes.
9505         Removed dependency pad<->element, element<>pipeline, and
9506         various others,  fix includes.
9507         implement gst_pad_get_parent() with gst_object_get_parent()
9508         Make GstTask sefcontained.
9509         Fix _get_state() on GstBin, it did not return ASYNC with a 0
9510         timeout.
9511         Fix endless loop in iterator_fold_with_resync.
9512
9513
9514 2005-07-18  Wim Taymans  <wim@fluendo.com>
9515
9516         * gst/Makefile.am:
9517         * gst/gstarch.h:
9518         Remove old file.
9519
9520 2005-07-18  Wim Taymans  <wim@fluendo.com>
9521
9522         * gst/Makefile.am:
9523         No more cothreads.h
9524
9525 2005-07-18  Wim Taymans  <wim@fluendo.com>
9526
9527         * gst/cothreads.c:
9528         * gst/cothreads.h:
9529         Let's remove these.
9530
9531 2005-07-18  Wim Taymans  <wim@fluendo.com>
9532
9533         * docs/design/part-dynamic.txt:
9534         * docs/design/part-events.txt:
9535         * docs/design/part-seeking.txt:
9536         Some more docs in the works.
9537
9538         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9539         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9540         (gst_base_transform_setcaps), (gst_base_transform_get_size),
9541         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9542         (gst_base_transform_handle_buffer),
9543         (gst_base_transform_sink_activate_push),
9544         (gst_base_transform_src_activate_pull),
9545         (gst_base_transform_set_passthrough),
9546         (gst_base_transform_is_passthrough):
9547         Refcounting fixes.
9548
9549         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9550         Cleanups.
9551
9552         * gst/gstevent.c: (gst_event_finalize):
9553         Set SRC to NULL.
9554
9555         * gst/gstutils.c: (gst_element_unlink),
9556         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9557         (gst_pad_proxy_setcaps):
9558         * gst/gstutils.h:
9559         Add _get_parent_element() to get a pads parent as an element.
9560
9561 2005-07-18  Wim Taymans  <wim@fluendo.com>
9562
9563         * check/gst/gstbin.c: (GST_START_TEST):
9564         Remove bogus test.
9565
9566 2005-07-18  Wim Taymans  <wim@fluendo.com>
9567
9568         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9569         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9570         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9571         (gst_base_sink_event), (gst_base_sink_do_sync),
9572         (gst_base_sink_chain), (gst_base_sink_loop),
9573         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9574         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9575         Refcounting fixes.
9576         Fix logic for returning ASYNC when not prerolled.
9577
9578 2005-07-18  Wim Taymans  <wim@fluendo.com>
9579
9580         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9581         Fix nasty refcount bug.
9582
9583 2005-07-16 Philippe Khalaf <burger@speedy.org>
9584
9585         * gst/elements/gstfdsrc.c:
9586         * gst/elements/gstfdsrc.h:
9587         * gst/elements/gstelements.c:
9588         * gst/elements/Makefile.am:
9589         Ported fdsrc to 0.9.
9590
9591 2005-07-16  Wim Taymans  <wim@fluendo.com>
9592
9593         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9594         (gst_base_sink_do_sync):
9595         Fix compile error.
9596
9597 2005-07-16  Wim Taymans  <wim@fluendo.com>
9598
9599         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9600         (gst_base_sink_event), (gst_base_sink_get_times),
9601         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9602         * gst/base/gstbasesink.h:
9603         Store and use discont values when syncing buffers as described
9604         in design docs.
9605         
9606         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9607         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9608         (gst_base_src_activate_push):
9609         Push discont event when starting.
9610
9611         * gst/elements/gstidentity.c: (gst_identity_transform):
9612         Small cleanups.
9613
9614         * gst/gstbin.c: (gst_bin_change_state):
9615         Small cleanups in base_time  distribution.
9616
9617         * gst/gstelement.c: (gst_element_set_base_time),
9618         (gst_element_get_base_time), (gst_element_change_state):
9619         * gst/gstelement.h:
9620         Added methods for the base_time of the element.
9621         Some MT fixes.
9622
9623         * gst/gstpipeline.c: (gst_pipeline_send_event),
9624         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9625         (gst_pipeline_get_last_stream_time):
9626         * gst/gstpipeline.h:
9627         MT fixes.
9628         Handle seeking as described in design doc, remove stream_time
9629         hack.
9630         Cleanups clock and stream_time selection code. Added accessors
9631         for the stream_time.
9632         
9633
9634 2005-07-16  Andy Wingo  <wingo@pobox.com>
9635
9636         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9637         (#305291).
9638
9639 2005-07-16  Wim Taymans  <wim@fluendo.com>
9640
9641         * check/gst/gstbin.c: (GST_START_TEST):
9642         Make elements silent as the deep_notify refs the
9643         parent, which might make the test fail.
9644
9645         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9646         Don't hold the lock for too long.
9647
9648 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9649
9650         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9651           Don't unref the caps we passed to gst_caps_make_writable() after
9652           passing them. gst_caps_make_writable() will do that for us.
9653
9654 2005-07-15  Andy Wingo  <wingo@pobox.com>
9655
9656         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9657         (#157311).
9658
9659         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9660         own marshalling function for the handoff signal. Properly type the
9661         buffer as a buffer. Fixes some warnings. Should do a more general
9662         solution.
9663         (gst_identity_class_init): Plug into the right marshaller.
9664
9665 2005-07-15  Wim Taymans  <wim@fluendo.com>
9666
9667         * docs/design/part-TODO.txt:
9668         * docs/design/part-clocks.txt:
9669         * docs/design/part-element-sink.txt:
9670         * docs/design/part-events.txt:
9671         * docs/design/part-gstpipeline.txt:
9672         Updated docs, mostly DISCONT related.
9673
9674 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9675
9676         * docs/pwg/building-pads.xml:
9677           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9678
9679 2005-07-15  Andy Wingo  <wingo@pobox.com>
9680
9681         * tools/gst-typefind.c: Update, add copyright block.
9682
9683         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9684         Normalize and truncate caps before fixation.
9685
9686         * gst/gstcaps.h:
9687         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9688         discards all but the first structure from its argument.
9689
9690 2005-07-15  Wim Taymans  <wim@fluendo.com>
9691
9692         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9693         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9694         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9695         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9696         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9697         (gst_base_transform_chain), (gst_base_transform_change_state),
9698         (gst_base_transform_set_passthrough),
9699         (gst_base_transform_is_passthrough):
9700         * gst/base/gstbasetransform.h:
9701         Make passthrough work using the bufferpools.
9702         Changed API a bit, subclasses have to write into a buffer
9703         provided by the base class.
9704         More debug info in nego functions.
9705         
9706         * gst/elements/gstidentity.c: (gst_identity_init),
9707         (gst_identity_transform):
9708         Port to new base class.
9709
9710 2005-07-15  Wim Taymans  <wim@fluendo.com>
9711
9712         * gst/gstmessage.c: (gst_message_new_state_changed):
9713         * tools/gst-launch.c: (event_loop), (main):
9714         Totally dump messages in -launch with the -m option.
9715         Fix message name for State messages,
9716
9717 2005-07-14  Wim Taymans  <wim@fluendo.com>
9718
9719         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9720         Post error messages on errors.
9721
9722 2005-07-14  Wim Taymans  <wim@fluendo.com>
9723
9724         * gst/gstcaps.c: (gst_caps_do_simplify):
9725         Remove debug info.
9726
9727         * gst/gsterror.h:
9728         Define error for stream stopped.
9729
9730         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9731         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9732         Do proper return values.
9733
9734         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9735         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9736         (gst_pad_get_range):
9737         Better return values.
9738
9739         * gst/gstpad.h:
9740         Reorganise return values, add macro to check for fatal errors.
9741
9742         * gst/gstqueue.c: (gst_queue_chain):
9743         Return proper GstFlowReturn values,
9744
9745 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9746
9747         * docs/gst/gstreamer-sections.txt:
9748         * docs/gst/gstreamer.types:
9749         * docs/gst/tmpl/gst.sgml:
9750         * docs/gst/tmpl/gstbasesink.sgml:
9751         * docs/gst/tmpl/gstbasesrc.sgml:
9752         * docs/gst/tmpl/gstbasetransform.sgml:
9753         * docs/gst/tmpl/gstbin.sgml:
9754         * docs/gst/tmpl/gstbuffer.sgml:
9755         * docs/gst/tmpl/gstcaps.sgml:
9756         * docs/gst/tmpl/gstclock.sgml:
9757         * docs/gst/tmpl/gstcompat.sgml:
9758         * docs/gst/tmpl/gstconfig.sgml:
9759         * docs/gst/tmpl/gstelement.sgml:
9760         * docs/gst/tmpl/gstelementdetails.sgml:
9761         * docs/gst/tmpl/gstelementfactory.sgml:
9762         * docs/gst/tmpl/gstenumtypes.sgml:
9763         * docs/gst/tmpl/gsterror.sgml:
9764         * docs/gst/tmpl/gstevent.sgml:
9765         * docs/gst/tmpl/gstfakesink.sgml:
9766         * docs/gst/tmpl/gstfakesrc.sgml:
9767         * docs/gst/tmpl/gstfilesink.sgml:
9768         * docs/gst/tmpl/gstfilesrc.sgml:
9769         * docs/gst/tmpl/gstfilter.sgml:
9770         * docs/gst/tmpl/gstformat.sgml:
9771         * docs/gst/tmpl/gstghostpad.sgml:
9772         * docs/gst/tmpl/gstimplementsinterface.sgml:
9773         * docs/gst/tmpl/gstindex.sgml:
9774         * docs/gst/tmpl/gstindexfactory.sgml:
9775         * docs/gst/tmpl/gstinfo.sgml:
9776         * docs/gst/tmpl/gstiterator.sgml:
9777         * docs/gst/tmpl/gstmacros.sgml:
9778         * docs/gst/tmpl/gstmemchunk.sgml:
9779         * docs/gst/tmpl/gstminiobject.sgml:
9780         * docs/gst/tmpl/gstobject.sgml:
9781         * docs/gst/tmpl/gstpad.sgml:
9782         * docs/gst/tmpl/gstpadtemplate.sgml:
9783         * docs/gst/tmpl/gstparse.sgml:
9784         * docs/gst/tmpl/gstpipeline.sgml:
9785         * docs/gst/tmpl/gstplugin.sgml:
9786         * docs/gst/tmpl/gstpluginfeature.sgml:
9787         * docs/gst/tmpl/gstquery.sgml:
9788         * docs/gst/tmpl/gstqueue.sgml:
9789         * docs/gst/tmpl/gstregistry.sgml:
9790         * docs/gst/tmpl/gstregistrypool.sgml:
9791         * docs/gst/tmpl/gstscheduler.sgml:
9792         * docs/gst/tmpl/gstschedulerfactory.sgml:
9793         * docs/gst/tmpl/gststructure.sgml:
9794         * docs/gst/tmpl/gstsystemclock.sgml:
9795         * docs/gst/tmpl/gsttaglist.sgml:
9796         * docs/gst/tmpl/gsttagsetter.sgml:
9797         * docs/gst/tmpl/gsttrace.sgml:
9798         * docs/gst/tmpl/gsttrashstack.sgml:
9799         * docs/gst/tmpl/gsttypefind.sgml:
9800         * docs/gst/tmpl/gsttypefindfactory.sgml:
9801         * docs/gst/tmpl/gsttypes.sgml:
9802         * docs/gst/tmpl/gsturihandler.sgml:
9803         * docs/gst/tmpl/gsturitype.sgml:
9804         * docs/gst/tmpl/gstutils.sgml:
9805         * docs/gst/tmpl/gstvalue.sgml:
9806         * docs/gst/tmpl/gstversion.sgml:
9807         * docs/gst/tmpl/gstxml.sgml:
9808         * docs/libs/tmpl/gstcontrol.sgml:
9809         * docs/libs/tmpl/gstdataprotocol.sgml:
9810         * docs/libs/tmpl/gstdparam.sgml:
9811         * docs/libs/tmpl/gstdplinint.sgml:
9812         * docs/libs/tmpl/gstdpman.sgml:
9813         * docs/libs/tmpl/gstdpsmooth.sgml:
9814         * docs/libs/tmpl/gstgetbits.sgml:
9815         * docs/libs/tmpl/gstunitconvert.sgml:
9816         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9817         (gst_push_src_base_init), (gst_push_src_class_init),
9818         (gst_push_src_init), (gst_push_src_create):
9819         * gst/base/gstpushsrc.h:
9820         * gst/elements/gstelements.c:
9821         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9822         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9823         (gst_fake_sink_init), (gst_fake_sink_set_property),
9824         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9825         (gst_fake_sink_event), (gst_fake_sink_preroll),
9826         (gst_fake_sink_render), (gst_fake_sink_change_state):
9827         * gst/elements/gstfakesink.h:
9828         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9829         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9830         (gst_fake_src_base_init), (gst_fake_src_class_init),
9831         (gst_fake_src_init), (gst_fake_src_event_handler),
9832         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9833         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9834         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9835         (gst_fake_src_create_buffer), (gst_fake_src_create),
9836         (gst_fake_src_start), (gst_fake_src_stop):
9837         * gst/elements/gstfakesrc.h:
9838         * gst/elements/gstfilesink.c: (_do_init),
9839         (gst_file_sink_base_init), (gst_file_sink_class_init),
9840         (gst_file_sink_init), (gst_file_sink_dispose),
9841         (gst_file_sink_set_location), (gst_file_sink_set_property),
9842         (gst_file_sink_get_property), (gst_file_sink_open_file),
9843         (gst_file_sink_close_file), (gst_file_sink_query),
9844         (gst_file_sink_event), (gst_file_sink_render),
9845         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9846         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9847         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9848         * gst/elements/gstfilesink.h:
9849         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9850         (gst_file_src_class_init), (gst_file_src_init),
9851         (gst_file_src_finalize), (gst_file_src_set_location),
9852         (gst_file_src_set_property), (gst_file_src_get_property),
9853         (gst_file_src_map_region), (gst_file_src_map_small_region),
9854         (gst_file_src_create_mmap), (gst_file_src_create_read),
9855         (gst_file_src_create), (gst_file_src_is_seekable),
9856         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9857         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9858         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9859         (gst_file_src_uri_handler_init):
9860         * gst/elements/gstfilesrc.h:
9861           more autistic cleanliness in functions/names/defines
9862
9863 2005-07-13  Andy Wingo  <wingo@pobox.com>
9864
9865         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9866         source couldn't negotiate.
9867
9868         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9869         connections again.
9870
9871         * gst/gstutils.h:
9872         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9873         function. I am channeling Hades. Put your boots on suckers!!!
9874
9875 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9876
9877         * testsuite/caps/Makefile.am:
9878         * testsuite/caps/value_compare.c:
9879         * testsuite/caps/value_intersect.c:
9880         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9881           move two testsuite apps over to the check dir
9882
9883 2005-07-12  Wim Taymans  <wim@fluendo.com>
9884
9885         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9886         Added more debug info in the negotiate process.
9887
9888         * gst/gstmessage.h:
9889         Prepare for segment playback.
9890
9891         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9892         Better debugging.
9893
9894         * gst/gstutils.c:
9895         Some more docs.
9896
9897         * tools/gst-launch.c: (main):
9898         NULL pipeline on errors.
9899
9900 2005-07-12  Andy Wingo  <wingo@pobox.com>
9901
9902         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9903         not it comes from a malloc region. Make sure our copy gets freed.
9904
9905 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9906
9907         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9908         * check/gst/gstmessage.c: (GST_START_TEST):
9909         * check/gst/gststructure.c: (GST_START_TEST),
9910         (gst_structure_suite), (main):
9911           more testing
9912         * gst/gstelement.c: (gst_element_message_full):
9913           clean up GError and debug string now that they get copied
9914         * gst/gstmessage.c: (gst_message_new_error),
9915         (gst_message_new_warning), (gst_message_parse_error),
9916         (gst_message_parse_warning):
9917           use GST_TYPE_G_ERROR for structure_new, and take copies of
9918           arguments, so that we don't mess up refcounting
9919
9920 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9921
9922         * check/Makefile.am:
9923           add per-test valgrind targets
9924         * check/gst-libs/gdp.c: (GST_START_TEST),
9925         (gst_data_protocol_suite), (main):
9926           clean up
9927
9928 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9929
9930         * check/Makefile.am:
9931           instate more valgrindable tests
9932         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9933         (GST_START_TEST), (fakesrc_suite):
9934         * check/gst/gstpad.c: (GST_START_TEST):
9935         * check/gst/gststructure.c: (GST_START_TEST):
9936           fix test leaks
9937         * docs/gst/tmpl/gstminiobject.sgml:
9938         * gst/gstpad.c: (gst_pad_finalize):
9939           fix the static mutex leak
9940
9941 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9942
9943         * check/Makefile.am:
9944           add two more tests for valgrinding
9945         * check/gst/gstvalue.c: (GST_START_TEST):
9946           test refcount of deserialized buffer, found a leak
9947         * docs/gst/gstreamer-docs.sgml:
9948         * docs/gst/gstreamer-sections.txt:
9949         * docs/gst/gstreamer.types:
9950         * docs/gst/tmpl/gstminiobject.sgml:
9951           add miniobject to docs
9952         * gst/gstminiobject.c:
9953           add some docs
9954         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9955         (gst_string_unwrap):
9956           fix a hard-to-find invalid write for one of the tests
9957           fix a leak for deserialized buffers
9958
9959 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9960
9961         * docs/pwg/advanced-events.xml:
9962         * docs/pwg/advanced-request.xml:
9963         * docs/pwg/advanced-scheduling.xml:
9964         * docs/pwg/appendix-porting.xml:
9965         * docs/pwg/building-boiler.xml:
9966         * docs/pwg/intro-preface.xml:
9967         * docs/pwg/other-ntoone.xml:
9968           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9969           of example code and explanation for pad activation, loop() and
9970           getrange() functions and a bit more. Remove old comments pointing
9971           to loop-functions.
9972         * examples/pwg/Makefile.am:
9973           Add loop/getrange examples.
9974
9975 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9976
9977         * configure.ac:
9978           check for valgrind binary + some fixes
9979         * check/gst.supp:
9980           valgrind suppressions for the tests
9981         * check/Makefile.am:
9982           add a valgrind: target that valgrinds the unit tests
9983         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9984         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9985         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9986         * check/gst/gstghostpad.c:
9987           added some cleanup
9988         * check/gst/gstdata.c:
9989           removed
9990         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9991         (thread_unref), (gst_mini_object_suite), (main):
9992           added
9993         * gst/gst.c: (gst_deinit):
9994         * gst/gst.h:
9995           add a method to clean up.
9996         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9997         (gst_system_clock_obtain):
9998           allow for disposing the system clock.
9999         * tools/gst-launch.c: (main):
10000           deinit
10001
10002 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10003
10004         * docs/gst/tmpl/gstbasesrc.sgml:
10005         * docs/gst/tmpl/gstfakesrc.sgml:
10006         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10007         (gst_base_src_init), (gst_base_src_set_property),
10008         (gst_base_src_get_property), (gst_base_src_get_range),
10009         (gst_base_src_start):
10010         * gst/base/gstbasesrc.h:
10011           add num-buffers property
10012         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10013         (gst_fakesrc_init), (gst_fakesrc_set_property),
10014         (gst_fakesrc_get_property), (gst_fakesrc_create),
10015         (gst_fakesrc_start):
10016           remove num-buffers property
10017
10018 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10019
10020         * docs/gst/gstreamer-sections.txt:
10021         * docs/gst/tmpl/gstbasesink.sgml:
10022         * docs/gst/tmpl/gstbasesrc.sgml:
10023         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
10024         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
10025         (gst_base_sink_finalize), (gst_base_sink_set_clock),
10026         (gst_base_sink_set_property), (gst_base_sink_get_property),
10027         (gst_base_sink_handle_object), (gst_base_sink_event),
10028         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10029         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
10030         (gst_base_sink_loop), (gst_base_sink_deactivate),
10031         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
10032         (gst_base_sink_change_state):
10033         * gst/base/gstbasesink.h:
10034         * gst/base/gstbasesrc.h:
10035         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
10036         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10037         (gst_filesink_init):
10038           more macro splitting
10039
10040 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10041
10042         * gst/gstelement.c: (gst_element_get_bus):
10043           add debug
10044         * tools/gst-launch.c: (check_intr), (event_loop):
10045           fix bus leaks
10046
10047 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10048
10049         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10050           fix a caps leak
10051
10052 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10053
10054         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10055         (gst_base_src_finalize):
10056           add finalize method and clean up properly
10057         * gst/gstpipeline.c: (gst_pipeline_dispose):
10058           add debug
10059
10060 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10061
10062         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
10063         (gst_bin_suite):
10064           add more things to check
10065         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
10066         * gst/gstelement.c:
10067           more debug
10068
10069 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10070
10071         * check/elements/gstfakesrc.c: (chain_func), (event_func),
10072         (GST_START_TEST), (fakesrc_suite):
10073         * check/gst-libs/gdp.c: (GST_START_TEST):
10074         * check/gst/gst.c: (GST_START_TEST):
10075         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10076         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10077         * check/gst/gstbus.c: (GST_START_TEST):
10078         * check/gst/gstcaps.c: (GST_START_TEST):
10079         * check/gst/gstdata.c: (GST_START_TEST):
10080         * check/gst/gstelement.c: (GST_START_TEST):
10081         * check/gst/gstghostpad.c: (GST_START_TEST):
10082         * check/gst/gstiterator.c: (GST_START_TEST):
10083         * check/gst/gstmessage.c: (GST_START_TEST):
10084         * check/gst/gstobject.c: (GST_START_TEST):
10085         * check/gst/gstpad.c: (GST_START_TEST):
10086         * check/gst/gststructure.c: (GST_START_TEST):
10087         * check/gst/gstsystemclock.c: (GST_START_TEST),
10088         (gst_systemclock_suite):
10089         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10090         * check/gst/gstvalue.c: (GST_START_TEST):
10091         * check/pipelines/cleanup.c: (GST_START_TEST):
10092         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10093         * check/states/sinks.c: (GST_START_TEST):
10094         * check/gstcheck.c: (gst_check_init):
10095         * check/gstcheck.h:
10096           add debugging category
10097           use GST_START_TEST now, so we add a debug line
10098
10099 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10100
10101         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
10102           add test for state change message on a bin
10103         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
10104           add another test
10105         * gst/gstbin.c: (gst_bin_init):
10106         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
10107         * gst/gstelement.c: (gst_element_post_message),
10108         (gst_element_set_state):
10109         * gst/gstelementfactory.c: (gst_element_factory_create):
10110         * gst/gstmessage.c: (gst_message_new):
10111         * gst/gstscheduler.c:
10112           various debugging additions and cleanups
10113
10114 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10115
10116         * check/Makefile.am:
10117         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
10118         (main):
10119           adding tests for elements
10120         * gst/gstelement.c: (gst_element_dispose):
10121
10122 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10123
10124         * gst/registries/gstlibxmlregistry.c: (load_feature):
10125           plug more leaks.  A simple gst_init() now is leakfree, yay.
10126
10127 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10128
10129         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
10130         (gst_xml_registry_load):
10131           plug another memleak
10132
10133 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10134
10135         * configure.ac:
10136           use GST_SET_ERROR_CFLAGS
10137         * docs/faq/cvs.xml:
10138           change to ERROR_CFLAGS
10139
10140 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10141
10142         * configure.ac:
10143           make GST_ERROR_CFLAGS overridable and re-enable Werror
10144         * docs/faq/cvs.xml:
10145           add a note about error CFLAGS
10146         * docs/gst/tmpl/gstfakesrc.sgml:
10147         * gst/elements/gstfakesrc.c:
10148           comment out some unused code
10149         * gst/gst.c: (split_and_iterate):
10150         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
10151         (load_feature):
10152           plug some memleaks
10153
10154 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10155
10156         * common/Makefile.am:
10157         * common/gtk-doc.mak:
10158         * docs/gst/Makefile.am:
10159           factor out gtk-doc.mak
10160
10161 2005-07-07  Wim Taymans  <wim@fluendo.com>
10162
10163         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
10164         (gst_thread_scheduler_dispose):
10165         Unlock the STREAM_LOCK completely.
10166
10167 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10168
10169         * check/Makefile.am:
10170         * check/elements/.cvsignore:
10171         * check/elements/gstfakesrc.c: (chain_func), (event_func),
10172         (START_TEST), (fakesrc_suite), (main):
10173         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10174         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10175         (gst_fakesrc_create), (gst_fakesrc_start):
10176         * gst/elements/gstfakesrc.h:
10177           adding a first element test
10178
10179 2005-07-07  Andy Wingo  <wingo@pobox.com>
10180
10181         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
10182         debug message.
10183
10184 2005-07-07  Wim Taymans  <wim@fluendo.com>
10185
10186         * gst/gstquery.c:
10187         * gst/gstquery.h:
10188         Remove old types
10189
10190 2005-07-07  Wim Taymans  <wim@fluendo.com>
10191
10192         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10193         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
10194         Allow subclasses to implement their own negotiation.
10195
10196 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10197
10198         * docs/design/part-gstbin.txt:
10199         * docs/design/part-gstpipeline.txt:
10200           Update design notes to reflect the movement of
10201           responsibility for bus handling from GstPipeline to
10202           GstBin
10203
10204 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10205
10206         * configure.ac:
10207           Remove unnecessary queue2/3/4 examples.
10208
10209 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10210
10211         * examples/Makefile.am:
10212         * examples/helloworld/helloworld.c: (event_loop), (main):
10213         * examples/queue/queue.c: (event_loop), (main):
10214         * examples/queue2/queue2.c: (main):
10215           Update a couple of the examples to work again.
10216
10217         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10218         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
10219          Spelling corrections and extra debug.
10220         
10221         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
10222         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
10223         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
10224         * gst/gstbin.h:
10225         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10226         (gst_pipeline_change_state):
10227         * gst/gstpipeline.h:
10228           Move the bus handler for children to the GstBin, and create a
10229           separate bus for receiving messages from children to the one the
10230           bus sends 'upwards' on.
10231
10232 2005-07-06  Wim Taymans  <wim@fluendo.com>
10233
10234         * gst/base/README:
10235         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10236         (gst_base_sink_handle_object), (gst_base_sink_loop),
10237         (gst_base_sink_change_state):
10238         * gst/base/gstbasesink.h:
10239         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10240         (gst_base_src_init), (gst_base_src_setcaps),
10241         (gst_base_src_getcaps), (gst_base_src_loop),
10242         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
10243         (gst_base_src_start), (gst_base_src_change_state):
10244         * gst/base/gstbasesrc.h:
10245         Make basesrc negotiate.
10246         Handle the case where preroll fails in basesink.
10247         Update README.
10248
10249 2005-07-06  Wim Taymans  <wim@fluendo.com>
10250
10251         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10252         Implement the fixate function.
10253         Clean up acceptcaps.
10254
10255 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10256
10257         * docs/pwg/building-filterfactory.xml:
10258         * docs/pwg/pwg.xml:
10259           Remove never-written filter-factory chapter; I'll add the various
10260           base classes to part 4 ("other element types") later on.
10261
10262 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10263
10264         * docs/pwg/advanced-negotiation.xml:
10265         * docs/pwg/building-boiler.xml:
10266         * docs/pwg/building-pads.xml:
10267         * docs/pwg/pwg.xml:
10268         * examples/pwg/Makefile.am:
10269           Add a chapter on caps negotiation, simplify the original code
10270           samples a bit w.r.t. caps negotiation, add link to the advanced
10271           section. Add a bunch of examples showing different use cases of
10272           different types of caps negotiation. Upstream renegotiation isn't
10273           fully documented yet since nobody knows how that works.
10274
10275 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10276
10277         * check/gst/gstpad.c:
10278         * check/gstcheck.c:
10279         * gst/gstpad.c: (gst_pad_get_internal_links_default):
10280           if pad has no parent, return NULL as list of internal links
10281
10282 2005-07-05  Andy Wingo  <wingo@pobox.com>
10283
10284         * gst/elements/gstfilesrc.c:
10285         * gst/elements/gstfakesrc.c: 
10286         * gst/base/gstpushsrc.c:
10287         * gst/base/gstbasesrc.h: 
10288         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10289         
10290 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
10291
10292         * Makefile.am:
10293           better report generation target (lcov needs a patch)
10294
10295 2005-07-05  Andy Wingo  <wingo@pobox.com>
10296
10297         * gst/elements, testsuite: Null if we got it...
10298
10299 2005-07-05  Wim Taymans  <wim@fluendo.com>
10300
10301         * configure.ac:
10302         * libs/gst/dataprotocol/Makefile.am:
10303         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10304         * libs/gst/dataprotocol/dataprotocol.h:
10305         * pkgconfig/Makefile.am:
10306         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10307         * pkgconfig/gstreamer-dataprotocol.pc.in:
10308         Ported dataprotol to 0.9. 
10309         Added pkgconfig files.
10310
10311 2005-07-05  Andy Wingo  <wingo@pobox.com>
10312
10313         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10314         Default to returning TRUE for the case when tranform_caps returns
10315         a fixed caps, like for identity or volume.
10316
10317         * check/gst/gstbus.c (pound_bus_with_messages): 
10318         * check/gst/gstmessage.c (START_TEST): 
10319         * check/pipelines/simple_launch_lines.c (got_handoff): Application
10320         message API change.
10321
10322         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10323         logic weaks here: always run transform_caps, trying passthrough
10324         operation only if the original caps intersects with the transform.
10325
10326         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10327         source and sink caps.
10328
10329         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10330         Intersect the peer caps with the pad template before going into
10331         transform_caps.
10332         (gst_base_transform_transform_caps): More debugging.
10333
10334         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10335         src argument.
10336
10337 2005-07-04  Edward Hervey  <edward@fluendo.com>
10338
10339         * gst/gstutils.c:
10340         * gst/gstutils.h:
10341         (gst_pad_add_*_probe): now returns the signal id for better wrapping
10342         in bindings.
10343
10344 2005-07-04  Andy Wingo  <wingo@pobox.com>
10345
10346         * check/gst/gstpad.c: Only set explicit caps on pads.
10347
10348 2005-07-01  Andy Wingo  <wingo@pobox.com>
10349
10350         * tests/network-clock.scm: Commentary update.
10351
10352         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10353         Didn't really make sense, not implementable with basetransform,
10354         etc.
10355         (gst_identity_transform): Unref inbuf via make_writable. Feeble
10356         attempt at implementing the sync property, needs an unlock method.
10357
10358         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10359         New func, by default returns the same caps (the identity
10360         transformation).
10361         (gst_base_transform_getcaps): Uses transform_caps to return
10362         something sensible.
10363         (gst_base_transform_setcaps): Complicated logic to get caps on
10364         both pads, even if they are different, and to call set_caps once
10365         for every time both pads get their caps set.
10366         (gst_base_transform_handle_buffer): Give the ref to the transform
10367         function. Allows in-place modification of the buffer.
10368
10369         * gst/base/gstbasetransform.h (transform_caps): New class method.
10370         Given caps on one side, what can I do on the other.
10371         (set_caps): Take two caps, one for each side of the element.
10372
10373         * gst/gstpad.h:
10374         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10375         caps in place. This is safe because we can check the mutability of
10376         the caps, and a good idea because fixate functions are just called
10377         as a matter of last resort. (Not actually implemented.)
10378         (gst_pad_set_caps): If the caps we're setting is actually the same
10379         as the existing pad caps, just update the pointer without calling
10380         setcaps. Assert that caps is either NULL or fixed, as per the
10381         docs.
10382
10383         * gst/gstghostpad.c: Update for fixate changes.
10384
10385 2005-07-02  Andy Wingo  <wingo@pobox.com>
10386
10387         * gst/gstcaps.c:
10388         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10389         two refcounts makes it immutable, which is enough. Doc more.
10390
10391 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
10392
10393         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10394           Put the mini_object into GValue as a mini_object,
10395           not a gpointer, since that's how we declared
10396           the signal.
10397
10398 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10399
10400         * examples/pwg/Makefile.am:
10401           Fix buildbot again.
10402
10403 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10404
10405         * docs/pwg/building-testapp.xml:
10406           Add extra check.
10407         * examples/pwg/Makefile.am:
10408           Fix buildbot.
10409
10410 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10411
10412         * configure.ac:
10413         * examples/Makefile.am:
10414         * examples/pwg/Makefile.am:
10415         * examples/pwg/extract.pl:
10416           Enable building the PWG examples.
10417         * docs/pwg/advanced-interfaces.xml:
10418           Add URI interface stub.
10419         * docs/pwg/advanced-types.xml:
10420         * docs/pwg/other-autoplugger.xml:
10421         * docs/pwg/appendix-porting.xml:
10422         * docs/pwg/pwg.xml:
10423           Add porting guide (mostly stubs), remove autoplugging (see ADM).
10424         * docs/pwg/building-boiler.xml:
10425         * docs/pwg/building-chainfn.xml:
10426         * docs/pwg/building-pads.xml:
10427         * docs/pwg/building-props.xml:
10428         * docs/pwg/building-state.xml:
10429         * docs/pwg/building-testapp.xml:
10430           Update the building-*.xml parts for 0.9 changes. All examples
10431           code blocks compile in examples/pwg/*.
10432
10433 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10434
10435         * docs/manual/advanced-autoplugging.xml:
10436         * docs/manual/appendix-checklist.xml:
10437         * docs/manual/appendix-integration.xml:
10438         * docs/manual/highlevel-components.xml:
10439           Fix playbin/decodebin examples, update docs a bit, mention bus
10440           instead of signals in various places, mention kmplayer and
10441           kaffeine since they have a working GStreamer backend in the KDE
10442           section.
10443
10444 2005-06-30  Wim Taymans  <wim@fluendo.com>
10445
10446         * CHANGES-0.9:
10447         * docs/design/draft-ghostpads.txt:
10448         * docs/design/draft-push-pull.txt:
10449         * docs/design/draft-query.txt:
10450         * docs/design/part-TODO.txt:
10451         * docs/design/part-query.txt:
10452         Added CHANGES-0.9 doc, updated status of other docs.
10453         
10454         * gst/gstquery.h:
10455         Remove "hmm" macro
10456
10457 2005-06-30  Wim Taymans  <wim@fluendo.com>
10458
10459         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10460         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10461         (gst_base_sink_change_state):
10462         * gst/base/gstbasesink.h:
10463         Some tweaks, only EOS and a buffer complete a preroll.
10464
10465 2005-06-30  Andy Wingo  <wingo@pobox.com>
10466
10467         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10468         activate_push down to the internal pad as well.
10469
10470 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
10471
10472         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10473
10474         * gst/gsttaginterface.c:
10475           Some documentation fixes (#307394 and #307397).
10476
10477 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
10478
10479         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10480
10481         * gst/gstvalue.c: (gst_value_intersect_list):
10482           Fix memleak (#309125).
10483
10484 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10485
10486         * docs/manual/advanced-dataaccess.xml:
10487           Fix fakesrc example to compile; doesn't work, bug somewhere...?
10488         * docs/manual/basics-pads.xml:
10489           Add reference for filtered caps to above chapter.
10490
10491 2005-06-30  Wim Taymans  <wim@fluendo.com>
10492
10493         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10494         (gst_bin_change_state):
10495         Probes are gone.
10496         Lame attempt at making the state change function a bit
10497         more readable.
10498
10499 2005-06-30  Wim Taymans  <wim@fluendo.com>
10500
10501         * docs/design/part-clocks.txt:
10502         * docs/design/part-element-sink.txt:
10503         * docs/design/part-events.txt:
10504         * docs/design/part-preroll.txt:
10505         * docs/design/part-states.txt:
10506         Some more tweeks and additions to the docs.
10507
10508 2005-06-30  Wim Taymans  <wim@fluendo.com>
10509
10510         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10511         (default_have_data), (gst_pad_class_init), (gst_pad_init),
10512         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10513         (gst_pad_check_pull_range), (gst_pad_get_range),
10514         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10515         * gst/gstpad.h:
10516         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10517         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10518         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10519         (gst_pad_remove_buffer_probe):
10520         Removed atomic operations, use existing LOCK.
10521         Move exception handling out of main code path.
10522
10523 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10524
10525         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10526         (silly_return_true_function), (gst_pad_class_init),
10527         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10528         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10529         (gst_pad_send_event):
10530           Fix accumulator, add default value by using _emitv() instead
10531           of _emit() for signal emission.
10532
10533 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10534
10535         * docs/manual/advanced-dataaccess.xml:
10536         * examples/manual/Makefile.am:
10537           Add probe example.
10538         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10539           Make work (??).
10540
10541 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
10542
10543         * gst/elements/gstfilesink.c: (gst_filesink_render):
10544           Simplify code so that we don't have to handle short
10545           writes and return GST_FLOW_ERROR if an error occured.
10546
10547 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10548
10549         * docs/gst/gstreamer-docs.sgml:
10550           Remove probes more.
10551
10552 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10553
10554         * docs/gst/gstreamer-sections.txt:
10555         * docs/gst/tmpl/gstpad.sgml:
10556         * docs/gst/tmpl/gstprobe.sgml:
10557         * gst/Makefile.am:
10558         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10559         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10560         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10561         (gst_pad_push_event), (gst_pad_send_event):
10562         * gst/gstpad.h:
10563         * gst/gstutils.c: (gst_pad_add_data_probe),
10564         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10565         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10566         (gst_pad_remove_buffer_probe):
10567         * gst/gstutils.h:
10568           Remove old probes, add new g-signal-based probes and some utility
10569           functions.
10570
10571 2005-06-29  Edward Hervey  <edward@fluendo.com>
10572
10573         * gst/gstelementfactory.c:
10574         * gst/gstutils.h:
10575         * gst/gstutils.c:
10576         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10577         the definition to the header file.
10578
10579 2005-06-29  Andy Wingo  <wingo@pobox.com>
10580
10581         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10582         plugins from the source directory.
10583
10584 2005-06-29  Wim Taymans  <wim@fluendo.com>
10585
10586         * docs/gst/tmpl/gstbuffer.sgml:
10587         * docs/gst/tmpl/gstclock.sgml:
10588         Some fixings for blantently wrong text.
10589
10590 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10591
10592         * check/Makefile.am:
10593         * gst/gst.c: (add_path_func), (init_pre):
10594         * gst/gstregistry.c: (gst_registry_add_path):
10595           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10596           only scan the GST_PLUGIN_PATH locations, and not add
10597           system locations
10598
10599 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10600
10601         * docs/gst/gstreamer-sections.txt:
10602         * docs/gst/tmpl/gstbasesrc.sgml:
10603         * gst/gstelement.c:
10604         * gst/gstelement.h:
10605         * gst/gstevent.c:
10606         * gst/gstutils.c:
10607           doc fixes
10608
10609 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10610
10611         * docs/manual/advanced-autoplugging.xml:
10612           Fix autoplugging example.
10613
10614 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10615
10616         * docs/manual/advanced-autoplugging.xml:
10617         * docs/manual/mime-world.fig:
10618           Try to get autoplugging working, fix type detection. Fix text
10619           in hello-world image.
10620
10621 2005-06-29  Wim Taymans  <wim@fluendo.com>
10622
10623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10624         (gst_base_sink_change_state):
10625         Small debug line.
10626
10627         * gst/gstclock.h:
10628         map SIGNAL and BROADCAST to the right function.
10629
10630         * gst/gstobject.h:
10631         Remove redundant braces.
10632
10633         * gst/gstpad.c: (gst_pad_set_caps):
10634         Don't call setcaps function when reseting caps to NULL.
10635
10636         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10637         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10638         (gst_system_clock_id_unschedule):
10639         Use BROADCAST as this is what we do.
10640
10641 2005-06-29  Wim Taymans  <wim@fluendo.com>
10642
10643         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10644         We are actually prerolling before commiting the state
10645         change. 
10646
10647 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10648
10649         * docs/manual/advanced-clocks.xml:
10650         * docs/manual/advanced-interfaces.xml:
10651         * docs/manual/advanced-metadata.xml:
10652         * docs/manual/advanced-position.xml:
10653         * docs/manual/advanced-schedulers.xml:
10654         * docs/manual/advanced-threads.xml:
10655         * docs/manual/appendix-porting.xml:
10656         * docs/manual/basics-bins.xml:
10657         * docs/manual/basics-bus.xml:
10658         * docs/manual/basics-elements.xml:
10659         * docs/manual/basics-helloworld.xml:
10660         * docs/manual/basics-pads.xml:
10661         * docs/manual/highlevel-components.xml:
10662         * docs/manual/manual.xml:
10663         * docs/manual/thread.fig:
10664           Update (until threads/scheduling) Application Development Manual;
10665           remove GstThread, add GstBus, add simple porting checklist, add
10666           documentation for tag writing, clocks, make all examples until this
10667           part compile and run.
10668         * examples/manual/Makefile.am:
10669           Update from changes to Application Development Manual; add bus
10670           example, remove thread example.
10671
10672 2005-06-28  Wim Taymans  <wim@fluendo.com>
10673
10674         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10675         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10676         (gst_bus_source_dispatch):
10677         Add debugging messages.
10678         Make internal methods static.
10679         Handle the case where the bus is flushed in the handler.
10680         
10681         * gst/gstelement.c: (gst_element_get_bus):
10682         Fix refcount in _get_bus();
10683
10684         * gst/gstpipeline.c: (gst_pipeline_change_state),
10685         (gst_pipeline_get_clock_func):
10686         Clock refcounting fixes.
10687         Handle the case where preroll timed out more gracefully.
10688         
10689         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10690         Clean up the internal thread in dispose. This is needed
10691         for subclasses that actually get disposed.
10692         
10693         * gst/schedulers/threadscheduler.c:
10694         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10695         (gst_thread_scheduler_dispose):
10696         Free thread pool in dispose.
10697
10698 2005-06-28  Andy Wingo  <wingo@pobox.com>
10699
10700         * tests/network-clock-utils.scm (debug, print-event): New utils.
10701
10702         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10703         (*packet-loss*): Unified loss probability.
10704         (network-time): Report out-of-band events.
10705
10706         * tests/plot-data: Add support for out-of-band events. Hack it
10707         into this script instead of passing it down the pipe; should fix
10708         this later.
10709
10710 2005-06-28  Wim Taymans  <wim@fluendo.com>
10711
10712         * docs/gst/gstreamer.types:
10713         * docs/gst/tmpl/gstbasesrc.sgml:
10714         * docs/gst/tmpl/gstpad.sgml:
10715         Docs fixes.
10716
10717 2005-06-28  Wim Taymans  <wim@fluendo.com>
10718
10719         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10720         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10721         (gst_proxy_pad_do_fixatecaps):
10722         Correctly proxy the check_pull_range function.
10723
10724 2005-06-28  Andy Wingo  <wingo@pobox.com>
10725
10726         * tests/network-clock.scm: Removed need for slib.
10727         
10728 2005-06-28  Wim Taymans  <wim@fluendo.com>
10729
10730         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10731         (gst_basesink_preroll_queue_flush):
10732         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10733         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10734         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10735         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10736         (gst_proxy_pad_set_property):
10737         * gst/gstpad.c:
10738         * gst/gstpad.h:
10739         * gst/gstqueue.c: (gst_queue_init):
10740         The deprecated pad loop function is removed now.
10741
10742 2005-06-28  Andy Wingo  <wingo@pobox.com>
10743
10744         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10745         New parameters, simulate network packet loss.
10746
10747         * tests/network-clock-utils.scm: Initialize the RNG.
10748
10749 2005-06-28  Wim Taymans  <wim@fluendo.com>
10750
10751         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10752         (gst_basesink_event), (gst_basesink_deactivate):
10753         Flushing the preroll queue always needs to unlock the waiters.
10754
10755 2005-06-28  Edward Hervey  <edward@fluendo.com>
10756
10757         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10758         Wheen a seek was successful on a pipeline, set the stream_time to the
10759         seek offset in order to have a synchronized stream_time.
10760
10761 2005-06-28  Wim Taymans  <wim@fluendo.com>
10762
10763         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10764         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10765         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10766         (gst_proxy_pad_do_fixatecaps):
10767         Call wrapper function instead of just calling the function
10768         pointers. This takes care of any locking and whatmore.
10769
10770 2005-06-28  Wim Taymans  <wim@fluendo.com>
10771
10772         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10773         (gst_pad_pull_range):
10774         * gst/gstpad.h:
10775         CONNECTED -> LINKED.
10776
10777 2005-06-28  Andy Wingo  <wingo@pobox.com>
10778
10779         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10780         source-munging commit!!!
10781
10782         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10783         (gst_object_sink): Take gpointer arguments, not GstObject --
10784         avoids casts. Like GLib.
10785
10786         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10787         activate.
10788
10789 2005-06-27  Andy Wingo  <wingo@pobox.com>
10790
10791         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10792         remaining buffer.
10793
10794         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10795         returns a sorted copy of the trace list.
10796         (gst_alloc_trace_print_live): New API, only prints traces with
10797         live objects. Sort the list.
10798         (gst_alloc_trace_print_all): Sort the list.
10799         (gst_alloc_trace_print): Align columns.
10800
10801         * gst/elements/gstttypefindelement.c:
10802         * gst/elements/gsttee.c:
10803         * gst/base/gstbasesrc.c:
10804         * gst/base/gstbasesink.c:
10805         * gst/base/gstbasetransform.c:
10806         * gst/gstqueue.c: Adapt for pad activation changes.
10807
10808         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10809         sched.
10810         (gst_pipeline_dispose): Drop ref on sched.
10811
10812         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10813         (gst_pad_activate_default): Push mode by default.
10814         (pre_activate_switch, post_activate_switch): New stubs, things to
10815         do before and after switching activation modes on pads.
10816         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10817         the pad's activate function to choose which mode to activate.
10818         Shortcut on deactivation and call the right function directly.
10819         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10820         mode.
10821         (gst_pad_activate_push): New API, same for push mode.
10822         (gst_pad_set_activate_function) 
10823         (gst_pad_set_activatepull_function) 
10824         (gst_pad_set_activatepush_function): Setters for new API.
10825
10826         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10827         Trace all miniobjects.
10828         (gst_mini_object_make_writable): Unref the arg if we copy, like
10829         gst_caps_make_writable.
10830
10831         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10832
10833         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10834         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10835         Adapt for new pad API.
10836
10837         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10838
10839         * gst/gstelement.h:
10840         * gst/gstelement.c (gst_element_iterate_src_pads) 
10841         (gst_element_iterate_sink_pads): New API functions.
10842         
10843         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10844         should fold into gstiterator.c in some form.
10845         (gst_element_pads_activate): Simplified via use of fold and
10846         delegation of decisions to gstpad->activate.
10847
10848         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10849         help in debugging.
10850
10851         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10852         class once in init, like gstmessage. Didn't run into this issue
10853         but it seems correct. Don't initialize a trace, gstminiobject does
10854         that.
10855
10856         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10857         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10858         to the bus.
10859         (assert_live_count): New util function, uses alloc traces to check
10860         cleanup.
10861
10862         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10863         To be modified when unlink drops the internal pad.
10864
10865 2005-06-27  Wim Taymans  <wim@fluendo.com>
10866
10867         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10868         (gst_bin_change_state):
10869         Cleanup the get_state() function a little, make sure it
10870         iterates the same set of elements.
10871         Added stub iterate_state_order().
10872
10873 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10874
10875         * docs/gst/gstreamer-docs.sgml:
10876         * docs/gst/gstreamer-sections.txt:
10877         * docs/gst/gstreamer.types:
10878         * docs/gst/tmpl/gstbasesink.sgml:
10879         * docs/gst/tmpl/gstbasesrc.sgml:
10880         * docs/gst/tmpl/gstbasetransform.sgml:
10881         * docs/gst/tmpl/gstelement.sgml:
10882         * docs/gst/tmpl/gstiterator.sgml:
10883         * gst/base/gstbasesrc.c:
10884         * gst/base/gstbasesrc.h:
10885         * gst/base/gstbasetransform.h:
10886         * gst/gstelement.c:
10887         * gst/gstiterator.h:
10888           adding basetransform and iterator docs
10889
10890 2005-06-27  Andy Wingo  <wingo@pobox.com>
10891
10892         * docs/design/part-activation.txt: Notes on how activation should
10893         work -- not quite implemented yet.
10894
10895 2005-06-25  Wim Taymans  <wim@fluendo.com>
10896
10897         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10898         At least get the chain function correct, needs more
10899         fixing.
10900
10901 2005-06-25  Wim Taymans  <wim@fluendo.com>
10902
10903         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10904         (gst_basesink_handle_object), (gst_basesink_event),
10905         (gst_basesink_do_sync), (gst_basesink_handle_event),
10906         (gst_basesink_change_state):
10907         * gst/gsttask.h:
10908         Right, two problems here: ghostpads don't take locks and
10909         glib _rec_mutex_lock_full() with depth==0 still locks.
10910         Catch illegal locking and g_warn them.
10911
10912 2005-06-25  Wim Taymans  <wim@fluendo.com>
10913
10914         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10915         Have to check for completion now...
10916
10917 2005-06-25  Wim Taymans  <wim@fluendo.com>
10918
10919         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10920         (gst_basesink_handle_object), (gst_basesink_event),
10921         (gst_basesink_do_sync), (gst_basesink_handle_event),
10922         (gst_basesink_change_state):
10923         * gst/gstpad.h:
10924         Unlock STREAM_LOCK whatever the recursion was.
10925
10926 2005-06-25  Wim Taymans  <wim@fluendo.com>
10927
10928         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10929         (gst_basesink_preroll_queue_empty),
10930         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10931         (gst_basesink_event), (gst_basesink_do_sync),
10932         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10933         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10934         (gst_basesink_change_state):
10935         Reworked the base sink, handle event and buffer serialisation
10936         correctly and removed possible deadlock.
10937         Handle EOS correctly.
10938
10939 2005-06-25  Wim Taymans  <wim@fluendo.com>
10940
10941         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10942         (gst_pipeline_change_state):
10943         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10944         Allow elements to post EOS in the state change function.
10945         Fix up -launch, make it exit the poll loop when the
10946         pipeline actually changed state.
10947         Fix up warning parsing in -launch.
10948
10949 2005-06-25  Wim Taymans  <wim@fluendo.com>
10950
10951         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10952         (gst_tee_sink_activate):
10953         Core takes STREAM_LOCK for us now.
10954
10955 2005-06-25  Wim Taymans  <wim@fluendo.com>
10956
10957         * gst/gstelement.c: (gst_element_get_state_func),
10958         (gst_element_set_state):
10959         * gst/gstelement.h:
10960         * gst/gstmessage.c: (gst_message_parse_error),
10961         (gst_message_parse_warning):
10962         Keep track of current target state while performing a state
10963         change so that subclasses can do something interesting.
10964         Fix parsing of warning/error messages when GError is NULL.
10965
10966 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10967
10968         * docs/gst/Makefile.am:
10969         * docs/gst/gstreamer-docs.sgml:
10970         * docs/gst/gstreamer-sections.txt:
10971         * docs/gst/gstreamer.types:
10972         * docs/gst/tmpl/gstbasesink.sgml:
10973         * docs/gst/tmpl/gstbasesrc.sgml:
10974         * docs/gst/tmpl/gstbin.sgml:
10975         * docs/gst/tmpl/gstcompat.sgml:
10976         * docs/gst/tmpl/gstfakesink.sgml:
10977         * docs/gst/tmpl/gstfakesrc.sgml:
10978         * docs/gst/tmpl/gstfilesink.sgml:
10979         * docs/gst/tmpl/gstfilesrc.sgml:
10980         * docs/gst/tmpl/gstindex.sgml:
10981         * docs/manual/appendix-quotes.xml:
10982         * gst/base/gstbasesrc.h:
10983         * gst/elements/gstfakesrc.h:
10984         * gst/gstmessage.h:
10985           start pulling in base classes and elements in our docs
10986
10987 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10988
10989         * docs/gst/Makefile.am:
10990         * docs/libs/Makefile.am:
10991           fixed make distcheck with gtk-doc 1.3
10992
10993 2005-06-23  Wim Taymans  <wim@fluendo.com>
10994
10995         * gst/gstelement.c: (gst_element_get_state_func),
10996         (gst_element_set_state), (gst_element_change_state):
10997         When the state did not change, also report NO_PREROLL
10998         when it matters.
10999
11000 2005-06-23  Wim Taymans  <wim@fluendo.com>
11001
11002         * gst/gstpad.c: (gst_pad_event_default):
11003         * gst/gstqueue.c: (gst_queue_loop):
11004         No unsafe task pausing please.
11005
11006 2005-06-23  Wim Taymans  <wim@fluendo.com>
11007
11008         * gst/schedulers/threadscheduler.c:
11009         (gst_thread_scheduler_task_start),
11010         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
11011         Ref the task before pushing it on the threadpool. This
11012         makes sure that we have a ref when the threadfunction is
11013         actually called.
11014
11015 2005-06-23  Andy Wingo  <wingo@pobox.com>
11016
11017         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
11018         offset is greater than the file's size.
11019
11020         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
11021         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
11022         * gst/gstobject.c (gst_object_class_init): Make the class lock
11023         recursive. Wim won't let me drop deep_notify. Decodebin works
11024         again, whoopdy doo.
11025
11026         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
11027         internal pad, and hacks accordingly. Doesn't do it on the target
11028         pad because we change its caps. Probably catches all cases of
11029         interest tho.
11030         (gst_ghost_pad_set_property): Connect to notify::caps as
11031         appropritate.
11032
11033         * tests/network-clock.scm (plot-simulation): Pipe data to the
11034         elite python skript.
11035
11036         * tests/network-clock-utils.scm (define-parameter): New macro,
11037         defines a parameter that can be set via the command line.
11038         (set-parameter!, parse-parameter-arguments): Command line args
11039         parser.
11040
11041         * tests/plot-data: Simple matplotlib-based plotter, takes input on
11042         stdin.
11043
11044 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
11045
11046         * gst/elements/gsttypefindelement.c:
11047         (gst_type_find_element_handle_event):
11048           Don't restart typefinding on a discont.
11049         * gst/gstelement.c: (gst_element_set_state):
11050           Debug spelling fix.
11051         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
11052           Allow changing mode of an active pad.
11053           Debug output fixes.
11054         * gst/registries/gstlibxmlregistry.c: (load_feature):
11055           Don't cast a static pad template to a normal pad template.
11056
11057 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11058
11059         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11060         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11061           remove gst_strtoll completely, since it didn't actually do
11062           anything more than what g_ascii_strtoull already does.
11063           check for range errors when deserializing
11064           do a cast for the unsigned cases; but further fixing needs
11065           a decision on what the interpretation of "(int)" and
11066           deserialization should be for values that fall outside the
11067           type's boundaries (ie, refuse, or interpret as casting)
11068
11069 2005-06-23  Wim Taymans  <wim@fluendo.com>
11070
11071         * check/Makefile.am:
11072         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
11073         * docs/design/part-live-source.txt:
11074         * docs/design/part-states.txt:
11075         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11076         (gst_basesrc_set_live), (gst_basesrc_is_live),
11077         (gst_basesrc_get_range), (gst_basesrc_activate),
11078         (gst_basesrc_change_state):
11079         * gst/base/gstbasesrc.h:
11080         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11081         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11082         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
11083         * gst/gstelement.c: (gst_element_get_state_func),
11084         (gst_element_set_state):
11085         * gst/gstelement.h:
11086         * gst/gsttypes.h:
11087         * tools/gst-launch.c: (event_loop), (main):
11088         Added support for live sources and other elements that
11089         cannot do preroll.
11090         Updated design docs, added live-source design doc.
11091         Implemented live source functionality in basesrc
11092         Fix error condition in _bin_get_state()
11093         Implement live source handling in -launch.
11094         Added check for live sources.
11095         Fixed case in GstBin where elements were changed state
11096         multiple times.
11097
11098
11099 2005-06-23  Andy Wingo  <wingo@pobox.com>
11100
11101         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
11102         borken refcounting.
11103
11104         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
11105         gst_caps_replace takes care of this for us.
11106
11107         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
11108         gst_pad_set_caps on the target, not just its setcaps() function.
11109
11110         * tests/network-clock.scm: 
11111         * tests/network-clock-utils.scm: A network clock simulator.
11112         Something of an algorithmic testbed before doing something in C.
11113
11114 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11115
11116         * check/Makefile.am:
11117         * check/gst/capslist.h:
11118           copy over from 0.8, and add two with bitmasks specified with
11119           (int) 0xFF...
11120         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11121           add test to parse everything from capslist.h
11122         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
11123         (main):
11124           add test for structure deserialization
11125         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11126           add tests for deserialization of strings to int types
11127         * gst/gststructure.c: (gst_structure_nth_field_name):
11128         * gst/gststructure.h:
11129           add a way to get the name of a field referenced by index
11130         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11131           instead of checking if the resulting long long lies between
11132           min and max, we check if the long long would fit into
11133           a number of bytes for the final type.
11134           This fixes cases where a string represents 2^32 - 1, which
11135           when cast to int would be the (valid) -1, but is bigger than
11136           G_MAXINT
11137
11138 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11139
11140         * gst/parse/grammar.y:
11141           add a log line for type deserialization
11142
11143 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11144
11145         * check/gst/gstvalue.c: (START_TEST):
11146         * gst/gstvalue.c: (gst_value_deserialize):
11147           return long long, not int, so gint64 deserialization actually
11148           works.  Is there any flag that makes the compiler check this ?
11149           Fixes #308559
11150
11151 2005-06-22  Wim Taymans  <wim@fluendo.com>
11152
11153         * gst/gstbuffer.h:
11154         Added convenience macros for setting buffers in GValue.
11155
11156 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11157
11158         * check/gst/.cvsignore:
11159         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11160           add a test deserializing int64, and comment part out because
11161           it fails, yay !
11162
11163 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11164
11165         * check/Makefile.am:
11166         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
11167         * testsuite/Makefile.am:
11168         * testsuite/caps/Makefile.am:
11169         * testsuite/caps/value_serialize.c:
11170         * testsuite/test_gst_init.c:
11171           move a value_serialize test over
11172
11173 2005-06-20  Wim Taymans  <wim@fluendo.com>
11174
11175         * gst/gstpad.c:
11176         Small doc updates.
11177         
11178         * gst/gstvalue.c: (gst_value_compare_buffer),
11179         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
11180         (gst_value_compare_flags), (gst_value_serialize_flags),
11181         (gst_value_deserialize_flags), (_gst_value_initialize):
11182         Fix serialisation of buffers, they are not boxed types anymore
11183
11184 2005-06-20  Wim Taymans  <wim@fluendo.com>
11185
11186         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11187         Testcase to show error in buffer-on-caps serialisation.
11188
11189 2005-06-20  Andy Wingo  <wingo@pobox.com>
11190
11191         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
11192         will be adding to later.
11193
11194         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
11195         if its socks fill with rocks.
11196         (gst_system_clock_obtain): Set the name on object construction.
11197         Avoid double-checked locking.
11198
11199 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
11200
11201         * gst/gsturi.c: (gst_element_make_from_uri):
11202           Fix potential endless loop.
11203
11204 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11205
11206         * check/Makefile.am:
11207           add gsttag
11208         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
11209         (main):
11210           move over from testsuite dir and clean up
11211         * configure.ac:
11212         * gst/gsttag.c:
11213         * testsuite/Makefile.am:
11214         * testsuite/tags/.cvsignore:
11215         * testsuite/tags/Makefile.am:
11216         * testsuite/tags/merge.c:
11217           remove testsuite/tags
11218
11219 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11220
11221         * docs/gst/gstreamer-sections.txt:
11222         * docs/gst/tmpl/gstenumtypes.sgml:
11223         * win32/gstenumtypes.c:
11224           clean up documentation build a little
11225
11226 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11227
11228         * check/gstcheck.h:
11229           add macros for checking refcounts on objects and caps
11230         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
11231           add some more unit tests
11232         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11233         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
11234           fix leaked refcounts (I hope :)) so unittest works
11235         * gst/gstpad.h:
11236           whitespace removal
11237
11238 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11239
11240         * configure.ac: back to HEAD
11241
11242 === release 0.9.1 ===
11243
11244 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11245
11246         * NEWS:
11247         * RELEASE:
11248           updated
11249
11250 2005-06-17  Andy Wingo  <wingo@pobox.com>
11251
11252         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11253         assert; it's always possible that the pad gets deactivated in
11254         between the checks in gstpad.c and the implementation. Rely on
11255         finish_preroll() to return a FLUSHING or similar instead of on the
11256         assert.
11257         
11258         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11259         clock and post an EOS message if we come out of finish_preroll in
11260         the playing state.
11261
11262 2005-06-16  David Schleef  <ds@schleef.org>
11263
11264         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11265         (gst_capsfilter_set_property): Allow NULL as possible value
11266         for filter_caps property, indicating GST_CAPS_ANY.
11267
11268 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11269
11270         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11271           fix debug output
11272         * gst/schedulers/Makefile.am:
11273           use libgst prefix
11274         * gstreamer.spec.in:
11275           fix spec for it
11276
11277 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11278
11279         * gstreamer.spec.in:
11280           clean up
11281
11282 2005-06-08  Andy Wingo  <wingo@pobox.com>
11283
11284         * gst/gstutils.c: RPAD fixes all around.
11285         (gst_element_link_pads): Refcounting fixes.
11286
11287         * tools/gst-inspect.c:
11288         * tools/gst-xmlinspect.c:
11289         * parse/grammar.y:
11290         * gst/base/gsttypefindhelper.c:
11291         * gst/base/gstbasesink.c:
11292         * gst/gstqueue.c: RPAD fixes.
11293
11294         * gst/gstghostpad.h:
11295         * gst/gstghostpad.c: New ghost pad implementation as full proxy
11296         pads. The tricky thing is they provide both source and sink
11297         interfaces, since they proxy the internal pad for the external
11298         pad, and vice versa. Implement with lower-level ProxyPad objects,
11299         with the interior proxy pad as a child of the exterior ghost pad.
11300         Should write a doc on this.
11301         
11302         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11303         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11304         gst_object API.
11305         
11306         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11307         pads are real pads. No ghost pads in this file. Not documenting
11308         the myriad s/RPAD/PAD/ and REALIZE fixes.
11309         (gst_pad_class_init): Add properties for "direction" and
11310         "template". Both are construct-only, so they can't change during
11311         the life of the pad. Fixes properly deriving from GstPad.
11312         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11313         derived objects, just set properties when creating the objects via
11314         g_object_new.
11315         (gst_pad_get_parent): Implement as a function, return NULL if the
11316         parent is not an element.
11317         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11318         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11319         
11320         * gst/gstobject.c (gst_object_class_init): Make name a construct
11321         property. Don't set it in the object init.
11322
11323         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11324         with UNKNOWN direction.
11325         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11326         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11327         (gst_element_remove_pad): Remove ghost-pad special cases.
11328         (gst_element_pads_activate): Remove rpad cruft.
11329
11330         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11331         catch the pad's-parent-not-an-element case.
11332
11333         * gst/gst.h: Include gstghostpad.h.
11334
11335         * gst/gst.c (init_post): No more real, ghost pads.
11336
11337         * gst/Makefile.am: Add gstghostpad.[ch].
11338
11339         * check/Makefile.am:
11340         * check/gst/gstbin.c:
11341         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11342         into a bin creates ghost pads, and that the refcounts are right.
11343         Partly moved from gstbin.c.
11344
11345 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11346
11347         * check/gst-libs/.cvsignore:
11348         * check/gst/.cvsignore:
11349         * check/pipelines/.cvsignore:
11350           ignore more
11351         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11352         (START_TEST), (cleanup_suite), (main):
11353           add some tests related to cleanup after running pipelines
11354
11355 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11356
11357         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11358           add a testsuite for GstBuffer
11359
11360 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11361
11362         * gst/gstminiobject.h:
11363           add defines for accessing the refcount
11364
11365 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
11366
11367         * Makefile.am: added support for html unit test coverage reports
11368
11369 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
11370
11371         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11372           Free existing caps if the capsfilter changes. Add a FIXME about
11373           setting those caps on the pads.
11374
11375         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11376           Before adding a ghost pad to a parent bin, check that there isn't
11377           already one for the element on the bin. Prevents infinite recursion
11378           when using decodebin in parse pipelines. Andy says he'll rewrite the
11379           way this works anyway, so ignore the hack.
11380
11381 2005-06-02  Andy Wingo  <wingo@pobox.com>
11382
11383         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11384         file size, pass it on to the type find helper.
11385
11386         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11387         segment_start and segment_end properly according to the seek
11388         method. Segment_end is still a bit flaky because offset can be
11389         negative for CUR and END cases, but it takes -1 as an "unset"
11390         value.
11391
11392 2005-06-02  Wim Taymans  <wim@fluendo.com>
11393
11394         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11395         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11396         (gst_basesink_activate):
11397         * gst/base/gstbasesink.h:
11398         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11399         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11400         (gst_pad_query), (gst_pad_start_task):
11401         * gst/gstpad.h:
11402         * gst/gstqueue.c: (gst_queue_bufferalloc),
11403         (gst_queue_handle_sink_event), (gst_queue_chain):
11404         Bufferalloc: return GstFlowReturn to more accuratly report
11405         why allocation failed.
11406
11407 2005-06-02  Wim Taymans  <wim@fluendo.com>
11408
11409         * gst/gstpipeline.c: (gst_pipeline_send_event):
11410         Take snapshot of state without blocking.
11411
11412 2005-06-02  Wim Taymans  <wim@fluendo.com>
11413
11414         * docs/design/part-TODO.txt:
11415         * docs/design/part-caps.txt:
11416         * docs/design/part-clocks.txt:
11417         * docs/design/part-negotiation.txt:
11418         * docs/design/part-preroll.txt:
11419         Small doc updates 
11420
11421 2005-05-30  Wim Taymans  <wim@fluendo.com>
11422
11423         * gst/elements/gstidentity.c: (gst_identity_event),
11424         (gst_identity_transform), (gst_identity_get_property):
11425         Protect last_message property as it is accessed from
11426         multiple threads.
11427
11428 2005-05-30  Wim Taymans  <wim@fluendo.com>
11429
11430         * gst/gstelement.c: (gst_element_init),
11431         (gst_element_pads_activate), (gst_element_change_state):
11432         Slicker pad activation code.
11433
11434 2005-05-30  Wim Taymans  <wim@fluendo.com>
11435
11436         * gst/Makefile.am:
11437         * gst/gstelement.h:
11438         * gst/gstelementfactory.h:
11439         * gst/gsttypes.h:
11440         Move elementfactory methods to separate .h file.
11441
11442 2005-05-30  Wim Taymans  <wim@fluendo.com>
11443
11444         * docs/design/part-overview.txt:
11445         * gst/gstsystemclock.h:
11446         Small typo fixes, doc updates.
11447
11448 2005-05-30  Wim Taymans  <wim@fluendo.com>
11449
11450         * gst/gst.c: (gst_init_get_popt_table), (init_post),
11451         (init_popt_callback):
11452         Remove cpu-opt flag.
11453
11454 2005-05-30  Wim Taymans  <wim@fluendo.com>
11455
11456         * gst/gstbuffer.c: (gst_subbuffer_finalize),
11457         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11458         * gst/gstbuffer.h:
11459         Avoid typechecking in places where not needed.
11460         Added accessor for malloc_data.
11461
11462 2005-05-30  Wim Taymans  <wim@fluendo.com>
11463
11464         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11465         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11466         (gst_pad_configure_sink), (gst_pad_configure_src),
11467         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11468         (gst_pad_start_task):
11469         Propagate errors from _set_caps() in configure_src/sink
11470         functions instead of returning TRUE.
11471         FLUSH events can travel up and downstream
11472
11473
11474 2005-05-30  Wim Taymans  <wim@fluendo.com>
11475
11476         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11477         (gst_basesink_activate):
11478         Handle EOS in preroll.
11479
11480 2005-05-30  Wim Taymans  <wim@fluendo.com>
11481
11482         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11483         (gst_queue_loop), (gst_queue_handle_src_event):
11484         Remove old pieces of code
11485         Flushing the queue in an upstream event is a very bad idea.
11486
11487 2005-05-26  Andy Wingo  <wingo@pobox.com>
11488
11489         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11490         gst_value_set_mini_object so as to add a ref on the object (which
11491         will be removed when the value is unset).
11492
11493         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11494         arg type in ::handoff.
11495
11496         * gst/gstelement.c (gst_element_change_state): Also deactivate
11497         pads in READY->NULL, just in case the element didn't make it to
11498         PAUSED. Wingo tested, Wim approved.
11499
11500 2005-05-26  Wim Taymans  <wim@fluendo.com>
11501
11502         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11503         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11504         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11505         A flushing pad cannot be used to alloc_buffer from.
11506
11507 2005-05-26  Wim Taymans  <wim@fluendo.com>
11508
11509         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11510         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11511         (gst_bus_source_dispatch), (gst_bus_source_finalize),
11512         (gst_bus_create_watch), (gst_bus_add_watch_full):
11513         * gst/gstbus.h:
11514         Implement a real GSource and use g_main_context_wakeup() to
11515         signal new messages instead of the socketpair.
11516
11517 2005-05-25  Wim Taymans  <wim@fluendo.com>
11518
11519         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11520         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11521         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11522         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11523         (gst_pad_send_event), (gst_pad_start_task):
11524         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11525         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11526         (gst_queue_sink_activate), (gst_queue_src_activate),
11527         (gst_queue_change_state):
11528         * gst/gstqueue.h:
11529         Fix state changes for non sinks. We now change sinks, then elements
11530         with unconnected srcpads, then the rest.
11531         More efficient queue unlocking in flush and state changes.
11532         Set the pad activate mode even if it does not have an activate
11533         function.
11534
11535 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11536
11537         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11538           Don't go in pull mode for non-seekable sources.
11539         * gst/elements/gsttypefindelement.h:
11540         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11541         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11542         (free_entry), (stop_typefinding),
11543         (gst_type_find_element_handle_event), (find_peek),
11544         (gst_type_find_element_chain), (do_pull_typefind),
11545         (gst_type_find_element_change_state):
11546           Allow typefinding (w/o seeking) in push-mode, simplified version
11547           of what was in 0.8.
11548         * gst/gstutils.c: (gst_buffer_join):
11549         * gst/gstutils.h:
11550           gst_buffer_join() from 0.8.
11551
11552 2005-05-25  Wim Taymans  <wim@fluendo.com>
11553
11554         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11555         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11556         (gst_pad_send_event), (gst_pad_start_task):
11557         Disable attempt at mode switching until it is figured out.
11558
11559 2005-05-25  Wim Taymans  <wim@fluendo.com>
11560
11561         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11562         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11563         (gst_basesink_finish_preroll), (gst_basesink_chain),
11564         (gst_basesink_loop), (gst_basesink_activate),
11565         (gst_basesink_change_state):
11566         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11567         (gst_basesrc_get_range), (gst_basesrc_loop),
11568         (gst_basesrc_activate):
11569         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11570         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11571         (gst_real_pad_init), (gst_real_pad_set_property),
11572         (gst_real_pad_get_property), (gst_pad_set_active),
11573         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11574         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11575         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11576         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11577         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11578         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11579         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11580         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11581         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11582         (gst_pad_stop_task):
11583         * gst/gstpad.h:
11584         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11585         (gst_queue_loop), (gst_queue_src_activate):
11586         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11587         (gst_task_get_state):
11588         * gst/gsttask.h:
11589         * gst/schedulers/threadscheduler.c:
11590         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11591         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11592         in task function.
11593         Remove ACTIVE pad flag, use FLUSHING everywhere
11594         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11595         functions.
11596         Add locks around IS_FLUSHING when reading.
11597         Take STREAM lock in chain(), get_range() functions so plugins
11598         don't need to take it anymore.
11599         
11600
11601
11602 2005-05-25  Wim Taymans  <wim@fluendo.com>
11603
11604         * tools/gst-launch.c: (event_loop):
11605         Unref message after using its contents instead of
11606         before.
11607
11608 2005-05-24  Wim Taymans  <wim@fluendo.com>
11609
11610         * docs/design/draft-ghostpads.txt:
11611         * docs/design/draft-push-pull.txt:
11612         * docs/design/draft-query.txt:
11613         * docs/design/part-overview.txt:
11614         Docs updates, added general overview doc.
11615
11616 2005-05-21  David Schleef  <ds@schleef.org>
11617
11618         * docs/gst/tmpl/old/GstBin.sgml:
11619         * docs/gst/tmpl/old/GstBuffer.sgml:
11620         * docs/gst/tmpl/old/GstCaps.sgml:
11621         * docs/gst/tmpl/old/GstClock.sgml:
11622         * docs/gst/tmpl/old/GstCompat.sgml:
11623         * docs/gst/tmpl/old/GstData.sgml:
11624         * docs/gst/tmpl/old/GstElement.sgml:
11625         * docs/gst/tmpl/old/GstEvent.sgml:
11626         * docs/gst/tmpl/old/GstIndex.sgml:
11627         * docs/gst/tmpl/old/GstStructure.sgml:
11628         * docs/gst/tmpl/old/GstTag.sgml:
11629         * docs/gst/tmpl/old/cothreads.sgml:
11630         * docs/gst/tmpl/old/cothreads_compat.sgml:
11631         * docs/gst/tmpl/old/gettext.sgml:
11632         * docs/gst/tmpl/old/gobject2gtk.sgml:
11633         * docs/gst/tmpl/old/grammar.tab.sgml:
11634         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11635         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11636         * docs/gst/tmpl/old/gst_private.sgml:
11637         * docs/gst/tmpl/old/gstaggregator.sgml:
11638         * docs/gst/tmpl/old/gstarch.sgml:
11639         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11640         * docs/gst/tmpl/old/gstbufferstore.sgml:
11641         * docs/gst/tmpl/old/gstdata_private.sgml:
11642         * docs/gst/tmpl/old/gstdisksink.sgml:
11643         * docs/gst/tmpl/old/gstdisksrc.sgml:
11644         * docs/gst/tmpl/old/gstelementfactory.sgml:
11645         * docs/gst/tmpl/old/gstextratypes.sgml:
11646         * docs/gst/tmpl/old/gstfakesink.sgml:
11647         * docs/gst/tmpl/old/gstfakesrc.sgml:
11648         * docs/gst/tmpl/old/gstfdsink.sgml:
11649         * docs/gst/tmpl/old/gstfdsrc.sgml:
11650         * docs/gst/tmpl/old/gstfilesink.sgml:
11651         * docs/gst/tmpl/old/gstfilesrc.sgml:
11652         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11653         * docs/gst/tmpl/old/gstidentity.sgml:
11654         * docs/gst/tmpl/old/gstindexfactory.sgml:
11655         * docs/gst/tmpl/old/gstmarshal.sgml:
11656         * docs/gst/tmpl/old/gstmd5sink.sgml:
11657         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11658         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11659         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11660         * docs/gst/tmpl/old/gstpipefilter.sgml:
11661         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11662         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11663         * docs/gst/tmpl/old/gstshaper.sgml:
11664         * docs/gst/tmpl/old/gstspider.sgml:
11665         * docs/gst/tmpl/old/gstspideridentity.sgml:
11666         * docs/gst/tmpl/old/gststatistics.sgml:
11667         * docs/gst/tmpl/old/gsttee.sgml:
11668         * docs/gst/tmpl/old/gsttimecache.sgml:
11669         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11670         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11671         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11672         * docs/gst/tmpl/old/types.sgml:
11673           I didn't intend to add these or check them in.
11674
11675 2005-05-19  David Schleef  <ds@schleef.org>
11676
11677         * configure.ac: Use -no-common everywhere.  In a sane world, it
11678           would be the default in libtool, because without it, you can't
11679           build DLLs on Windows.
11680         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11681         * docs/gst/gstreamer-sections.txt:
11682         * docs/gst/tmpl/gstcpu.sgml:
11683         * docs/gst/tmpl/gstdata.sgml:
11684         * docs/gst/tmpl/gstthread.sgml:
11685
11686 2005-05-19  David Schleef  <ds@schleef.org>
11687
11688         * gst/gstminiobject.c: (gst_value_set_mini_object),
11689         (gst_value_take_mini_object), (gst_value_get_mini_object):
11690         * gst/gstminiobject.h: Add GValue set/get functions.
11691
11692 2005-05-19  Wim Taymans  <wim@fluendo.com>
11693
11694         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11695         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11696         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11697         * gst/gstbuffer.h:
11698         * gst/gstbus.c: (gst_bus_post):
11699         * gst/gstelement.c: (gst_element_get_random_pad):
11700         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11701         Make subbufer unref the parent in finalize.
11702         some more debugging info.
11703
11704
11705 2005-05-19  Wim Taymans  <wim@fluendo.com>
11706
11707         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11708         (gst_basesink_init), (gst_basesink_finalize),
11709         (gst_basesink_activate), (gst_basesink_change_state):
11710         Don't free preroll queue too early.
11711
11712 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11713
11714         * gst/Makefile.am:
11715         * gst/ROADMAP:
11716           Hi, I'm outdated. Please shoot me.
11717
11718 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11719
11720         * gst/gstpipeline.c: (gst_pipeline_send_event):
11721           Do not access variables after they have been deleted.
11722
11723 2005-05-19  Wim Taymans  <wim@fluendo.com>
11724
11725         * tools/gst-inspect.c: (print_plugin_features):
11726         A plugin feature does unfortunatly not use the
11727         object name yet...
11728
11729 2005-05-18  Wim Taymans  <wim@fluendo.com>
11730
11731         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11732         Port _span() functions to new subbuffers.
11733
11734 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11735
11736         * gst/gstbin.c: (gst_bin_add_func):
11737           Fix clock settery in bins when adding kids after the clock has
11738           been selected.
11739
11740 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11741
11742         * gst/elements/gstidentity.c: (gst_identity_class_init):
11743           Workaround until signals support GstMiniObject.
11744
11745 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11746
11747         * gst/gstbuffer.c:
11748         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11749
11750 2005-05-18  Wim Taymans  <wim@fluendo.com>
11751
11752         * gst/base/Makefile.am:
11753         * gst/base/gstadapter.c: (gst_adapter_base_init),
11754         (gst_adapter_class_init), (gst_adapter_init),
11755         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11756         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11757         (gst_adapter_flush), (gst_adapter_available),
11758         (gst_adapter_available_fast):
11759         * gst/base/gstadapter.h:
11760         Ported and added adapter to the base classes.
11761
11762 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11763
11764         * gst/gst.c:
11765         * gst/gstmessage.c:
11766           Make sure the class is reffed/unreffed once before threads can be
11767           used.  Fixes #304551.
11768
11769 2005-05-17  Wim Taymans  <wim@fluendo.com>
11770
11771         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11772         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11773         * gst/gstminiobject.c: (gst_mini_object_get_type),
11774         (gst_mini_object_free):
11775         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11776         (gst_pad_push), (gst_pad_push_event):
11777         * gst/gstqueue.c: (gst_queue_change_state):
11778         Don't queue buffers in basesink when we are flushing.
11779         Unref buffer when flushing in basesink.
11780         Flush queue when going to READY
11781         Unref buffer when _push() returns an error.
11782         Don't free MiniObject instance when refcount is incremented
11783         in _finalize() so that we can recover objects.
11784
11785 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11786
11787         * docs/manual/advanced-schedulers.xml:
11788         * docs/manual/appendix-checklist.xml:
11789         * docs/pwg/advanced-clock.xml:
11790         * docs/pwg/advanced-interfaces.xml:
11791         * docs/pwg/advanced-request.xml:
11792         * docs/pwg/advanced-types.xml:
11793         * docs/pwg/intro-preface.xml:
11794         * examples/plugins/example.c: (gst_example_get_type),
11795         (gst_example_class_init), (gst_example_chain),
11796         (gst_example_set_property), (gst_example_get_property),
11797         (gst_example_change_state), (plugin_init):
11798         * examples/plugins/example.h:
11799           small doc fixes
11800
11801 2005-05-17  Wim Taymans  <wim@fluendo.com>
11802
11803         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11804         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11805         * gst/gstqueue.c: (gst_queue_change_state):
11806         Clear queue when going to READY.
11807         Remove IN_SETCAPS flag too.
11808
11809 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11810
11811         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11812           Remove implicit cast from gboolean to GstElementStateReturn;
11813           make sure we still return failure in paused => ready case if
11814           the parent class fails to change state and our own stop 
11815           vfunc succeeds.
11816
11817 2005-05-17  Wim Taymans  <wim@fluendo.com>
11818
11819         * tools/gst-launch.c: (event_loop):
11820         Message was unreffed too soon.
11821
11822 2005-05-16  Andy Wingo  <wingo@pobox.com>
11823
11824         * gst/gstbin.c (sink_iterator_filter): Err... um...
11825
11826         * check/gst/gstbin.c (test_ghost_pads): New test for the
11827         ghosting-if-elements-not-in-same-bin behavior.
11828
11829 2005-05-16  David Schleef  <ds@schleef.org>
11830
11831         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11832         accessing refcount directly.
11833
11834 2005-05-15  David Schleef  <ds@schleef.org>
11835
11836         * check/Makefile.am: remove GstData checks
11837         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11838         * gst/Makefile.am: add miniobject, remove data
11839         * gst/gst.h: add miniobject, remove data
11840         * gst/gstdata.c: remove
11841         * gst/gstdata.h: remove
11842         * gst/gstdata_private.h: remove
11843         * gst/gsttypes.h: remove GstEvent and GstMessage
11844         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11845         * gst/gstmarshal.list: change BOXED -> OBJECT
11846
11847         Implement GstMiniObject.
11848         * gst/gstminiobject.c:
11849         * gst/gstminiobject.h:
11850
11851         Modify to be subclasses of GstMiniObject.
11852         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11853         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11854         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11855         (gst_subbuffer_get_type), (gst_subbuffer_init),
11856         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11857         (gst_buffer_span):
11858         * gst/gstbuffer.h:
11859         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11860         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11861         (_gst_event_copy), (gst_event_new):
11862         * gst/gstevent.h:
11863         * gst/gstmessage.c: (_gst_message_initialize),
11864         (gst_message_get_type), (gst_message_class_init),
11865         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11866         (gst_message_new), (gst_message_new_error),
11867         (gst_message_new_warning), (gst_message_new_tag),
11868         (gst_message_new_state_changed), (gst_message_new_application):
11869         * gst/gstmessage.h:
11870         * gst/gstprobe.c: (gst_probe_perform),
11871         (gst_probe_dispatcher_dispatch):
11872         * gst/gstprobe.h:
11873         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11874         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11875         (_gst_query_copy), (gst_query_new):
11876
11877         Update elements for GstData -> GstMiniObject changes
11878         * gst/gstquery.h:
11879         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11880         (gst_queue_chain), (gst_queue_loop):
11881         * gst/elements/gstbufferstore.c:
11882         (gst_buffer_store_add_buffer_func),
11883         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11884         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11885         (gst_fakesink_render):
11886         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11887         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11888         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11889         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11890         (gst_filesrc_create_read):
11891         * gst/elements/gstidentity.c: (gst_identity_class_init):
11892         * gst/elements/gsttypefindelement.c:
11893         (gst_type_find_element_src_event), (free_entry_buffers),
11894         (gst_type_find_element_handle_event):
11895         * libs/gst/dataprotocol/dataprotocol.c:
11896         (gst_dp_header_from_buffer):
11897         * libs/gst/dataprotocol/dataprotocol.h:
11898         * libs/gst/dataprotocol/dp-private.h:
11899
11900 2005-05-15  David Schleef  <ds@schleef.org>
11901
11902         * gst/elements/gstelements.c: Don't include headers that were
11903         just removed.
11904
11905 2005-05-15  David Schleef  <ds@schleef.org>
11906
11907         * gst/elements/Makefile.am: Remove some elements that don't
11908         need to be in the core (or even exist at all).
11909         * gst/elements/gstaggregator.c:
11910         * gst/elements/gstaggregator.h:
11911         * gst/elements/gstmd5sink.c:
11912         * gst/elements/gstmd5sink.h:
11913         * gst/elements/gstmultifilesrc.c:
11914         * gst/elements/gstmultifilesrc.h:
11915         * gst/elements/gstpipefilter.c:
11916         * gst/elements/gstpipefilter.h:
11917         * gst/elements/gstshaper.c:
11918         * gst/elements/gstshaper.h:
11919         * gst/elements/gststatistics.c:
11920         * gst/elements/gststatistics.h:
11921         * po/POTFILES.in: Remove above files.
11922
11923 2005-05-14  Andy Wingo  <wingo@pobox.com>
11924
11925         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11926         so as to get the refs right.
11927         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11928         unreffing objects that don't pass the filter.
11929
11930         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11931         gst_element_set_bus.
11932         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11933         normal cases, this will destroy the bus.
11934
11935         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11936         object.
11937
11938         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11939         has no sinks.
11940
11941 2005-05-13  Andy Wingo  <wingo@pobox.com>
11942
11943         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11944         gst_pad_link, call pad_link_maybe_ghosting,
11945         (pad_link_maybe_ghosting): Links pads, making sure that the
11946         elements being linked are in the same bin.
11947         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11948         Helpers for pad_link_maybe_ghosting.
11949
11950 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11951
11952         * configure.ac:
11953           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11954
11955 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11956
11957         * docs/design/part-element-source.txt:
11958           Mention GstPushSrc
11959
11960 2005-05-12  Wim Taymans  <wim@fluendo.com>
11961
11962         * gst/base/gstbasesink.c: (gst_basesink_init),
11963         (gst_basesink_activate):
11964         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11965         (gst_basesrc_is_seekable):
11966         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11967         (bin_element_is_sink), (gst_bin_change_state):
11968         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11969         * gst/gstelement.h:
11970         Identify sinks by their flag to avoid overly complicated
11971         checks (fow now).
11972         Do state changes even for elements not reachable from the
11973         sinks.
11974         BaseSink is a sink now :)
11975         Some more debugging info in the basesrc.
11976
11977
11978 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11979
11980         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11981           Implement _query on a bin, similar to _send_event.
11982
11983 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11984
11985         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11986           Discont event offset format should be GST_FORMAT_BYTES,
11987           not GST_FORMAT_TIME.
11988
11989 2005-05-12  Wim Taymans  <wim@fluendo.com>
11990
11991         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11992         Same fix as Ronald's but without the signal. 
11993
11994 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11995
11996         * gst/gstutils.c: (gst_element_query_position):
11997           No, an element is not a pad.
11998
11999 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12000
12001         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
12002         (gst_bin_get_state):
12003           If a child is removed from a bin while we remove the child from
12004           the bin and while we're retrieving its state, signal this to the
12005           get_state function so we abort the wait (instead of waiting for
12006           a timeout) and can immediately re-iterate over all other elements.
12007
12008 2005-05-12  Wim Taymans  <wim@fluendo.com>
12009
12010         * gst/base/Makefile.am:
12011         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
12012         (gst_basesrc_start):
12013         * gst/base/gstbasesrc.h:
12014         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
12015         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
12016         (gst_pushsrc_init), (gst_pushsrc_create):
12017         * gst/base/gstpushsrc.h:
12018         Added is_seekable to BaseSrc
12019         Added simple PushSrc.
12020
12021 2005-05-11  Wim Taymans  <wim@fluendo.com>
12022
12023         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
12024         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12025         (gst_element_link_pads), (gst_element_query_position),
12026         (gst_element_query_convert), (intersect_caps_func),
12027         (gst_pad_query_position), (gst_pad_query_convert):
12028         Fix refcounting in utils function.
12029         No point in trying to activate a pad when it's added, it could
12030         be added from the state change function and then we deadlock, the
12031         element has to decide what to do.
12032
12033 2005-05-10  Andy Wingo  <wingo@pobox.com>
12034
12035         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
12036         *all* the arguments.
12037
12038         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
12039         stream lock if it's a FLUSH_DONE; normal flushes don't get the
12040         lock (according to the docs -- if this is wrong change the docs).
12041
12042         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
12043         flush messages in the NULL state.
12044
12045         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
12046         message immediately and return.
12047         (gst_bus_set_flushing): New function. If a bus is flushing, it
12048         flushes out any queued messages and immediately unrefs new
12049         messages. This is so when an element goes to NULL, all of the
12050         unhandled messages coming from it can be freed, and their
12051         references to the element dropped. In other words: message source
12052         ref considered harmful :P
12053
12054         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
12055         we're finished with it.
12056
12057         * gst/gstmessage.c (gst_message_new_state_changed): 
12058
12059 2005-05-10  Wim Taymans  <wim@fluendo.com>
12060
12061         * gst/gstvalue.c: (gst_value_compare_flags),
12062         (gst_value_serialize_flags), (gst_value_deserialize_flags),
12063         (_gst_value_initialize):
12064         Added flags serialize/deserialize/compare code.
12065
12066 2005-05-09  Andy Wingo  <wingo@pobox.com>
12067
12068         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
12069         Intersect the peer's caps with our caps.
12070
12071 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12072
12073         * gst/base/gsttypefindhelper.c: (helper_find_peek):
12074         * gst/elements/gsttypefindelement.c: (find_peek):
12075           Handle negative offsets better. Fixes decodebin.
12076
12077 2005-05-09  Wim Taymans  <wim@fluendo.com>
12078
12079         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
12080         (gst_base_transform_event):
12081         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
12082         Implement accept_caps.
12083         Fix silly lock/unlock mismatch in base class.
12084
12085 2005-05-09  Wim Taymans  <wim@fluendo.com>
12086
12087         * docs/design/draft-push-pull.txt:
12088         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
12089         * gst/elements/gstfilesink.c: (gst_filesink_init),
12090         (gst_filesink_query):
12091         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
12092         (gst_type_find_handle_src_query), (find_element_get_length):
12093         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
12094         * gst/gstelement.h:
12095         * gst/gstmessage.c:
12096         * gst/gstmessage.h:
12097         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
12098         (gst_real_pad_get_caps_unlocked),
12099         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
12100         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12101         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
12102         (gst_real_pad_dispose), (gst_real_pad_finalize),
12103         (gst_pad_load_and_link), (gst_pad_save_thyself),
12104         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
12105         (gst_pad_check_pull_range), (gst_pad_pull_range),
12106         (gst_pad_template_get_type), (gst_pad_template_class_init),
12107         (gst_pad_template_init), (gst_pad_template_dispose),
12108         (name_is_valid), (gst_static_pad_template_get),
12109         (gst_pad_template_new), (gst_static_pad_template_get_caps),
12110         (gst_pad_template_get_caps), (gst_pad_set_element_private),
12111         (gst_pad_get_element_private), (gst_pad_start_task),
12112         (gst_pad_pause_task), (gst_pad_stop_task),
12113         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
12114         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12115         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
12116         (gst_ghost_pad_new):
12117         * gst/gstpad.h:
12118         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
12119         (gst_query_new_position), (gst_query_set_position),
12120         (gst_query_parse_position), (gst_query_new_convert),
12121         (gst_query_set_convert), (gst_query_parse_convert):
12122         * gst/gstquery.h:
12123         * gst/gstqueryutils.c:
12124         * gst/gstqueryutils.h:
12125         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12126         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12127         (gst_queue_handle_src_query):
12128         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12129         (gst_element_query_position), (gst_element_query_convert),
12130         (intersect_caps_func), (gst_pad_query_position),
12131         (gst_pad_query_convert):
12132         * gst/gstutils.h:
12133         * tools/gst-inspect.c: (print_pad_info):
12134         * tools/gst-xmlinspect.c: (print_element_info):
12135         Remove old query functions. Ported old code.
12136         Added position/convert helper functions to gstutils.
12137         Reordered gstpad.c code, grouping relevant things.
12138         Remove gst_message_new(), always need to speficy a specific
12139         message.
12140
12141
12142 2005-05-09  Andy Wingo  <wingo@pobox.com>
12143
12144         * gst/gstiterator.h: Add some includes.
12145
12146         * gst/gstqueryutils.h: Include more headers.
12147
12148         * gst/gstpad.h:
12149         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
12150         some uses of gst_pad_query.
12151
12152         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
12153         NULL out parameters.
12154         (gst_query_new_position): New proc, allocates a new position
12155         query.
12156
12157         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
12158         gstqueryutils.c to the build.
12159
12160         * gst/gststructure.c (gst_structure_set_valist): Implement with
12161         the generic G_VALUE_COLLECT.
12162         
12163 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
12164
12165         * gst/Makefile.am: (gst_headers):
12166         Added gstqueryutils.h to the list of headers to install, that was
12167         a 'nachty' move wingo :)
12168
12169 2005-05-06  Andy Wingo  <wingo@pobox.com>
12170
12171         * gst/gstquery.h
12172         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
12173         GstData, init a memchunk.
12174         (standard_definitions): Add a few query types, deprecate a few.
12175         (gst_query_get_type): New proc.
12176         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
12177         implementation.
12178         (gst_query_new_application, gst_query_get_structure): New public
12179         procs.
12180
12181         * docs/design/draft-query.txt: Removed LINKS from the query types,
12182         because all the rest can be dispatched to other pads -- seemed
12183         ugly to have a query that couldn't be dispatched. internal_links
12184         is fine as a pad method.
12185
12186         * gst/gstpad.h: Add query2 as a pad method, add the new functions
12187         in gstpad.c, but maintain binary compatibility for the moment.
12188         Will fix before 0.9 is out.
12189
12190         * gst/gstqueryutils.c: 
12191         * gst/gstqueryutils.h: New files, implement 3 methods for each
12192         query type: parse_query, parse_response, and set. Probably need an
12193         allocator as well.
12194
12195         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
12196
12197         * gst/elements/gstfilesink.c (gst_filesink_query2):
12198         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
12199         query_types, and formats methods.
12200
12201         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
12202         (gst_pad_set_query2_function): New functions.
12203         (gst_real_pad_init): Set query2_default as the default query2
12204         function. Basically just dispatches to internally linked pads.
12205
12206         Needs review!
12207         
12208         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
12209         without using the atomic operations. Only one thread can possibly
12210         be accessing the data at this point. Changed so as to avoid
12211         gst_atomic operations.
12212
12213 2005-05-06  Wim Taymans  <wim@fluendo.com>
12214
12215         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
12216         Also set caps if we use the fallback buffer alloc.
12217
12218 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
12219
12220         * docs/gst/Makefile.am:
12221         * docs/gst/gstreamer-docs.sgml:
12222         * docs/gst/gstreamer-sections.txt:
12223         * docs/gst/tmpl/gstatomic.sgml:
12224         * docs/gst/tmpl/gstmemchunk.sgml:
12225         * testsuite/elements/struct_i386.h:
12226         * win32/GStreamer.vcproj:
12227         * win32/Makefile:
12228           Purge GstAtomic stuff from docs and win32 makefiles as well
12229
12230 2005-05-06  Wim Taymans  <wim@fluendo.com>
12231
12232         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
12233         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
12234         * gst/gstpad.c: (gst_pad_peer_get_caps):
12235         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12236         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12237         (gst_queue_src_activate), (gst_queue_change_state):
12238         * gst/gstqueue.h:
12239         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12240         (intersect_caps_func):
12241         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
12242         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
12243         Some fixes for the peer_get_caps() change.
12244
12245 2005-05-06  Wim Taymans  <wim@fluendo.com>
12246
12247         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12248         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
12249         (gst_basesink_activate):
12250         Actually do something with error codes returned from the push
12251         functions.
12252
12253 2005-05-06  Wim Taymans  <wim@fluendo.com>
12254
12255         * docs/design/part-element-sink.txt:
12256         * docs/design/part-element-source.txt:
12257         * gst/base/gstbasesink.c: (gst_basesink_class_init),
12258         (gst_basesink_event), (gst_basesink_activate):
12259         * gst/base/gstbasesink.h:
12260         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12261         (gst_basesrc_activate):
12262         * gst/base/gstbasesrc.h:
12263         * gst/gstelement.c: (gst_element_pads_activate):
12264         Some more documentation.
12265         Fixed scheduling decision in _pads_activate().
12266
12267 2005-05-05  Andy Wingo  <wingo@pobox.com>
12268
12269         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12270         the test suite.
12271
12272 2005-05-05  Wim Taymans  <wim@fluendo.com>
12273
12274         * gst/base/Makefile.am:
12275         * gst/base/gstbasesink.h:
12276         * gst/base/gstbasesrc.c: (gst_basesrc_init),
12277         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12278         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12279         (gst_collectpads_class_init), (gst_collectpads_init),
12280         (gst_collectpads_finalize), (gst_collectpads_new),
12281         (gst_collectpads_set_function), (gst_collectpads_add_pad),
12282         (find_pad), (gst_collectpads_remove_pad),
12283         (gst_collectpads_is_active), (gst_collectpads_collect),
12284         (gst_collectpads_collect_range), (gst_collectpads_start),
12285         (gst_collectpads_stop), (gst_collectpads_peek),
12286         (gst_collectpads_pop), (gst_collectpads_available),
12287         (gst_collectpads_read), (gst_collectpads_flush),
12288         (gst_collectpads_chain):
12289         * gst/base/gstcollectpads.h:
12290         * gst/elements/Makefile.am:
12291         * gst/elements/gstelements.c:
12292         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12293         (gst_fakesink_get_times), (gst_fakesink_event),
12294         (gst_fakesink_preroll), (gst_fakesink_render):
12295         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12296         (gst_filesink_init), (gst_filesink_set_location),
12297         (gst_filesink_open_file), (gst_filesink_close_file),
12298         (gst_filesink_pad_query), (gst_filesink_event),
12299         (gst_filesink_render), (gst_filesink_change_state):
12300         * gst/elements/gstfilesink.h:
12301         Added object to help in making collect pad based elements.
12302         Ported filesink.
12303         Make event function in sink baseclass return gboolean.
12304
12305 2005-05-05  Wim Taymans  <wim@fluendo.com>
12306
12307         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12308         (gst_bin_get_by_name):
12309         * gst/gstbuffer.h:
12310         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12311         (gst_clock_finalize):
12312         * gst/gstdata.c: (gst_data_replace):
12313         * gst/gstdata.h:
12314         * gst/gstelement.c: (gst_element_request_pad),
12315         (gst_element_pads_activate):
12316         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12317         (gst_object_unref):
12318         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12319         (gst_pad_set_checkgetrange_function),
12320         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12321         (gst_pad_check_pull_range), (gst_pad_pull_range),
12322         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12323         (gst_pad_pause_task), (gst_pad_stop_task):
12324         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12325         (gst_element_request_pad), (gst_pad_proxy_getcaps):
12326         Fix name lookup in GstBin.
12327         Added _data_replace() function and _buffer_replace()
12328         Use finalize method to clean up clock.
12329         Fix refcounting on request pads.
12330         Fix pad schedule mode error.
12331         Some more object refcounting debug info,
12332
12333
12334 2005-05-04  Andy Wingo <wingo@pobox.com>
12335
12336         * check/Makefile.am:
12337         * docs/gst/tmpl/gstatomic.sgml:
12338         * docs/gst/tmpl/gstplugin.sgml:
12339         * gst/base/gstbasesink.c: (gst_basesink_activate):
12340         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12341         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12342         (gst_basesrc_query), (gst_basesrc_set_property),
12343         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12344         (gst_basesrc_activate):
12345         * gst/base/gstbasesrc.h:
12346         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12347         (gst_base_transform_src_activate):
12348         * gst/elements/gstelements.c:
12349         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12350         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12351         * gst/elements/gsttee.c: (gst_tee_sink_activate):
12352         * gst/elements/gsttypefindelement.c: (find_element_get_length),
12353         (gst_type_find_element_checkgetrange),
12354         (gst_type_find_element_activate):
12355         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12356         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12357         (gst_caps_load_thyself):
12358         * gst/gstelement.c: (gst_element_pads_activate),
12359         (gst_element_save_thyself), (gst_element_restore_thyself):
12360         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12361         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12362         * gst/gstpad.h:
12363         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12364         (gst_xml_parse_file), (gst_xml_parse_memory),
12365         (gst_xml_get_element), (gst_xml_make_element):
12366         * gst/indexers/gstfileindex.c: (gst_file_index_load),
12367         (_file_index_id_save_xml), (gst_file_index_commit):
12368         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12369         (read_enum), (load_pad_template), (load_feature), (load_plugin),
12370         (load_paths):
12371         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12372         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12373         * tools/gst-complete.c: (main):
12374         * tools/gst-compprep.c: (main):
12375         * tools/gst-inspect.c: (print_element_properties_info):
12376         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12377         * tools/gst-xmlinspect.c: (print_element_properties):
12378         GCC 4 fixen.
12379         
12380 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12381
12382         * gst/gstplugin.c: (gst_plugin_check_module),
12383         (gst_plugin_check_file), (gst_plugin_load_file):
12384             apply patch from #172526 to make register work on MacOSX
12385
12386 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12387
12388         * docs/gst/tmpl/gstconfig.sgml:
12389         * gst/gstconfig.h.in:
12390           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
12391         * testsuite/debug/printf_extension.c: (main):
12392           Do not use GST_PTR_FORMAT on pointers to types with
12393           sizeof < sizeof(gpointer).  Fixes test on 64-bit
12394         * testsuite/elements/property.h:
12395           use correct printf format
12396
12397 2005-05-02  Wim Taymans  <wim@fluendo.com>
12398
12399         * docs/design/draft-push-pull.txt:
12400         * docs/design/draft-query.txt:
12401         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12402         (gst_basesrc_start):
12403         Added draft for new query API.
12404         Added draft for better selecting scheduling methods.
12405         Make basesrc ignore length if the subclass does not support
12406         it.
12407
12408 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12409
12410         * gst/Makefile.am:
12411           possible fixes for automake-1.5 - _LIBADD is reserved
12412
12413 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12414
12415         * docs/faq/Makefile.am:
12416         * docs/manual/Makefile.am:
12417         * docs/manuals.mak:
12418         * docs/pwg/Makefile.am:
12419         * gst/Makefile.am:
12420           possible fixes for automake-1.5
12421
12422 2005-04-28  Wim Taymans  <wim@fluendo.com>
12423
12424         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12425         (gst_basesink_pad_getcaps), (gst_basesink_init),
12426         (gst_basesink_do_sync):
12427         * gst/gstclock.c: (gst_clock_entry_new):
12428         * gst/gstevent.c: (gst_event_discont_get_value):
12429         * gst/gstpipeline.c: (pipeline_bus_handler),
12430         (gst_pipeline_change_state):
12431         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12432         Better debugging of clocking info.
12433         Allow NULL values when getting discont values.
12434
12435 2005-04-27  Wim Taymans  <wim@fluendo.com>
12436
12437         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12438         * check/gst/gstpad.c: (gst_pad_suite):
12439         Increase timeout for checks.
12440
12441 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12442
12443         * check/Makefile.am:
12444           fix the broken rule for cleanup.  Apparently this rule is
12445           only needed on FC2, so maybe this warrants further autotool
12446           inspection.
12447
12448 2005-04-26  Wim Taymans  <wim@fluendo.com>
12449
12450         * gst/gsttrashstack.h:
12451         Ooohh. a nasty one! After having a failed pop() from the stack,
12452         it's possible that the stack is empty. In that case, don't
12453         follow the NULL pointer.
12454
12455 2005-04-25  Wim Taymans  <wim@fluendo.com>
12456
12457         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12458         (gst_pad_set_checkgetrange_function),
12459         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12460         (gst_pad_check_pull_range), (gst_pad_pull_range),
12461         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12462         (gst_pad_pause_task), (gst_pad_stop_task):
12463         * gst/gstplugin.c: (gst_plugin_load):
12464         * gst/gstplugin.h:
12465         Remove gst_library_load as it does more harm than good with
12466         the new g_module flags.
12467         Revert bogus caps template check in pad linking, pad caps
12468         are important when linking not the template, which is more
12469         general than the current caps.
12470
12471 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12472
12473         * gst/autoplug/.cvsignore:
12474         * gst/autoplug/Makefile.am:
12475         * gst/autoplug/gstsearchfuncs.c:
12476         * gst/autoplug/gstsearchfuncs.h:
12477         * gst/autoplug/gstspider.c:
12478         * gst/autoplug/gstspider.h:
12479         * gst/autoplug/gstspideridentity.c:
12480         * gst/autoplug/gstspideridentity.h:
12481         * gst/autoplug/spidertest.c:
12482           Die, spider, die.
12483
12484 2005-04-25  Wim Taymans  <wim@fluendo.com>
12485
12486         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12487         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12488         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12489         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12490         * gst/gstpad.h:
12491         Added stubs for unimplemented functions. 
12492
12493 2005-04-24  David Schleef  <ds@schleef.org>
12494
12495         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
12496         please fix.
12497
12498 2005-04-24  David Schleef  <ds@schleef.org>
12499
12500         Convert everything from GstAtomicInt to g_atomic_int_*, and
12501         remove gstatomic.
12502         * gst/Makefile.am:
12503         * gst/gstatomic.c:
12504         * gst/gstatomic.h:
12505         * gst/gstatomic_impl.h:
12506         * gst/gstbuffer.c:
12507         * gst/gstcaps.c:
12508         * gst/gstcaps.h:
12509         * gst/gstclock.c:
12510         * gst/gstclock.h:
12511         * gst/gstdata.c:
12512         * gst/gstdata.h:
12513         * gst/gstdata_private.h:
12514         * gst/gstevent.c:
12515         * gst/gstinfo.c:
12516         * gst/gstinfo.h:
12517         * gst/gstmessage.c:
12518         * gst/gstobject.c:
12519         * gst/gstobject.h:
12520         * gst/gststructure.c:
12521         * gst/gststructure.h:
12522         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12523         * gst/gstutils.h:
12524
12525 2005-04-24  David Schleef  <ds@schleef.org>
12526
12527         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12528         make the regressions tests work.  Remove some code that is no
12529         longer true.
12530         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12531         Disable warning for pads without templates.
12532
12533 2005-04-24  David Schleef  <ds@schleef.org>
12534
12535         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
12536         functions that handle filtered links.
12537         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12538         removed functions.
12539         * gst/gstutils.c: Fix/remove utility functions that handle
12540         filtered caps.
12541         * gst/gstutils.h:
12542         * gst/gstvalue.c: Add serialization/deserialization of caps
12543         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
12544         requires fixing so that the filter caps notation creates
12545         a capsfilter element and sets the filter_caps property.  I
12546         think everyone probably wants to keep the shorthand notation.
12547         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12548         * docs/gst/tmpl/gstpad.sgml:
12549
12550         * gst/elements/gstelements.c: Register capsfilter element.
12551         * gst/Makefile.am: fix spacing
12552         * docs/random/ds/0.9-suggested-changes: random
12553
12554 2005-04-23  David Schleef  <ds@schleef.org>
12555
12556         * gst/elements/Makefile.am:
12557         * gst/elements/gstcapsfilter.c: New element that acts like an
12558         identity, but filters caps.  Will eventually replace filtered
12559         caps in pad linking.
12560         * gst/gstutils.c: (gst_element_create_all_pads): New function
12561         to create all the ALWAYS pads that are registered with an
12562         element class.  This functionality should eventually be
12563         merged in with GstElement initialization.
12564         * gst/gstutils.h:
12565         * testsuite/trigger/README: part of trigger test code that should
12566         have been checked in a long time ago.
12567
12568 2005-04-23  David Schleef  <ds@schleef.org>
12569
12570         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
12571         needed with new versions of libtool (nobody will confirm this),
12572         and hard to carry around.
12573         * gst/autoplug/Makefile.am:
12574         * gst/base/Makefile.am:
12575         * gst/elements/Makefile.am:
12576         * gst/indexers/Makefile.am:
12577         * gst/schedulers/Makefile.am:
12578         * libs/gst/bytestream/Makefile.am:
12579         * libs/gst/control/Makefile.am:
12580         * libs/gst/dataprotocol/Makefile.am:
12581         * libs/gst/getbits/Makefile.am:
12582
12583 2005-04-21  Wim Taymans  <wim@fluendo.com>
12584
12585         * docs/design/draft-push-pull.txt:
12586         * docs/design/part-MT-refcounting.txt:
12587         * docs/design/part-TODO.txt:
12588         * docs/design/part-caps.txt:
12589         * docs/design/part-events.txt:
12590         * docs/design/part-gstbus.txt:
12591         * docs/design/part-gstpipeline.txt:
12592         * docs/design/part-messages.txt:
12593         * docs/design/part-push-pull.txt:
12594         * docs/design/part-query.txt:
12595         Some more docs.
12596
12597 2005-04-21  Wim Taymans  <wim@fluendo.com>
12598
12599         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12600         (gst_message_new), (gst_message_new_error),
12601         (gst_message_new_warning), (gst_message_new_tag),
12602         (gst_message_new_state_changed), (gst_message_new_application),
12603         (gst_message_get_structure):
12604         * gst/gstmessage.h:
12605         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12606         (gst_structure_copy_conditional):
12607         Use parent refcount in GstMessage to ensure GstStructure
12608         consistency.
12609         Cleaned up headers a bit.
12610         
12611
12612 2005-04-20  Wim Taymans  <wim@fluendo.com>
12613
12614         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12615         (gst_basesink_pad_getcaps), (gst_basesink_init),
12616         (gst_basesink_chain_unlocked):
12617         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12618         (gst_type_find_helper):
12619         * gst/elements/gsttypefindelement.c:
12620         (gst_type_find_element_have_type), (gst_type_find_element_init),
12621         (stop_typefinding), (gst_type_find_element_handle_event),
12622         (find_suggest), (gst_type_find_element_chain),
12623         (gst_type_find_element_checkgetrange),
12624         (gst_type_find_element_getrange), (do_typefind),
12625         (gst_type_find_element_activate):
12626         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12627         (gst_buffer_default_free), (gst_buffer_default_copy),
12628         (gst_buffer_set_caps):
12629         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12630         (gst_caps_replace):
12631         * gst/gstmessage.c: (gst_message_new),
12632         (gst_message_new_state_changed):
12633         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12634         (gst_pad_set_checkgetrange_function),
12635         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12636         (gst_pad_set_caps), (gst_pad_check_pull_range),
12637         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12638         * gst/gstpad.h:
12639         * gst/gsttypefind.c: (gst_type_find_register):
12640         Make gst_caps_replace() work like other _replace() functions.
12641         Use _caps_replace() where possible.
12642         Make sure _message_new() initialises its field.
12643         Add gst_static_pad_template_get_caps()
12644
12645
12646 2005-04-18  Andy Wingo  <wingo@pobox.com>
12647
12648         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12649         on the peer, not the pad. I think that was a typo. Pass an extra
12650         arg to see if random access is possible. Activate the pads as
12651         PULL_RANGE if possible.
12652
12653         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12654
12655         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12656         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12657         to PROP_....
12658
12659 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12660
12661         * docs/faq/using.xml:
12662           Add note on gstreamer-properties (#154996).
12663
12664 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12665
12666         * docs/random/bbb/optional-properties:
12667           Some analysis on optional properties.
12668
12669 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12670
12671         * docs/gst/tmpl/gstelementfactory.sgml:
12672         * gst/gstelement.h:
12673         * gst/gstelementfactory.c: (gst_element_factory_init),
12674         (gst_element_factory_cleanup), (gst_element_register),
12675         (__gst_element_factory_add_static_pad_template),
12676         (gst_element_factory_get_static_pad_templates),
12677         (gst_element_factory_can_src_caps),
12678         (gst_element_factory_can_sink_caps):
12679         * gst/registries/Makefile.am:
12680         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12681         (gst_xml_registry_class_init), (gst_xml_registry_init),
12682         (gst_xml_registry_new), (gst_xml_registry_set_property),
12683         (gst_xml_registry_get_property), (get_time), (make_dir),
12684         (gst_xml_registry_get_perms_func),
12685         (plugin_times_older_than_recurse), (plugin_times_older_than),
12686         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12687         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12688         (add_to_char_array), (read_string), (read_uint), (read_enum),
12689         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12690         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12691         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12692         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12693         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12694         (gst_xml_registry_rebuild):
12695         * gst/registries/gstlibxmlregistry.h:
12696         * tools/gst-compprep.c: (main):
12697         * tools/gst-inspect.c: (print_pad_templates_info):
12698         * tools/gst-xmlinspect.c: (print_element_info):
12699           Use libxml2 for registry parsing, use staticpadtemplates in
12700           elementfactories. Makes gst_init() +/- 10x faster.
12701
12702 2005-04-12  Wim Taymans  <wim@fluendo.com>
12703
12704         * gst/base/Makefile.am:
12705         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12706         (gst_basesink_pad_getcaps), (gst_basesink_init),
12707         (gst_basesink_event), (gst_basesink_change_state):
12708         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12709         (gst_basesrc_init), (gst_basesrc_query),
12710         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12711         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12712         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12713         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12714         (gst_basesrc_stop), (gst_basesrc_activate),
12715         (gst_basesrc_change_state):
12716         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12717         (helper_find_suggest), (gst_type_find_helper):
12718         * gst/base/gsttypefindhelper.h:
12719         * gst/elements/Makefile.am:
12720         * gst/elements/gstelements.c:
12721         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12722         (gst_fakesink_get_times), (gst_fakesink_event),
12723         (gst_fakesink_preroll), (gst_fakesink_render):
12724         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12725         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12726         (gst_fakesrc_get_property), (gst_fakesrc_create),
12727         (gst_fakesrc_start), (gst_fakesrc_stop):
12728         * gst/elements/gstfakesrc.h:
12729         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12730         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12731         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12732         (gst_filesrc_create_read), (gst_filesrc_create),
12733         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12734         (gst_filesrc_start):
12735         * gst/elements/gsttypefindelement.c:
12736         (gst_type_find_element_have_type), (gst_type_find_element_init),
12737         (start_typefinding), (stop_typefinding), (push_buffer_store),
12738         (gst_type_find_element_handle_event),
12739         (gst_type_find_element_chain),
12740         (gst_type_find_element_checkgetrange),
12741         (gst_type_find_element_getrange), (do_typefind),
12742         (gst_type_find_element_activate),
12743         (gst_type_find_element_change_state):
12744         * gst/elements/gsttypefindelement.h:
12745         * gst/gstpipeline.c: (pipeline_bus_handler):
12746         Added typefind helper.
12747         Small preroll fix in the base sink.
12748         Disable typefind code in basesrc.
12749         Crude port of typefindelement.
12750         Fakesrc cleanups.
12751
12752
12753 2005-04-11  Wim Taymans  <wim@fluendo.com>
12754
12755         * check/gst/gstbus.c: (gstbus_suite):
12756         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12757         * check/gstcheck.h:
12758           Fix up the timeout so that the test does not fail.
12759
12760 2005-04-06  Wim Taymans  <wim@fluendo.com>
12761
12762         * gst/base/README:
12763         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12764         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12765         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12766         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12767         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12768         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12769         (gst_basesrc_stop), (gst_basesrc_activate),
12770         (gst_basesrc_change_state), (basesrc_find_peek),
12771         (basesrc_find_suggest), (gst_basesrc_type_find):
12772         * gst/base/gstbasesrc.h:
12773         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12774         (gst_filesrc_class_init), (gst_filesrc_init),
12775         (gst_filesrc_finalize), (gst_filesrc_set_location),
12776         (gst_filesrc_set_property), (gst_filesrc_get_property),
12777         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12778         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12779         (gst_filesrc_create_read), (gst_filesrc_create),
12780         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12781         * gst/elements/gstfilesrc.h:
12782         * gst/gstelement.c: (gst_element_get_state_func),
12783         (gst_element_lost_state), (gst_element_pads_activate):
12784         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12785         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12786         (gst_pad_pull_range):
12787         * gst/gstpad.h:
12788         More work on the generic source base class, implement seeking,
12789         query.
12790         Make filesrc extend the base source class.
12791         Added gst_pad_set_checkgetrange_function to GstPad.
12792
12793 2005-04-06  Andy Wingo  <wingo@pobox.com>
12794
12795         * pkgconfig/gstreamer-base.pc.in:
12796         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12797
12798         * pkgconfig/Makefile.am:
12799         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12800
12801 2005-04-04  Wim Taymans  <wim@fluendo.com>
12802
12803         * gst/base/Makefile.am:
12804         * gst/base/README:
12805         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12806         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12807         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12808         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12809         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12810         (gst_basesrc_base_init), (gst_basesrc_class_init),
12811         (gst_basesrc_init), (gst_basesrc_get_formats),
12812         (gst_basesrc_get_query_types), (gst_basesrc_query),
12813         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12814         (gst_basesrc_set_property), (gst_basesrc_get_property),
12815         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12816         (gst_basesrc_loop), (gst_basesrc_activate),
12817         (gst_basesrc_change_state):
12818         * gst/base/gstbasesrc.h:
12819         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12820         (gst_fakesrc_class_init), (gst_fakesrc_init),
12821         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12822         (gst_fakesrc_get_property), (gst_fakesrc_create):
12823         * gst/elements/gstfakesrc.h:
12824         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12825         (gst_filesrc_open_file), (gst_filesrc_loop),
12826         (gst_filesrc_activate), (filesrc_find_peek),
12827         (gst_filesrc_type_find):
12828         Made base source class, make fakesrc extend it.
12829         Add comments to basesink class.
12830         Some filesrc cleanup.
12831
12832 2005-03-31  David Schleef  <ds@schleef.org>
12833
12834         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12835         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12836         expected to link against libgstreamer.
12837         * gst/base/Makefile.am: link against libgstreamer
12838         * gst/elements/Makefile.am: same
12839
12840 2005-03-31  Andy Wingo  <wingo@pobox.com>
12841
12842         * tests/instantiate/Makefile.am:
12843         * tests/instantiate/caps.c: Add test to test speed of caps copy
12844         and free.
12845
12846         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12847         GMemChunk to be fair.
12848
12849         * gst/gsttrashstack.h: Remove warning about using the fallback
12850         trash stack implementation, it's still faster than malloc.
12851
12852 2005-03-30  Andy Wingo  <wingo@pobox.com>
12853
12854         * tests/complexity.c: Add a copyright.
12855
12856 2005-03-31  Wim Taymans  <wim@fluendo.com>
12857
12858         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12859         (gst_base_transform_class_init), (gst_base_transform_init),
12860         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12861         (gst_base_transform_get_property),
12862         (gst_base_transform_sink_activate),
12863         (gst_base_transform_src_activate),
12864         (gst_base_transform_change_state):
12865         * gst/base/gstbasetransform.h:
12866         * gst/elements/gstidentity.c: (gst_identity_class_init),
12867         (gst_identity_event), (gst_identity_check_perfect),
12868         (gst_identity_transform), (gst_identity_start),
12869         (gst_identity_stop):
12870         Added start/stop methods to transform base class so subclasses 
12871         don't need to deal with state changes even.
12872
12873 2005-03-31  Wim Taymans  <wim@fluendo.com>
12874
12875         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12876         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12877         * gst/gstevent.h:
12878         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12879         (gst_pad_pull_range):
12880         Added rate to the discont event to prepare for variable speed
12881         and reverse playback.
12882
12883 2005-03-29  David Schleef  <ds@schleef.org>
12884
12885         * configure.ac:
12886         * testsuite/trigger/Makefile.am:
12887         * testsuite/trigger/trigger.c: A little example program to show
12888         how trigger-based elements can work.
12889
12890 2005-03-29  Wim Taymans  <wim@fluendo.com>
12891
12892         * gst/base/Makefile.am:
12893         * gst/base/README:
12894         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12895         (gst_basesink_base_init), (gst_basesink_class_init),
12896         (gst_basesink_pad_getcaps), (gst_basesink_init),
12897         (gst_basesink_activate), (gst_basesink_change_state):
12898         * gst/base/gstbasesink.h:
12899         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12900         (gst_base_transform_base_init), (gst_base_transform_finalize),
12901         (gst_base_transform_class_init), (gst_base_transform_init),
12902         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12903         (gst_base_transform_event), (gst_base_transform_getrange),
12904         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12905         (gst_base_transform_set_property),
12906         (gst_base_transform_get_property),
12907         (gst_base_transform_sink_activate),
12908         (gst_base_transform_src_activate),
12909         (gst_base_transform_change_state):
12910         * gst/base/gstbasetransform.h:
12911         * gst/elements/gstidentity.c: (gst_identity_finalize),
12912         (gst_identity_class_init), (gst_identity_init),
12913         (gst_identity_event), (gst_identity_check_perfect),
12914         (gst_identity_transform), (gst_identity_set_property),
12915         (gst_identity_get_property), (gst_identity_change_state):
12916         * gst/elements/gstidentity.h:
12917         * gst/gstelement.c: (gst_element_get_state_func),
12918         (gst_element_lost_state), (gst_element_pads_activate):
12919         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12920         (gst_pad_check_pull_range), (gst_pad_pull_range):
12921         * gst/gstpad.h:
12922         Simplify pad activation.
12923         Added function to check if pull_range can be performed.
12924         Error out when pulling inactive or flushing pads.
12925         Removed const from refcounted types as it does not make sense.
12926         Simplify pad templates in basesink
12927         Added base class for simple 1-to-1 transforms.
12928         Make identity subclass the base transform.
12929
12930 2005-03-29  Andy Wingo  <wingo@pobox.com>
12931
12932         * docs/libs/gstreamer-libs-overrides.txt: 
12933         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12934         really don't understand what's going on, but like whatever. I want
12935         green buildbot!
12936
12937         * docs/gst/Makefile.am:
12938         * docs/libs/Makefile.am: Dist the overrides files.
12939
12940         * check/Makefile.am (clean-local): Remove .libs directories.
12941
12942         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12943         elements to EXTRA_DIST, so po/ files are happy.
12944
12945         * po/POTFILES.in: Er, remove it here.
12946
12947         * po/POTFILES: Remove gstspider.c.
12948
12949         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12950
12951         * docs/libs/gstreamer-libs-docs.sgml: 
12952         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12953         bytestream.
12954
12955         * tests/complexity.c (main): Set the length of the preroll queue
12956         on the sinks to prevent a lockup.
12957
12958         * libs/gst/dataprotocol/Makefile.am: 
12959         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12960         the same as the one in check/gst-libs/gdp.c.
12961
12962         * po/, docs/gst/: Commit automatic changes to docs and po files.
12963
12964         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12965         the versioned libgstbase.
12966
12967         * check/Makefile.am: Depend on an unversioned gst-register, seems
12968         to make autoconf happier.
12969
12970         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12971
12972 2005-03-28  Wim Taymans  <wim@fluendo.com>
12973
12974         * configure.ac:
12975         * docs/design/part-gstelement.txt:
12976         * docs/design/part-negotiation.txt:
12977         * docs/design/part-preroll.txt:
12978         * docs/design/part-scheduling.txt:
12979         * docs/design/part-states.txt:
12980         * gst/Makefile.am:
12981         * gst/base/Makefile.am:
12982         * gst/base/README:
12983         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12984         (gst_basesink_base_init), (gst_basesink_class_init),
12985         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12986         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12987         (gst_basesink_set_pad_functions),
12988         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12989         (gst_basesink_set_property), (gst_basesink_get_property),
12990         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12991         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12992         (gst_basesink_preroll_queue_push),
12993         (gst_basesink_preroll_queue_empty),
12994         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12995         (gst_basesink_event), (gst_basesink_get_times),
12996         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12997         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12998         (gst_basesink_loop), (gst_basesink_activate),
12999         (gst_basesink_change_state):
13000         * gst/base/gstbasesink.h:
13001         * gst/elements/Makefile.am:
13002         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
13003         (gst_fakesink_class_init), (gst_fakesink_init),
13004         (gst_fakesink_set_property), (gst_fakesink_get_property),
13005         (gst_fakesink_get_times), (gst_fakesink_event),
13006         (gst_fakesink_preroll), (gst_fakesink_render),
13007         (gst_fakesink_change_state):
13008         * gst/elements/gstfakesink.h:
13009         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
13010         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
13011         * gst/gstelement.c: (gst_element_add_pad),
13012         (gst_element_get_state_func), (gst_element_abort_state),
13013         (gst_element_commit_state), (gst_element_lost_state),
13014         (gst_element_set_state), (gst_element_pads_activate):
13015         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
13016         * gst/gstpipeline.c: (gst_pipeline_send_event),
13017         (gst_pipeline_change_state):
13018         Added state change code.
13019         Added/updated docs.
13020         Added sink base class, make fakesink extend the base class.
13021         Small cleanups in GstPipeline.
13022
13023 2005-03-26  David Schleef  <ds@schleef.org>
13024
13025         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
13026         is broken and should be implemented in a different library.
13027         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
13028         * gst/gst.h: remove gstcpu.h
13029         * gst/gstcpu.c: remove
13030         * gst/gstcpu.h: remove
13031         * gst/Makefile.am.future: Remove this file.  It's ancient.
13032
13033 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13034
13035         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
13036         (gst_bin_send_event):
13037           Add default event/set_manager handlers. The set_manager handler
13038           takes care that the manager is distributed over kids that were
13039           already in the bin before the manager was set. The event handler
13040           is a utility virtual function that sends the event over all sinks,
13041           so that gst_element_send_event (bin, event); has the expected
13042           behaviour.
13043         * gst/gstpad.c: (gst_pad_event_default):
13044           Re-install default event handling for discontinuities, so that
13045           seeking works without requiring hacks in applications or extra
13046           code in sinks.
13047         * gst/gstpipeline.c: (gst_pipeline_class_init),
13048         (gst_pipeline_send_event):
13049           Half hack, half utility: set a pipeline to PAUSED for seek events,
13050           since that is the only way we can guarantee a/v sync. Means that
13051           you can do gst_element_seek (pipeline, method, pos); on a pipeline
13052           and it "just works".
13053
13054 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13055
13056         * gst/gstpipeline.c: (gst_pipeline_use_clock):
13057           Lock/unlock mismatch.
13058
13059 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13060
13061         * docs/faq/gst-uninstalled:
13062           add gst-plugins-base
13063         * docs/gst/Makefile.am:
13064           don't error out until docs are fixed
13065         * docs/gst/gstreamer.types:
13066           remove thread
13067
13068 2005-03-22  Wim Taymans  <wim@fluendo.com>
13069
13070         * check/Makefile.am:
13071         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
13072         * gst/gststructure.c: (gst_structure_set_valist),
13073         (gst_structure_copy_conditional):
13074         Activated more tests.
13075         Added message test.
13076         Added G_TYPE_POINTER to GstStructure.
13077         
13078
13079 2005-03-22  Wim Taymans  <wim@fluendo.com>
13080
13081         * docs/design/part-TODO.txt:
13082         * docs/design/part-events.txt:
13083         * docs/design/part-gstbin.txt:
13084         * docs/design/part-gstbus.txt:
13085         * docs/design/part-gstpipeline.txt:
13086         * docs/design/part-messages.txt:
13087         * gst/gstbus.c:
13088         * gst/gstmessage.c:
13089         Docs updates
13090
13091 2005-03-21  Wim Taymans  <wim@fluendo.com>
13092
13093         * gst/gstbus.c: (gst_bus_post):
13094         Fix copy-and-paste error.
13095
13096 2005-03-21  Wim Taymans  <wim@fluendo.com>
13097
13098         * check/Makefile.am:
13099         * gst/Makefile.am:
13100         * gst/elements/Makefile.am:
13101         * gst/elements/gstelements.c:
13102         * gst/elements/gstfakesink.c: (gst_fakesink_init),
13103         (gst_fakesink_event), (gst_fakesink_chain):
13104         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13105         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
13106         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
13107         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
13108         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13109         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
13110         (gst_fakesrc_loop), (gst_fakesrc_activate),
13111         (gst_fakesrc_change_state):
13112         * gst/elements/gstfakesrc.h:
13113         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
13114         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
13115         (gst_filesrc_open_file), (gst_filesrc_loop),
13116         (gst_filesrc_activate), (gst_filesrc_change_state),
13117         (filesrc_find_peek), (filesrc_find_suggest),
13118         (gst_filesrc_type_find):
13119         * gst/elements/gstidentity.c: (gst_identity_finalize),
13120         (gst_identity_class_init), (gst_identity_init),
13121         (gst_identity_proxy_getcaps), (identity_queue_push),
13122         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
13123         (gst_identity_getrange), (gst_identity_chain),
13124         (gst_identity_sink_loop), (gst_identity_src_loop),
13125         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
13126         (gst_identity_set_property), (gst_identity_get_property),
13127         (gst_identity_change_state):
13128         * gst/elements/gstidentity.h:
13129         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
13130         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
13131         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
13132         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
13133         (gst_tee_sink_activate):
13134         * gst/elements/gsttee.h:
13135         * gst/gst.c: (gst_register_core_elements), (init_post):
13136         * gst/gst.h:
13137         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
13138         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
13139         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
13140         (gst_bin_change_state):
13141         * gst/gstbin.h:
13142         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
13143         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
13144         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
13145         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
13146         (gst_bus_set_sync_handler), (gst_bus_create_watch),
13147         (bus_watch_callback), (bus_watch_destroy),
13148         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
13149         (poll_timeout), (gst_bus_poll):
13150         * gst/gstbus.h:
13151         * gst/gstcaps.h:
13152         * gst/gstdata.h:
13153         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13154         (gst_element_post_message), (gst_element_message_full),
13155         (gst_element_get_state_func), (gst_element_get_state),
13156         (gst_element_abort_state), (gst_element_commit_state),
13157         (gst_element_lost_state), (gst_element_set_state),
13158         (gst_element_pads_activate), (gst_element_change_state),
13159         (gst_element_dispose), (gst_element_set_manager_func),
13160         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
13161         (gst_element_set_manager), (gst_element_get_manager),
13162         (gst_element_set_bus), (gst_element_get_bus),
13163         (gst_element_set_scheduler), (gst_element_get_scheduler):
13164         * gst/gstelement.h:
13165         * gst/gstevent.c: (gst_event_new_segment_seek),
13166         (gst_event_new_flush):
13167         * gst/gstevent.h:
13168         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
13169         (_gst_message_free), (gst_message_get_type), (gst_message_new),
13170         (gst_message_new_eos), (gst_message_new_error),
13171         (gst_message_new_warning), (gst_message_new_tag),
13172         (gst_message_new_state_changed), (gst_message_new_application),
13173         (gst_message_get_structure), (gst_message_parse_tag),
13174         (gst_message_parse_state_changed), (gst_message_parse_error),
13175         (gst_message_parse_warning):
13176         * gst/gstmessage.h:
13177         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
13178         (gst_real_pad_set_property), (gst_pad_set_active),
13179         (gst_pad_is_active), (gst_pad_set_blocked_async),
13180         (gst_pad_set_blocked), (gst_pad_is_blocked),
13181         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
13182         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
13183         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13184         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
13185         (gst_pad_link_filtered), (gst_pad_relink_filtered),
13186         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
13187         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
13188         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
13189         (gst_pad_set_caps), (gst_pad_configure_sink),
13190         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
13191         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
13192         (gst_real_pad_dispose), (gst_real_pad_finalize),
13193         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
13194         (gst_pad_event_default_dispatch), (gst_pad_event_default),
13195         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
13196         * gst/gstpad.h:
13197         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
13198         (pipeline_bus_handler), (gst_pipeline_change_state),
13199         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
13200         * gst/gstpipeline.h:
13201         * gst/gstprobe.h:
13202         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13203         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
13204         (gst_queue_link_src), (gst_queue_bufferalloc),
13205         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13206         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
13207         (gst_queue_loop), (gst_queue_handle_src_event),
13208         (gst_queue_handle_src_query), (gst_queue_src_activate),
13209         (gst_queue_change_state):
13210         * gst/gstqueue.h:
13211         * gst/gstscheduler.c: (gst_scheduler_init),
13212         (gst_scheduler_dispose), (gst_scheduler_create_task),
13213         (gst_scheduler_factory_create):
13214         * gst/gstscheduler.h:
13215         * gst/gststructure.c: (gst_structure_get_type),
13216         (gst_structure_copy_conditional):
13217         * gst/gststructure.h:
13218         * gst/gsttaginterface.h:
13219         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13220         (gst_task_init), (gst_task_dispose), (gst_task_create),
13221         (gst_task_get_state), (gst_task_start), (gst_task_stop),
13222         (gst_task_pause):
13223         * gst/gsttask.h:
13224         * gst/gstthread.c:
13225         * gst/gstthread.h:
13226         * gst/gsttypes.h:
13227         * gst/schedulers/Makefile.am:
13228         * gst/schedulers/cothreads_compat.h:
13229         * gst/schedulers/entryscheduler.c:
13230         * gst/schedulers/faircothreads.c:
13231         * gst/schedulers/faircothreads.h:
13232         * gst/schedulers/fairscheduler.c:
13233         * gst/schedulers/gstbasicscheduler.c:
13234         * gst/schedulers/gstoptimalscheduler.c:
13235         * gst/schedulers/gthread-cothreads.h:
13236         * gst/schedulers/threadscheduler.c:
13237         (gst_thread_scheduler_task_get_type),
13238         (gst_thread_scheduler_task_class_init),
13239         (gst_thread_scheduler_task_init),
13240         (gst_thread_scheduler_task_start),
13241         (gst_thread_scheduler_task_stop),
13242         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
13243         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13244         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
13245         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
13246         (plugin_init):
13247         * libs/gst/Makefile.am:
13248         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
13249         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
13250         (gst_file_pad_parent_set):
13251         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13252         (gst_dp_event_from_packet):
13253         * tests/complexity.c: (main):
13254         * tests/mass_elements.c: (main):
13255         * testsuite/states/locked.c: (message_received), (main):
13256         * testsuite/states/parent.c: (main):
13257         * tools/gst-inspect.c: (print_element_flag_info),
13258         (print_implementation_info), (print_pad_info):
13259         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13260         (main):
13261         * tools/gst-md5sum.c: (event_loop), (main):
13262         * tools/gst-typefind.c: (main):
13263         * tools/gst-xmlinspect.c: (print_element_info):
13264         Next big merge.
13265         Added GstBus for mainloop integration.
13266         Added GstMessage for sending notifications on the bus.
13267         Added GstTask as an abstraction for pipeline entry points.
13268         Removed GstThread.
13269         Removed Schedulers.
13270         Simplified GstQueue for multithreaded core.
13271         Made _link threadsafe, removed old capsnego.
13272         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13273         Added pad blocking functions.
13274         Reworked scheduling functions in GstPad to prepare for
13275         scheduling updates soon.
13276         Moved events out of data stream.
13277         Simplified GstEvent types.
13278         Added return values to push/pull.
13279         Removed clocking from GstElement.
13280         Added prototypes for state change function for next merge.
13281         Removed iterate from bins and state change management.
13282         Fixed some elements, disabled others for now.
13283         Fixed -inspect and -launch.
13284         Added check for GstBus.
13285
13286 2005-03-10  Wim Taymans  <wim@fluendo.com>
13287
13288         * docs/design/part-MT-refcounting.txt:
13289         * docs/design/part-clocks.txt:
13290         * docs/design/part-gstelement.txt:
13291         * docs/design/part-gstobject.txt:
13292         * docs/design/part-standards.txt:
13293         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13294         (gst_bin_remove_func), (gst_bin_remove):
13295         * gst/gstbin.h:
13296         * gst/gstbuffer.c:
13297         * gst/gstcaps.h:
13298         * testsuite/clock/clock1.c: (main):
13299         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13300         (main):
13301         * testsuite/dlopen/loadgst.c: (do_test):
13302         * testsuite/refcounting/bin.c: (add_remove_test1),
13303         (add_remove_test2), (main):
13304         * testsuite/refcounting/element.c: (main):
13305         * testsuite/refcounting/element_pad.c: (main):
13306         * testsuite/refcounting/pad.c: (main):
13307         * tools/gst-launch.c: (sigint_handler_sighandler):
13308         * tools/gst-typefind.c: (main):
13309         Doc updates.
13310         Added doc about clock.
13311         removed gst_bin_iterate_recurse_up(), marked methods
13312         for removal.
13313         Fix more testsuites.
13314
13315 2005-03-09  Wim Taymans  <wim@fluendo.com>
13316
13317         * gst/gstpad.c: (gst_pad_get_direction),
13318         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13319         (gst_pad_collect_valist):
13320         * testsuite/bins/interface.c: (main):
13321         * testsuite/caps/audioscale.c: (test_caps):
13322         * testsuite/caps/caps.c: (test1), (test2), (test3):
13323         * testsuite/caps/deserialize.c: (main):
13324         * testsuite/caps/enumcaps.c: (main):
13325         * testsuite/caps/filtercaps.c: (main):
13326         * testsuite/caps/intersect2.c: (main):
13327         * testsuite/caps/random.c: (main):
13328         * testsuite/caps/renegotiate.c: (my_fixate), (main):
13329         * testsuite/caps/sets.c: (check_caps):
13330         * testsuite/caps/simplify.c: (check_caps), (main):
13331         * testsuite/caps/subtract.c: (check_caps):
13332         Fix _pad_get_direction wrt ghostpads.
13333         Fix caps testsuite.
13334
13335 2005-03-09  Wim Taymans  <wim@fluendo.com>
13336
13337         * check/Makefile.am:
13338         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13339         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13340         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13341         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13342         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13343         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13344         (gst_bin_remove), (gst_bin_iterate_recurse_up),
13345         (bin_element_is_sink), (gst_bin_iterate_sinks),
13346         (gst_bin_iterate_all_by_interface):
13347         * gst/gstbin.h:
13348         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13349         (gst_element_change_state), (gst_element_dispose),
13350         (gst_element_finalize), (gst_element_set_loop_function):
13351         * gst/gstelement.h:
13352         * gst/gstiterator.c: (find_custom_fold_func):
13353         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13354         (gst_pad_collectv), (gst_pad_collect_valist),
13355         (gst_pad_template_new):
13356         * gst/gstpipeline.c: (gst_pipeline_class_init),
13357         (gst_pipeline_dispose), (gst_pipeline_set_property),
13358         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13359         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13360         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13361         * gst/gstutils.h:
13362         * gst/schedulers/entryscheduler.c:
13363         * gst/schedulers/gstbasicscheduler.c:
13364         (gst_basic_scheduler_cothreaded_chain),
13365         (gst_basic_scheduler_chain_add_element):
13366         * testsuite/bins/interface.c: (main):
13367         Added GstBin test.
13368         Added GstSystemClock test.
13369         Implemented clock distribution code in GstBin.
13370         Implemented iterate sinks method for future use.
13371         Rearranged gstelement.h
13372         Fix GstIterator comparison bug.
13373         Moved some code to GstPipeline, mostly clocking related.
13374
13375 2005-03-09  Wim Taymans  <wim@fluendo.com>
13376
13377         * configure.ac:
13378         * gst/gst_private.h:
13379         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13380         (gst_bin_remove_func), (gst_bin_remove),
13381         (gst_bin_get_by_name_recurse_up):
13382         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13383         (gst_clock_id_compare_func), (gst_clock_id_wait),
13384         (gst_clock_id_wait_async), (gst_clock_init),
13385         (gst_clock_adjust_unlocked), (gst_clock_get_time):
13386         * gst/gstelement.h:
13387         * gst/gstinfo.c: (_gst_debug_init):
13388         * gst/gstobject.h:
13389         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13390         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13391         * gst/gstpad.h:
13392         Bump version number, we're now 0.9.0
13393         Add future debugging category.
13394         Fix NULL _unref() in _get_by_name_recurse_up
13395         Rearrange gstpad.h.
13396         Update some docs.
13397
13398 2005-03-08  Wim Taymans  <wim@fluendo.com>
13399
13400         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13401         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13402         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13403         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13404         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13405         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13406         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13407         * gst/elements/gstidentity.c: (gst_identity_class_init):
13408         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13409         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13410         * gst/elements/gstshaper.c: (gst_shaper_class_init):
13411         * gst/elements/gststatistics.c: (gst_statistics_class_init):
13412         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13413         (gst_tee_link):
13414         * gst/gstelement.c: (gst_element_class_init),
13415         (gst_element_base_class_init), (gst_element_init),
13416         (gst_element_get_random_pad), (gst_element_wait_state_change),
13417         (gst_element_change_state), (gst_element_dispose),
13418         (gst_element_finalize), (gst_element_set_loop_function):
13419         * gst/gstelement.h:
13420         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13421         * gst/gstthread.c: (gst_thread_class_init),
13422         (gst_thread_release_children_locks), (gst_thread_change_state):
13423         * gst/schedulers/gstbasicscheduler.c:
13424         (gst_basic_scheduler_loopfunc_wrapper),
13425         (gst_basic_scheduler_chain_wrapper),
13426         (gst_basic_scheduler_src_wrapper),
13427         (gst_basic_scheduler_remove_element):
13428         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13429         Remove threadsafe properties. Fix elements because GObject
13430         complains when installing a property before declaring a
13431         set/get_property handler.
13432         Rearrange gstelement.h file, use STATE macros for state locks.
13433         Free mutexes in the finalize method instead of dispose.
13434
13435 2005-03-08  Wim Taymans  <wim@fluendo.com>
13436
13437         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13438         * gst/gstthread.c: (gst_thread_release_children_locks):
13439         Added parentage check.
13440         Fix build og GstThread again.
13441
13442 2005-03-08  Wim Taymans  <wim@fluendo.com>
13443
13444         * docs/design/part-MT-refcounting.txt:
13445         * docs/design/part-conventions.txt:
13446         * docs/design/part-gstobject.txt:
13447         * docs/design/part-relations.txt:
13448         * docs/design/part-standards.txt:
13449         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13450         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13451         (gst_bin_get_by_name), (gst_bin_get_by_interface),
13452         (gst_bin_iterate_all_by_interface):
13453         * gst/gstbuffer.h:
13454         * gst/gstclock.h:
13455         * gst/gstelement.c: (gst_element_class_init),
13456         (gst_element_change_state), (gst_element_set_loop_function):
13457         * gst/gstelement.h:
13458         * gst/gstiterator.c:
13459         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13460         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13461         (gst_object_dispatch_properties_changed), (gst_object_set_name),
13462         (gst_object_set_parent), (gst_object_unparent),
13463         (gst_object_check_uniqueness):
13464         * gst/gstobject.h:
13465         Docs updates, clean up some headers.
13466
13467 2005-03-07  Wim Taymans  <wim@fluendo.com>
13468
13469         * check/.cvsignore:
13470         * check/Makefile.am:
13471         * check/gst-libs/.cvsignore:
13472         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13473         * check/gst/.cvsignore:
13474         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13475         (START_TEST), (gstbus_suite), (main):
13476         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13477         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13478         (gst_data_suite), (main):
13479         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13480         (add_fold_func), (gstiterator_suite), (main):
13481         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13482         (thread_name_object), (thread_name_object_default),
13483         (gst_object_name_compare), (gst_object_suite), (main):
13484         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13485         (gst_pad_suite), (main):
13486         * check/gstcheck.c: (gst_check_log_message_func),
13487         (gst_check_log_critical_func), (gst_check_init):
13488         * check/gstcheck.h:
13489         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13490         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13491         Added checks.
13492
13493 2005-03-07  Wim Taymans  <wim@fluendo.com>
13494
13495         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13496         (gst_list_iterator_next), (gst_list_iterator_resync),
13497         (gst_list_iterator_free), (gst_iterator_new_list),
13498         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13499         (gst_iterator_free), (gst_iterator_push), (filter_next),
13500         (filter_resync), (filter_uninit), (filter_free),
13501         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13502         (gst_iterator_foreach), (find_custom_fold_func),
13503         (gst_iterator_find_custom):
13504         * gst/gstiterator.h:
13505         Added missing files.
13506
13507 2005-03-07  Wim Taymans  <wim@fluendo.com>
13508
13509         * Makefile.am:
13510         * configure.ac:
13511         * docs/design/part-MT-refcounting.txt:
13512         * docs/design/part-conventions.txt:
13513         * docs/design/part-gstobject.txt:
13514         * docs/design/part-relations.txt:
13515         * examples/mixer/mixer.c: (main):
13516         * examples/thread/thread.c: (eos), (main):
13517         * gst/Makefile.am:
13518         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13519         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13520         (gst_spider_plug_from_srcpad):
13521         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13522         (gst_spider_identity_change_state),
13523         (gst_spider_identity_sink_loop_type_finding):
13524         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13525         * gst/elements/gstidentity.c: (gst_identity_init):
13526         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13527         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13528         * gst/elements/gsttypefindelement.c: (free_entry):
13529         * gst/gst.c:
13530         * gst/gst.h:
13531         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13532         (gst_bin_set_clock_func), (gst_bin_auto_clock),
13533         (gst_bin_set_index), (gst_bin_set_element_sched),
13534         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13535         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13536         (gst_bin_iterate_elements), (iterate_child_recurse),
13537         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13538         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13539         (compare_interface), (gst_bin_get_by_interface),
13540         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13541         * gst/gstbin.h:
13542         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13543         (gst_buffer_default_free), (gst_buffer_default_copy),
13544         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13545         (gst_buffer_create_sub):
13546         * gst/gstbuffer.h:
13547         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13548         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13549         (gst_caps_unref), (gst_static_caps_get),
13550         (gst_caps_remove_and_get_structure), (gst_caps_append),
13551         (gst_caps_append_structure), (gst_caps_remove_structure),
13552         (gst_caps_copy_nth), (gst_caps_set_simple),
13553         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13554         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13555         (gst_caps_structure_intersect_field), (gst_caps_intersect),
13556         (gst_caps_structure_subtract_field), (gst_caps_subtract),
13557         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13558         (gst_caps_structure_figure_out_union),
13559         (gst_caps_switch_structures), (gst_caps_do_simplify),
13560         (gst_caps_replace), (gst_caps_from_string),
13561         (gst_caps_copy_conditional):
13562         * gst/gstcaps.h:
13563         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13564         (_gst_clock_id_free), (gst_clock_id_unref),
13565         (gst_clock_id_compare_func), (gst_clock_id_wait),
13566         (gst_clock_id_wait_async), (gst_clock_class_init),
13567         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13568         (gst_clock_get_time), (gst_clock_set_time_adjust),
13569         (gst_clock_set_property), (gst_clock_get_property):
13570         * gst/gstclock.h:
13571         * gst/gstcompat.h:
13572         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13573         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13574         * gst/gstdata.h:
13575         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13576         (gst_element_requires_clock), (gst_element_provides_clock),
13577         (gst_element_set_clock), (gst_element_clock_wait),
13578         (gst_element_wait), (gst_element_set_time_delay),
13579         (gst_element_is_indexable), (gst_element_add_pad),
13580         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13581         (pad_compare_name), (gst_element_get_static_pad),
13582         (gst_element_request_pad), (gst_element_get_request_pad),
13583         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13584         (gst_element_class_get_pad_template_list),
13585         (gst_element_class_get_pad_template), (gst_element_error_func),
13586         (gst_element_get_random_pad), (gst_element_get_event_masks),
13587         (gst_element_send_event), (gst_element_seek),
13588         (gst_element_get_query_types), (gst_element_query),
13589         (gst_element_get_formats), (gst_element_convert),
13590         (gst_element_is_locked_state), (gst_element_set_locked_state),
13591         (gst_element_sync_state_with_parent), (gst_element_change_state),
13592         (gst_element_finalize), (gst_element_yield),
13593         (gst_element_interrupt), (gst_element_set_scheduler),
13594         (gst_element_get_scheduler), (gst_element_set_loop_function):
13595         * gst/gstelement.h:
13596         * gst/gstevent.h:
13597         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13598         (gst_format_get_by_nick), (gst_format_get_details),
13599         (gst_format_iterate_definitions):
13600         * gst/gstformat.h:
13601         * gst/gstindex.c: (gst_index_gtype_resolver):
13602         * gst/gstinfo.c:
13603         * gst/gstinfo.h:
13604         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13605         (gst_mem_chunk_free):
13606         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13607         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13608         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13609         (gst_object_dispatch_properties_changed),
13610         (gst_object_set_name_default), (gst_object_set_name),
13611         (gst_object_get_name), (gst_object_set_name_prefix),
13612         (gst_object_get_name_prefix), (gst_object_set_parent),
13613         (gst_object_get_parent), (gst_object_unparent),
13614         (gst_object_check_uniqueness), (gst_object_save_thyself),
13615         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13616         (gst_object_set_property), (gst_object_get_property),
13617         (gst_object_get_path_string):
13618         * gst/gstobject.h:
13619         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13620         (gst_real_pad_init), (gst_real_pad_get_property),
13621         (gst_pad_custom_new), (gst_pad_get_direction),
13622         (gst_pad_set_active), (gst_pad_is_active),
13623         (gst_pad_set_event_function), (gst_pad_is_linked),
13624         (gst_pad_link_free), (gst_pad_link_intersect),
13625         (gst_pad_link_fixate), (gst_pad_set_caps),
13626         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13627         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13628         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13629         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13630         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13631         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13632         (gst_pad_realize), (gst_pad_get_allowed_caps),
13633         (gst_real_pad_dispose), (gst_real_pad_finalize),
13634         (gst_pad_collectv), (gst_pad_collect_valist),
13635         (gst_pad_template_dispose), (gst_pad_template_new),
13636         (gst_pad_get_internal_links):
13637         * gst/gstpad.h:
13638         * gst/gstpipeline.c: (gst_pipeline_dispose),
13639         (gst_pipeline_change_state):
13640         * gst/gstpipeline.h:
13641         * gst/gstplugin.c:
13642         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13643         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13644         * gst/gstpluginfeature.h:
13645         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13646         * gst/gstquery.c: (_gst_query_type_initialize),
13647         (gst_query_type_register), (gst_query_type_get_by_nick),
13648         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13649         * gst/gstquery.h:
13650         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13651         * gst/gstscheduler.c: (gst_scheduler_add_element),
13652         (gst_scheduler_factory_create):
13653         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13654         (gst_structure_free), (gst_structure_set_name),
13655         (gst_structure_id_set_value), (gst_structure_set_value),
13656         (gst_structure_set_valist), (gst_structure_remove_field),
13657         (gst_structure_remove_fields),
13658         (gst_structure_remove_fields_valist),
13659         (gst_structure_remove_all_fields), (gst_structure_foreach),
13660         (gst_structure_map_in_place),
13661         (gst_caps_structure_fixate_field_nearest_int),
13662         (gst_caps_structure_fixate_field_nearest_double):
13663         * gst/gststructure.h:
13664         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13665         (gst_system_clock_init), (gst_system_clock_dispose),
13666         (gst_system_clock_async_thread),
13667         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13668         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13669         * gst/gstsystemclock.h:
13670         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13671         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13672         * gst/gsttaginterface.c:
13673         * gst/gstthread.c: (gst_thread_dispose),
13674         (gst_thread_release_children_locks), (gst_thread_change_state),
13675         (gst_thread_main_loop):
13676         * gst/gsttrashstack.h:
13677         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13678         * gst/gsttypes.h:
13679         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13680         (gst_element_request_pad), (gst_element_get_pad_from_template),
13681         (gst_element_request_compatible_pad),
13682         (gst_element_get_compatible_pad_filtered),
13683         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13684         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13685         (gst_element_link_many), (gst_element_link),
13686         (gst_element_link_pads), (gst_element_unlink_pads),
13687         (gst_element_unlink_many), (gst_element_unlink),
13688         (gst_pad_can_link_filtered), (gst_pad_can_link),
13689         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13690         (gst_object_default_error), (gst_bin_add_many),
13691         (gst_bin_remove_many), (gst_element_populate_std_props),
13692         (gst_element_class_install_std_props), (gst_buffer_merge),
13693         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13694         (link_fold_func), (gst_pad_proxy_setcaps):
13695         * gst/gstutils.h:
13696         * gst/gstvalue.c: (gst_value_deserialize_string):
13697         * gst/parse/grammar.y:
13698         * gst/schedulers/gstbasicscheduler.c:
13699         (gst_basic_scheduler_cothreaded_chain),
13700         (gst_basic_scheduler_chain_recursive_add),
13701         (gst_basic_scheduler_pad_link):
13702         * gst/schedulers/gstoptimalscheduler.c:
13703         (get_group_schedule_function),
13704         (gst_opt_scheduler_state_transition),
13705         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13706         * libs/gst/bytestream/bytestream.c:
13707         * libs/gst/dataprotocol/dataprotocol.c:
13708         (gst_dp_header_from_buffer):
13709         * po/nb.po:
13710         * po/ru.po:
13711         * tests/threadstate/threadstate2.c: (eos):
13712         * tools/gst-compprep.c: (main):
13713         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13714         (print_pad_info), (print_children_info):
13715         * tools/gst-launch.c: (idle_func), (main):
13716         * tools/gst-md5sum.c: (idle_func), (main):
13717         * tools/gst-xmlinspect.c: (print_element_info):
13718         First THREADED backport attempt, focusing on adding locks and
13719         making sure the API is threadsafe. Needs more work. More docs
13720         follow this week.
13721
13722 2005-02-24  Andy Wingo  <wingo@pobox.com>
13723
13724         * tests/bench-complexity.scm:
13725         * tests/complexity.gnuplot: New files, good for running complexity
13726         benchmarks.
13727
13728         * tests/Makefile.am:
13729         * tests/complexity.c: New test, sets up N elements, at each level
13730         teeing into M streams per element. Eeeenteresting.
13731
13732         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13733         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13734         running bench-mass_elements.scm.
13735
13736         * tests/bench-mass_elements.scm: New script, runs mass_elements
13737         for various numbers of identities, outputting the results to a
13738         file. Requires guile 1.6. Just for testing.
13739
13740 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13741
13742         * gst/schedulers/fairscheduler.c:
13743           compile with debug disabled
13744
13745 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13746
13747         * configure.ac:
13748           hunting season on 0.9 is now OPEN