releasing 0.10.1
[platform/upstream/gstreamer.git] / ChangeLog
1 === release 0.10.1 ===
2
3 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
4
5         * configure.ac:
6           releasing 0.10.1, "Nollaig chridheil"
7
8 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
9
10         * docs/faq/cvs.xml:
11           Add missing quote, should be make ERROR_CFLAGS="".
12
13 2005-12-20  Wim Taymans  <wim@fluendo.com>
14
15         * docs/design/part-trickmodes.txt:
16         More documentation on trickmodes.
17
18 2005-12-20  Edward Hervey  <edward@fluendo.com>
19
20         * gst/gstcaps.c: (gst_static_caps_get_type):
21         * gst/gstcaps.h:
22           API addition: GST_TYPE_STATIC_CAPS
23         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
24         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
25         * gst/gstpadtemplate.h:
26           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
27         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
28         bindings.
29
30 2005-12-18  Wim Taymans  <wim@fluendo.com>
31
32         * libs/gst/base/gstadapter.c:
33         * libs/gst/base/gstadapter.h:
34         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
35         (gst_base_sink_get_position):
36         * libs/gst/base/gstbasesink.h:
37         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
38         (gst_base_src_default_query), (gst_base_src_default_do_seek),
39         (gst_base_src_do_seek), (gst_base_src_perform_seek),
40         (gst_base_src_send_event), (gst_base_src_update_length),
41         (gst_base_src_get_range), (gst_base_src_loop),
42         (gst_base_src_start):
43         * libs/gst/base/gstbasesrc.h:
44         * libs/gst/base/gstbasetransform.h:
45         * libs/gst/base/gstcollectpads.h:
46         * libs/gst/base/gstpushsrc.c:
47         * libs/gst/base/gstpushsrc.h:
48         * libs/gst/dataprotocol/dataprotocol.c:
49         * libs/gst/dataprotocol/dataprotocol.h:
50         * libs/gst/net/gstnetclientclock.h:
51         * libs/gst/net/gstnettimeprovider.h:
52         Documentation updates.
53
54 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
55
56         * docs/manual/basics-helloworld.xml:
57           Remove superfluous closing bracket in helloworld example.
58
59 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
60
61         * tools/gst-launch.1.in:
62           Update gst-launch man page; add a section with useful
63           environment variables. Fixes #323882.
64
65 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
66
67         * gst/gst.c:
68         * gst/gst_private.h:
69           change some char* into char[]
70
71 2005-12-16  Wim Taymans  <wim@fluendo.com>
72
73         * gst/gstregistryxml.c: (load_feature):
74         Cleanups.
75         Don't use g_object_unref on GstObjects so that we avoid
76         leaks on unsafe glibs.
77
78 2005-12-16  Wim Taymans  <wim@fluendo.com>
79
80         * gst/gstbin.c: (gst_bin_recalc_state):
81         Small doc updates.
82
83 2005-12-16  Wim Taymans  <wim@fluendo.com>
84
85         * common/check.mak:
86         Added make forever target for check.
87
88 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
89
90         * gst/gst.c: (init_post):
91           make the registry cache file HOST_CPU-dependent
92
93 2005-12-16  Andy Wingo  <wingo@pobox.com>
94
95         * plugins/elements/gstbufferstore.c
96         (gst_buffer_store_cleared_func): Pay attention to g_list_append
97         return value.
98
99         * tests/check/gst/gstobject.c
100         (test_fake_object_name_threaded_unique): Pay attention to
101         g_list_sort return value.
102
103 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
104
105         * tools/gst-feedback-m.m:
106           Update for 0.9/0.10 (fixes #323870).
107
108 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
109
110         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
111           Fix lcopy for mini objects, the mini object needs to be ref'ed.
112           
113         * tests/check/gst/gstminiobject.c: (my_foo_init),
114         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
115         (test_value_collection), (gst_mini_object_suite):
116           Add test to ensure refcounts end up as expected when passing
117           GstMiniObjects through g_object_get() and g_object_set().
118
119 2005-12-14  Julien MOUTTE  <julien@moutte.net>
120
121         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
122         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
123         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
124         of collectpads. This version removes a lot of races without
125         touching API/ABI. Yay !
126
127 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
128
129         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
130           Don't allow activation of a srcpad in pull_range if it has no
131           getrange function.
132           Change some debug statements to be a little clearer
133
134         * plugins/elements/gsttypefindelement.c:
135         (gst_type_find_handle_src_query):
136           Check that we have a peer before executing queries thereupon.
137
138         * tests/examples/metadata/read-metadata.c: (message_loop):
139           Use gst_bus_pop instead of gst_bus_poll when we just want it to
140           immediately return us any available message with 0 timeout.
141
142 2005-12-12  Michael Smith  <msmith@fluendo.com>
143
144         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
145           Don't unref factories after calling them.
146         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
147         * plugins/elements/gsttypefindelement.c:
148         (gst_type_find_element_chain):
149           Free lists of factories after using them. Fixing typefinding memory
150           leaks.
151
152 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
153
154         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
155         (gst_plugin_feature_load):
156           more meaningful debug output
157         * configure.ac:
158         * tests/Makefile.am:
159         * tests/old/examples/Makefile.am:
160           make make distcheck happy again
161
162 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
163
164         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
165           Catch the special case where we are operating chain-based,
166           but the downstream peer pad has no chain function. Emit a
167           custom error message in this case instead of letting the
168           core generate one implying that this is some sort of core
169           bug. It's not, it just means that whatever got plugged
170           into the pipeline downstream when we announced the type
171           can only operate pull-based, while our source can only
172           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
173           Error string has not been marked for translation yet, as
174           it probably needs some more work first.
175
176         (gst_type_find_element_get_best_possibility):
177           Add helper function to find the best of all available
178           found possibilities that qualify given the min. threshold.
179
180         (gst_type_find_element_handle_event):
181           Fix the case where we get an EOS while still in TYPEFIND
182           mode (we want to chose the best of all possible types,
183           not just the first type that happens to be in our unsorted
184           list of possible types).
185
186         (gst_type_find_element_chain):
187           Make sure we return GST_FLOW_ERROR when we errored out
188           in stop_typefinding(); also, don't just find the best of
189           all found type entries and then use the last examined
190           type entry, but actually use the best entry.
191
192 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
193
194         * tests/examples/typefind/typefind.c: (type_found):
195         * tests/examples/xml/runxml.c: (xml_loaded):
196           More gcc4 fixes and a mem leak fix.
197
198 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
199
200         * tests/examples/xml/createxml.c: (object_saved):
201           gcc 4 fixes
202
203 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
204
205         * tests/Makefile.am:
206           enable the examples even more
207
208 2005-12-12  Andy Wingo  <wingo@pobox.com>
209
210         * libs/gst/net/gstnettimeprovider.c
211         (gst_net_time_provider_class_init, gst_net_time_provider_init)
212         (gst_net_time_provider_set_property)
213         (gst_net_time_provider_get_property):
214         API addition: Export "active" as a GObject property.
215         (gst_net_time_provider_thread): Only respond to time queries if
216         the time provider is active.
217
218         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
219         NetTimeProvider, preserving binary compat.
220
221 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
222
223         * tests/examples/controller/audio-example.c: (main):
224         * tests/examples/launch/Makefile.am:
225           convert comments again
226
227 2005-12-12  Wim Taymans  <wim@fluendo.com>
228
229         * libs/gst/base/gstpushsrc.c:
230         Fix typo.
231
232 2005-12-12  Wim Taymans  <wim@fluendo.com>
233
234         * docs/libs/gstreamer-libs-sections.txt:
235         Added new symbol to docs.
236
237         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
238         (gst_base_src_init), (gst_base_src_set_format),
239         (gst_base_src_default_query), (gst_base_src_query),
240         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
241         (gst_base_src_perform_seek), (gst_base_src_send_event),
242         (gst_base_src_default_event), (gst_base_src_event_handler),
243         (gst_base_src_set_property), (gst_base_src_get_property),
244         (gst_base_src_wait), (gst_base_src_do_sync),
245         (gst_base_src_update_length), (gst_base_src_get_range),
246         (gst_base_src_check_get_range), (gst_base_src_loop),
247         (gst_base_src_default_negotiate), (gst_base_src_start),
248         (gst_base_src_activate_push), (gst_base_src_activate_pull),
249         (gst_base_src_change_state):
250         * libs/gst/base/gstbasesrc.h:
251         Implement seeking to other formats than _BYTES.
252         Implement more seeking methods correctly.
253         Doc updates.
254         Added query vmethod.
255         Added do_seek vmethod to make life easier for subclasses
256         when seeking.
257         API addition: gst_base_src_set_format()
258
259 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
260
261         * tests/examples/Makefile.am:
262           added that too
263
264 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
265
266         * configure.ac:
267         * docs/random/ensonic/media-device-daemon.txt:
268         * tests/examples/controller/.cvsignore:
269         * tests/examples/controller/Makefile.am:
270         * tests/examples/controller/audio-example.c: (main):
271         * tests/examples/helloworld/.cvsignore:
272         * tests/examples/helloworld/Makefile.am:
273         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
274         * tests/examples/launch/.cvsignore:
275         * tests/examples/launch/Makefile.am:
276         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
277         * tests/examples/metadata/.cvsignore:
278         * tests/examples/metadata/Makefile.am:
279         * tests/examples/metadata/read-metadata.c: (message_loop),
280         (make_pipeline), (print_tag), (main):
281         * tests/examples/queue/.cvsignore:
282         * tests/examples/queue/Makefile.am:
283         * tests/examples/queue/queue.c: (event_loop), (main):
284         * tests/examples/typefind/.cvsignore:
285         * tests/examples/typefind/Makefile.am:
286         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
287         (main):
288         * tests/examples/xml/.cvsignore:
289         * tests/examples/xml/Makefile.am:
290         * tests/examples/xml/createxml.c: (object_saved), (main):
291         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
292         * tests/old/examples/Makefile.am:
293         * tests/old/examples/TODO:
294         * tests/old/examples/controller/.cvsignore:
295         * tests/old/examples/controller/Makefile.am:
296         * tests/old/examples/controller/audio-example.c:
297         * tests/old/examples/helloworld/.cvsignore:
298         * tests/old/examples/helloworld/Makefile.am:
299         * tests/old/examples/helloworld/helloworld.c:
300         * tests/old/examples/launch/.cvsignore:
301         * tests/old/examples/launch/Makefile.am:
302         * tests/old/examples/launch/mp3parselaunch.c:
303         * tests/old/examples/launch/mp3play:
304         * tests/old/examples/manual/Makefile.am:
305         * tests/old/examples/metadata/Makefile.am:
306         * tests/old/examples/metadata/read-metadata.c:
307         * tests/old/examples/queue/.cvsignore:
308         * tests/old/examples/queue/Makefile.am:
309         * tests/old/examples/queue/queue.c:
310         * tests/old/examples/typefind/.cvsignore:
311         * tests/old/examples/typefind/Makefile.am:
312         * tests/old/examples/typefind/typefind.c:
313         * tests/old/examples/xml/.cvsignore:
314         * tests/old/examples/xml/Makefile.am:
315         * tests/old/examples/xml/createxml.c:
316         * tests/old/examples/xml/runxml.c:
317           applied some simple fixing to some examples
318           re-enabled the working examples
319
320 2005-12-12  Wim Taymans  <wim@fluendo.com>
321
322         * gst/gstsegment.c: (gst_segment_init),
323         (gst_segment_set_last_stop), (gst_segment_set_seek),
324         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
325         (gst_segment_to_running_time):
326         Added more documentation.
327         Make sure the last_pos value is updated properly.
328         Make sure to_stream_time and to_running_time don't
329         operate on wrong values.
330
331         * tests/check/gst/gstsegment.c: (GST_START_TEST):
332         Update check.
333
334 2005-12-12  Michael Smith  <msmith@fluendo.com>
335
336         * plugins/elements/gsttypefindelement.c: (free_entry),
337         (gst_type_find_element_chain):
338           Now that we're not leaking factories, make sure we keep references
339           to them while we need them.
340
341 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
342
343         * tests/check/gst/struct_i386.h:
344           ifdef out the XML structs
345
346 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
347
348         * gst/gstvalue.c: (gst_value_transform_double_fraction):
349           floor is not needed, F is always positive; this obviates the
350           need for adding -lm when building without libxml
351
352 2005-12-12  Wim Taymans  <wim@fluendo.com>
353
354         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
355         Take current playback rate into account when reporting
356         the position.
357
358 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
359
360         * docs/manual/mime-world.fig:
361           Let's try this again, this time with a file that is
362           actually in XFig format.
363
364 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
365
366         * docs/manual/mime-world.fig:
367           Add audioconvert element to diagram so that it
368           matches the text and the code (fixes #319526).
369
370 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
371
372         * docs/pwg/building-chainfn.xml:
373         * docs/pwg/building-pads.xml:
374         * docs/pwg/building-state.xml:
375         * docs/pwg/other-source.xml:
376           Update state change stuff for 0.10 (fixes #322969).
377
378 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
379
380         * docs/manual/advanced-dataaccess.xml:
381         * docs/manual/appendix-checklist.xml:
382         * docs/manual/appendix-programs.xml:
383         * docs/manual/basics-pads.xml:
384         * docs/manual/highlevel-components.xml:
385         * docs/manual/manual.xml:
386           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
387           add converters in front of pipelines; remove curly
388           brackets for threads stuff, they no longer exist; use
389           GST_TYPE_FRACTION for framerates; update some pieces of
390           code to 0.10, but there's plenty more to do.
391
392         * docs/manual/appendix-porting.xml:
393           Expand on asynchroneous state changes; s/0.9/0.10/;
394           mention disappearance of gst_init_get_popt_table()
395           (fixes #322916).
396
397 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
398
399         * docs/faq/using.xml:
400           Spider no longer exists, and neither does gst-launch-ext.
401           Update examples to use decodebin and playbin and put
402           converters in front of sinks (fixes #323726).
403
404 2005-12-09  Michael Smith  <msmith@fluendo.com>
405
406         * plugins/elements/gsttypefindelement.c: (find_peek),
407         (gst_type_find_element_chain):
408           Fix leaking element factories in typefinding.
409           Fix problem where we forgot about a probable type on non-seekable
410           files, and thus later mis-typefound it.
411
412 2005-12-09  Michael Smith  <msmith@fluendo.com>
413
414         * common/m4/gst-makecontext.m4:
415         * common/m4/gst-mcsc.m4:
416         * configure.ac:
417         * win32/common/config.h:
418         * win32/common/config.h.in:
419           Remove makecontext stuff; not used in 0.10 and causes problems on
420           HPUX according to bug #322441
421
422 2005-12-07  Wim Taymans  <wim@fluendo.com>
423
424         * tests/check/Makefile.am:
425         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
426         (main):
427         * tests/check/libs/struct_i386.h:
428         Added ABI check for libs
429
430 2005-12-07  Wim Taymans  <wim@fluendo.com>
431
432         * tests/check/Makefile.am:
433         And add the struct_i386.h to dist.
434
435 2005-12-07  Wim Taymans  <wim@fluendo.com>
436
437         * tests/check/Makefile.am:
438         * tests/check/gst/.cvsignore:
439         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
440         (main):
441         * tests/check/gst/struct_i386.h:
442         Added check for ABI compatibility.
443
444 2005-12-07  Wim Taymans  <wim@fluendo.com>
445
446         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
447         (gst_fake_src_get_times), (gst_fake_src_create):
448         Fix broken sync option, fixes #323259
449
450 2005-12-07  Wim Taymans  <wim@fluendo.com>
451
452         * gst/gstbuffer.c:
453         Small docs update.
454
455         * gst/gstcaps.c: (gst_caps_is_equal):
456         Don't assert on NULL <--> X. Fixes #323260
457
458         * gst/gstminiobject.c: (gst_mini_object_replace):
459         If we're doing atomic operations, we might just as well use
460         the proper way to get an atomic pointer.
461
462         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
463         Clean up debugging.
464
465 2005-12-07  Michael Smith  <msmith@fluendo.com>
466
467         * gst/parse/grammar.y:
468           Remove handling of { } for threads.
469
470 2005-12-06  David Schleef  <ds@schleef.org>
471
472         * libs/gst/base/gstbasetransform.c: speling fix.
473
474 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
475
476         * docs/libs/tmpl/gstdataprotocol.sgml:
477         * docs/random/omega/testing/gstobject.c:
478         * gst/gst.c:
479         * gst/gstclock.c:
480         * gst/gstelement.c:
481         * gst/gstelementfactory.c:
482         * gst/gsterror.c:
483         * gst/gstevent.c:
484         * gst/gstghostpad.c:
485         * gst/gstinfo.c:
486         * gst/gstpadtemplate.c:
487         * gst/gstregistryxml.c:
488         * gst/gsttaglist.c:
489         * gst/gsttagsetter.c:
490         * gst/gsttypefind.c:
491         * gst/gstvalue.c:
492         * libs/gst/base/gstbasesrc.c:
493         * libs/gst/net/gstnetclientclock.c:
494         * libs/gst/net/gstnettimeprovider.c:
495         * plugins/elements/gstfakesrc.c:
496         * plugins/elements/gstfdsrc.c:
497         * plugins/elements/gstfilesrc.c:
498         * plugins/elements/gstidentity.c:
499         * plugins/elements/gstqueue.c:
500         * plugins/elements/gsttypefindelement.c:
501         * plugins/indexers/gstfileindex.c:
502         * plugins/indexers/gstmemindex.c:
503         * tests/check/gst/gsttag.c:
504         * tests/old/examples/cutter/cutter.c:
505         * tests/old/examples/mixer/mixer.c:
506         * tests/old/examples/xml/runxml.c: (main):
507         * tests/old/testsuite/caps/normalisation.c:
508         * tests/old/testsuite/debug/global.c:
509         * tests/old/testsuite/parse/parse1.c:
510         * tools/gst-xmlinspect.c:
511         * win32/common/dirent.c:
512           expand tabs
513
514 === release 0.10.0 ===
515
516 2005-12-05   <thomas (at) apestaart (dot) org>
517
518         * configure.ac:
519           releasing 0.10.0, "Maroilles"
520
521 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
522
523         submitted by: Funda Wang <fundawang@linux.net.cn>
524
525         * po/LINGUAS:
526         * po/zh_CN.po:
527           added Chinese (Traditional) translation
528
529 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
530
531         * docs/gst/gstreamer-sections.txt:
532         * docs/libs/tmpl/gstdataprotocol.sgml:
533         * docs/random/thomasvs/TODO:
534         * gst/gstutils.c:
535         * gst/gstutils.h:
536           fix docs
537
538 2005-12-05  Andy Wingo  <wingo@pobox.com>
539
540         patch by: Wim Taymans <wim@fluendo.com>
541
542         * libs/gst/base/gstbasetransform.c
543         (gst_base_transform_prepare_output_buf)
544         (gst_base_transform_buffer_alloc):
545         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
546         alloc_buffer_and_set_caps.
547
548         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
549         set_caps on the source pad.
550         (gst_pad_alloc_buffer_and_set_caps): New function, does what
551         alloc_buffer used to do. Fixes #322874.
552
553         * docs/gst/gstreamer-sections.txt: 
554         * docs/design/part-negotiation.txt: 
555         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
556         changes.
557
558 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
559
560         patch by: Sebastien Moutte
561
562         * win32/MANIFEST:
563         * win32/common/config.h.in:
564         * win32/vs6/libgstcontroller.dsp:
565           win32 build fixes
566
567 2005-12-05  Wim Taymans  <wim@fluendo.com>
568
569         * gst/gstcaps.c: (gst_caps_is_equal):
570         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
571         (gst_fake_src_create):
572         Back out previous code changes, leave doc updates, file bugs 
573         instead. 
574
575 2005-12-05  Wim Taymans  <wim@fluendo.com>
576
577         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
578         (gst_fake_src_get_times), (gst_fake_src_create):
579         * plugins/elements/gstfakesrc.h:
580         Fix broken sync code.
581
582 2005-12-05  Wim Taymans  <wim@fluendo.com>
583
584         * gst/gstcaps.c: (gst_caps_is_equal):
585         Comparing NULL against !NULL yields different caps, not a
586         failure.
587
588 2005-12-05  Wim Taymans  <wim@fluendo.com>
589
590         * gst/gstpipeline.c:
591         Fix small typo in docs.
592
593 2005-12-05  Andy Wingo  <wingo@pobox.com>
594
595         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
596
597         * gst/gst.c (init_post): remove hard-coded 0.9 location for
598         registries/plugins with a MAJORMINOR one.
599         (plugin_desc): Rename library from gstcoreleements to
600         staticelements. Fixes #323222.
601
602 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
603
604         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
605           Change debug category to 'collectpads' from 'collect_pads'
606           (fixes #323250).
607
608 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
609
610         patch by: Sebastien Moutte
611
612         * libs/gst/controller/gstinterpolation.c:
613           use convert function for uint64/double
614         * win32/vs6/libgstcontroller.dsp:
615           link to GLib
616
617 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
618
619         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
620         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
621         * gst/gstutils.h:
622         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
623           add tests that seem to show that the guint64/gdouble conversions
624           are correct.
625
626 2005-12-02  Wim Taymans  <wim@fluendo.com>
627
628         * gst/gstregistry.c: (gst_registry_add_path):
629         * gst/gstregistry.h:
630         * gst/gstregistryxml.c:
631         Fix docs again.
632
633 2005-12-02  Wim Taymans  <wim@fluendo.com>
634
635         * gst/gstutils.c: (gst_util_uint64_scale_int64),
636         (gst_util_uint64_scale_int):
637         Small cleanup.
638
639         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
640         Add debug log line.
641
642         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
643         Add FIXME.
644
645 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
646
647         * win32/MANIFEST:
648         * win32/common/config.h:
649         * win32/vs6/gstreamer.dsw:
650         * win32/vs6/libgstcoreelements.dsp:
651         * win32/vs6/libgstelements.dsp:
652           renamed core elements plugin
653
654 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
655
656         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
657         (get_candidates):
658           do piece-wise major/minor comparison so 0.9 < 0.10
659           also allow .exe extensions for tools
660
661 2005-12-02  Michael Smith  <msmith@fluendo.com>
662
663         * gst/gst.c:
664           Escape a % to make gtkdoc happier; bug 322958.
665
666 === release 0.9.7 ===
667
668 2005-12-01   <thomas (at) apestaart (dot) org>
669
670         * configure.ac:
671           releasing 0.9.7, "My Dog Has No Nose"
672
673 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
674
675         * common/gst-xmlinspect.py:
676         * configure.ac:
677         * docs/libs/tmpl/gstdataprotocol.sgml:
678         * docs/random/release:
679         * po/af.po:
680         * po/az.po:
681         * po/bg.po:
682         * po/ca.po:
683         * po/cs.po:
684         * po/de.po:
685         * po/en_GB.po:
686         * po/fr.po:
687         * po/it.po:
688         * po/nb.po:
689         * po/nl.po:
690         * po/ru.po:
691         * po/sq.po:
692         * po/sr.po:
693         * po/sv.po:
694         * po/tr.po:
695         * po/uk.po:
696         * po/vi.po:
697         * win32/common/config.h:
698         * win32/common/config.h.in:
699         * win32/vs6/gst_inspect.dsp:
700         * win32/vs6/gst_launch.dsp:
701         * win32/vs6/libgstbase.dsp:
702         * win32/vs6/libgstelements.dsp:
703         * win32/vs6/libgstreamer.dsp:
704         * win32/vs7/GStreamer.vcproj:
705         * win32/vs7/gst-inspect.vcproj:
706         * win32/vs7/gst-launch.vcproj:
707         * win32/vs7/libgstbase.vcproj:
708           bump GST_MAJORMINOR to 0.10
709           reset libtool version
710
711 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
712
713         * po/LINGUAS:
714         * po/bg.po:
715           Added Bulgarian translation by (Alexander Shopov)
716
717 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
718
719         * tests/check/gst/gstplugin.c:
720           fix test
721
722 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
723
724         * common/gst-xmlinspect.py:
725         * common/gtk-doc-plugins.mak:
726         * configure.ac:
727         * docs/Makefile.am:
728         * docs/gst/Makefile.am:
729         * docs/gst/gstreamer-docs.sgml:
730         * docs/gst/gstreamer-sections.txt:
731         * docs/gst/gstreamer.types:
732         * docs/gst/gstreamer.types.in:
733         * docs/plugins/Makefile.am:
734         * docs/plugins/gstreamer-plugins-docs.sgml:
735         * docs/plugins/gstreamer-plugins-sections.txt:
736         * docs/plugins/gstreamer-plugins.types:
737         * docs/plugins/inspect.stamp:
738         * docs/plugins/inspect/plugin-coreelements.xml:
739         * docs/plugins/inspect/plugin-coreindexers.xml:
740         * docs/plugins/scanobj-build.stamp:
741         * gstreamer.spec.in:
742         * plugins/elements/Makefile.am:
743         * plugins/elements/gstelements.c:
744         * plugins/elements/gstfakesink.c:
745         * plugins/elements/gstfakesrc.c:
746         * plugins/elements/gstfilesink.c:
747         * plugins/elements/gstfilesrc.c:
748         * plugins/elements/gstqueue.c:
749         * plugins/indexers/Makefile.am:
750         * plugins/indexers/gstindexers.c:
751           document core plugins in a separate document just like all the
752           others
753           rename these plugins to something starting with core
754
755 2005-12-01  Andy Wingo  <wingo@pobox.com>
756
757         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
758         padding here before, but it missed the commit.
759
760 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
761
762         * libs/gst/controller/gstinterpolation.c:
763           whitespace prices have crashed, we should feel free to use some now
764           use gst_guint64_to_gdouble
765
766 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
767
768         * libs/gst/controller/gstcontroller.c:
769         * libs/gst/controller/gsthelper.c:
770         * libs/gst/controller/gstinterpolation.c:
771         * libs/gst/controller/lib.c:
772           wrap config.h include
773
774 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
775
776         * docs/gst/gstreamer-sections.txt:
777           update docs
778
779 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
780
781         * plugins/elements/gstelements.c:
782         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
783         (gst_fd_sink__class_init), (gst_fd_sink__init),
784         (gst_fd_sink__chain), (gst_fd_sink__set_property),
785         (gst_fd_sink__get_property):
786         * plugins/elements/gstfdsink.h:
787         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
788         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
789         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
790         (gst_fd_src_unlock), (gst_fd_src_set_property),
791         (gst_fd_src_get_property), (gst_fd_src_create),
792         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
793         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
794         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
795         (gst_fd_src_uri_handler_init):
796         * plugins/elements/gstfdsrc.h:
797         * plugins/elements/gstqueue.c: (gst_queue_get_type):
798           more anal cleanup
799
800 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
801
802         * docs/gst/Makefile.am:
803         * docs/gst/gstreamer.types.in:
804         * gst/Makefile.am:
805           fix the docs build
806
807 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
808
809         * configure.ac:
810         * gst/Makefile.am:
811         * gst/gst.c:
812         * gst/gstplugin.h:
813         * gst/gstregistry.h:
814         * tests/benchmarks/complexity.c:
815         * tests/benchmarks/mass-elements.c:
816         * tests/check/Makefile.am:
817         * tools/Makefile.am:
818         * tools/gst-inspect.c:
819         * tools/gst-xmlinspect.c:
820           various fixes to make
821           --disable-nls --disable-registry --disable-loadsave
822           --disable-parse --disable-gst-debug
823           work and get the core .so down to 360444 bytes after stripping
824
825 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
826
827         * Makefile.am:
828         * configure.ac:
829           descend into tests
830         * docs/random/thomasvs/TODO:
831         * tests/Makefile.am:
832         * tests/README:
833           add a README
834
835 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
836
837         * win32/GStreamer.vcproj:
838         * win32/MANIFEST:
839         * win32/Makefile:
840         * win32/Makefile.inspect:
841         * win32/Makefile.launch:
842         * win32/Makefile.register:
843         * win32/README.txt:
844         * win32/gst-inspect.vcproj:
845         * win32/gst-launch.vcproj:
846         * win32/gst-register.vcproj:
847         * win32/gstelements.vcproj:
848         * win32/gstgetbits.def:
849         * win32/gstgetbits.vcproj:
850         * win32/gstreamer-dbg.def:
851         * win32/gstreamer.def:
852         * win32/libgstbase.def:
853         * win32/libgstbase.vcproj:
854         * win32/link_oldruntime.c:
855         * win32/mman.c:
856         * win32/mman.h:
857         * win32/mman.inl:
858         * win32/msvc71.sln:
859           move even more stuff, win32/ is nice and clean now
860
861 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
862
863         * libs/gst/control/.cvsignore:
864         * win32/MANIFEST:
865         * win32/config.h:
866         * win32/dirent.c:
867         * win32/dirent.h:
868         * win32/gstbytestream.def:
869         * win32/gstbytestream.vcproj:
870         * win32/gstconfig.h:
871         * win32/gstenumtypes.c:
872         * win32/gstenumtypes.h:
873         * win32/gstoptimalscheduler.vcproj:
874         * win32/gstversion.h:
875         * win32/gtchar.h:
876         * win32/testsuite/bins.vcproj:
877         * win32/testsuite/bytestream.vcproj:
878         * win32/testsuite/caps.vcproj:
879         * win32/testsuite/cleanup.vcproj:
880         * win32/testsuite/clock.vcproj:
881         * win32/testsuite/debug.vcproj:
882         * win32/testsuite/dlopen.vcproj:
883         * win32/testsuite/dynparams.vcproj:
884         * win32/testsuite/elements.vcproj:
885         * win32/testsuite/ghostpads.vcproj:
886         * win32/testsuite/indexers.vcproj:
887         * win32/testsuite/negotiation.vcproj:
888         * win32/testsuite/parse.vcproj:
889         * win32/testsuite/plugin.vcproj:
890         * win32/testsuite/refcounting.vcproj:
891         * win32/testsuite/schedulers.vcproj:
892         * win32/testsuite/states.vcproj:
893         * win32/testsuite/tags.vcproj:
894         * win32/testsuite/threads.vcproj:
895           remove old win32 stuff that isn't maintained and should be
896           reorganized
897
898 2005-11-30  Andy Wingo  <wingo@pobox.com>
899
900         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
901         loading the gst.interfaces python module bork.
902
903         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
904         available since GLib 2.2. Fixes #318031.
905
906 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
907
908         * Makefile.am:
909         * check/.cvsignore:
910         * check/Makefile.am:
911         * check/elements/.cvsignore:
912         * check/elements/fakesrc.c:
913         * check/elements/fdsrc.c:
914         * check/elements/identity.c:
915         * check/generic/.cvsignore:
916         * check/generic/states.c:
917         * check/gst-libs/.cvsignore:
918         * check/gst-libs/controller.c:
919         * check/gst-libs/gdp.c:
920         * check/gst/.cvsignore:
921         * check/gst/capslist.h:
922         * check/gst/gst.c:
923         * check/gst/gstbin.c:
924         * check/gst/gstbuffer.c:
925         * check/gst/gstbus.c:
926         * check/gst/gstcaps.c:
927         * check/gst/gstelement.c:
928         * check/gst/gstevent.c:
929         * check/gst/gstghostpad.c:
930         * check/gst/gstiterator.c:
931         * check/gst/gstmessage.c:
932         * check/gst/gstminiobject.c:
933         * check/gst/gstobject.c:
934         * check/gst/gstpad.c:
935         * check/gst/gstpipeline.c:
936         * check/gst/gstplugin.c:
937         * check/gst/gstsegment.c:
938         * check/gst/gststructure.c:
939         * check/gst/gstsystemclock.c:
940         * check/gst/gsttag.c:
941         * check/gst/gstutils.c:
942         * check/gst/gstvalue.c:
943         * check/net/.cvsignore:
944         * check/net/gstnetclientclock.c:
945         * check/net/gstnettimeprovider.c:
946         * check/pipelines/.cvsignore:
947         * check/pipelines/cleanup.c:
948         * check/pipelines/simple_launch_lines.c:
949         * check/pipelines/stress.c:
950         * check/states/.cvsignore:
951         * check/states/sinks.c:
952         * configure.ac:
953         * examples/Makefile.am:
954         * examples/appreader/.cvsignore:
955         * examples/appreader/Makefile.am:
956         * examples/appreader/appreader.c:
957         * examples/controller/.cvsignore:
958         * examples/controller/Makefile.am:
959         * examples/controller/audio-example.c:
960         * examples/cutter/.cvsignore:
961         * examples/cutter/Makefile.am:
962         * examples/cutter/cutter.c:
963         * examples/cutter/cutter.h:
964         * examples/events/Makefile.am:
965         * examples/events/seek.c:
966         * examples/helloworld/.cvsignore:
967         * examples/helloworld/Makefile.am:
968         * examples/helloworld/helloworld.c:
969         * examples/helloworld2/.cvsignore:
970         * examples/helloworld2/Makefile.am:
971         * examples/helloworld2/helloworld2.c:
972         * examples/launch/.cvsignore:
973         * examples/launch/Makefile.am:
974         * examples/launch/mp3parselaunch.c:
975         * examples/launch/mp3play:
976         * examples/manual/.cvsignore:
977         * examples/manual/Makefile.am:
978         * examples/manual/extract.pl:
979         * examples/metadata/Makefile.am:
980         * examples/metadata/read-metadata.c:
981         * examples/mixer/.cvsignore:
982         * examples/mixer/Makefile.am:
983         * examples/mixer/mixer.c:
984         * examples/mixer/mixer.h:
985         * examples/pingpong/.cvsignore:
986         * examples/pingpong/Makefile.am:
987         * examples/pingpong/pingpong.c:
988         * examples/plugins/.cvsignore:
989         * examples/plugins/Makefile.am:
990         * examples/plugins/example.c:
991         * examples/plugins/example.h:
992         * examples/pwg/.cvsignore:
993         * examples/pwg/Makefile.am:
994         * examples/pwg/extract.pl:
995         * examples/queue/.cvsignore:
996         * examples/queue/Makefile.am:
997         * examples/queue/queue.c:
998         * examples/queue2/.cvsignore:
999         * examples/queue2/Makefile.am:
1000         * examples/queue2/queue2.c:
1001         * examples/queue3/.cvsignore:
1002         * examples/queue3/Makefile.am:
1003         * examples/queue3/queue3.c:
1004         * examples/queue4/.cvsignore:
1005         * examples/queue4/Makefile.am:
1006         * examples/queue4/queue4.c:
1007         * examples/retag/.cvsignore:
1008         * examples/retag/Makefile.am:
1009         * examples/retag/retag.c:
1010         * examples/retag/transcode.c:
1011         * examples/thread/.cvsignore:
1012         * examples/thread/Makefile.am:
1013         * examples/thread/thread.c:
1014         * examples/typefind/.cvsignore:
1015         * examples/typefind/Makefile.am:
1016         * examples/typefind/typefind.c:
1017         * examples/xml/.cvsignore:
1018         * examples/xml/Makefile.am:
1019         * examples/xml/createxml.c:
1020         * examples/xml/runxml.c:
1021         * tests/Makefile.am:
1022         * tests/check/Makefile.am:
1023         * testsuite/.cvsignore:
1024         * testsuite/Makefile.am:
1025         * testsuite/Rules:
1026         * testsuite/caps/.cvsignore:
1027         * testsuite/caps/Makefile.am:
1028         * testsuite/caps/app_fixate.c:
1029         * testsuite/caps/audioscale.c:
1030         * testsuite/caps/caps.c:
1031         * testsuite/caps/caps.h:
1032         * testsuite/caps/caps_strings:
1033         * testsuite/caps/compatibility.c:
1034         * testsuite/caps/deserialize.c:
1035         * testsuite/caps/enumcaps.c:
1036         * testsuite/caps/eratosthenes.c:
1037         * testsuite/caps/filtercaps.c:
1038         * testsuite/caps/fixed.c:
1039         * testsuite/caps/fraction-convert.c:
1040         * testsuite/caps/fraction-multiply-and-zero.c:
1041         * testsuite/caps/intersect2.c:
1042         * testsuite/caps/intersection.c:
1043         * testsuite/caps/normalisation.c:
1044         * testsuite/caps/random.c:
1045         * testsuite/caps/renegotiate.c:
1046         * testsuite/caps/sets.c:
1047         * testsuite/caps/simplify.c:
1048         * testsuite/caps/string-conversions.c:
1049         * testsuite/caps/structure.c:
1050         * testsuite/caps/subtract.c:
1051         * testsuite/caps/union.c:
1052         * testsuite/debug/.cvsignore:
1053         * testsuite/debug/Makefile.am:
1054         * testsuite/debug/category.c:
1055         * testsuite/debug/commandline.c:
1056         * testsuite/debug/global.c:
1057         * testsuite/debug/output.c:
1058         * testsuite/debug/printf_extension.c:
1059         * testsuite/dlopen/.cvsignore:
1060         * testsuite/dlopen/Makefile.am:
1061         * testsuite/dlopen/dlopen_gst.c:
1062         * testsuite/dlopen/loadgst.c:
1063         * testsuite/elements/.cvsignore:
1064         * testsuite/elements/Makefile.am:
1065         * testsuite/elements/gst-inspect-check.in:
1066         * testsuite/elements/struct_i386.h:
1067         * testsuite/elements/struct_size.c:
1068         * testsuite/indexers/.cvsignore:
1069         * testsuite/indexers/Makefile.am:
1070         * testsuite/indexers/cache1.c:
1071         * testsuite/indexers/indexdump.c:
1072         * testsuite/parse/.cvsignore:
1073         * testsuite/parse/Makefile.am:
1074         * testsuite/parse/parse1.c:
1075         * testsuite/parse/parse2.c:
1076         * testsuite/plugin/.cvsignore:
1077         * testsuite/plugin/Makefile.am:
1078         * testsuite/plugin/README:
1079         * testsuite/plugin/dynamic.c:
1080         * testsuite/plugin/linked.c:
1081         * testsuite/plugin/loading.c:
1082         * testsuite/plugin/registry.c:
1083         * testsuite/plugin/static.c:
1084         * testsuite/plugin/static2.c:
1085         * testsuite/plugin/testplugin.c:
1086         * testsuite/plugin/testplugin2.c:
1087         * testsuite/plugin/testplugin2_s.c:
1088         * testsuite/plugin/testplugin_s.c:
1089         * testsuite/refcounting/.cvsignore:
1090         * testsuite/refcounting/Makefile.am:
1091         * testsuite/refcounting/bin.c:
1092         * testsuite/refcounting/element.c:
1093         * testsuite/refcounting/element_pad.c:
1094         * testsuite/refcounting/mainloop.c:
1095         * testsuite/refcounting/mem.c:
1096         * testsuite/refcounting/mem.h:
1097         * testsuite/refcounting/object.c:
1098         * testsuite/refcounting/pad.c:
1099         * testsuite/refcounting/sched.c:
1100         * testsuite/refcounting/thread.c:
1101         * testsuite/states/.cvsignore:
1102         * testsuite/states/Makefile.am:
1103         * testsuite/states/bin.c:
1104         * testsuite/states/locked.c:
1105         * testsuite/states/parent.c:
1106         * testsuite/threads/.cvsignore:
1107         * testsuite/threads/159566.c:
1108         * testsuite/threads/159852.c:
1109         * testsuite/threads/Makefile.am:
1110         * testsuite/threads/queue.c:
1111         * testsuite/threads/signals.c:
1112         * testsuite/threads/staticrec.c:
1113         * testsuite/threads/thread.c:
1114         * testsuite/threads/threadb.c:
1115         * testsuite/threads/threadc.c:
1116         * testsuite/threads/threadd.c:
1117         * testsuite/threads/threade.c:
1118         * testsuite/threads/threadf.c:
1119         * testsuite/threads/threadg.c:
1120         * testsuite/threads/threadh.c:
1121         * testsuite/threads/threadi.c:
1122           move all of these under tests
1123
1124 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1125
1126         * configure.ac:
1127         * tests/Makefile.am:
1128           fix distcheck
1129
1130 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1131
1132         * docs/gst/gstreamer-sections.txt:
1133         * tests/sched/.cvsignore:
1134         * tests/sched/Makefile.am:
1135         * tests/sched/cases/(fs-fs).xml:
1136         * tests/sched/cases/(fs-i-fs).xml:
1137         * tests/sched/cases/(fs-i-i-fs).xml:
1138         * tests/sched/cases/(fs-i-q[i-fs]).xml:
1139         * tests/sched/dynamic-pipeline.c:
1140         * tests/sched/interrupt1.c:
1141         * tests/sched/interrupt2.c:
1142         * tests/sched/interrupt3.c:
1143         * tests/sched/runtestcases:
1144         * tests/sched/runxml.c:
1145         * tests/sched/sched-stress.c:
1146         * tests/sched/sort.c:
1147         * tests/sched/testcases:
1148         * tests/sched/testcases1.tc:
1149         * tests/seeking/.cvsignore:
1150         * tests/seeking/Makefile.am:
1151         * tests/seeking/seeking1.c:
1152         * tests/threadstate/.cvsignore:
1153         * tests/threadstate/Makefile.am:
1154         * tests/threadstate/test1.c:
1155         * tests/threadstate/test2.c:
1156         * tests/threadstate/threadstate1.c:
1157         * tests/threadstate/threadstate2.c:
1158         * tests/threadstate/threadstate3.c:
1159         * tests/threadstate/threadstate4.c:
1160         * tests/threadstate/threadstate5.c:
1161           remove obsolete tests
1162         * configure.ac:
1163         * tests/bench-complexity.scm:
1164         * tests/bench-mass_elements.scm:
1165         * tests/complexity.c:
1166         * tests/complexity.gnuplot:
1167         * tests/instantiate/.cvsignore:
1168         * tests/instantiate/Makefile.am:
1169         * tests/instantiate/caps.c:
1170         * tests/mass_elements.c:
1171         * tests/network-clock-utils.scm:
1172         * tests/network-clock.scm:
1173         * tests/plot-data:
1174         First pass at cleaning up tests/ dir before moving the rest
1175         Combined with CVS surgery
1176
1177 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1178
1179         * po/POTFILES.in:
1180           queue has moved, update
1181
1182 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1183
1184         * docs/gst/gstreamer-sections.txt:
1185           remove double entries from the docs
1186         * gst/gst_private.h:
1187         * gst/gstinfo.c: (_gst_debug_init):
1188           remove the THREAD debug category
1189         * gst/Makefile.am:
1190         * gst/gstqueue.c:
1191         * gst/gstqueue.h:
1192         * docs/gst/gstreamer.types:
1193         * plugins/elements/gstqueue.c: (gst_queue_get_type),
1194         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
1195           completely move queue and fix up debugging categories
1196
1197 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1198
1199         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1200           make initialization portable, using LL is not
1201
1202 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1203
1204         * win32/common/gstconfig.h:
1205           add large padding
1206
1207 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1208
1209         * win32/common/libgstreamer.def:
1210           rename symbols; sort base section
1211
1212 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1213
1214         * gst/gstclock.c: (do_linear_regression):
1215           remove crack non-portable handrolled DEBUG macro
1216
1217 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1218
1219         * docs/random/release:
1220           update notes
1221         * win32/common/gstenumtypes.c: (register_gst_object_flags),
1222         (gst_object_flags_get_type), (register_gst_bin_flags),
1223         (gst_bin_flags_get_type), (register_gst_buffer_flag),
1224         (gst_buffer_flag_get_type), (register_gst_bus_flags),
1225         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1226         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
1227         (gst_caps_flags_get_type), (register_gst_clock_return),
1228         (gst_clock_return_get_type), (register_gst_clock_entry_type),
1229         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1230         (gst_clock_flags_get_type), (register_gst_state),
1231         (gst_state_get_type), (register_gst_state_change_return),
1232         (gst_state_change_return_get_type), (register_gst_state_change),
1233         (gst_state_change_get_type), (register_gst_element_flags),
1234         (gst_element_flags_get_type), (register_gst_core_error),
1235         (gst_core_error_get_type), (register_gst_library_error),
1236         (gst_library_error_get_type), (register_gst_resource_error),
1237         (gst_resource_error_get_type), (register_gst_stream_error),
1238         (gst_stream_error_get_type), (register_gst_event_type_flags),
1239         (gst_event_type_flags_get_type), (register_gst_event_type),
1240         (gst_event_type_get_type), (register_gst_seek_type),
1241         (gst_seek_type_get_type), (register_gst_seek_flags),
1242         (gst_seek_flags_get_type), (register_gst_format),
1243         (gst_format_get_type), (register_gst_index_certainty),
1244         (gst_index_certainty_get_type), (register_gst_index_entry_type),
1245         (gst_index_entry_type_get_type),
1246         (register_gst_index_lookup_method),
1247         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1248         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1249         (gst_index_resolver_method_get_type), (register_gst_index_flags),
1250         (gst_index_flags_get_type), (register_gst_debug_level),
1251         (gst_debug_level_get_type), (register_gst_debug_color_flags),
1252         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1253         (gst_iterator_result_get_type), (register_gst_iterator_item),
1254         (gst_iterator_item_get_type), (register_gst_message_type),
1255         (gst_message_type_get_type), (register_gst_mini_object_flags),
1256         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1257         (gst_pad_link_return_get_type), (register_gst_flow_return),
1258         (gst_flow_return_get_type), (register_gst_activate_mode),
1259         (gst_activate_mode_get_type), (register_gst_pad_direction),
1260         (gst_pad_direction_get_type), (register_gst_pad_flags),
1261         (gst_pad_flags_get_type), (register_gst_pad_presence),
1262         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1263         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1264         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1265         (gst_plugin_error_get_type), (register_gst_plugin_flags),
1266         (gst_plugin_flags_get_type), (register_gst_rank),
1267         (gst_rank_get_type), (register_gst_query_type),
1268         (gst_query_type_get_type), (register_gst_tag_merge_mode),
1269         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1270         (gst_tag_flag_get_type), (register_gst_task_state),
1271         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1272         (gst_alloc_trace_flags_get_type),
1273         (register_gst_type_find_probability),
1274         (gst_type_find_probability_get_type), (register_gst_uri_type),
1275         (gst_uri_type_get_type), (register_gst_parse_error),
1276         (gst_parse_error_get_type):
1277         * win32/common/gstenumtypes.h:
1278         * win32/common/gstversion.h:
1279           update visual studio generated files
1280
1281 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1282
1283         * win32/vs6/libgstbase.dsp:
1284         * win32/vs6/libgstelements.dsp:
1285           update project files for new locations
1286
1287 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1288
1289         * Makefile.am:
1290           remove some files
1291         * README:
1292           reinstate and update
1293         * DEVEL:
1294         * REQUIREMENTS:
1295           removed
1296         * LICENSE:
1297         * docs/random/LICENSE:
1298           moved to random
1299
1300 2005-11-30  Edward Hervey  <edward@fluendo.com>
1301
1302         * gst/gsttypefind.c: (gst_type_find_register):
1303         * gst/gsttypefind.h:
1304         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1305         (gst_type_find_factory_dispose):
1306         * gst/gsttypefindfactory.h:
1307         Fix memory leak in GstTypeFindFactory.
1308
1309 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1310
1311         * gst/gst.c:
1312         * plugins/elements/Makefile.am:
1313         * plugins/elements/gstelements.c:
1314         * plugins/elements/gstqueue.c:
1315           move queue from core to the elements plugin
1316
1317 2005-11-29  Andy Wingo  <wingo@pobox.com>
1318
1319         * libs/gst/base/gstbasetransform.h: 
1320         * libs/gst/base/gstbasesrc.h: 
1321         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1322
1323         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1324         of pointers by which to pad very extensible base classes (like the
1325         ones in libs/gst/base).
1326
1327 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1328
1329         * docs/gst/gstreamer-docs.sgml:
1330         * docs/gst/gstreamer-sections.txt:
1331         * docs/libs/gstreamer-libs-docs.sgml:
1332         * docs/libs/gstreamer-libs-sections.txt:
1333           moving documentation from core to lib
1334
1335 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1336
1337         * check/Makefile.am:
1338         * configure.ac:
1339         * docs/gst/Makefile.am:
1340         * gst/Makefile.am:
1341         * gst/base/.cvsignore:
1342         * gst/base/Makefile.am:
1343         * gst/base/README:
1344         * gst/base/gstadapter.c:
1345         * gst/base/gstadapter.h:
1346         * gst/base/gstbasesink.c:
1347         * gst/base/gstbasesink.h:
1348         * gst/base/gstbasesrc.c:
1349         * gst/base/gstbasesrc.h:
1350         * gst/base/gstbasetransform.c:
1351         * gst/base/gstbasetransform.h:
1352         * gst/base/gstcollectpads.c:
1353         * gst/base/gstcollectpads.h:
1354         * gst/base/gstpushsrc.c:
1355         * gst/base/gstpushsrc.h:
1356         * gst/base/gsttypefindhelper.c:
1357         * gst/base/gsttypefindhelper.h:
1358         * gst/check/Makefile.am:
1359         * gst/check/gstcheck.c:
1360         * gst/check/gstcheck.h:
1361         * gst/net/Makefile.am:
1362         * gst/net/gstnet.h:
1363         * gst/net/gstnetclientclock.c:
1364         * gst/net/gstnetclientclock.h:
1365         * gst/net/gstnettimepacket.c:
1366         * gst/net/gstnettimepacket.h:
1367         * gst/net/gstnettimeprovider.c:
1368         * gst/net/gstnettimeprovider.h:
1369         * libs/gst/Makefile.am:
1370         * libs/gst/base/Makefile.am:
1371         * libs/gst/base/gstbasetransform.c:
1372         * libs/gst/check/Makefile.am:
1373         * plugins/elements/Makefile.am:
1374         * po/POTFILES.in:
1375           CVS surgery + support to move base, check, and net out of gst
1376           and into libs/gst
1377
1378 2005-11-29  Andy Wingo  <wingo@pobox.com>
1379
1380         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1381
1382         * gst/gststructure.h (struct _GstStructure): Only one pointer of
1383         padding.
1384
1385         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1386
1387         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1388
1389         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1390
1391         * gst/gstobject.h: (struct _GstObject): Only one pointer of
1392         padding; reduces object size by about 30%. We don't expect
1393         anything else to go into gstobject.
1394
1395         * gst/gstminiobject.h (struct _GstMiniObject)
1396         (struct _GstMiniObjectClass): Only one pointer of padding; the
1397         payload is only a pointer and two ints anyway. For the class there
1398         are only two methods as well.
1399         
1400         * gst/gstelement.h (struct _GstElementClass): Removed
1401         the state_changed signal callback, it is not used.
1402
1403 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1404
1405         * docs/gst/gstreamer.types:
1406           fix includes, though they are a little dinky
1407
1408 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1409
1410         * check/Makefile.am:
1411           look in the right place for elements, a lot more chance of
1412           success
1413         * gst/Makefile.am:
1414           remove indexers and elements subdirs
1415         * plugins/Makefile.am:
1416           make indexers conditional
1417
1418 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1419
1420         * Makefile.am:
1421         * configure.ac:
1422         * plugins/elements/Makefile.am:
1423         * plugins/elements/gstcapsfilter.c:
1424         * plugins/elements/gstfilesink.c:
1425         * plugins/elements/gstfilesrc.c:
1426         * plugins/elements/gstidentity.c:
1427         * plugins/indexers/Makefile.am:
1428           do CVS surgery and related build fixery to move elements
1429           and indexers in a new gstreamer/plugins directory, out of the
1430           gst/ directory
1431
1432 2005-11-29  Andy Wingo  <wingo@pobox.com>
1433
1434         * check/Makefile.am:
1435         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1436         * pkgconfig/gstreamer-net.pc.in:
1437         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1438         #322257.
1439
1440 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1441
1442         * tools/Makefile.am:
1443         * tools/gst-complete.1.in:
1444         * tools/gst-complete.c:
1445         * tools/gst-compprep.1.in:
1446         * tools/gst-compprep.c:
1447           removing -compprep and -complete
1448
1449 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1450
1451         * gst/gstevent.c: (gst_event_new_new_segment),
1452         (gst_event_parse_new_segment):
1453         * gst/gstevent.h:
1454           fix #320529 - clean up new_segment API and structure.
1455           Let's hope everyone was using the methods, and not the structure.
1456
1457 2005-11-29  Edward Hervey  <edward@fluendo.com>
1458
1459         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1460         (gst_base_sink_event), (gst_base_sink_do_sync),
1461         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1462         Properly handle non GST_FORMAT_TIME segment
1463         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1464         Properly handle non GST_FORMAT_TIME segment
1465         * gst/gstsegment.c:
1466         This function is valid if the accumulator is 0 and the format
1467         is different from the requested format.
1468         
1469 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1470
1471         * docs/gst/gstreamer-sections.txt:
1472         Add gst_query_new_seeking and gst_query_parse_seeking to the
1473         docs.
1474
1475 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1476
1477         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1478           Treat a pad alloc with new caps the same as if we were not
1479           negotiated, in order to allow a changing upstream output
1480           to produce a new format of data.
1481
1482 2005-11-29  Edward Hervey  <edward@fluendo.com>
1483
1484         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1485         (gst_base_transform_event), (gst_base_transform_eventfunc):
1486         The event virtual method is now properly implemented, with a default
1487         handler
1488         Sub classes should call the parent_class event method. They should
1489         return FALSE if they had a problem handling the given event, or don't
1490         want GstBaseTransform to send that even downstream
1491         * gst/elements/gstidentity.c: (gst_identity_class_init),
1492         (gst_identity_init), (gst_identity_event),
1493         (gst_identity_transform_ip), (gst_identity_set_property),
1494         (gst_identity_get_property):
1495         * gst/elements/gstidentity.h:
1496         Added the single-segment boolean property.
1497         If set to TRUE, it will output a single segment of data, starting from
1498         0, will eat up all incoming newsegment, and modify the timestamp of the
1499         buffers accordingly
1500
1501 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
1502
1503         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1504           Don't ref NULL target pad (#322751). Improve docs.
1505
1506 2005-11-29  Michael Smith  <msmith@fluendo.com>
1507
1508         * gst/gstregistryxml.c: (load_plugin):
1509           Don't crash if we failed to load a feature from a plugin. 
1510
1511 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1512
1513         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1514         (GST_START_TEST):
1515           use more check API and less GLib API
1516
1517 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1518
1519         * Makefile.am:
1520           don't run checks if we don't have check
1521         * common/check.mak:
1522           remove the registry when running make torture
1523         * docs/gst/gstreamer-sections.txt:
1524           remove second multiply
1525         * gst/gstqueue.c: (gst_queue_loop):
1526           fix a compile warning when disabling debug
1527
1528 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1529
1530         * gst/gstinfo.h:
1531         Hey! Let's print the pad name if the pointer != NULL instead
1532         of when it == NULL :-)
1533
1534 2005-11-28  Wim Taymans  <wim@fluendo.com>
1535
1536         * check/gst/gstutils.c: (GST_START_TEST):
1537         Updated check, add some scaling accuracy checking code.
1538
1539         * gst/gstutils.c: (gst_util_div128_64),
1540         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1541         (gst_util_uint64_scale_int):
1542         Fix 6 times faster division code. Optimize for common 
1543         1/1 and less common X/1 cases.
1544
1545 2005-11-28  Wim Taymans  <wim@fluendo.com>
1546
1547         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1548         More checks.
1549
1550         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1551         (do_linear_regression), (gst_clock_add_observation):
1552         Cleanups.
1553         Release lock when the clock cannot be slaved.
1554         Catch the case where the regression returned an invalid denominator.
1555
1556         * gst/gstutils.c: (gst_util_div128_64_iterate),
1557         (gst_util_div128_64), (gst_util_uint64_scale_int64),
1558         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1559         Add protentially more performant non-iterative 128/64 divide function
1560         that unfortunatly does not work yet.
1561         Shortcut the trivial 0/X = 0 case.
1562         Remove the warnings on overflow.
1563
1564 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1565
1566         * gst/gstplugin.c: (gst_plugin_register_func):
1567           everything causing a plugin not to load should be at least a WARNING
1568
1569 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
1570
1571         * docs/random/ensonic/dparams.txt:
1572           some TODOs for the next dev cycle
1573         * libs/gst/controller/gstcontroller.c:
1574         (gst_controlled_property_set_interpolation_mode),
1575         (gst_controlled_property_new):
1576         * libs/gst/controller/gstcontroller.h:
1577           use base type to assign acccessor functions
1578
1579 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1580
1581         * check/Makefile.am:
1582         Oops, that should have been top_srcdir
1583
1584 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1585
1586         * check/Makefile.am:
1587         * check/elements/fdsrc.c: (GST_START_TEST):
1588         Use a cmdline define to specify the location of a file to use for
1589         testing, to avoid breaking distcheck.
1590
1591 2005-11-28  Andy Wingo  <wingo@pobox.com>
1592
1593         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1594
1595 2005-11-28  Edward Hervey  <edward@fluendo.com>
1596
1597         * tools/gst-launch.c: (main):
1598         Clarify the output strings, makes it easier to translate.
1599         Fixes #322626
1600
1601 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1602
1603         * gst/Makefile.am:
1604           don't try and build net if we don't even have <sys/socket.h>
1605
1606 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1607
1608         * check/Makefile.am:
1609         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1610         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1611           Add tests for fdsrc seekability
1612
1613         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1614         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1615         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1616         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1617         * gst/elements/gstfdsrc.h:
1618           fdsrc should not be a 'live' source.
1619           Implement seeking on seekable fd's.
1620
1621         * gst/gstquery.c: (gst_query_new_seeking),
1622         (gst_query_parse_seeking):
1623         * gst/gstquery.h:
1624           Implement SEEKING query functions: 
1625             *_new_seeking and *_parse_seeking
1626
1627 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1628
1629         * gst/gstelement.c: (gst_element_dispose):
1630           don't loop forever
1631
1632         * gst/gstiterator.c:
1633         * gst/gststructure.c:
1634           doc fixes
1635
1636         * libs/gst/controller/gstcontroller.c:
1637         (gst_controlled_property_set_interpolation_mode):
1638         * libs/gst/controller/gstcontroller.h:
1639         * libs/gst/controller/gstinterpolation.c:
1640         (interpolate_none_get_enum_value_array):
1641           support controlling enums
1642
1643 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1644
1645         * gst/gstvalue.c:
1646           Improve documentation for gst_value_union().
1647
1648         * gst/gstvalue.h:
1649           Change return value for union, intersect and subtract functions
1650           from gint to gboolean.
1651
1652 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1653
1654         * gst/gstvalue.c: (gst_value_serialize_any_list),
1655         (gst_value_transform_any_list_string),
1656         (gst_value_deserialize_list), (gst_value_deserialize_array),
1657         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1658         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1659         (gst_value_set_fraction_range_full),
1660         (gst_value_deserialize_fraction_range),
1661         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1662         (gst_value_deserialize_boolean),
1663         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1664         (gst_value_serialize_float), (gst_value_deserialize_float),
1665         (gst_string_wrap), (gst_value_deserialize_string),
1666         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1667         (gst_value_union_int_range_int_range),
1668         (gst_value_intersect_int_range_int_range),
1669         (gst_value_intersect_double_range_double_range),
1670         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1671         (gst_value_subtract_int_range_int_range),
1672         (gst_value_subtract_double_double_range),
1673         (gst_value_subtract_double_range_double_range),
1674         (gst_value_deserialize_fraction):
1675         * gst/gstvalue.h:
1676           Use gint, gdouble and gchar in our API instead of int, double and
1677           char (and make usage in gstvalue.c more consistent).
1678
1679 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1680
1681         * check/Makefile.am:
1682         * libs/gst/controller/Makefile.am:
1683         * libs/gst/dataprotocol/Makefile.am:
1684           fix up Makefile.am and remove GST_ENABLE_NEW
1685
1686 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1687
1688         * configure.ac:
1689         * gst/Makefile.am:
1690         * gst/base/Makefile.am:
1691         * gst/check/Makefile.am:
1692         * gst/elements/Makefile.am:
1693         * gst/net/Makefile.am:
1694           update LDFLAGS use some more
1695
1696 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1697
1698         * common/m4/gst-doc.m4:
1699           Fixes #312589
1700
1701 2005-11-26  Edward Hervey  <edward@fluendo.com>
1702
1703         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1704         This shouldn't issue a g_warning since it returns NULL if it
1705         couldn't find the plugin, and all functions using this behave
1706         properly on a NULL return. Switching to a GST_WARNING.
1707
1708 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1709
1710         * gst/gstbin.c: (gst_bin_handle_message_func):
1711         Don't leak clock messages.
1712
1713 2005-11-25  Wim Taymans  <wim@fluendo.com>
1714
1715         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1716         (gst_util_uint64_scale_int):
1717         Optimisations, remove unneeded vars.
1718
1719 2005-11-25  Wim Taymans  <wim@fluendo.com>
1720
1721         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1722         Added more checks for the high precision uint64 cases.
1723
1724         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1725         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1726         Implement high precision (guint64 * guint64) / guint64.
1727
1728 2005-11-24  Wim Taymans  <wim@fluendo.com>
1729
1730         * gst/base/gstbasesrc.c: (gst_base_src_query):
1731         Fix wrong percentage query.
1732
1733         * gst/gstutils.c: (gst_util_uint64_scale),
1734         (gst_util_uint64_scale_int):
1735         Add some more common cases that can be handled 
1736         efficiently to _scale.
1737
1738 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1739
1740         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1741         (gst_mini_object_suite):
1742           don't use check calls from threads; check probably isn't
1743           threadsafe and using a lock to make it threadsafe would
1744           defeat the purpose of this check
1745         * gst/check/gstcheck.c:
1746         * gst/check/gstcheck.h:
1747           use GST_DEBUG some more
1748
1749 2005-11-24  Wim Taymans  <wim@fluendo.com>
1750
1751         * gst/gstutils.c: (gst_util_uint64_scale),
1752         (gst_util_uint64_scale_int):
1753         Chain trivial case to _scale_int.
1754
1755 2005-11-24  Wim Taymans  <wim@fluendo.com>
1756
1757         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1758         Added test for scaling.
1759
1760         * gst/gstclock.h:
1761         Small doc fix.
1762
1763         * gst/gstutils.c: (gst_util_uint64_scale_int):
1764         Implemented high precision scaling code.
1765
1766 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1767
1768         * gst/gstinfo.h:
1769           do not crash on pad==NULL
1770
1771 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1772
1773         Patch by: Stefan Kost
1774
1775         * common/gtk-doc.mak:
1776         * docs/gst/Makefile.am:
1777         * docs/libs/Makefile.am:
1778           Fix distcheck issues for the libraries docs build
1779           Closes #319599.
1780
1781 2005-11-24  Michael Smith <msmith@fluendo.com>
1782
1783         * docs/manual/basics-helloworld.xml:
1784           Fix bug #315027: memory leak in example code in docs.
1785
1786 2005-11-24  Michael Smith <msmith@fluendo.com>
1787
1788         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1789           Unlock the PREROLL_LOCK in a failure case.
1790
1791 2005-11-24  Wim Taymans  <wim@fluendo.com>
1792
1793         * docs/gst/gstreamer-sections.txt:
1794         * gst/base/gstadapter.h:
1795         * gst/base/gstbasesink.h:
1796         * gst/base/gstbasesrc.h:
1797         * gst/base/gstbasetransform.h:
1798         * gst/base/gstpushsrc.h:
1799         * gst/elements/gstfakesink.h:
1800         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1801         * gst/elements/gstfakesrc.h:
1802         * gst/elements/gstfilesink.h:
1803         * gst/elements/gstfilesrc.h:
1804         * gst/gst.c:
1805         * gst/gstbin.c:
1806         * gst/gstbuffer.c: (_gst_buffer_copy):
1807         * gst/gstbus.h:
1808         * gst/gstcaps.c:
1809         * gst/gstchildproxy.c:
1810         * gst/gstclock.c:
1811         * gst/gstelement.c:
1812         * gst/gstelementfactory.c:
1813         * gst/gstelementfactory.h:
1814         * gst/gstevent.c:
1815         * gst/gstghostpad.h:
1816         * gst/gstindex.h:
1817         * gst/gstinterface.h:
1818         * gst/gstminiobject.c:
1819         * gst/gstminiobject.h:
1820         * gst/gstpad.c:
1821         * gst/gstpad.h:
1822         * gst/gstpadtemplate.h:
1823         * gst/gstpipeline.h:
1824         * gst/gstpluginfeature.h:
1825         * gst/gstquery.h:
1826         * gst/gstqueue.h:
1827         * gst/gsttaglist.c:
1828         * gst/gsttaglist.h:
1829         * gst/gsttagsetter.c:
1830         * gst/gsttagsetter.h:
1831         * gst/gsttrace.c:
1832         * gst/gsttrace.h:
1833         * gst/gsttypefind.h:
1834         * gst/gsturi.h:
1835         * gst/gstvalue.c:
1836         * gst/net/gstnetclientclock.c:
1837         * gst/net/gstnetclientclock.h:
1838         * gst/net/gstnettimepacket.c:
1839         * gst/net/gstnettimeprovider.c:
1840         * gst/net/gstnettimeprovider.h:
1841         Doc fixes.
1842
1843 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1844
1845         * configure.ac: back to HEAD
1846
1847 === release 0.9.6 ===
1848
1849 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1850
1851         * configure.ac:
1852           releasing 0.9.6, "Always On Time"
1853
1854 2005-11-23  Wim Taymans  <wim@fluendo.com>
1855
1856         * docs/gst/gstreamer-sections.txt:
1857         * gst/glib-compat.c:
1858         * gst/gsttagsetter.c:
1859         * gst/gstvalue.c:
1860         * gst/net/gstnetclientclock.c:
1861         * gst/net/gstnettimepacket.h:
1862         Doc updates.
1863
1864 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1865
1866         * docs/faq/using.xml:
1867         * docs/libs/tmpl/gstcontrol.sgml:
1868         * docs/manual/advanced-dparams.xml:
1869         * docs/manual/appendix-checklist.xml:
1870         * docs/manual/basics-elements.xml:
1871         * docs/pwg/other-source.xml:
1872         * docs/random/moving-plugins:
1873         * gst/gstpad.c:
1874         * tools/gst-launch.1.in:
1875           remove mentions of sinesrc
1876
1877 2005-11-23  Michael Smith <msmith@fluendo.com>
1878
1879         * docs/gst/gstreamer-sections.txt:
1880           Update for new API and API changes.
1881         * gst/gstobject.h:
1882           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1883         * gst/gstvalue.c:
1884           Documentation typo fix.
1885         * gst/net/gstnettimepacket.c:
1886           Documentation fixes for arguments.
1887
1888 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1889
1890         * gst/gststructure.c: (gst_structure_get_fraction),
1891         (gst_structure_parse_value),
1892         (gst_structure_fixate_field_nearest_fraction):
1893         * gst/gststructure.h:
1894         * gst/gstutils.c: (gst_util_uint64_scale_int):
1895         * gst/gstutils.h:
1896         * scripts/update-funcnames:
1897         API Changes. 
1898         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1899         Make gst_structure_fixate_field_nearest_fraction take a numerator
1900         and denominator argument instead of a GValue
1901         add gst_structure_get_fraction helper function.
1902
1903 2005-11-23  Wim Taymans  <wim@fluendo.com>
1904
1905         * docs/design/part-TODO.txt:
1906         Update TODO.
1907
1908         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1909         * gst/net/gstnetclientclock.h:
1910         Use parent fields for timeout and window_size.
1911
1912 2005-11-23  Andy Wingo  <wingo@pobox.com>
1913
1914         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1915         rate_num/rate_denom change.
1916
1917         * gst/net/gstnetclientclock.c
1918         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1919         OBJECT_LOCK. Don't call add_observation with the lock.
1920
1921         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1922         fraction.
1923         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1924         rate fraction.
1925         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1926         deal with rate as a fraction whose numerator and denominator are
1927         GstClockTime values.
1928         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1929         master; the other fields are protected by the SLAVE_LOCK.
1930         (do_linear_regression): Note that this must be called with the
1931         SLAVE_LOCK.
1932         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1933         OBJECT_LOCK. Call set_calibration instead of touching the
1934         variables directly.
1935         (gst_clock_set_property, gst_clock_get_property): Protect
1936         master/slave parameters with the SLAVE_LOCK.
1937
1938         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1939         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1940         note that all of the instance variables that add_observation and
1941         the set_master functions use are protected by that lock and not
1942         the OBJECT_LOCK.
1943         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1944
1945         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1946         the caller to take the object lock.
1947
1948 2005-11-23  Wim Taymans  <wim@fluendo.com>
1949
1950         * gst/gsterror.c: (_gst_core_errors_init):
1951         * gst/gsterror.h:
1952         Add error for clock stuff.
1953
1954         * gst/gstpipeline.c: (gst_pipeline_change_state),
1955         (gst_pipeline_set_clock):
1956         Post clock error when clock cannot be used in a pipeline.
1957
1958 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1959
1960         * docs/gst/gstreamer-sections.txt:
1961           make two symbols from gstinfo private for the docs
1962         * gst/base/gstcollectpads.h:
1963         * gst/gstutils.c:
1964           fix doc typos, update docs
1965
1966 2005-11-22  Wim Taymans  <wim@fluendo.com>
1967
1968         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1969         (gst_base_sink_wait), (gst_base_sink_do_sync),
1970         (gst_base_sink_handle_event):
1971         * gst/base/gstbasesink.h:
1972         No need to store the clock, the parent element class already
1973         has it.
1974
1975         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1976         Updates for clock_set returning a gboolean
1977
1978         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1979         (gst_clock_id_wait_async), (gst_clock_class_init),
1980         (gst_clock_init), (gst_clock_finalize),
1981         (gst_clock_get_internal_time), (gst_clock_get_time),
1982         (gst_clock_slave_callback), (gst_clock_set_master),
1983         (gst_clock_get_master), (do_linear_regression),
1984         (gst_clock_add_observation), (gst_clock_set_property),
1985         (gst_clock_get_property):
1986         * gst/gstclock.h:
1987         Implement master/slave. When setting a clock as a slave, a
1988         periodic timeout is scheduled to sample master and slave times.
1989         Then the slave clock is recalibrated to match offset and rate
1990         of the master clock.
1991         Update logging a bit.
1992         Add flag so that a clock can state that is cannot be slaved to
1993         another clock.
1994
1995         * gst/gstelement.c: (gst_element_set_clock):
1996         * gst/gstelement.h:
1997         The set clock returns a gboolean for when an element cannot
1998         deal with the selected clock in the pipeline. 
1999
2000         * gst/gstpipeline.c: (gst_pipeline_change_state),
2001         (gst_pipeline_set_clock):
2002         * gst/gstpipeline.h:
2003         Handle the case where the selected clock cannot be set on
2004         the pipeline.
2005
2006         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
2007         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
2008         (gst_net_client_clock_set_property),
2009         (gst_net_client_clock_get_property),
2010         (gst_net_client_clock_observe_times):
2011         * gst/net/gstnetclientclock.h:
2012         Use regression code in GstClock parent, remove duplicated
2013         functionality.
2014
2015 2005-11-22  Michael Smith <msmith@fluendo.com>
2016
2017         * gst/gstutils.c: (gst_util_clock_time_scale):
2018         * gst/gstutils.h:
2019         * docs/gst/gstreamer-sections.txt:
2020           Rename method to have extra underscore.
2021
2022 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2023
2024         * gst/elements/Makefile.am:
2025         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
2026         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2027         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
2028         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
2029         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
2030         * gst/elements/gstfakesrc.h:
2031         * gst/gstqueue.c: (queue_leaky_get_type):
2032           correctly fix GEnumValues so that nick is the short lowercase
2033           dashed tag
2034         * tools/gst-inspect.c: (print_element_properties_info):
2035           also show the nick, since it's useful to use from parse_launch
2036           syntax
2037           Fixes #322139
2038
2039 2005-11-22  Michael Smith <msmith@fluendo.com>
2040
2041         * gst/gstutils.c: (gst_util_clocktime_scale):
2042         * gst/gstutils.h:
2043         * docs/gst/gstreamer-sections.txt:
2044           Add util method for scaling a clocktime by a fraction. Useful 
2045           implementation is left as an exercise for the reader.
2046
2047 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2048
2049         * gst/gstvalue.c: (gst_value_collect_fraction_range):
2050         If needed, allocate storage in the destination value during
2051         collection.
2052
2053 2005-11-22  Edward Hervey  <edward@fluendo.com>
2054
2055         * docs/gst/gstreamer-sections.txt:
2056         * gst/Makefile.am:
2057         * gst/gst.h:
2058         * gst/gsturitype.c:
2059         * gst/gsturitype.h:
2060         * gst/gstutils.c: (gst_util_set_object_arg):
2061         * tools/gst-compprep.c: (main):
2062         * tools/gst-inspect.c: (print_element_properties_info):
2063         Removed GstURI, closes bug #321061
2064
2065 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2066
2067         * check/gst/gststructure.c: (GST_START_TEST):
2068         * gst/gststructure.c: (gst_structure_parse_value):
2069           Oops, broke automatic string type parsing.
2070           Add a test to catch it in future.
2071
2072 2005-11-22  Andy Wingo  <wingo@pobox.com>
2073
2074         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
2075         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
2076         Actually rename the function implementations. Grr.
2077
2078 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2079
2080         * check/gst/capslist.h:
2081           Comment test cases
2082         * check/gst/gststructure.c: (GST_START_TEST),
2083         (gst_structure_suite):
2084           Test automatic value type detection in gst_structure_from_string.
2085         * gst/gststructure.c: (gst_structure_parse_value):
2086           Add fraction as a type we try and guess automatically in
2087           caps/structure strings.
2088
2089 2005-11-22  Andy Wingo  <wingo@pobox.com>
2090
2091         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
2092
2093         * gst/gsttagsetter.h:
2094         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
2095         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
2096         (gst_tag_setter_add_tag_valist)
2097         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
2098         _add_values, _add_valist, and _add_valist_values. Since this is an
2099         interface the function suffixes should be more explicit so
2100         language binding don't end up with element.add_valist ->
2101         gst_tag_setter_add_valist, for example. Fixes #322069.
2102
2103 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2104
2105         * check/gst/gstcaps.c: (GST_START_TEST):
2106           Extend caps string tests to check that a caps to string
2107           conversion is reversible and produces the same caps.
2108
2109         * gst/gststructure.c: (gst_structure_value_get_generic_type):
2110           Output "fraction" as the generic type fraction range, so caps
2111           serialisation and deserialisation works.
2112         * check/gst/capslist.h:
2113         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2114           Support 'MIN' and 'MAX' for deserialising fractions.
2115
2116 2005-11-22  Andy Wingo  <wingo@pobox.com>
2117
2118         * gst/gstevent.h (gst_event_new_new_segment)
2119         (gst_event_parse_new_segment, gst_event_new_buffer_size)
2120         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
2121         Renamed from *_newsegment, *_buffersize, *_notarget.
2122
2123         * scripts/update-funcnames: New script, performs the changes
2124         listed above.
2125
2126 2005-11-22  Wim Taymans  <wim@fluendo.com>
2127
2128         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2129         Make sure the GstFlowReturn is returned.
2130
2131         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
2132         (gst_bus_add_signal_watch):
2133         * gst/gstbus.h:
2134         add gst_bus_add_signal_watch_full.
2135
2136         * gst/gstplugin.c: (gst_plugin_load_file):
2137         Small style cleanup.
2138
2139 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2140
2141         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
2142           Block the fakesrc srcpad when we send an event, to avoid
2143           contention on the stream_lock causing random test failures.
2144
2145 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2146
2147         * check/gst/gstvalue.c: (GST_START_TEST):
2148         * gst/gstvalue.c: (gst_value_fraction_subtract):
2149           Fix subtraction.
2150
2151 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
2152
2153         * gst/gst.h:
2154           include "gstchildproxy.h"
2155         * gst/gstchildproxy.h:
2156         * libs/gst/controller/gstcontroller.h:
2157           use G_GNUC_NULL_TERMINATED
2158
2159 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2160
2161         * check/gst/capslist.h:
2162         * check/gst/gstcaps.c: (GST_START_TEST):
2163         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2164         * gst/gststructure.c: (gst_structure_parse_range),
2165         (gst_structure_fixate_field_nearest_fraction):
2166         * gst/gststructure.h:
2167         * gst/gstvalue.c: (gst_value_init_fraction_range),
2168         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
2169         (gst_value_collect_fraction_range),
2170         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
2171         (gst_value_set_fraction_range_full),
2172         (gst_value_get_fraction_range_min),
2173         (gst_value_get_fraction_range_max),
2174         (gst_value_serialize_fraction_range),
2175         (gst_value_transform_fraction_range_string),
2176         (gst_value_compare_fraction_range),
2177         (gst_value_deserialize_fraction_range),
2178         (gst_value_intersect_fraction_fraction_range),
2179         (gst_value_intersect_fraction_range_fraction_range),
2180         (gst_value_subtract_fraction_fraction_range),
2181         (gst_value_subtract_fraction_range_fraction),
2182         (gst_value_subtract_fraction_range_fraction_range),
2183         (gst_value_collect_fraction), (gst_value_fraction_multiply),
2184         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
2185         (gst_value_transform_string_fraction), (_gst_value_initialize):
2186         * gst/gstvalue.h:
2187           Implement fraction ranges and extend GstFraction to support
2188           arithmetic subtraction, as well as deserialization from integer
2189           strings such as "100"
2190           Add a testsuite as for int and double range set operations
2191
2192 2005-11-21  Andy Wingo  <wingo@pobox.com>
2193
2194         * gst/gsttaglist.h: 
2195         * gst/gstcaps.h: 
2196         * gst/gststructure.h: Add glib-compat.h.
2197
2198 2005-11-21  Wim Taymans  <wim@fluendo.com>
2199
2200         * gst/gstbin.c: (gst_bin_change_state_func):
2201         Fix for #321595
2202
2203 2005-11-21  Wim Taymans  <wim@fluendo.com>
2204
2205         * gst/gstsegment.h:
2206         And add a nice define too.
2207
2208 2005-11-21  Wim Taymans  <wim@fluendo.com>
2209
2210         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
2211         (gst_segment_new), (gst_segment_free), (gst_segment_init),
2212         (gst_segment_set_duration), (gst_segment_set_last_stop),
2213         (gst_segment_set_seek), (gst_segment_set_newsegment),
2214         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2215         (gst_segment_clip):
2216         * gst/gstsegment.h:
2217         Make binding friendly.
2218
2219 2005-11-21  Andy Wingo  <wingo@pobox.com>
2220
2221         * gst/gsttagsetter.h: 
2222         * gst/gsttaglist.h: 
2223         * gst/gststructure.h: 
2224         * gst/gstcaps.h: 
2225         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
2226         #319940.
2227
2228         * gst/gsterror.c (_gst_core_errors_init):
2229         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
2230         category.
2231
2232         * gst/Makefile.am (gst_headers): Add glib-compat.h.
2233         (noinst_HEADERS): noinst the -private.
2234
2235 2005-11-21  Michael Smith <msmith@fluendo.com>
2236
2237         * gst/gstplugin.h:
2238         * gst/gstregistry.h:
2239           Remove unimplemented declarations for which we can see no sensible
2240           use.
2241
2242 2005-11-21  Andy Wingo  <wingo@pobox.com>
2243
2244         * gst/gst.h: Include glib-compat.h.
2245
2246         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
2247
2248         * gst/glib-compat.c: Include the public and the private header.
2249
2250         * gst/glib-compat-private.h: Copied here from glib-compat.h.
2251
2252         * gst/gstvalue.c: 
2253         * gst/gstpad.c: 
2254         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
2255
2256         * check/gst/gstevent.c (create_custom_events): Check that
2257         FLUSH_STOP is serialized.
2258
2259         * check/elements/identity.c (event_func): 
2260         * check/elements/fakesrc.c (event_func): No stream lock, the core
2261         takes it.
2262
2263         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2264         stream lock taking, yay.
2265
2266         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2267         ensure that core takes the stream lock.
2268
2269         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2270         lock name change.
2271
2272         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2273         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2274         it already. For the flush start we do take it though so we get the
2275         right preroll state change messages.
2276
2277         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2278         the stream lock here, the core does it for us.
2279
2280         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2281         GST_STREAM_GET_LOCK.
2282         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
2283         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
2284         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2285         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2286         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
2287         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2288
2289         * gst/gstpad.c: Update for stream lock name change.
2290
2291         * gst/base/gstbasesink.c: Update for preroll lock name change.
2292
2293 2005-11-21  Wim Taymans  <wim@fluendo.com>
2294
2295         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2296         (gst_clock_get_master):
2297         * gst/gstclock.h:
2298         * gst/gstsystemclock.c: (gst_system_clock_init):
2299         Convert Clock flags to object flags.
2300         Added methods to manage master/slave clocks.
2301
2302 2005-11-21  Wim Taymans  <wim@fluendo.com>
2303
2304         * check/gst/gstsegment.c: (GST_START_TEST):
2305         * docs/design/part-TODO.txt:
2306         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2307         (gst_base_sink_event), (gst_base_sink_do_sync),
2308         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2309         (gst_base_sink_query), (gst_base_sink_change_state):
2310         * gst/base/gstbasesink.h:
2311         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2312         (gst_base_src_default_newsegment),
2313         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2314         (gst_base_src_get_range), (gst_base_src_loop),
2315         (gst_base_src_change_state):
2316         * gst/base/gstbasesrc.h:
2317         * gst/base/gstbasetransform.c:
2318         (gst_base_transform_prepare_output_buf),
2319         (gst_base_transform_event), (gst_base_transform_change_state):
2320         * gst/base/gstbasetransform.h:
2321         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2322         (gst_collect_pads_event):
2323         * gst/base/gstcollectpads.h:
2324         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2325         (gst_fake_src_create):
2326         * gst/elements/gstfakesrc.h:
2327         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2328         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2329         (gst_segment_set_last_stop), (gst_segment_set_seek),
2330         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2331         (gst_segment_to_running_time), (gst_segment_clip):
2332         * gst/gstsegment.h:
2333         More segment updates, replace code in plugins with segment
2334         helper functions.
2335
2336 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2337
2338         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2339         Don't ignore sscanf results
2340
2341 2005-11-21  Andy Wingo  <wingo@pobox.com>
2342
2343         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2344
2345         * *.h:
2346         * *.c: Ran scripts/update-macros. Oh yes.
2347
2348         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2349         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2350         GST_GET_LOCK, etc.
2351
2352         * scripts/update-macros: New script. Run it on your files to
2353         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2354         well.
2355
2356 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2357
2358         * docs/gst/Makefile.am:
2359         * docs/gst/gstreamer-docs.sgml:
2360         * docs/gst/gstreamer-sections.txt:
2361         * docs/gst/gstreamer.types:
2362         * gst/gstinfo.h:
2363           more docs fixes, add new api to the docs
2364
2365 2005-11-21  Andy Wingo  <wingo@pobox.com>
2366
2367         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2368         state_broadcast call.
2369
2370         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2371
2372 2005-11-21  Julien MOUTTE  <julien@moutte.net>
2373
2374         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2375         function calls for arrays.
2376
2377 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2378
2379         * docs/random/ensonic/media-device-daemon.txt:
2380           wild idea, can this be done?
2381         * docs/gst/gstreamer-sections.txt:
2382         * gst/gsterror.h:
2383         * gst/gstfilter.c:
2384         * gst/gstfilter.h:
2385         * gst/gstplugin.h:
2386         * gst/gstpluginfeature.c:
2387         * gst/gsttrace.c:
2388         * gst/gstvalue.c:
2389         * gst/gstvalue.h:
2390           doc fixes and additions
2391
2392 2005-11-21  Andy Wingo  <wingo@pobox.com>
2393
2394         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
2395         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
2396         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
2397         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2398         private to the basesrc implementation.
2399
2400         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2401         behalf of event function if necessary. It should no longer be
2402         necessary to take the stream lock in pad's event functions. Fixes
2403         #320299.
2404
2405 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2406         * docs/gst/gstreamer-sections.txt:
2407         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2408         (gst_structure_fixate_field_nearest_double),
2409         (gst_structure_fixate_field_boolean):
2410         * gst/gststructure.h:
2411         * win32/common/libgstreamer.def:
2412         * win32/gstreamer.def:
2413
2414         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2415         (#322027)
2416
2417 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2418
2419         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2420         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2421         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2422         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2423         (gst_fdsrc_uri_handler_init):
2424         * gst/elements/gstfdsrc.h:
2425           Port fd:// URI handler from 0.8 to fdsrc
2426
2427 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2428
2429         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2430         (gst_value_serialize_fourcc):
2431         * gst/gstvalue.h:
2432           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2433           consistent with our other format defines (#320324).
2434
2435 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2436
2437         * gst/gstvalue.c: (gst_value_is_fixed):
2438           Revert previous commit. Value lists are by definition
2439           not fixed, as they are a list of possible values.
2440
2441 2005-11-21  Andy Wingo  <wingo@pobox.com>
2442
2443         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2444         during the stable series if we need it. Fixes #319178.
2445
2446         * gst/gstevent.c (gst_event_new_filler): Removed.
2447
2448         * check/gst/gstevent.c: Update comment about filler events.
2449
2450 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2451
2452         * gst/gstvalue.c: (gst_value_is_fixed):
2453           Should handle both value arrays and value lists.
2454
2455 2005-11-21  Andy Wingo  <wingo@pobox.com>
2456
2457         patch by: Alessandro Dessina <alessandro nnva org>
2458
2459         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2460         functions to access arrays. Fixes #321962.
2461
2462 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2463
2464         * docs/gst/gstreamer.types:
2465           gst_collectpads_get_type => gst_collect_pads_get_type.
2466           
2467         * gst/base/gstbasetransform.c:
2468           Remove unused SIGNAL_HANDOFF enum.
2469
2470 2005-11-21  Andy Wingo  <wingo@pobox.com>
2471
2472         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2473         the event type (upstream, downstream, serialized). Renamed
2474         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2475         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2476         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2477
2478         * gst/gstevent.c: Update for new CUSTOM event names.
2479
2480         * check/gst/gstevent.c: Update check for new CUSTOM event names.
2481
2482         * gst/gstevent.h:
2483         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2484         bug #319392.
2485
2486 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2487
2488         * docs/gst/gstreamer-sections.txt:
2489         * win32/common/libgstbase.def:
2490         * win32/libgstbase.def:
2491         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2492         (gst_collect_pads_class_init), (gst_collect_pads_init),
2493         (gst_collect_pads_finalize), (gst_collect_pads_new),
2494         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2495         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2496         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2497         (gst_collect_pads_start), (gst_collect_pads_stop),
2498         (gst_collect_pads_peek), (gst_collect_pads_pop),
2499         (gst_collect_pads_available), (gst_collect_pads_read),
2500         (gst_collect_pads_flush), (gst_collect_pads_event),
2501         (gst_collect_pads_chain):
2502         * gst/base/gstcollectpads.h:
2503           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2504           unimplemented functions as unimplemented. Add padding to
2505           GstCollectData. (#320766, #320423)
2506
2507 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2508
2509         * gst/gstmessage.c:
2510           Improve docs for DURATION message (usage of duration parameter)
2511           (#320113)
2512
2513 2005-11-20  Wim Taymans  <wim@fluendo.com>
2514
2515         * check/Makefile.am:
2516         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2517         (main):
2518         * gst/Makefile.am:
2519         * gst/gst.h:
2520         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2521         (gst_segment_set_seek), (gst_segment_set_newsegment),
2522         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2523         (gst_segment_clip):
2524         * gst/gstsegment.h:
2525         Added segment helper structure and methods. Not fully implemented
2526         yet.
2527         Added segment check.
2528
2529 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
2530
2531         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2532           Add a deserialisation test for fractions
2533         * examples/metadata/read-metadata.c: (message_loop),
2534         (make_pipeline), (main):
2535           Fix up metadata reading sample.
2536         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2537           Debug format fix
2538         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2539           Don't try and fixate empty caps
2540         * gst/gst_private.h:
2541           Wrap in G_BEGIN_DECLS/G_END_DECLS
2542         * gst/gstvalue.c: (gst_value_collect_fraction),
2543         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2544         (gst_value_transform_string_fraction),
2545         (gst_value_compare_fraction):
2546           Add some extra guards to ensure that we don't end up 
2547           with an invalid denominator of 0 in a gstfraction and
2548           that fractions always get reduced.
2549
2550 2005-11-20  Wim Taymans  <wim@fluendo.com>
2551
2552         * docs/gst/gstreamer-sections.txt:
2553         * gst/gstbuffer.h:
2554         * gst/gstelement.c:
2555         * gst/gstformat.c:
2556         * gst/gstformat.h:
2557         * gst/gstindex.h:
2558         * gst/gstquery.c:
2559         * gst/gstquery.h:
2560         * gst/gstvalue.c:
2561         Doc fixes.
2562
2563 2005-11-20  Wim Taymans  <wim@fluendo.com>
2564
2565         * docs/design/part-TODO.txt:
2566         * gst/gstcaps.h:
2567         Make a proper enum of the flag.
2568
2569 2005-11-19  Wim Taymans  <wim@fluendo.com>
2570
2571         * docs/design/part-TODO.txt:
2572         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2573         (gst_format_to_quark), (gst_format_register):
2574         * gst/gstformat.h:
2575         * gst/gstquery.c: (_gst_query_initialize),
2576         (gst_query_type_get_name), (gst_query_type_to_quark),
2577         (gst_query_type_register):
2578         * gst/gstquery.h:
2579         Add type to quark and type to string conversions.
2580
2581 2005-11-19  Andy Wingo  <wingo@pobox.com>
2582
2583         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2584         #320097.
2585
2586 2005-11-19  Wim Taymans  <wim@fluendo.com>
2587
2588         * docs/design/part-TODO.txt:
2589         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2590         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2591         (gst_bin_handle_message_func):
2592         * gst/gstbin.h:
2593         Make message handling overridable.
2594
2595 2005-11-19  Andy Wingo  <wingo@pobox.com>
2596
2597         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2598
2599         * gst/gstclock.h:
2600         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2601         be a GstClockTime.
2602         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2603         is a GstClockTime. Fixes #321710.
2604
2605         * gst/gstclock.h (GstClock): Remove offset property. Add
2606         internal_calibration and external_calibration. Fix padding. Pad
2607         also by GstClockTime so we don't run into problems.
2608
2609         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2610         (gst_clock_get_rate_offset): Remove.
2611         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2612
2613         * gst/gstutils.h:
2614         * gst/gstutils.c (g_static_rec_cond_wait)
2615         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2616
2617         * gst/gstbin.c: Remove terrible continue_state prototype.
2618
2619         * gst/gstelement.h (gst_element_continue_state): Make public.
2620
2621         * gst/gstelement.h:
2622         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2623         by continue_state. Fixes #319389.
2624
2625         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2626         Really fixes #168438. However I don't see anywhere where the
2627         filter function is called... stupid GStreamer...
2628         
2629         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2630         don't have a dispose function, so it won't get called when the
2631         object is unreffed, but oh well!
2632
2633         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2634         allows a destroy function to be set so user_data can be freed.
2635         Fixes #168438.
2636         (gst_index_set_filter): Call gst_index_set_filter_full.
2637
2638         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2639
2640         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2641         string should produce an error, given the lack of a way to
2642         represent NULL strings. Fixes #165650.
2643         
2644         * gst/gstvalue.h: 
2645         * gst/gstvalue.c (gst_value_array_append_value) 
2646         (gst_value_array_prepend_value, gst_value_array_get_size) 
2647         (gst_value_array_get_value): New API, copied from
2648         gst_value_list_*, only operates on arrays.
2649         (gst_value_list_append_value, gst_value_list_prepend_value) 
2650         (gst_value_list_concat, gst_value_list_get_size) 
2651         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2652
2653         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2654         init_list, because it works on both.
2655         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2656         (gst_value_copy_list_or_array): Renamed from copy_list.
2657         (gst_value_free_list_or_array): Renamed from free_list.
2658         (gst_value_collect_list_or_array): Renamed from collect_list.
2659         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2660         (gst_value_list_or_array_peek_pointer): Renamed from
2661         list_peek_pointer.
2662         (_gst_value_array_value_table, _gst_value_list_value_table):
2663         Update value table functions.
2664         (gst_value_compare_list_or_array): Renamed from compare_list.
2665
2666         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2667         some constness.
2668
2669         * gst/gsttaglist.c:
2670         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2671         GstTagList*. Fixes #143472.
2672
2673         * gst/gststructure.h: Clarify what the foreach/map functions can
2674         or can't do to their arguments.
2675
2676 2005-11-18  Wim Taymans  <wim@fluendo.com>
2677
2678         * gst/gstclock.c: (gst_clock_set_calibration),
2679         (gst_clock_get_calibration):
2680         Doc and API fixes.
2681         Calibration can be set with internal time equal to current
2682         internal time too.
2683
2684 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2685
2686         * gst/gsterror.c:
2687         * gst/gsterror.h:
2688           document
2689
2690 2005-11-18  Andy Wingo  <wingo@pobox.com>
2691
2692         * configure.ac: 
2693         * pkgconfig/gstreamer-net.pc.in:
2694         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2695         * pkgconfig/Makefile.am: Add net pkgconfig files.
2696
2697 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2698
2699         * gst/gstcaps.c:
2700         * gst/gstghostpad.c:
2701         * gst/gsttrace.c:
2702         * gst/gstvalue.c:
2703         * gst/gstvalue.h:
2704           docs fixes
2705
2706 2005-11-18  Andy Wingo  <wingo@pobox.com>
2707
2708         * gst/net/gstnetclientclock.c: Turn off debugging.
2709
2710         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2711         times connverge somewhat. Can't make a real test.
2712
2713         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2714         integer arithmetic. Return the minimum of the domain, which can be
2715         set as "internal" for gst_clock_set_calibration.
2716         (gst_net_client_clock_observe_times): Call _set_calibration.
2717         (gst_net_client_clock_new): Call _set_calibration instead of
2718         rate_offset.
2719
2720         * check/net/gstnetclientclock.c (test_functioning): Use the right
2721         adjustment api.
2722
2723         * gst/gstclock.h:
2724         * gst/gstclock.c (gst_clock_get_calibration) 
2725         (gst_clock_set_calibration): New functions, obsolete the ones I
2726         added yesterday. Doh. Precision issues mean we have to extrapolate
2727         from a point in the more recent past than 1970.
2728         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2729         obsolete.
2730         (gst_clock_adjust_unlocked): Use the right calibration data.
2731
2732 2005-11-18  Edward Hervey  <edward@fluendo.com>
2733
2734         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2735         Also reset the ->current_* values in READY->PAUSED
2736
2737 2005-11-18  Andy Wingo  <wingo@pobox.com>
2738
2739         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2740         Whoops, check the right fd. Also add some debugging.
2741         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2742         (do_linear_regression): Add a crapload of debugging. Subtract off
2743         the minimum values from the input series to discard unneeded bits.
2744         Use only int arithmetic. There is still double arithmetic when
2745         calculating the intercept that needs fixing. Return boolean to
2746         indicate success; FALSE would mean the domain or range is too
2747         great. Still needs fixes.
2748
2749 2005-11-18  Wim Taymans  <wim@fluendo.com>
2750
2751         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2752         For the current position in stream time, we need to subtract
2753         accumulated time.
2754         
2755         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2756         Release lock before calling the callback function of async
2757         entries.
2758
2759 2005-11-18  Andy Wingo  <wingo@pobox.com>
2760
2761         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2762         Port goes all the way to MAXUINT16.
2763
2764         * gst/net/gstnettimeprovider.c: Make the port range the same as
2765         for the kernel: 0 assigns, otherwise ports are less than
2766         MAXUINT16.
2767
2768         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2769         port change.
2770
2771         * check/net/gstnetclientclock.c (test_functioning): Add the start
2772         of another test. 
2773
2774 2005-11-18  Wim Taymans  <wim@fluendo.com>
2775
2776         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2777         (gst_bin_remove_func), (bin_bus_handler):
2778         * gst/gstbin.h:
2779         Removing a clock provider from a bin, triggers a clock lost message
2780         so that a new clock will be selected.
2781         Adding a clock to a bin triggers a clock provider message.
2782         Make sure we reselect a clock when we received a clock lost message.
2783         Keep a reference to the element that provided the clock.
2784
2785 2005-11-18  Andy Wingo  <wingo@pobox.com>
2786
2787         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2788         the clock initially so it produces values around the base time.
2789         (gst_net_client_clock_class_init): Typo fix.
2790         (gst_net_client_clock_thread): Add note on when the socket gets
2791         closed.
2792
2793 2005-11-17  Wim Taymans  <wim@fluendo.com>
2794
2795         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2796         Free remote and local time arrays.
2797
2798 2005-11-17  Wim Taymans  <wim@fluendo.com>
2799
2800         * gst/net/gstnetclientclock.c: (do_linear_regression),
2801         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2802         Fix compilation, uninitialized vars and a forgotten continue.
2803
2804 2005-11-17  Andy Wingo  <wingo@pobox.com>
2805
2806         * check/Makefile.am (check_PROGRAMS): 
2807         * check/net/gstnetclientclock.c: Add a most minimal test for the
2808         net client clock. More to come later.
2809
2810         * gst/net/gstnet.h: 
2811         * gst/net/Makefile.am: Add netclientclock.
2812
2813         * gst/net/gstnetclientclock.h:
2814         * gst/net/gstnetclientclock.c: New files, implement an untested
2815         GstClock that takes its time from a network time provider.
2816         Implements the algorithm in network-clock.scm.
2817
2818         * tests/network-clock.scm (*window-size*): Rename from
2819         *queue-length*.
2820         * tests/network-clock.scm (network-time): 
2821         * tests/network-clock-utils.scm (q-push): Update callers.
2822
2823 2005-11-17  Wim Taymans  <wim@fluendo.com>
2824
2825         * gst/gstbin.c: (gst_bin_provide_clock_func),
2826         (gst_bin_sort_iterator_new):
2827         And unref the child too..
2828
2829 2005-11-17  Wim Taymans  <wim@fluendo.com>
2830
2831         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2832         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2833         Refactor the sort iterator so it can be used while holding the
2834         LOCK too.
2835         Make clock selection select a clock closest to the source.
2836
2837 2005-11-17  Michael Smith <msmith@fluendo.com>
2838
2839         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2840         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2841         * gst/gstclock.h:
2842           Anonymous structs are a gcc (and some other compilers) extension, so
2843           don't use them. Since this is only for ABI-compatibility, and our
2844           API/ABI freeze is over in a few days, this whole thing will only
2845           last a few days, so don't bother trying to think up a meaningful
2846           name for the struct.
2847
2848 2005-11-17  Andy Wingo  <wingo@pobox.com>
2849
2850         * gst/gstclock.h (GstClock): Add rate and offset properties,
2851         preserving ABI stability. Add rate/offset accessors. Will file bug
2852         for the freeze break.
2853
2854         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2855         and offset, trying to keep precision and avoiding
2856         underflow/overflow.
2857         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2858         functions. Make gst_clock_set_time_adjust obsolete.
2859         (gst_clock_set_time_adjust): Note that this function is obsolete.
2860         Will file bug soon.
2861
2862         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2863         greppable by using GST_PADDING-1+1.
2864
2865 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2866
2867         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2868
2869         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2870           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2871
2872         * gst/gstpadtemplate.h:
2873         * gst/gstpluginfeature.h:
2874           Don't use c++ style comments in headers (#321638).
2875
2876 2005-11-16  Andy Wingo  <wingo@pobox.com>
2877
2878         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2879         buffer.
2880
2881         * check/net/gstnettimeprovider.c: Check to see that the time
2882         provider actually provides times. Works, yo!
2883
2884 2005-11-16  Wim Taymans  <wim@fluendo.com>
2885
2886         * check/Makefile.am:
2887         Enable more tests.
2888
2889         * check/elements/fakesrc.c: (GST_START_TEST):
2890         Set element to NULL before disposing it.
2891
2892 2005-11-16  Andy Wingo  <wingo@pobox.com>
2893
2894         * gst/net/Makefile.am:
2895         * gst/net/gstnet.h:
2896         * gst/net/gstnettimeprovider.c: 
2897         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2898         provider, include it from gstnet.h, and add it to the build.
2899
2900         * gst/net/gstnettimepacket.h: 
2901         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2902         sending and receiving.
2903
2904 2005-11-16  Wim Taymans  <wim@fluendo.com>
2905
2906         * check/Makefile.am:
2907         Enable valgrind check.
2908
2909         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2910         (gst_fake_src_alloc_buffer):
2911         Fix memleak.
2912
2913 2005-11-16  Wim Taymans  <wim@fluendo.com>
2914
2915         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2916         Call parent finalize too.
2917
2918 2005-11-16  Wim Taymans  <wim@fluendo.com>
2919
2920         * check/Makefile.am:
2921         Enable valgrind check that should work fine now.
2922
2923         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2924         * gst/gstqueue.c: (gst_queue_init):
2925         Fix memleaks in pad allocation.
2926
2927 2005-11-16  Andy Wingo  <wingo@pobox.com>
2928
2929         * gst/net/Makefile.am:
2930         * gst/net/gstnet.h: New part of core to hold network elements and
2931         objects. Put in core because it exposes API that applications want
2932         to use. The library is named libgstnet-tempname right now because
2933         of the existing libgstnet in gst-plugins-base. Solution is
2934         probably to rename the one in plugins-base; will file a bug for
2935         the freeze break.
2936
2937         * gst/net/gstnettimeprovider.c: 
2938         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2939         get_time call over the network.
2940
2941         * configure.ac: 
2942         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2943
2944         * check/Makefile.am:
2945         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2946         get additions shortly.
2947
2948 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2949
2950         * gst/gstpad.c: (gst_pad_new_from_static_template):
2951         * gst/gstpad.h:
2952           add gst_pad_new_from_static_template functions
2953         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2954         (gst_check_setup_sink_pad):
2955         * gst/elements/gsttee.c: (gst_tee_init):
2956           and use them
2957
2958 2005-11-16  Wim Taymans  <wim@fluendo.com>
2959
2960         * gst/gstpad.c: (gst_pad_pause_task):
2961         Removed warning, it's not really an error either.
2962
2963 2005-11-16  Wim Taymans  <wim@fluendo.com>
2964
2965         * gst/base/gstbasetransform.c:
2966         (gst_base_transform_prepare_output_buf),
2967         (gst_base_transform_event):
2968         Check if the caps are NULL, this can happen if the element
2969         is shutting down and the pad caps are set to NULL.
2970
2971 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2972
2973         * gst/elements/gsttee.c: (gst_tee_init):
2974           fix pad template leak in tee
2975
2976 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2977
2978         * gst/glib-compat.c: (g_value_dup_gst_object):
2979         * gst/glib-compat.h:
2980         * gst/gstpad.c: (gst_pad_set_property):
2981           use gst_object_ref when setting the pad template; this will
2982           trigger the pad template leaks on GLib 2.6 and the slaves
2983
2984 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2985
2986         * gst/glib-compat.c: (gst_flags_get_first_value):
2987         * gst/glib-compat.h:
2988         * gst/gstregistryxml.c:
2989           remove functions copied from GLib 2.6
2990
2991 2005-11-16  Michael Smith <msmith@fluendo.com>
2992
2993         * gst/Makefile.am:
2994           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2995           do, but only breaks with newer valgrind versions. We're not a
2996           valgrind tool, we have no link-time dependencies on libcoregrind.
2997
2998 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2999
3000         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3001           some debug changes
3002         * gst/gstmessage.h:
3003           typo fixes
3004
3005 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3006
3007         * gst/base/gstbasesrc.c: (gst_base_src_init):
3008         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3009         * gst/gstqueue.c: (gst_queue_init):
3010         * gst/gstregistryxml.c: (load_feature):
3011           Revert all these unrefs, they don't even pass make check !
3012
3013 2005-11-15  Johan Dahlin  <johan@gnome.org>
3014
3015         * gst/base/gstbasesrc.c: (gst_base_src_init):
3016         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3017         * gst/gstqueue.c: (gst_queue_init): 
3018         Free pad templates, fixes a couple of leaks.
3019
3020 2005-11-15  Daniel Fischer  <dan at f3c dot com>
3021
3022         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3023
3024         * gst/gstpad.c: (gst_pad_get_property):
3025           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
3026           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
3027           (#321452)
3028
3029 2005-11-15  Wim Taymans  <wim@fluendo.com>
3030
3031         * gst/gstevent.c:
3032         Small doc update.
3033
3034 2005-11-15  Andy Wingo  <wingo@pobox.com>
3035
3036         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
3037
3038         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
3039         using GST_CLOCK_TIME_NONE to disable base time management.
3040         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
3041         time if it was NONE before.
3042         (gst_pipeline_change_state): Only munge the base time if
3043         stream_time != GST_CLOCK_TIME_NONE.
3044
3045         * check/gst/gstpipeline.c (test_base_time): Punt around the
3046         problem of the probe not being called, because that's not the
3047         issue I'm looking at. Add a check that setting stream_time to NONE
3048         disables base time management.
3049         
3050 2005-11-15  Wim Taymans  <wim@fluendo.com>
3051
3052         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3053         segment_stop == -1 at startup.
3054
3055         * gst/base/gstbasetransform.c: (gst_base_transform_event),
3056         (gst_base_transform_change_state):
3057         Init segment values at start.
3058
3059 2005-11-15  Wim Taymans  <wim@fluendo.com>
3060
3061         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3062         0 segment values are 0 in any format.
3063
3064         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3065         * gst/base/gstbasetransform.h:
3066         Parse newsegment correctly in basetransform
3067
3068         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
3069         Sync to clock using updated segment values.
3070
3071 2005-11-15  Andy Wingo  <wingo@pobox.com>
3072
3073         * check/gst/gstpipeline.c (test_base_time): Add check that the
3074         base time and stream time are reset correctly.
3075
3076 2005-11-15  Wim Taymans  <wim@fluendo.com>
3077
3078         * docs/design/part-TODO.txt:
3079         Some more TODO items.
3080
3081 2005-11-15  Andy Wingo  <wingo@pobox.com>
3082
3083         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
3084         error if the user selected "no clock" as the clocking method.
3085
3086         * check/gst/gstpipeline.c (test_base_time): New test for buffer
3087         timestamps with live capture.
3088
3089         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
3090         is 0 but we are a live source, timestamp the buffers using the
3091         element's clock.
3092
3093 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
3094
3095         * docs/gst/gstreamer-sections.txt:
3096         * gst/gsterror.c:
3097         * gst/gstghostpad.c:
3098         * gst/gstobject.h:
3099         * gst/gstxml.c:
3100           more section docs
3101
3102 2005-11-14  Wim Taymans  <wim@fluendo.com>
3103
3104         * common/gst.supp:
3105           add suppressions from Wim's Debian machine
3106
3107 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3108
3109         * common/gst.supp:
3110           add suppressions from Andy's AMD64 Ubuntu machine
3111
3112 2005-11-14  Andy Wingo  <wingo@pobox.com>
3113
3114         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
3115         STATE_LOCK not necessary. Fixes #311489.
3116
3117         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
3118         #305291.
3119
3120         * gst/gstindex.c (gst_index_add_object): Note in the docs that
3121         this function is not implemented.
3122
3123 2005-11-14  Julien MOUTTE  <julien@moutte.net>
3124
3125         * gst/base/gstbasetransform.c:
3126         (gst_base_transform_prepare_output_buf):
3127         Ref the source pad caps while we need them.
3128         Fixes (#321386)
3129
3130 2005-11-11  Wim Taymans  <wim@fluendo.com>
3131
3132         * docs/gst/gstreamer-sections.txt:
3133         Added some docs for GstCollectData.
3134
3135         * gst/base/gstadapter.c:
3136         Some small code example fix.
3137
3138         * gst/base/gstcollectpads.c:
3139         * gst/base/gstcollectpads.h:
3140         Document some more.
3141
3142 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3143
3144         * configure.ac: back to HEAD
3145
3146 === release 0.9.5 ===
3147
3148 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
3149
3150         * configure.ac:
3151           releasing 0.9.5, "Bike Lunch Day"
3152
3153 2005-11-11  Wim Taymans  <wim@fluendo.com>
3154
3155         * gst/gstbuffer.c: (_gst_buffer_copy):
3156         Copy more flags.
3157
3158         * gst/gstcaps.c: (gst_caps_is_equal):
3159         Fix some docs.
3160         Make _is_equal fast in the trivial cases.
3161
3162         * gst/gstminiobject.c:
3163         * gst/gstminiobject.h:
3164         More docs. Spifify .h file.
3165
3166         * gst/gstutils.c:
3167         Small doc update.
3168
3169 2005-11-11  Wim Taymans  <wim@fluendo.com>
3170
3171         * gst/base/gstbasetransform.c:
3172         (gst_base_transform_prepare_output_buf),
3173         (gst_base_transform_handle_buffer):
3174         Small cleanups.
3175         If we're processing a buffer and need to allocate an output
3176         buffer, we cannot accept a format change. If we did get a 
3177         format change, we have to alloc a buffer ourselves of the 
3178         right size.
3179
3180 2005-11-11  Wim Taymans  <wim@fluendo.com>
3181
3182         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
3183         While checking the flag for reentrancy in the gstcaps function
3184         is nice to detect recursive invocations, it also makes it 
3185         impossible to call getcaps from multiple threads, which must be
3186         possible. So, checking for recursive calls has to go.
3187
3188 2005-11-11  Michael Smith <msmith@fluendo.com>
3189
3190         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3191           Don't sync on buffers that fall partially outside our current
3192           segment. Prevents an assertion failure/abort playing some files.
3193
3194 2005-11-10  Andy Wingo  <wingo@pobox.com>
3195
3196         * check/gst/gstbin.c (test_message_state_changed_children): Style
3197         fix..
3198
3199         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
3200         gst_bus_poll with the signal watch. Ensures that poll and a signal
3201         watch see the same messages.
3202
3203         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
3204         a poll and a watch at the same time get the same messages.
3205
3206 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3207
3208         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
3209         * gst/gstcaps.c: (gst_caps_intersect):
3210           Don't call gst_caps_do_simplify - it doesn't respect order of caps
3211           and it's not needed.
3212
3213 2005-11-10  Wim Taymans  <wim@fluendo.com>
3214
3215         * docs/design/part-TODO.txt:
3216         Updated todo.
3217
3218 2005-11-10  Wim Taymans  <wim@fluendo.com>
3219
3220         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3221         * gst/base/gstbasesrc.c: (gst_base_src_wait),
3222         (gst_base_src_do_sync), (gst_base_src_get_range):
3223         Implement clock sync in base class.
3224
3225 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3226
3227         patch by: Tim-Philipp Müller <tim at centricular dot net>
3228
3229         * gst/gststructure.c: (gst_structure_parse_field),
3230         (gst_structure_from_string):
3231           Forward-port a 0.8 patch to handle escaped spaces in structure string,
3232           so that gst_parse_launch() can deal with spaces in filtered link
3233           caps (fixes #164479)
3234         * check/gst/capslist.h:
3235         * check/gst/gststructure.c: (GST_START_TEST):
3236           add unit tests for this change
3237
3238 2005-11-10  Wim Taymans  <wim@fluendo.com>
3239
3240         * docs/gst/gstreamer-sections.txt:
3241         * gst/gstelement.c:
3242         * gst/gstelement.h:
3243         Fix docs, move some STATE macros to private.
3244
3245 2005-11-10  Wim Taymans  <wim@fluendo.com>
3246
3247         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3248         Added check for bug #317341
3249
3250         * gst/gstbuffer.c:
3251         * gst/gstbuffer.h:
3252         Some more spiffifying.
3253
3254         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
3255         Call peer linkfunction if we are a source pad. Totally fixes
3256         #317341
3257
3258         * gst/gstpad.c:
3259         Update docs, source pads should call the peer linkfunction
3260         so they can atomically perform the pad link.
3261
3262 2005-11-09  Wim Taymans  <wim@fluendo.com>
3263
3264         * gst/gstbuffer.c:
3265         * gst/gstbuffer.h:
3266         Uber-spiffy-spiffify some more.
3267
3268 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
3269
3270         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3271         * gst/elements/gstfilesink.c: (gst_file_sink_init):
3272         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3273         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3274         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3275         * gst/gstpad.c: (gst_pad_init):
3276           Use GST_DEBUG_FUNCPTR() more extensively.
3277
3278 2005-11-09  Wim Taymans  <wim@fluendo.com>
3279
3280         * gst/gstobject.c: (gst_object_class_init):
3281         * gst/gstobject.h:
3282         Documentation fixes.
3283
3284 2005-11-09  Edward Hervey  <edward@fluendo.com>
3285
3286         * gst/gsttypefindfactory.c:
3287         Fix docs.
3288         
3289 2005-11-09  Edward Hervey  <edward@fluendo.com>
3290
3291         * gst/base/gsttypefindhelper.c:
3292         * gst/gsttypefind.c:
3293         * gst/gsttypefind.h:
3294         Fix docs.
3295
3296 2005-11-09  Wim Taymans  <wim@fluendo.com>
3297
3298         * gst/gstiterator.c:
3299         Fix revision data.
3300
3301         * gst/gsttask.c:
3302         * gst/gsttask.h:
3303         Fix docs.
3304
3305 2005-11-09  Wim Taymans  <wim@fluendo.com>
3306
3307         * gst/gstevent.h:
3308         * gst/gsturi.h:
3309         Fix docs.
3310
3311 2005-11-09  Wim Taymans  <wim@fluendo.com>
3312
3313         * docs/gst/gstreamer-sections.txt:
3314         Moved the message async delivery private lock and cond
3315         to the private section.
3316
3317         * gst/gstmessage.c:
3318         * gst/gstmessage.h:
3319         Fixed docs.
3320
3321 2005-11-09  Edward Hervey  <edward@fluendo.com>
3322
3323         * docs/gst/gstreamer-sections.txt:
3324         * gst/gsturi.c:
3325         * gst/gsturi.h:
3326         Document GstURIHandler
3327
3328 2005-11-09  Wim Taymans  <wim@fluendo.com>
3329
3330         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3331         (gst_iterator_find_custom):
3332         * gst/gstiterator.h:
3333         Fix iterator docs.
3334
3335 2005-11-09  Wim Taymans  <wim@fluendo.com>
3336
3337         * gst/gstbin.h:
3338         Document another field.
3339
3340         * gst/gststructure.c:
3341         * gst/gststructure.h:
3342         Document.
3343
3344 2005-11-09  Wim Taymans  <wim@fluendo.com>
3345
3346         * gst/gstbin.h:
3347         Documented structs.
3348
3349 2005-11-09  Wim Taymans  <wim@fluendo.com>
3350
3351         * docs/gst/gstreamer-sections.txt:
3352         Added some new macros.
3353
3354         * gst/gstclock.c:
3355         * gst/gstclock.h:
3356         * gst/gstobject.h:
3357         Docs updates.
3358
3359 2005-11-09  Wim Taymans  <wim@fluendo.com>
3360
3361         * docs/design/part-TODO.txt:
3362         Some more items for the TODO
3363
3364         * gst/gstcaps.c:
3365         * gst/gstcaps.h:
3366         Document GstCaps.
3367
3368 2005-11-09  Andy Wingo  <wingo@pobox.com>
3369
3370         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3371         to work on something else now tho...
3372
3373         * gst/base/gstadapter.c: More adapter docs.
3374
3375         * gst/elements/gstfilesink.c (gst_file_sink_start) 
3376         (gst_file_sink_stop): New functions, replace the state change
3377         handler.
3378         (gst_file_sink_class_init): Hook up the start and stop functions.
3379         (gst_file_sink_base_init): Don't set the state change handler any
3380         more. It was a bit ugly too, being set from here...
3381         (gst_file_sink_get_property, gst_file_sink_set_property):
3382         Cleanups...
3383         (gst_file_sink_set_location): More robust check that doesn't call
3384         GST_STATE. Ugggggg.
3385
3386 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
3387
3388         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3389           Hold STREAM_LOCK while pushing newsegment or tag events as well.
3390
3391 2005-11-08  Wim Taymans  <wim@fluendo.com>
3392
3393         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3394         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3395         (gst_base_sink_chain), (gst_base_sink_change_state):
3396         * gst/base/gstbasesink.h:
3397         * gst/base/gstbasesrc.h:
3398         * gst/gstelement.h:
3399         * gst/gstevent.h:
3400         Avoid excessive typechecking in macros.
3401
3402         * gst/gstminiobject.c: (gst_mini_object_get_type),
3403         (gst_mini_object_init), (gst_mini_object_new),
3404         (gst_mini_object_free):
3405         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3406         (gst_object_finalize):
3407         Remove cruft code, optimize alloc_trace.
3408
3409 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3410
3411         * docs/faq/gst-uninstalled:
3412           fix up PS1 for systems that try to reset it
3413
3414 2005-11-07  Wim Taymans  <wim@fluendo.com>
3415
3416         * gst/base/gstbasesrc.c: (gst_base_src_init),
3417         (gst_base_src_get_range):
3418         Set the segment_end to -1 initially. Fixed typefind.
3419
3420 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3421
3422         * gst/base/gstadapter.c:
3423           Debug category should be 'adapter', not 'GstAdapter'.
3424           
3425         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3426         (gst_collectpads_class_init), (gst_collectpads_init),
3427         (gst_collectpads_peek), (gst_collectpads_pop),
3428         (gst_collectpads_event), (gst_collectpads_chain):
3429           Add debug category and some debugging output. Use boilerplate
3430           macros. Remove some extraneous words from docs.
3431
3432 2005-11-05  Andy Wingo  <wingo@pobox.com>
3433
3434         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3435         macro.
3436
3437 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3438
3439         * docs/gst/gstreamer-sections.txt:
3440         * gst/gstcaps.h:
3441         * gst/gstinfo.c:
3442         * gst/gstminiobject.h:
3443         * gst/gstobject.h:
3444         * gst/gstutils.h:
3445           more docs added
3446
3447 2005-11-04  Wim Taymans  <wim@fluendo.com>
3448
3449         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3450         Small update to stop at the configured segment_end
3451         position.
3452
3453 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3454
3455         * gst/gstregistry.c:
3456         * gst/gstregistry.h:
3457           added missing docs
3458
3459 2005-11-04  Edward Hervey  <edward@fluendo.com>
3460
3461         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3462         Check if we are doing a segment seek and have arrived at the
3463         end of that segment.
3464
3465 2005-11-04  Wim Taymans  <wim@fluendo.com>
3466
3467         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3468         Don't leak a mutex unlock in case of an error.
3469
3470         * gst/gstbus.h:
3471         Doc fixes.
3472
3473 2005-11-04  Wim Taymans  <wim@fluendo.com>
3474
3475         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3476         (gst_bus_post):
3477         Get the context to wake up only once.
3478
3479 2005-11-03  Wim Taymans  <wim@fluendo.com>
3480
3481         * check/states/sinks.c: (GST_START_TEST):
3482         Uncomment fixed check.
3483
3484         * docs/design/part-TODO.txt:
3485         Updated TODO.
3486
3487         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3488         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3489         (gst_base_sink_get_position):
3490         If we are going to PLAYING, post the right pending state
3491         when we post the intermediate paused message.
3492
3493         * gst/gstelement.c: (gst_element_continue_state),
3494         (gst_element_set_state_func), (gst_element_change_state):
3495         Don't post state changes that were between the same state
3496         and were not ASYNC.
3497
3498 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3499
3500         * docs/gst/gstreamer-sections.txt:
3501         * gst/gstcaps.h:
3502         * gst/gstinfo.c:
3503         * gst/gstminiobject.h:
3504         * gst/gstobject.h:
3505         * gst/gstutils.h:
3506           more docs and doc style fixes
3507
3508 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3509
3510         * docs/gst/gstreamer-sections.txt:
3511         * gst/gstelement.c:
3512         * gst/gstminiobject.c:
3513         doc fixes
3514
3515 2005-11-03  Andy Wingo  <wingo@pobox.com>
3516
3517         * check/states/sinks.c (test_livesrc_sink): Add checks that the
3518         state-changed messages actually have the right order and the right
3519         values.
3520
3521 2005-11-03  Wim Taymans  <wim@fluendo.com>
3522
3523         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3524         Added some more checks. Specifically the case where NO_PREROLL
3525         elements are in the pipeline.
3526
3527         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3528         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3529         (gst_base_sink_get_position):
3530         Post READY->PAUSED state change messages too.
3531         Fix bug where VOID was posted as pending state...
3532
3533         * gst/gstbin.c: (gst_bin_recalc_state):
3534         use _element_continue_state() to continue the state change.
3535
3536         * gst/gstelement.c: (gst_element_continue_state),
3537         (gst_element_commit_state), (gst_element_set_state_func),
3538         (gst_element_change_state), (gst_element_change_state_func):
3539         Lots of state change cleanups, assign the STATE_RETURN in
3540         a new continue_state() function that also propagates the
3541         last return value from a state change to the app.
3542         Update some debug statements with proper category.
3543
3544 2005-11-03  Wim Taymans  <wim@fluendo.com>
3545
3546         * docs/design/part-events.txt:
3547         * docs/design/part-gstpipeline.txt:
3548         * docs/design/part-messages.txt:
3549         * docs/design/part-overview.txt:
3550         * docs/design/part-seeking.txt:
3551         * docs/design/part-states.txt:
3552         * docs/design/part-trickmodes.txt:
3553         * docs/manual/advanced-position.xml:
3554         Small docs updates.
3555
3556         * gst/gstobject.h:
3557         People think !! is ugly, this looks better.
3558
3559         * gst/gstpad.c: (gst_pad_set_blocked_async):
3560         Remove !! since it's fixed elsewhere now.
3561
3562 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3563
3564         * gst/gstminiobject.h:
3565         * gst/gstobject.h:
3566           Add !! to _FLAG_IS_SET macros to make the result boolean.
3567
3568 2005-11-03  Edward Hervey  <edward@fluendo.com>
3569
3570         * gst/gstpad.c: (gst_pad_set_blocked_async):
3571         comparing a flag and a gboolean rarely returns coherent results...
3572         Added two characters (!!) to make that work correctly.
3573         
3574 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3575
3576         * gst/gstbus.c: (gst_bus_class_init):
3577           Fix some typos.
3578           
3579         * gst/gstqueue.c: (gst_queue_loop):
3580           Don't assume a miniobject that isn't a buffer is an
3581           event (it could be that there is a refcounting
3582           problem somewhere and the pointer is stale and
3583           refers to an already destroyed miniobject).
3584
3585 2005-11-03  Julien MOUTTE  <julien@moutte.net>
3586
3587         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3588
3589 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3590
3591         * docs/manual/advanced-position.xml:
3592           Update seek example and explanations to current 0.9 API.
3593
3594         * gst/elements/gsttypefindelement.c:
3595         (gst_type_find_element_activate):
3596           Remove FIXME comment now that the found caps
3597           are unreffed.
3598
3599 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3600
3601         * gst/gstregistryxml.c: (load_feature):
3602           Add another GST_STR_NULL instance
3603
3604 2005-11-02  Edward Hervey  <edward@fluendo.com>
3605
3606         * gst/gstpad.c: (handle_pad_block):
3607         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3608         
3609 2005-11-02  Wim Taymans  <wim@fluendo.com>
3610
3611         * gst/gstbin.c:
3612         Fix typo in docs.
3613
3614         * gst/gstelement.c: (gst_element_commit_state):
3615         Remove unused value.
3616
3617         * gst/gstiterator.c:
3618         Mention that the returned element is reffed in the docs.
3619
3620 2005-11-02  Wim Taymans  <wim@fluendo.com>
3621
3622         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3623         (gst_pad_push), (gst_pad_push_event):
3624         Unlock blocked pads when they are flushed.
3625
3626 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3627
3628         * docs/README:
3629         * docs/gst/gstreamer-sections.txt:
3630         * gst/gstbin.c:
3631           doc updates
3632         * gst/gstregistry.c: (gst_registry_scan_path_level):
3633           fix for a nasty little missed situation where an installed plug-in
3634           which was in the cache did not get overridden by an uninstalled one
3635           which was earlier in the plugin path because the newly created plugin
3636           for the uninstalled one (not in the registry) didn't get its
3637           ->registered set to TRUE
3638
3639 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3640
3641         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3642         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3643         (gst_collectpads_is_active), (gst_collectpads_collect),
3644         (gst_collectpads_collect_range), (gst_collectpads_start),
3645         (gst_collectpads_stop), (gst_collectpads_peek),
3646         (gst_collectpads_pop), (gst_collectpads_available),
3647         (gst_collectpads_read), (gst_collectpads_flush):
3648           Guard public API with assertions.
3649         
3650         * gst/gstpad.c:
3651           Fix docs for gst_pad_set_link_function().
3652
3653 2005-11-02  Johan Dahlin  <johan@gnome.org>
3654
3655         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3656         Unref found_caps after we used it.
3657
3658 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3659
3660         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3661           Don't try to ref NULL.
3662
3663 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3664
3665         * win32/common/config.h.in:
3666           provide a GST_FUNCTION that just gives a string for now
3667
3668 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3669
3670         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3671         (gst_object_flags_get_type), (register_gst_bin_flags),
3672         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3673         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3674         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3675         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3676         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3677         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3678         (gst_clock_flags_get_type), (register_gst_state),
3679         (gst_state_get_type), (register_gst_state_change_return),
3680         (gst_state_change_return_get_type), (register_gst_state_change),
3681         (gst_state_change_get_type), (register_gst_element_flags),
3682         (gst_element_flags_get_type), (register_gst_core_error),
3683         (gst_core_error_get_type), (register_gst_library_error),
3684         (gst_library_error_get_type), (register_gst_resource_error),
3685         (gst_resource_error_get_type), (register_gst_stream_error),
3686         (gst_stream_error_get_type), (register_gst_event_type),
3687         (gst_event_type_get_type), (register_gst_seek_type),
3688         (gst_seek_type_get_type), (register_gst_seek_flags),
3689         (gst_seek_flags_get_type), (register_gst_format),
3690         (gst_format_get_type), (register_gst_index_certainty),
3691         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3692         (gst_index_entry_type_get_type),
3693         (register_gst_index_lookup_method),
3694         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3695         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3696         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3697         (gst_index_flags_get_type), (register_gst_debug_level),
3698         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3699         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3700         (gst_iterator_result_get_type), (register_gst_iterator_item),
3701         (gst_iterator_item_get_type), (register_gst_message_type),
3702         (gst_message_type_get_type), (register_gst_mini_object_flags),
3703         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3704         (gst_pad_link_return_get_type), (register_gst_flow_return),
3705         (gst_flow_return_get_type), (register_gst_activate_mode),
3706         (gst_activate_mode_get_type), (register_gst_pad_direction),
3707         (gst_pad_direction_get_type), (register_gst_pad_flags),
3708         (gst_pad_flags_get_type), (register_gst_pad_presence),
3709         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3710         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3711         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3712         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3713         (gst_plugin_flags_get_type), (register_gst_rank),
3714         (gst_rank_get_type), (register_gst_query_type),
3715         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3716         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3717         (gst_tag_flag_get_type), (register_gst_task_state),
3718         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3719         (gst_alloc_trace_flags_get_type),
3720         (register_gst_type_find_probability),
3721         (gst_type_find_probability_get_type), (register_gst_uri_type),
3722         (gst_uri_type_get_type), (register_gst_parse_error),
3723         (gst_parse_error_get_type):
3724         * win32/common/gstversion.h:
3725           update win32 copies
3726
3727 2005-11-01  Luca Ognibene  <luogni@tin.it>
3728
3729         * gst/gst.c:
3730           fix docs. popt is dead, long live GOption.
3731
3732 2005-10-31  Wim Taymans  <wim@fluendo.com>
3733
3734         * gst/gstbuffer.h:
3735         Small doc fix.
3736
3737 2005-10-31  Andy Wingo  <wingo@pobox.com>
3738
3739         * Boo!
3740
3741         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3742
3743         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3744         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3745         the possibility of deadlocks here if code calling notify() or
3746         set() has a lock that can be taken in another notify handler (ABBA
3747         with class lock and e.g. python GIL state lock).
3748
3749 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3750
3751         * gst/gstbus.c: Doc updates.
3752
3753 2005-10-28  Wim Taymans  <wim@fluendo.com>
3754
3755         * docs/design/part-TODO.txt:
3756         * gst/gstiterator.c:
3757         * gst/gstsystemclock.c:
3758         * gst/gstsystemclock.h:
3759         Doc updates.
3760
3761 2005-10-28  Edward Hervey  <edward@fluendo.com>
3762
3763         * docs/gst/gstreamer-docs.sgml:
3764         * docs/gst/gstreamer-sections.txt:
3765         the GstURIType documentation page is private, it only defines GstURIType
3766         which should be defined in the GstURIHandler page
3767         
3768 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3769
3770         * gst/gstbin.c: (gst_bin_class_init):
3771         * gst/gstbin.h:
3772         * gst/gstutils.c:
3773         Documentation updates.
3774
3775 2005-10-28  Wim Taymans  <wim@fluendo.com>
3776
3777         * docs/gst/gstreamer-sections.txt:
3778         * gst/gstclock.c:
3779         * gst/gstclock.h:
3780         Documented the clocks.
3781
3782 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3783
3784         * docs/gst/gstreamer-sections.txt:
3785           move some macros to private sections
3786         * gst/gstminiobject.c:
3787         * gst/gstminiobject.h:
3788           add descriptions provided by ds and some more
3789         * gst/gstpad.h:
3790           mark macro as to be removed
3791
3792 2005-10-28  Wim Taymans  <wim@fluendo.com>
3793
3794         * docs/design/part-TODO.txt:
3795         Add an item to TODO.
3796
3797         * gst/gstiterator.c: (gst_iterator_fold),
3798         (gst_iterator_find_custom):
3799         * gst/gstiterator.h:
3800         Add iterator docs.
3801
3802 2005-10-28  Wim Taymans  <wim@fluendo.com>
3803
3804         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3805         (gst_base_transform_init):
3806         Don't leak class.
3807
3808         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3809         An EOS event marks the queue as completely filled.
3810
3811 2005-10-27  Wim Taymans  <wim@fluendo.com>
3812
3813         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3814         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3815         Some more debugging.
3816
3817         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3818         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3819         (gst_base_transform_event), (gst_base_transform_getrange),
3820         (gst_base_transform_chain):
3821         * gst/base/gstbasetransform.h:
3822         Fix debugging,
3823         Protect transform and concurrent buffer alloc with a new lock.
3824         Try not to break ABI/API.
3825
3826 2005-10-27  Wim Taymans  <wim@fluendo.com>
3827
3828         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3829         (gst_base_src_init), (gst_base_src_query),
3830         (gst_base_src_default_newsegment),
3831         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3832         (gst_base_src_send_event), (gst_base_src_event_handler),
3833         (gst_base_src_pad_get_range), (gst_base_src_loop),
3834         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3835         (gst_base_src_start), (gst_base_src_deactivate),
3836         (gst_base_src_activate_push), (gst_base_src_change_state):
3837         Move some stuff around and cleanup things.
3838
3839 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3840
3841         * gst/base/gstbasesrc.c: (gst_base_src_query):
3842           Add missing break statements.
3843
3844 2005-10-27  Wim Taymans  <wim@fluendo.com>
3845
3846         * check/gst/gstbin.c: (GST_START_TEST):
3847         An extra refcount is taken in basesrc.
3848
3849         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3850         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3851         (gst_base_src_loop):
3852         Small cleanups, check for flushing after being unlocked from the 
3853         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3854         Don't send out EOS when going to READY.
3855
3856 2005-10-27  Wim Taymans  <wim@fluendo.com>
3857
3858         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3859         (gst_base_sink_get_position):
3860         Some more debug.
3861
3862         * gst/gstbin.c: (message_check), (bin_replace_message),
3863         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3864         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3865         (bin_query_duration_init), (bin_query_duration_fold),
3866         (bin_query_duration_done), (bin_query_generic_fold),
3867         (gst_bin_query):
3868         * tools/gst-launch.c: (main):
3869         Remove old option.
3870
3871 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3872
3873         * examples/controller/audio-example.c: (main):
3874         * examples/queue/queue.c: (event_loop):
3875         * gst/base/gstbasetransform.h:
3876         * gst/gstelement.c: (gst_element_send_event):
3877         * gst/gstevent.h:
3878         * gst/gstpad.c: (gst_pad_send_event):
3879           fixing examples
3880           fixing docs typos
3881           changing log priority in error situations
3882
3883 2005-10-25  Wim Taymans  <wim@fluendo.com>
3884
3885         * gst/gstbin.c: (message_check), (bin_replace_message),
3886         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3887         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3888         (bin_query_duration_init), (bin_query_duration_fold),
3889         (bin_query_duration_done), (bin_query_generic_fold),
3890         (gst_bin_query):
3891         Some doc and debug updates.
3892         Cache previously requested query DURATION for speed. invalidate
3893         cached duration if element posts a DURATION message.
3894
3895 2005-10-25  Wim Taymans  <wim@fluendo.com>
3896
3897         * docs/design/part-TODO.txt:
3898         Update TODO.
3899
3900         * gst/gstbin.c: (message_check), (bin_replace_message),
3901         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3902         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3903         (bin_query_duration_init), (bin_query_duration_fold),
3904         (bin_query_duration_done), (bin_query_generic_fold),
3905         (gst_bin_query):
3906         Handle SEGMENT_START/DONE messages correctly.
3907         More evolved query algorithm that handles duration queries
3908         correctly.
3909
3910         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3911         (gst_element_get_state_func), (gst_element_abort_state),
3912         (gst_element_commit_state), (gst_element_lost_state):
3913         Some more debugging.
3914
3915         * gst/gstmessage.h:
3916         Added doc.
3917
3918 2005-10-25  Wim Taymans  <wim@fluendo.com>
3919
3920         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3921         Don't use invalid stream_time.
3922
3923         * gst/gstevent.c: (gst_event_new_newsegment):
3924         stream_time in newsegment cannot be undefined.
3925
3926 2005-10-24  Wim Taymans  <wim@fluendo.com>
3927
3928         * gst/gstbus.c:
3929         Doc fix.
3930
3931         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3932         (gst_queue_loop):
3933         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3934
3935 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3936
3937         * docs/libs/tmpl/gstdparam.sgml:
3938         * docs/libs/tmpl/gstdplinint.sgml:
3939         * docs/libs/tmpl/gstdpman.sgml:
3940         * docs/libs/tmpl/gstdpsmooth.sgml:
3941         * docs/libs/tmpl/gstunitconvert.sgml:
3942           these are obsolete
3943
3944 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3945
3946         * configure.ac:
3947           back to HEAD
3948
3949 === release 0.9.4 ===
3950
3951 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3952
3953         * configure.ac:
3954           releasing 0.9.4, "Tyrannosaurus Rex"
3955
3956 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3957
3958         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3959         (gst_file_sink_get_current_offset):
3960           Use fseeko() and ftello() if available. When falling back on
3961           lseek() to get the current offset, fflush() first to make sure
3962           everything is up-to-date and we get the right offset.
3963
3964 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3965
3966         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3967         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3968         * gst/gsterror.c: (_gst_stream_errors_init):
3969         * gst/gsterror.h:
3970         * gst/gstqueue.c: (gst_queue_loop):
3971         * po/POTFILES.in:
3972           remove prematurely added error category and clean up the instances
3973
3974 2005-10-21  Wim Taymans  <wim@fluendo.com>
3975
3976         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3977         (gst_base_sink_get_position), (gst_base_sink_query),
3978         (gst_base_sink_change_state):
3979         Simply set the right flag when going to playing, that's all
3980         we need to do instead of calling a function inside the object
3981         lock (that could take the lock as well and deadlock)
3982
3983 2005-10-21  Wim Taymans  <wim@fluendo.com>
3984
3985         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3986         (gst_base_src_loop):
3987         Don't warn, the peer element knows what to do best when
3988         the seek failed, it might try something else.
3989
3990 2005-10-21  Wim Taymans  <wim@fluendo.com>
3991
3992         * gst/base/gstbasesrc.c: (gst_base_src_init),
3993         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3994         Fix seeking.
3995
3996 2005-10-21  Wim Taymans  <wim@fluendo.com>
3997
3998         * docs/design/part-segments.txt:
3999         More docs.
4000
4001         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4002         Correctly set caps, even on the subbufer.
4003
4004 2005-10-21  Wim Taymans  <wim@fluendo.com>
4005
4006         * docs/gst/gstreamer-docs.sgml:
4007         * docs/gst/gstreamer-sections.txt:
4008         * gst/gstelement.h:
4009         * gst/gstevent.c:
4010         * gst/gstevent.h:
4011         * gst/gstmessage.h:
4012         * gst/gstpad.h:
4013         * gst/gstparse.h:
4014         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
4015         * gst/gsttask.h:
4016         * gst/gstutils.c:
4017         * gst/gstutils.h:
4018         And 2% more doc coverage.
4019
4020 2005-10-21  Andy Wingo  <wingo@pobox.com>
4021
4022         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
4023         position reporting.
4024
4025 2005-10-20  Wim Taymans  <wim@fluendo.com>
4026
4027         * gst/gsterror.c: (gst_error_get_message):
4028         * gst/gstparse.h:
4029         * gst/gstquery.h:
4030         * gst/gststructure.c:
4031         * gst/gsttrace.c:
4032         * gst/gstutils.c:
4033         More docs.
4034
4035 2005-10-20  Wim Taymans  <wim@fluendo.com>
4036
4037         * gst/gstbuffer.h:
4038         * gst/gstpad.c:
4039         * gst/gstparse.c:
4040         Another 1% more coverage.
4041
4042 2005-10-20  Wim Taymans  <wim@fluendo.com>
4043
4044         * docs/gst/gstreamer-sections.txt:
4045         * gst/gstelement.c: (gst_element_get_state_func),
4046         (gst_element_abort_state), (gst_element_commit_state),
4047         (gst_element_lost_state):
4048         * gst/gstevent.h:
4049         * gst/gstquery.c: (gst_query_set_position),
4050         (gst_query_parse_position), (gst_query_set_duration),
4051         (gst_query_parse_duration), (gst_query_new_convert):
4052         * gst/gstutils.c:
4053         Yay! 1% more docs coverage.
4054
4055 2005-10-20  Wim Taymans  <wim@fluendo.com>
4056
4057         * gst/gstpad.h:
4058         * gst/gstquery.c: (gst_query_set_position),
4059         (gst_query_parse_position), (gst_query_set_duration),
4060         (gst_query_parse_duration), (gst_query_new_convert):
4061         * gst/gstquery.h:
4062         * gst/gstutils.c: (gst_element_query_convert):
4063         * gst/gstutils.h:
4064         Docs and consistency fixes.
4065
4066 2005-10-20  Wim Taymans  <wim@fluendo.com>
4067
4068         * gst/gsttask.c:
4069         * gst/gsttask.h:
4070         More docs.
4071
4072 2005-10-20  Wim Taymans  <wim@fluendo.com>
4073
4074         * gst/gstbin.c: (message_check), (bin_replace_message),
4075         (bin_remove_messages), (is_eos), (gst_bin_add_func),
4076         (update_degree), (gst_bin_sort_iterator_next),
4077         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
4078         Reworked the message handling a bit, cache the messages instead of
4079         only the senders. alows us to do more in the future.
4080
4081 2005-10-20  Wim Taymans  <wim@fluendo.com>
4082
4083         * docs/design/part-TODO.txt:
4084         Update TODO
4085
4086         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4087         (gst_base_sink_query):
4088         Don't use clock time to report position when in EOS.
4089
4090 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
4091
4092         * tools/gst-inspect.c: (print_interfaces),
4093         (print_element_properties_info), (print_element_info):
4094           Fix interface output with gst-inspect -a; don't print
4095           newlines after double/float properties.
4096
4097 2005-10-20  Wim Taymans  <wim@fluendo.com>
4098
4099         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4100         (gst_base_sink_query):
4101         Speed up current position calculation.
4102
4103         * gst/base/gstbasesrc.c: (gst_base_src_query),
4104         (gst_base_src_default_newsegment):
4105         Correctly set stream position in newsegment.
4106
4107         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
4108         (update_degree), (gst_bin_sort_iterator_next),
4109         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
4110         * gst/gstmessage.c: (gst_message_new_custom):
4111         Clean up debugging info
4112
4113         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4114         (gst_queue_loop), (gst_queue_handle_src_query):
4115         Pause task faster.
4116
4117 2005-10-19  Wim Taymans  <wim@fluendo.com>
4118
4119         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4120         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4121         Fix query handling again.
4122
4123 2005-10-19  Wim Taymans  <wim@fluendo.com>
4124
4125         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4126         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4127         * gst/base/gstbasesrc.c: (gst_base_src_query):
4128         * gst/elements/gstfilesink.c: (gst_file_sink_query):
4129         * gst/elements/gsttypefindelement.c:
4130         (gst_type_find_handle_src_query), (find_element_get_length),
4131         (gst_type_find_element_activate):
4132         API change fix.
4133
4134         * gst/gstquery.c: (gst_query_new_position),
4135         (gst_query_set_position), (gst_query_parse_position),
4136         (gst_query_new_duration), (gst_query_set_duration),
4137         (gst_query_parse_duration), (gst_query_set_segment),
4138         (gst_query_parse_segment):
4139         * gst/gstquery.h:
4140         Bundling query position/duration is not a good idea since duration
4141         does not change much and we don't want to recalculate it for every
4142         position query, so they are separated again..
4143         Base value in segment query is not needed.
4144
4145         * gst/gstqueue.c: (gst_queue_handle_src_query):
4146         * gst/gstutils.c: (gst_element_query_position),
4147         (gst_element_query_duration), (gst_pad_query_position),
4148         (gst_pad_query_duration):
4149         * gst/gstutils.h:
4150         Updates for query API change.
4151         Added some docs here and there.
4152
4153 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
4154
4155         * check/gst/gstbin.c: (GST_START_TEST):
4156         * check/gst/gstghostpad.c: (GST_START_TEST):
4157         * check/pipelines/cleanup.c: (GST_START_TEST):
4158           wait on thread to die so we can check refcount correctly
4159
4160 2005-10-18  Wim Taymans  <wim@fluendo.com>
4161
4162         * check/pipelines/stress.c: (GST_START_TEST):
4163         Make check a little more time consuming.
4164
4165 2005-10-18  Wim Taymans  <wim@fluendo.com>
4166
4167         * check/Makefile.am:
4168         * check/pipelines/stress.c: (GST_START_TEST),
4169         (simple_launch_lines_suite), (main):
4170         Small state change torture test.
4171
4172         * docs/design/part-states.txt:
4173         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4174         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
4175         (gst_base_sink_change_state):
4176         Never take state lock from streaming thread, clean up ugly
4177         hacks. Unfortunatly core does not yet support nice ways to
4178         async commit state.
4179         
4180         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
4181         (bin_bus_handler):
4182         Start state recalc if a STATE_DIRTY message is posted, but only
4183         on the toplevel bin.
4184
4185         * gst/gstelement.c: (gst_element_sync_state_with_parent),
4186         (gst_element_get_state_func), (gst_element_abort_state),
4187         (gst_element_commit_state), (gst_element_lost_state),
4188         (gst_element_set_state_func), (gst_element_change_state):
4189         * gst/gstelement.h:
4190         State variables are now protected with the LOCK, the state
4191         lock is only used to serialize _set_state().
4192
4193 2005-10-18  Wim Taymans  <wim@fluendo.com>
4194
4195         * check/gst/gstbin.c: (GST_START_TEST):
4196         * check/gst/gstmessage.c: (GST_START_TEST):
4197         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4198         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
4199         (bin_bus_handler):
4200         * gst/gstelement.c: (gst_element_abort_state),
4201         (gst_element_commit_state), (gst_element_lost_state):
4202         * gst/gstmessage.c: (gst_message_new_state_changed),
4203         (gst_message_new_state_dirty), (gst_message_new_segment_start),
4204         (gst_message_new_segment_done), (gst_message_new_duration),
4205         (gst_message_parse_state_changed),
4206         (gst_message_parse_segment_start),
4207         (gst_message_parse_segment_done), (gst_message_parse_duration):
4208         * gst/gstmessage.h:
4209         * tools/gst-launch.c: (event_loop):
4210         Seriously, this is better than a previous commit as we only need
4211         to notify the fact that an element changed state in a streaming
4212         thread, marking the state of the parents dirty, hence the 
4213         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
4214         message.
4215
4216 2005-10-18  Wim Taymans  <wim@fluendo.com>
4217
4218         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4219         (gst_bin_recalc_func):
4220         * gst/gstelement.c: (gst_element_set_clock),
4221         (gst_element_abort_state), (gst_element_lost_state):
4222         Cleanups, prepare for state change fixes.
4223
4224 2005-10-18  Wim Taymans  <wim@fluendo.com>
4225
4226         * gst/gstbin.h:
4227         * gst/gstelement.c: (gst_element_class_init),
4228         (gst_element_set_state), (gst_element_set_state_func):
4229         * gst/gstelement.h:
4230         Pending ABI changes.
4231         GThreadPool in GstBinClass to monitor async state changes.
4232         state_cookie in GstElement to detect concurrent gst/set state.
4233         set_state is now virtual too in case a very complicated element
4234         has to be constructed.
4235
4236 2005-10-18  Wim Taymans  <wim@fluendo.com>
4237
4238         * check/gst/gstbin.c: (GST_START_TEST):
4239         * check/gst/gstmessage.c: (GST_START_TEST):
4240         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4241         * gst/gstbin.c: (bin_bus_handler):
4242         * gst/gstelement.c: (gst_element_commit_state),
4243         (gst_element_lost_state):
4244         * gst/gstmessage.c: (gst_message_new_state_changed),
4245         (gst_message_new_segment_start), (gst_message_new_segment_done),
4246         (gst_message_new_duration), (gst_message_parse_state_changed),
4247         (gst_message_parse_segment_start),
4248         (gst_message_parse_segment_done), (gst_message_parse_duration):
4249         * gst/gstmessage.h:
4250         * tools/gst-launch.c: (event_loop):
4251         Make messages future proof.
4252         state-change gets a flag if it was a message comming from the
4253         streaming thread.
4254         segment-start/stop can also be specified in other formats.
4255         A message to notify an app that a pipeline changed playback 
4256         duration.
4257         Also fix a GstMessage leak in -launch
4258
4259 2005-10-18  Andy Wingo  <wingo@pobox.com>
4260
4261         * gst/gstelement.c (gst_element_dispose): More helpful message.
4262
4263 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4264
4265         reviewed by: <delete if not using a buddy>
4266
4267         * common/gtk-doc.mak:
4268
4269 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4270
4271         * gst/gstregistry.c: (gst_registry_scan_path_level):
4272           unref a plug-in we get that was already initialized
4273
4274 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
4275
4276         * docs/gst/gstreamer-sections.txt:
4277         * docs/libs/gstreamer-libs-sections.txt:
4278         * gst/gstelement.h:
4279           add new api entries
4280           hide internal macro
4281
4282 2005-10-17  Andy Wingo  <wingo@pobox.com>
4283
4284         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4285         cleanup.
4286
4287         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4288
4289         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4290
4291         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4292         (gst_element_get_state_func): Better debug message.
4293         (gst_element_commit_state): s/INFO/DEBUG/.
4294         (gst_element_lost_state, gst_element_change_state): 
4295
4296         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4297         (gst_message_new_custom): s/INFO/LOG/.
4298
4299 2005-10-17  Michael Smith <msmith@fluendo.com>
4300
4301         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4302           Check if end time is valid using end time, not start time.
4303
4304 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
4305
4306         * check/gst-libs/controller.c: (GST_START_TEST),
4307         (gst_controller_suite):
4308         * libs/gst/controller/gstcontroller.c:
4309         (gst_controlled_property_set_interpolation_mode):
4310         * libs/gst/controller/gstcontroller.h:
4311         * libs/gst/controller/gstinterpolation.c:
4312         * testsuite/controller/.cvsignore:
4313         * testsuite/controller/Makefile.am:
4314         * testsuite/controller/interpolator.c:
4315           merge controller testsuites
4316           fix broken tests
4317           remove mem-chunk from docs
4318
4319 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4320
4321         * gst/gstmemchunk.c:
4322         * gst/gstmemchunk.h:
4323         * gst/gsttrashstack.c:
4324         * gst/gsttrashstack.h:
4325           out.  get out.  you're fired.  to the Attic !
4326
4327 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4328
4329         * gst/gstcaps.c: (gst_caps_intersect):
4330           fix signedness issues in a (hopefully) correct way
4331         * gst/gstelement.c: (gst_element_pads_activate):
4332           some debugging
4333         * gst/gstobject.c: (gst_object_set_parent):
4334           some debugging
4335
4336 2005-10-17  Julien MOUTTE  <julien@moutte.net>
4337
4338         * gst/gstvalue.h: Fix prototypes.
4339
4340 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4341
4342         * docs/gst/gstreamer-sections.txt:
4343         * gst/gst.c: (gst_version_string):
4344         * gst/gst.h:
4345         * gst/gstversion.h.in:
4346         * win32/common/libgstreamer.def:
4347           add gst_version_string ()
4348
4349 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4350
4351         * configure.ac:
4352           clean up further
4353         * gst/gst.c: (init_post):
4354         * win32/common/config.h.in:
4355           it's PLUGINDIR now
4356         * gst/gstcaps.c: (gst_caps_intersect):
4357           use gint64, the range could be bigger than a guint
4358
4359 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4360
4361         * gst/gstclock.h:
4362           document potential problem in 2038
4363
4364 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4365
4366         * gst/gstcaps.c: (gst_caps_intersect):
4367           Fix guint j diving under 0
4368
4369 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4370
4371         * configure.ac:
4372         * win32/common/config.h:
4373         * win32/common/config.h.in:
4374           check for process.h, declares getpid() on Windows
4375         * gst/gstinfo.c:
4376           include process.h if we have it
4377         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4378         * gst/gstmemchunk.h:
4379           fix signedness issues
4380         * win32/common/libgstreamer.def:
4381           fix get_type's
4382
4383 2005-10-16  Julien MOUTTE  <julien@moutte.net>
4384
4385         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4386         fix. Because of unsigned ints, caps intersection was going nuts and
4387         trying to access structures with G_MAXUINT index. That fixes
4388         videotestsrc ! ffmpegcolorspace ! fakesink
4389         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4390         consistency.
4391
4392 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4393
4394         * configure.ac:
4395           use the gettext macro
4396         * gst/elements/gstelements.c:
4397         * gst/gst.c:
4398         * gst/indexers/gstindexers.c:
4399           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4400         * win32/common/config.h:
4401           updated config.h
4402         * win32/common/config.h.in:
4403           add the template to generate config.h
4404         * win32/common/gstenumtypes.c:
4405         * win32/common/gstversion.h:
4406           updated copies
4407
4408 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4409
4410         * gst/gst.c: (gst_version):
4411         * gst/gstversion.h.in:
4412           add the nano
4413
4414 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4415
4416         * gst/gstevent.h:
4417           Oops, add missing closing bracket.
4418
4419 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4420
4421         * configure.ac:
4422           use common m4's for argument checking
4423
4424 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4425
4426         * docs/gst/gstreamer-sections.txt:
4427         * gst/gstevent.h:
4428           Add GST_EVENT_TYPE_NAME() macro.
4429
4430 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4431
4432         * gst/gstinfo.c:
4433         * gst/gstpluginfeature.c:
4434         * gst/gsttask.c:
4435           privatize more symbols
4436
4437 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4438
4439         * configure.ac:
4440           add srcdir, builddir includes to GST_ALL_CFLAGS, since
4441           everything that uses GStreamer API should have the includes
4442
4443 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4444
4445         * docs/gst/gstreamer-sections.txt:
4446         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4447         * gst/gstvalue.h:
4448           give each value a _get_type, removes the DATA exports
4449
4450 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4451
4452         * gst/gst.c:
4453         * gst/gst.h:
4454           remove _gst_registry_auto_load, not used anymore
4455         * gst/gstbin.c: (gst_bin_get_type):
4456         * gst/gstbin.h:
4457         * gst/gstelement.c: (gst_element_get_type):
4458         * gst/gstelement.h:
4459         * gst/gstobject.c: (gst_object_get_type):
4460         * gst/gstobject.h:
4461         * gst/gstpad.c: (gst_pad_get_type):
4462         * gst/gstpad.h:
4463           make _get_type functions similar, fixes data export from library
4464
4465 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4466
4467         * configure.ac:
4468           correctly make conditionals
4469         * gst/elements/Makefile.am:
4470         * gst/elements/gstelements.c:
4471           fix typo causing fdsrc not to build
4472
4473 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4474
4475         * testsuite/Makefile.am:
4476         * testsuite/bytestream/.cvsignore:
4477         * testsuite/bytestream/Makefile.am:
4478         * testsuite/bytestream/filepadsink.c:
4479         * testsuite/bytestream/gstbstest.c:
4480         * testsuite/bytestream/test1.c:
4481         * testsuite/bytestream/testfile1:
4482         * testsuite/caps/normalisation.c:
4483         * testsuite/caps/random.c: (main):
4484         * testsuite/cleanup/.cvsignore:
4485         * testsuite/cleanup/Makefile.am:
4486         * testsuite/cleanup/cleanup1.c:
4487         * testsuite/cleanup/cleanup2.c:
4488         * testsuite/cleanup/cleanup3.c:
4489         * testsuite/cleanup/cleanup4.c:
4490         * testsuite/cleanup/cleanup5.c:
4491         * testsuite/controller/interpolator.c:
4492         * testsuite/debug/printf_extension.c: (main):
4493         * testsuite/elements/tee.c:
4494         * testsuite/negotiation/.cvsignore:
4495         * testsuite/negotiation/Makefile.am:
4496         * testsuite/negotiation/pad_link.c:
4497         * testsuite/pad/Makefile.am:
4498         * testsuite/pad/chainnopull.c:
4499         * testsuite/pad/getnopush.c:
4500         * testsuite/pad/link.c:
4501         * testsuite/refcounting/sched.c: (create_pipeline):
4502         * testsuite/registry/Makefile.am:
4503         * testsuite/registry/gst-print-formats.c:
4504         * testsuite/schedulers/.cvsignore:
4505         * testsuite/schedulers/142183-2.c:
4506         * testsuite/schedulers/142183.c:
4507         * testsuite/schedulers/143777-2.c:
4508         * testsuite/schedulers/143777.c:
4509         * testsuite/schedulers/147713.c:
4510         * testsuite/schedulers/147819.c:
4511         * testsuite/schedulers/147894-2.c:
4512         * testsuite/schedulers/147894.c:
4513         * testsuite/schedulers/Makefile.am:
4514         * testsuite/schedulers/group_link.c:
4515         * testsuite/schedulers/queue_link.c:
4516         * testsuite/schedulers/relink.c:
4517         * testsuite/schedulers/unlink.c:
4518         * testsuite/schedulers/unref.c:
4519         * testsuite/schedulers/useless_iteration.c:
4520         * testsuite/states/bin.c:
4521           clean out/remove some stuff from the testsuite directories
4522
4523 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4524
4525         * configure.ac:
4526           check for some headers
4527         * gst/elements/Makefile.am:
4528         * gst/elements/gstelements.c:
4529           don't compile fdsrc without sys/socket.h
4530         * gst/indexers/Makefile.am:
4531         * gst/indexers/gstindexers.c: (plugin_init):
4532           don't compile fileindex without mmap
4533
4534 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4535
4536         * configure.ac:
4537           reorganize
4538           clean up
4539           document more
4540           remove cruft
4541         * check/Makefile.am:
4542         * docs/gst/Makefile.am:
4543         * examples/helloworld/Makefile.am:
4544         * gst/Makefile.am:
4545         * gst/base/Makefile.am:
4546         * gst/check/Makefile.am:
4547         * gst/elements/Makefile.am:
4548         * gst/indexers/Makefile.am:
4549         * gst/parse/Makefile.am:
4550         * libs/gst/controller/Makefile.am:
4551         * libs/gst/dataprotocol/Makefile.am:
4552         * examples/helloworld/helloworld.c: (event_loop):
4553           compile fixes, though it's not being compiled currently
4554
4555 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4556
4557         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4558           Add some simple tests for the new taglist date API.
4559
4560 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4561
4562         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4563         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4564           Beautify 'last-message' output: print 'none' for buffer timestamps
4565           and durations if none is set; improve alignment with next messages.
4566
4567 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4568
4569         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4570         * gst/gstpluginfeature.h:
4571         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4572         * gst/gstregistry.h:
4573         * docs/gst/gstreamer-sections.txt:
4574           Add new API to check plugin feature version requirements.
4575
4576         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4577           Some basic tests for the above.         
4578
4579 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4580
4581         * gst/gststructure.c: (gst_structure_to_string):
4582           guard against NULL printf - happens when for example
4583           a message structure with GstClock gets serialized
4584
4585 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4586
4587         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4588           Fix presumable copy'n'pasto.
4589
4590 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4591
4592         * gst/elements/gstfakesrc.h:
4593         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4594         * gst/elements/gsttypefindelement.c:
4595           fix some signedness
4596         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4597           I wonder if this could actually write +2GB files before
4598
4599 2005-10-13  Andy Wingo  <wingo@pobox.com>
4600
4601         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4602         Fix Timmeke Waymans bug.
4603         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4604         string of the proper length to gst_caps_from_string. There's a
4605         potential for, before this fix, that this could cause someone
4606         connecting over the network to cause a segfault if the payload is
4607         not NUL-terminated.
4608
4609 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4610
4611         * docs/design/draft-push-pull.txt:
4612         * docs/design/part-overview.txt:
4613         * docs/random/TODO-pre-0.9:
4614         * docs/random/old/ChangeLog.gstreamer:
4615         * gst/base/gstpushsrc.c:
4616         * gst/gstclock.c:
4617           fixed typos
4618
4619 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4620
4621         * gst/glib-compat.c: (gst_flags_get_first_value):
4622         * gst/glib-compat.h:
4623         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4624         (gst_value_compare_double), (gst_value_serialize_flags):
4625           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4626           infinite loop
4627
4628 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4629
4630         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4631         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4632           fix up debugging
4633         * tools/gst-launch.c: (event_loop):
4634           print out clock nicely
4635
4636 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4637
4638         * docs/gst/gstreamer-sections.txt:
4639         * gst/gsttaglist.h:
4640         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4641         (gst_tag_list_get_date_index):
4642           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4643           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4644
4645 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4646
4647         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4648         (gst_collectpads_chain):
4649         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4650         in CollectData.
4651
4652 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4653
4654         * docs/gst/gstreamer-sections.txt:
4655         * gst/gst.c:
4656         * gst/gsterror.h:
4657         * tools/gst-inspect.c: (main):
4658         * tools/gst-launch.c: (main):
4659         * tools/gst-run.c: (main):
4660         * tools/gst-xmlinspect.c: (main):
4661           fix GOption context leaks
4662           doc fixes
4663
4664 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4665
4666         * gst/gstbus.c:
4667           use HAVE_UNISTD_H
4668         * win32/common/config.h:
4669           update config
4670         * win32/vs6/grammar.dsp:
4671         * win32/vs6/libgstelements.dsp:
4672         * win32/vs6/libgstreamer.dsp:
4673           update vs6 files
4674
4675 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4676
4677         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4678         * gst/base/gstbasesrc.c: (gst_base_src_query):
4679           fix more guint64<->gdouble conversions
4680
4681 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4682
4683         * Makefile.am:
4684           add win32-update target
4685         * win32/common/gstconfig.h:
4686         * win32/common/gstenumtypes.c:
4687         * win32/common/gstenumtypes.h:
4688         * win32/common/gstversion.h:
4689           add files that visual studio can't generate
4690
4691 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4692
4693         * Makefile.am:
4694           add a win32-update target
4695         * configure.ac:
4696
4697 2005-10-12  Wim Taymans  <wim@fluendo.com>
4698
4699         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4700         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4701         * gst/gstelement.c: (gst_element_commit_state),
4702         (gst_element_set_state):
4703         Protect flags with proper lock.
4704         unref provided cached clock in dispose.
4705
4706 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4707
4708         * gst/gst.c:
4709         * gst/gstminiobject.h:
4710         * gst/gstpad.h:
4711         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4712           removed unused flags from miniobject
4713           doc fixes
4714
4715 2005-10-12  Wim Taymans  <wim@fluendo.com>
4716
4717         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4718         (gst_file_sink_event), (gst_file_sink_render):
4719         Flush before seeking.
4720
4721 2005-10-12  Andy Wingo  <wingo@pobox.com>
4722
4723         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4724         always been the case.
4725
4726 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4727
4728         * check/gst/gstbin.c: (GST_START_TEST):
4729         * docs/gst/gstreamer-sections.txt:
4730         * gst/base/gstbasesink.c: (gst_base_sink_init):
4731         * gst/base/gstbasesrc.c: (gst_base_src_init),
4732         (gst_base_src_get_range), (gst_base_src_check_get_range),
4733         (gst_base_src_start), (gst_base_src_stop):
4734         * gst/base/gstbasesrc.h:
4735         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4736         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4737         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4738         (bin_bus_handler):
4739         * gst/gstbin.h:
4740         * gst/gstbuffer.h:
4741         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4742         * gst/gstbus.h:
4743         * gst/gstelement.c: (gst_element_is_locked_state),
4744         (gst_element_set_locked_state), (gst_element_commit_state),
4745         (gst_element_set_state):
4746         * gst/gstelement.h:
4747         * gst/gstindex.c: (gst_index_init):
4748         * gst/gstindex.h:
4749         * gst/gstminiobject.h:
4750         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4751         (gst_object_set_parent):
4752         * gst/gstobject.h:
4753         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4754         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4755         * gst/gstpad.h:
4756         * gst/gstpadtemplate.h:
4757         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4758         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4759         * gst/gstpipeline.h:
4760         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4761         (gst_file_index_commit):
4762         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4763         * testsuite/pad/link.c: (gst_test_src_init),
4764         (gst_test_filter_init), (gst_test_sink_init):
4765         * testsuite/states/locked.c: (main):
4766           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4767           moved bitshift from macro to enum definition
4768
4769 2005-10-12  Wim Taymans  <wim@fluendo.com>
4770
4771         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4772         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4773         (gst_file_sink_render):
4774         Some more debugging info.
4775
4776 2005-10-12  Wim Taymans  <wim@fluendo.com>
4777
4778         * docs/design/part-states.txt:
4779         * tools/gst-launch.c: (main):
4780         Some doc updates.
4781         Revert non-intentional change.
4782
4783 2005-10-12  Wim Taymans  <wim@fluendo.com>
4784
4785         * check/gst/gstbin.c: (GST_START_TEST):
4786         * check/gst/gstelement.c: (GST_START_TEST):
4787         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4788         * check/gst/gstghostpad.c: (GST_START_TEST):
4789         * check/gst/gstpipeline.c: (GST_START_TEST):
4790         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4791         * check/states/sinks.c: (GST_START_TEST):
4792         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4793         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4794         (gst_bin_remove_func), (gst_bin_get_state_func),
4795         (gst_bin_recalc_state), (gst_bin_change_state_func),
4796         (bin_bus_handler):
4797         * gst/gstelement.c: (gst_element_get_state_func),
4798         (gst_element_get_state), (gst_element_abort_state),
4799         (gst_element_commit_state), (gst_element_set_state),
4800         (gst_element_change_state), (gst_element_change_state_func):
4801         * gst/gstelement.h:
4802         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4803         (gst_pipeline_provide_clock_func):
4804         * gst/gstutils.c: (gst_element_link_pads_filtered):
4805         * tools/gst-launch.c: (main):
4806         * tools/gst-typefind.c: (main):
4807         Use GstClockTime in _get_state() instead of GTimeVal.
4808         Remove old code in gstutils.c
4809
4810 2005-10-12  Andy Wingo  <wingo@pobox.com>
4811
4812         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4813         removed.
4814
4815         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4816         there is no task. Shouldn't affect any code, as nothing in our
4817         plugins checks this return value.
4818         (gst_pad_stop_task): Also take the stream lock if the pad has no
4819         task. Docs updated.
4820
4821 2005-10-12  Wim Taymans  <wim@fluendo.com>
4822
4823         * gst/gstpad.c: (pre_activate), (post_activate),
4824         (gst_pad_activate_pull), (gst_pad_activate_push):
4825         Cleanup activation code. Reset old state if
4826         activation failed.
4827
4828 2005-10-12  Wim Taymans  <wim@fluendo.com>
4829
4830         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4831         (gst_base_sink_change_state):
4832         No need to prerol after receiving EOS.
4833
4834         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4835         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4836         * gst/elements/gstidentity.c: (gst_identity_event):
4837         Print events more verbosely.
4838
4839 2005-10-12  Wim Taymans  <wim@fluendo.com>
4840
4841         * check/Makefile.am:
4842         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4843         * check/states/sinks2.c:
4844         Moved sinks2 testcode in sinks check.
4845
4846         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4847         (gst_bin_remove_func), (gst_bin_recalc_state),
4848         (gst_bin_change_state_func), (bin_bus_handler):
4849         Fix potential race condition when _get_state() iterated over an
4850         ASYNC element right before it posted a state completion.
4851
4852         * gst/gstclock.h:
4853         Do proper cast here.
4854
4855         * gst/gstevent.c: (gst_event_new_newsegment),
4856         (gst_event_parse_newsegment):
4857         A playback rate of 0.0 is not allowed.
4858
4859 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4860
4861         * win32/common/config.h:
4862         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4863         (_trewinddir), (_ttelldir), (_tseekdir):
4864         * win32/common/dirent.h:
4865         * win32/common/gtchar.h:
4866         * win32/common/libgstbase.def:
4867         * win32/common/libgstreamer.def:
4868         * win32/vs6/grammar.dsp:
4869         * win32/vs6/gst_inspect.dsp:
4870         * win32/vs6/gst_launch.dsp:
4871         * win32/vs6/gstreamer.dsw:
4872         * win32/vs6/libgstbase.dsp:
4873         * win32/vs6/libgstelements.dsp:
4874         * win32/vs6/libgstreamer.dsp:
4875           Visual Studio 6 project files, and a new common directory.
4876           Phear.
4877
4878 2005-10-11  Wim Taymans  <wim@fluendo.com>
4879
4880         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4881         (gst_base_sink_do_sync), (gst_base_sink_query),
4882         (gst_base_sink_change_state):
4883         * gst/base/gstbasesink.h:
4884         Correctly parse newsegment info.
4885
4886 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4887
4888         * gst/gst.c: (init_post):
4889           split plugin paths correctly
4890
4891 2005-10-11  Wim Taymans  <wim@fluendo.com>
4892
4893         * check/gst/gstevent.c: (GST_START_TEST):
4894         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4895         (gst_base_sink_change_state):
4896         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4897         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4898         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4899         * gst/gstevent.c: (gst_event_new_newsegment),
4900         (gst_event_parse_newsegment):
4901         * gst/gstevent.h:
4902         Added extra flag to newsegment for future API freeze.
4903         Updated check and base elements.
4904
4905 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4906
4907         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4908         (gst_collectpads_add_pad), (gst_collectpads_pop),
4909         (gst_collectpads_event), (gst_collectpads_chain):
4910         * gst/base/gstcollectpads.h: Handle EOS correctly.
4911
4912 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4913
4914         * tools/gst-launch.c: (main):
4915           more null protecting
4916
4917 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4918
4919         * gst/gst-i18n-lib.h:
4920           check for ENABLE_NLS, not GETTEXT_PACKAGE
4921         * gst/gstregistry.c: (gst_registry_add_plugin),
4922         (gst_registry_scan_path_level),
4923         (_gst_registry_remove_cache_plugins):
4924           protect possibly NULL strings
4925         * gst/parse/types.h:
4926           config.h already included before
4927         * tools/gst-inspect.c: (main):
4928           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4929           check for ENABLE_NLS, not GETTEXT_PACKAGE
4930         * tools/gst-launch.c: (main):
4931           check for ENABLE_NLS, not GETTEXT_PACKAGE
4932
4933 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4934
4935         * configure.ac:
4936           if we don't have glib, fail before testing 2.8
4937         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4938           fix a leak, should fix plugins-base testsuite
4939
4940 2005-10-11  Andy Wingo  <wingo@pobox.com>
4941
4942         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4943         take the mode we're going to as an arg. Go head and set the mode
4944         and flushing flags now, so that if the activate function starts a
4945         thread all the flags will be in the right state.
4946         (post_activate): Renamed also. Just handle making sure streaming
4947         finishes for the deactivation case, and setting the deactivated
4948         mode.
4949         (gst_pad_set_active): Complain loudly if deactivation fails.
4950         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4951         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4952         remove the terrible hack.
4953
4954 2005-10-11  Wim Taymans  <wim@fluendo.com>
4955
4956         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4957         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4958         (gst_bin_recalc_state), (gst_bin_change_state_func),
4959         (gst_bin_dispose), (bin_bus_handler):
4960         * gst/gstbin.h:
4961         Prepare to make current EOS message queue more generic.
4962         Fix some typos.
4963
4964         * gst/gstevent.c: (gst_event_new_newsegment),
4965         (gst_event_parse_newsegment):
4966         * gst/gstevent.h:
4967         Rename base to stream_time.
4968
4969         * gst/gstmessage.h:
4970         Fix typo in docs.
4971
4972 2005-10-11  Wim Taymans  <wim@fluendo.com>
4973
4974         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4975         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4976         (gst_bin_change_state_func), (bin_bus_handler):
4977         * gst/gstbin.h:
4978         Work on proper clock selection.
4979
4980 2005-10-11  Edward Hervey  <edward@fluendo.com>
4981
4982         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4983         * libs/gst/controller/gstcontroller.h:
4984         Added GList* version of _remove_properties() in order to be able to wrap
4985         it in bindings.
4986
4987 2005-10-11  Wim Taymans  <wim@fluendo.com>
4988
4989         * docs/design/part-states.txt:
4990         Some more docs.
4991
4992         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4993         (gst_bin_change_state_func), (bin_bus_handler):
4994         Doc updates. Don't distribute the same clock over and over again.
4995
4996         * gst/gstclock.c:
4997         * gst/gstclock.h:
4998         Doc updates.
4999
5000         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
5001         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
5002         (gst_pad_send_event):
5003         * gst/gstpad.h:
5004         Make probe emission threadsafe again.
5005         Register quarks and move _get_name() from utils.
5006         Doc updates.
5007
5008         * gst/gstpipeline.c: (gst_pipeline_class_init),
5009         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5010         Only redistribute the clock of it changed.
5011
5012         * gst/gstsystemclock.h:
5013         Doc updates. 
5014
5015         * gst/gstutils.c:
5016         * gst/gstutils.h:
5017         Moved the _flow_get_name() to GstPad.
5018
5019 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5020
5021         * check/gst-libs/gdp.c: (GST_START_TEST):
5022         * check/gst/gstcaps.c: (GST_START_TEST):
5023         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
5024         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
5025         (gst_dp_packet_from_caps):
5026           fix more valgrind warnings before turning up the heat
5027
5028 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5029
5030         * gst/parse/grammar.y:
5031           some cleanup before the hacking
5032
5033 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5034
5035         * gst/base/gstbasesrc.c: (gst_base_src_query):
5036           use conversions
5037         * gst/gstutils.c: (gst_guint64_to_gdouble),
5038         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
5039         * gst/gstutils.h:
5040           externalize, basesrc uses it
5041           obviously the implementation needs testing
5042
5043 2005-10-10  Wim Taymans  <wim@fluendo.com>
5044
5045         * tests/sched/Makefile.am:
5046         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
5047         (make_pipeline3), (make_pipeline4), (print_elem), (main):
5048
5049 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5050
5051         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
5052           apparently converting from guint64 to double is not implemented
5053           on MSVC
5054
5055 2005-10-10  Wim Taymans  <wim@fluendo.com>
5056
5057         * check/Makefile.am:
5058         * check/generic/states.c: (GST_START_TEST):
5059         * check/gst/gstbin.c: (GST_START_TEST):
5060         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5061         * check/states/sinks.c: (GST_START_TEST):
5062         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
5063         (main):
5064         Check fixes, use API as stated in design docs, remove hacks.
5065
5066         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5067         (gst_base_sink_change_state):
5068         Catch stopping our task while we're shutting down.
5069
5070         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5071         (gst_bin_remove_func), (gst_bin_get_state_func),
5072         (gst_bin_recalc_state), (gst_bin_change_state_func),
5073         (bin_bus_handler):
5074         * gst/gstbin.h:
5075         * gst/gstelement.c: (gst_element_init),
5076         (gst_element_get_state_func), (gst_element_abort_state),
5077         (gst_element_commit_state), (gst_element_lost_state),
5078         (gst_element_set_state), (gst_element_change_state),
5079         (gst_element_change_state_func):
5080         * gst/gstelement.h:
5081         New state change algorithm (see #318116)
5082
5083         * gst/gstpipeline.c: (gst_pipeline_class_init),
5084         (gst_pipeline_init), (gst_pipeline_set_property),
5085         (gst_pipeline_get_property), (do_pipeline_seek),
5086         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5087         * gst/gstpipeline.h:
5088         Remove crude state change hacks.
5089
5090         * gst/gstutils.h:
5091         Remove crude hacks.
5092
5093         * tools/gst-launch.c: (main):
5094         Fixes for state change. Needs some more work to fully use the
5095         new stuff.
5096
5097 2005-10-10  Andy Wingo  <wingo@pobox.com>
5098
5099         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
5100
5101         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
5102         this flag, but it's not even in GLib 2.6. Odd. Hack around the
5103         issue.
5104
5105 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5106
5107         * gst/gstiterator.c: (gst_iterator_new):
5108           Fix my previous commit: GTypes passed to gst_iterator_new()
5109           can be fundamental types.
5110
5111 2005-10-10  Wim Taymans  <wim@fluendo.com>
5112
5113         * gst/gstelement.c: (gst_element_iterate_pad_list),
5114         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
5115         (gst_element_iterate_sink_pads):
5116         Use src/sink pads lists for the respective iterators instead
5117         of filtering.
5118
5119 2005-10-10  Andy Wingo  <wingo@pobox.com>
5120
5121         Merged in popt removal + GOption addition patch from Ronald, bug
5122         #169772.
5123
5124         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
5125         GstElement macros around, remove popt-related symbols, add goption
5126         stuff.
5127
5128         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
5129         
5130         * docs/gst/Makefile.am:
5131         * docs/libs/Makefile.am: No POPT_CFLAGS.
5132         
5133         * examples/manual/Makefile.am:
5134         * docs/manual/basics-init.xml: Doc updates with an example.
5135         
5136         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5137         (gst_init), (parse_one_option), (parse_goption_arg):
5138         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
5139         bit of hand merging and debugging to get the GOption stuff working
5140         tho.
5141         
5142         * tests/Makefile.am:
5143         * tools/Makefile.am:
5144         * tools/gst-inspect.c: (main):
5145         * tools/gst-launch.c: (main):
5146         * tools/gst-run.c: (main):
5147         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
5148
5149 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5150
5151         * gst/gstiterator.c: (gst_iterator_new):
5152           Add assertions to make sure passed GType is likely to really
5153           be a GType (as the compiler won't catch it if the size and
5154           GType arguments get mixed up, see #318447).
5155
5156 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
5157
5158         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5159
5160         * gst/gstbin.c: (gst_bin_iterate_sorted):
5161           Pass GType and size arguments to gst_iterator_new() in the right
5162           order (maybe we should make _new() take the GType as first argument
5163           just like _new_list()?) (#318447).
5164           
5165
5166 2005-10-10  Wim Taymans  <wim@fluendo.com>
5167
5168         * gst/gstelement.c: (gst_element_finalize):
5169         And free the GStaticRecMutex too
5170
5171 2005-10-10  Andy Wingo  <wingo@pobox.com>
5172
5173         * gst/gstelement.c (gst_element_init, gst_element_finalize):
5174         Allocate and free the mutex properly.
5175
5176         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
5177         New macros.
5178         (GstElement): The state_lock is now recursive. Rebuild your
5179         plugins, suckers. Old macros adapted.
5180
5181         * docs/gst/gstreamer-sections.txt: Doc updates.
5182
5183         * gst/gstutils.h:
5184         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
5185         (g_static_rec_cond_wait): Ported from state changes patch, while
5186         we wait on bug #317802 to be solved in a well-distributed GLib.
5187
5188         * gst/gstelement.c (gst_element_change_state_func): Renamed from
5189         gst_element_change_state, variable name changes.
5190         (gst_element_change_state): Split out of gst_element_set_state in
5191         preparation for the state change merge. Doesn't pay attention to
5192         the 'transition' argument.
5193         (gst_element_set_state): Updates, hopefully purely cosmetic.
5194         (gst_element_sync_state_with_parent): MT-safety. Ported from the
5195         state change patch.
5196         (gst_element_get_state_func): Renamed from get_state, cosmetic
5197         changes.
5198
5199 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5200
5201         * gst/elements/gstelements.c:
5202         * win32/GStreamer.vcproj:
5203         * win32/config.h:
5204         * win32/dirent.c: (_tseekdir):
5205         * win32/gst-inspect.vcproj:
5206         * win32/gst-launch.vcproj:
5207         * win32/gstconfig.h:
5208         * win32/gstelements.vcproj:
5209         * win32/gstenumtypes.c: (gst_object_flags_get_type):
5210         * win32/gstreamer.def:
5211         * win32/msvc71.sln:
5212           updates for the win32 build (patch from Sebastien Moutte)
5213
5214 2005-10-10  Andy Wingo  <wingo@pobox.com>
5215
5216         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
5217         gst_bin_get_state, cleaned up (but no logic changes).
5218         (bin_element_is_sink): Comment updates.
5219         (sink_iterator_filter): Remove needless cast.
5220         (gst_bin_iterate_sinks): Doc update.
5221         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
5222         cleaned up (but no logic changes).
5223
5224         * check/states/sinks.c (test_src_sink): Cleanups from the state
5225         change patch.
5226         (test_livesrc_sink): Sync on the state.
5227
5228         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
5229         the state change patch.
5230
5231         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
5232         change patch.
5233
5234         * check/gst/gstbin.c: Merge in some style fixes and additional
5235         checks from Wim's state change patch.
5236
5237 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5238
5239         * gst/base/gsttypefindhelper.c: (helper_find_peek),
5240         (gst_type_find_helper):
5241           Check whether we have the requested data already in our list of
5242           cached buffers before pulling a new buffer; also make the buffer
5243           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
5244
5245 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5246
5247         * gst/gstcaps.c:
5248         * gst/gstevent.c:
5249           doc updates
5250         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5251           don't use long long, it's not portable.  Replacing with
5252           gint64 seems to work; let's hope no skeletons fall out of the closet.
5253
5254 2005-10-10  Andy Wingo  <wingo@pobox.com>
5255
5256         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
5257
5258 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
5259
5260         * docs/gst/gstreamer-sections.txt:
5261         * gst/gstevent.c:
5262         * gst/gstevent.h:
5263         * gst/gstinfo.c:
5264         * gst/gstinfo.h:
5265         * gst/gstmessage.c: (gst_message_parse_state_changed):
5266         * gst/gstpad.c:
5267         * gst/gstpad.h:
5268           more docs, fix compilation
5269
5270 2005-10-09  Philippe Khalaf <burger@speedy.org>
5271         * gst/gstmessage.c:
5272           Fixed a few forgotten variables on previous commit
5273
5274 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5275
5276         * gst/base/gsttypefindhelper.c: (helper_find_peek):
5277           Fix evil typefind crasher: getrange() might return a short
5278           buffer at the end of a file, but gst_type_find_peek() must
5279           either return the full data as requested or NULL, but
5280           never a short buffer.
5281
5282 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5283
5284         * gst/gstmessage.c: (gst_message_new_state_changed),
5285         (gst_message_parse_state_changed):
5286         * gst/gstmessage.h:
5287           don't use "new", it's a C++ keyword
5288
5289 2005-10-08  Wim Taymans  <wim@fluendo.com>
5290
5291         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5292         * gst/gstelement.c: (gst_element_post_message):
5293         * gst/gstpipeline.c: (gst_pipeline_change_state):
5294         Small docs and debug updates.
5295
5296 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5297
5298         * docs/gst/gstreamer-sections.txt:
5299         * gst/gstelementfactory.c:
5300         * gst/gstevent.c:
5301         * gst/gsttaglist.c:
5302           more docs
5303
5304 2005-10-08  Wim Taymans  <wim@fluendo.com>
5305
5306         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5307         (gst_bin_dispose), (bin_bus_handler):
5308         Fix typos, add comments.
5309         Clear EOS list when going to PAUSED from any direction and do it
5310         in a threadsafe way.
5311         Get base time in a threadsafe way too.
5312         Fix confusing debug in the change_state function.
5313         Various other small cleanups.
5314         
5315         * gst/gstelement.c: (gst_element_post_message):
5316         Fix very verbose bus posting code.
5317
5318         * gst/gstpipeline.c: (gst_pipeline_class_init),
5319         (gst_pipeline_set_property), (gst_pipeline_get_property),
5320         (gst_pipeline_change_state):
5321         Small ARG_ -> PROP_ cleanup
5322
5323 2005-10-08  Wim Taymans  <wim@fluendo.com>
5324
5325         * gst/gstbin.c: (is_eos), (bin_bus_handler):
5326         Do a less CPU demanding EOS check because we can.
5327
5328 2005-10-08  Wim Taymans  <wim@fluendo.com>
5329
5330         * libs/gst/dataprotocol/dataprotocol.c:
5331         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5332         (gst_dp_packet_from_event):
5333         * libs/gst/dataprotocol/dataprotocol.h:
5334         * libs/gst/dataprotocol/dp-private.h:
5335         It's about time we bump the version number.
5336         Since event types don't fit in the guint8 anymore describing
5337         the payload type, make payload type 16 bits wide.
5338
5339 2005-10-08  Wim Taymans  <wim@fluendo.com>
5340
5341         * docs/design/part-TODO.txt:
5342         * docs/design/part-clocks.txt:
5343         * docs/design/part-events.txt:
5344         * docs/design/part-gstbin.txt:
5345         * docs/design/part-gstelement.txt:
5346         * docs/design/part-gstpipeline.txt:
5347         * docs/design/part-live-source.txt:
5348         * docs/design/part-messages.txt:
5349         * docs/design/part-overview.txt:
5350         * docs/design/part-states.txt:
5351         Many doc updates.
5352
5353 2005-10-08  Wim Taymans  <wim@fluendo.com>
5354
5355         * gst/gstevent.c:
5356         * gst/gstevent.h:
5357         Fix event quark registration.
5358         Add some space between events so we can insert them in the
5359         right groups.
5360
5361 2005-10-08  Wim Taymans  <wim@fluendo.com>
5362
5363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5364         (gst_base_sink_handle_buffer):
5365         Better log message.
5366
5367         * gst/gstbus.h:
5368         * gst/gstelement.h:
5369         More docs.
5370
5371         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5372         (gst_queue_set_property), (gst_queue_get_property):
5373         * gst/gstqueue.h:
5374         Remove old unused properties.
5375
5376 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5377         * docs/gst/gstreamer-sections.txt:
5378         * gst/gstmessage.c:
5379         * gst/gstmessage.h:
5380         * gst/gstminiobject.c:
5381         * gst/gstminiobject.h:
5382         * gst/gstobject.h:
5383         * gst/gstpad.h:
5384         * gst/gstutils.h:
5385           lots of new docs and doc fixes
5386
5387 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5388
5389         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5390         * gst/gstplugin.h:
5391         * gst/gstregistry.c: (gst_registry_lookup_locked),
5392         (gst_registry_scan_path_level):
5393         * gst/gstregistryxml.c: (load_plugin):
5394           Only ever load one plugin for a given plugin basename.
5395           This ensures correct overriding of GST_PLUGIN_PATH over
5396           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5397           system installed plugins.
5398
5399 2005-10-08  Wim Taymans  <wim@fluendo.com>
5400
5401         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5402         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5403         Prepare for doing QOS.
5404
5405 2005-10-08  Wim Taymans  <wim@fluendo.com>
5406
5407         * check/gst/gstbin.c: (GST_START_TEST):
5408         * check/pipelines/cleanup.c: (GST_START_TEST):
5409         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5410         Allow new clock message too.
5411
5412 2005-10-08  Wim Taymans  <wim@fluendo.com>
5413
5414         * gst/gstmessage.c: (gst_message_new_error),
5415         (gst_message_new_warning), (gst_message_new_tag),
5416         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5417         (gst_message_new_clock_lost), (gst_message_new_new_clock),
5418         (gst_message_new_segment_start), (gst_message_new_segment_done),
5419         (gst_message_parse_state_changed),
5420         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5421         (gst_message_parse_new_clock):
5422         * gst/gstmessage.h:
5423         Also carry the clock in question.
5424
5425 2005-10-08  Wim Taymans  <wim@fluendo.com>
5426
5427         * gst/gstmessage.c: (gst_message_new_custom),
5428         (gst_message_new_eos), (gst_message_new_error),
5429         (gst_message_new_warning), (gst_message_new_tag),
5430         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5431         (gst_message_new_new_clock), (gst_message_new_segment_start),
5432         (gst_message_new_segment_done), (gst_message_parse_state_changed),
5433         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5434         * gst/gstmessage.h:
5435         Clean up.
5436         Added clock related messages.
5437
5438         * gst/gstpipeline.c: (gst_pipeline_change_state):
5439         Post message when the clock changed.
5440
5441         * tools/gst-launch.c: (event_loop):
5442         Print new clock.
5443
5444 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5445
5446         * tools/gst-inspect.c: (print_element_properties_info):
5447           Can't pass NULL strings to g_print() on windows.
5448
5449 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5450
5451         * docs/Makefile.am:
5452         * docs/gst/Makefile.am:
5453         * docs/gst/gstreamer-docs.sgml:
5454         * docs/gst/running.xml:
5455         * docs/version.entities.in:
5456           add a chapter on running GStreamer.
5457           document GST_DEBUG and GST_PLUGIN* env vars
5458
5459 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5460
5461         * Makefile.am:
5462           remove include dir
5463         * configure.ac:
5464           remove PLUGINS_BUILDDIR stuff
5465         * gst/gst.c: (init_post):
5466           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5467         * idiottest.mak:
5468           remove, it was condescending and not needed
5469
5470 2005-10-08  Wim Taymans  <wim@fluendo.com>
5471
5472         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5473         (gst_base_sink_handle_object), (gst_base_sink_event),
5474         (gst_base_sink_wait), (gst_base_sink_handle_event),
5475         (gst_base_sink_change_state):
5476         * gst/base/gstbasesink.h:
5477         Repost EOS message while going to PLAYING if still EOS.
5478         Make sure that when receiving a FLUSH_START we don't attempt
5479         to sync on the clock anymore.
5480
5481 2005-10-08  Wim Taymans  <wim@fluendo.com>
5482
5483         * tools/gst-launch.c: (event_loop):
5484         Better message printout.
5485
5486 2005-10-08  Wim Taymans  <wim@fluendo.com>
5487
5488         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5489         (gst_bin_child_proxy_get_children_count):
5490         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5491         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5492         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5493         (gst_child_proxy_set_valist):
5494         * gst/parse/grammar.y:
5495         Make ChildProxy threadsafe and fix mem leaks.
5496
5497 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5498
5499         * gst/gst.c: (init_post):
5500           debug the GST_PLUGIN_ env vars
5501
5502 2005-10-08  Wim Taymans  <wim@fluendo.com>
5503
5504         * check/gst/gstbin.c: (GST_START_TEST):
5505         * check/gst/gstmessage.c: (GST_START_TEST):
5506         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5507         * gst/gstelement.c: (gst_element_commit_state),
5508         (gst_element_lost_state):
5509         * gst/gstmessage.c: (gst_message_new_state_changed),
5510         (gst_message_parse_state_changed):
5511         * gst/gstmessage.h:
5512         * tools/gst-launch.c: (event_loop):
5513         Added extra field to STATE_CHANGE message with the pending
5514         state, which will be different from the new state soon.
5515
5516 2005-10-08  Wim Taymans  <wim@fluendo.com>
5517
5518         * gst/gstbus.c: (gst_bus_pop):
5519         * gst/gstclock.c:
5520         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5521         Small cleanups and doc updates.
5522
5523 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5524
5525         * gst/gst.c: (init_pre):
5526         * gst/gstbin.c: (gst_bin_add_func):
5527           log distributing clocks and base time
5528         * gst/gstregistry.c: (gst_registry_add_plugin),
5529         (gst_registry_scan_path_level), (gst_registry_scan_path):
5530           clean up the debugging output a little
5531         * gst/gstutils.c: (gst_element_state_get_name):
5532           warn about a memleak (I've actually seen this be used, though
5533           it was probably a bug)
5534
5535 2005-10-07  Wim Taymans  <wim@fluendo.com>
5536
5537         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5538         (gst_base_src_init), (gst_base_src_default_newsegment),
5539         (gst_base_src_newsegment), (gst_base_src_do_seek),
5540         (gst_base_src_loop), (gst_base_src_start):
5541         * gst/base/gstbasesrc.h:
5542         Make the newsegment event customizable by subclasses.
5543
5544 2005-10-07  Wim Taymans  <wim@fluendo.com>
5545
5546         * gst/gstevent.c: (gst_event_new_buffersize),
5547         (gst_event_parse_buffersize):
5548         * gst/gstevent.h:
5549         New event for future idea.
5550
5551 2005-10-07  Andy Wingo  <wingo@pobox.com>
5552
5553         * gst/gstelement.c (gst_element_post_message): Doc update.
5554
5555         * docs/gst/gstreamer-sections.txt: Update.
5556
5557         * gst/gstmessage.c (gst_message_new_application): Made into a
5558         function like honest API calls.
5559         (gst_message_new_element): New message type.
5560
5561         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5562
5563         * check/elements/fakesrc.c (test_no_preroll): New check, checks
5564         that setting a live fakesrc to PAUSED returns NO_PREROLL both
5565         times.
5566
5567         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5568         NO_PREROLL from gst_element_change_state to fall through.
5569
5570 2005-10-07  Wim Taymans  <wim@fluendo.com>
5571
5572         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5573         (gst_ghost_pad_do_activate_push):
5574         Activating a ghostpad with no internal pad in push mode
5575         is ok.
5576
5577 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5578
5579         * gst/gstobject.h:
5580           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5581           Fixes compilation on Windows.
5582
5583 2005-10-07  Michael Smith <msmith@fluendo.com>
5584
5585         * tools/gst-inspect.c:
5586           Print out feature and plugin count at the end when printing out
5587           all features.
5588
5589 2005-10-04  Michael Smith <msmith@fluendo.com>
5590
5591         * gst/gsterror.c: (_gst_stream_errors_init):
5592           Add another error string used in a few existing plugins.
5593
5594         * gst/gstplugin.c:
5595         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5596         * tools/gst-inspect.c: (print_element_info):
5597           When a feature disappears from a plugin (and the feature exists in
5598           the cached registry file), things went horribly wrong. This isn't a
5599           complete fix, we should actually be removing the 'missing' features
5600           from the features list when we load the actual plugin. That's not
5601           yet implemented. 
5602
5603 2005-10-04  Johan Dahlin  <johan@gnome.org>
5604
5605         * check/gst/gstiterator.c: (GST_START_TEST):
5606         * gst/gstbin.c: (gst_bin_iterate_elements),
5607         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5608         * gst/gstelement.c: (gst_element_iterate_pads):
5609         * gst/gstformat.c: (gst_format_iterate_definitions):
5610         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5611         (gst_iterator_new_list), (gst_iterator_filter):
5612         * gst/gstiterator.h:
5613         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5614         Add a GType to GstIterator, update callsites and tests.
5615
5616 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5617
5618         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5619           give events a chance to be handled by event probes when the pad
5620           is not linked
5621
5622 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5623
5624         * gst/gstevent.c: (gst_event_type_get_name),
5625         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5626         * gst/gstevent.h:
5627           add string representations for event types
5628
5629 2005-10-06  Wim Taymans  <wim@fluendo.com>
5630
5631         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5632         Don't use NULL pointers.
5633
5634 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5635
5636         * gst/gst_private.h:
5637         * gst/gstbus.c:
5638         * gst/gstelement.c:
5639         * gst/gstinfo.c:
5640         * gst/gstpluginfeature.c:
5641           widen the debug category in output to fit the biggest one we have
5642           add a bus category and use it
5643           play with the colors
5644           fix up some categories
5645
5646 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5647
5648         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5649           add push activation of sink ghost pads.
5650           Andye, please verify
5651
5652 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5653
5654         * gst/gstutils.c: (gst_element_link_pads):
5655           fix a bug in the case where neither element has a pad
5656         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5657           add a test for that case
5658
5659 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5660
5661         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5662           emit have-data before checking for peers.  This allows
5663           for probe handlers to connect elements.  This helps autopluggers.
5664         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5665         (gst_pad_suite):
5666           add six checks, linked/unlinked with no/true/false probe
5667
5668 2005-10-04  Wim Taymans  <wim@fluendo.com>
5669
5670         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5671         (gst_fake_sink_event), (gst_fake_sink_preroll),
5672         (gst_fake_sink_render), (gst_fake_sink_change_state):
5673         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5674         (gst_fake_src_get_property), (gst_fake_src_create),
5675         (gst_fake_src_stop):
5676         * gst/elements/gstidentity.c: (gst_identity_stop):
5677         Protect last_message with lock.
5678
5679 2005-10-04  Edward Hervey  <edward@fluendo.com>
5680
5681         * gst/gstformat.h: 
5682         Added precision in the comments for GST_FORMAT_DEFAULT
5683
5684 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5685
5686         * tools/gst-launch.c: (main):
5687           Don't try to run erroneous pipelines.
5688
5689 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5690
5691         * gst/gstbus.c: We don't need this header.
5692
5693 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5694
5695         * configure.ac:
5696           back to development
5697
5698 === release 0.9.3 ===
5699
5700 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5701
5702         * README:
5703         * configure.ac:
5704           Releasing 0.9.3, "Unregistered"
5705
5706 2005-10-03  Andy Wingo  <wingo@pobox.com>
5707
5708         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5709         whereby calling a pad's activatepush() function can start a thread
5710         that starts to push or pull before the pad gets the FLUSHING flag
5711         unset. Hack around it by holding the stream lock until the flag is
5712         set. Need to replace this with a proper solution. Together with
5713         the ghost pad fixes, this fixes mp3 playing/tagreading.
5714
5715         * docs/design/part-gstghostpad.txt: Add a note about activation of
5716         proxy pads outside of ghost pads.
5717
5718         * gst/gstghostpad.c: Implement the ghost pad activation design.
5719
5720 2005-10-02  Andy Wingo  <wingo@pobox.com>
5721
5722         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5723         It is volatile, after all.
5724
5725         * docs/design/part-gstghostpad.txt: Flesh out activation with
5726         ghost pads.
5727
5728         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5729         GST_DEBUG_FUNCPTR.
5730
5731 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5732
5733         * configure.ac:
5734           Fix (unused) AM_CONDITIONAL tests.
5735
5736 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5737
5738         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5739
5740         * gst/gstutils.c: (gst_pad_query_convert):
5741           Add assertion that makes sure src_val is >=0, just like
5742           gst_query_new_convert() has. (#315895)
5743
5744 2005-09-30  Edward Hervey  <edward@fluendo.com>
5745
5746         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5747         Let's not iterate pads we're not interested in, it avoids getting 
5748         sky-high refcounts on sinkpad.
5749
5750 2005-09-30  Wim Taymans  <wim@fluendo.com>
5751
5752         * gst/gstelement.c: (gst_element_set_state),
5753         (gst_element_change_state):
5754         Small tweak, element in ASYNC remains ASYNC.
5755
5756 2005-09-30  Wim Taymans  <wim@fluendo.com>
5757
5758         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5759         Only error is an error.
5760
5761         * gst/gstbin.c: (gst_bin_change_state):
5762         Better debugging.
5763
5764         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5765         Also call pad_block in pad alloc.
5766
5767         * gst/gstutils.c: (gst_flow_get_name):
5768         Better debugging.
5769
5770 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5771
5772         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5773         (gst_base_src_get_range):
5774           Fix documentation typos. Add some more debug info.
5775
5776 2005-09-29  David Schleef  <ds@schleef.org>
5777
5778         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5779           more end-user friendly.
5780         * tools/gst-inspect.c: (main): Check if command-line argument is
5781           a file and attempt to load that file as a plugin.
5782
5783 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5784
5785         * check/gst/gstbin.c:
5786         * check/states/sinks.c:
5787           fix tests for the new warning
5788         * check/gst/gstpipeline.c:
5789           add a test for pipeline and bus interaction
5790         * gst/gstelement.c:
5791           elements should be NULL if they get disposed; add a warning if not
5792
5793 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5794
5795         * gst/gstobject.c:
5796           for 2.6 refcounting, make debug log more correct by printing
5797           the actual refcounts at the time of swap (Wim)
5798
5799 2005-09-29  Andy Wingo  <wingo@pobox.com>
5800
5801         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5802         removes signal watches previously added via
5803         gst_bus_add_signal_watch.
5804         (gst_bus_add_signal_watch): Don't return the source id, just store
5805         it on the bus if there wasn't an id already.
5806
5807         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5808         add_signal_watch and remove_signal_watch.
5809
5810 2005-09-29  Edward Hervey  <edward@fluendo.com>
5811
5812         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5813         Better if we actually iterate the list :)
5814
5815 2005-09-29  Wim Taymans  <wim@fluendo.com>
5816
5817         * check/gst/gstbin.c: (GST_START_TEST):
5818         Change for new bus API.
5819
5820         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5821         (send_messages), (GST_START_TEST), (gstbus_suite):
5822         Change for new bus signal API.
5823
5824         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5825         (gst_bus_source_prepare), (gst_bus_source_check),
5826         (gst_bus_create_watch), (gst_bus_add_watch_full),
5827         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5828         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5829         * gst/gstbus.h:
5830         Remove support for multiple GSources operating on different
5831         message types as it is too complex and unneeded when using
5832         signals.
5833         Added support for receiving signals from the bus.
5834
5835 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5836
5837         * docs/libs/tmpl/gstdataprotocol.sgml:
5838         * docs/manual/advanced-dataaccess.xml:
5839         * gst/elements/gstcapsfilter.c:
5840         * gst/gstutils.c:
5841           rename filter-caps to caps property
5842
5843 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5844
5845         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5846           More robust fraction string parsing.
5847
5848         * docs/pwg/appendix-porting.xml:
5849           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5850
5851 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5852
5853         * gst/gstcaps.c: (gst_caps_do_simplify):
5854           Thou shalt not free a structure and then continue using it
5855           in the next loop iteration.
5856
5857         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5858         (gst_caps_suite):
5859           Add test case for caps simplification.
5860
5861 2005-09-29  Wim Taymans  <wim@fluendo.com>
5862
5863         * check/gst/gstbin.c: (GST_START_TEST):
5864         Oops.
5865
5866 2005-09-29  Wim Taymans  <wim@fluendo.com>
5867
5868         * check/gst/gstbin.c: (GST_START_TEST):
5869         Add bus to bin.
5870
5871         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5872         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5873         (find_element), (gst_bin_sort_iterator_next),
5874         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5875         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5876         (gst_bin_change_state), (gst_bin_dispose):
5877         A bin does not have a bus, it gets the bus from the parent.
5878
5879         * gst/gstelement.c: (gst_element_requires_clock),
5880         (gst_element_provides_clock), (gst_element_is_indexable),
5881         (gst_element_is_locked_state), (gst_element_change_state),
5882         (gst_element_set_bus_func):
5883         Small cleanups.
5884
5885         * gst/gstpipeline.c: (gst_pipeline_class_init),
5886         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5887         The pipeline provides a bus.
5888
5889 2005-09-28  Johan Dahlin  <johan@gnome.org>
5890
5891         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5892         gst_structure_get_enum instead of gst_structure_get_int
5893
5894         * gst/gststructure.c (gst_structure_get_enum): Impl.
5895
5896         * gst/gststructure.h (gst_structure_get_enum): Add
5897
5898         * docs/gst/gstreamer-sections.txt: Ditto
5899
5900         * gst/gstmessage.c (gst_message_new_state_changed): Use
5901         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5902         which does introspection.
5903         Reviewed by Christian Schaller
5904
5905 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5906
5907         * gst/gstinfo.c: (gst_debug_log_default):
5908           don't do dummy g_strdup()s
5909         * libs/gst/controller/gstcontroller.c:
5910         (on_object_controlled_property_changed),
5911         (gst_controlled_property_new), (gst_controller_new_valist),
5912         (gst_controller_new_list),
5913         (gst_controller_remove_properties_valist), (gst_controller_set),
5914         (gst_controller_get), (gst_controller_sync_values),
5915         (gst_controller_get_value_array), (_gst_controller_class_init),
5916         (gst_controller_get_type):
5917         * libs/gst/controller/gstcontroller.h:
5918         * libs/gst/controller/gstinterpolation.c:
5919         (gst_controlled_property_find_timed_value_node):
5920           convert // to /**/ comments
5921
5922 2005-09-28  Wim Taymans  <wim@fluendo.com>
5923
5924         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5925         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5926         (gst_bus_sync_signal_handler):
5927         * gst/gstbus.h:
5928         Added async-message and sync-message signals to the bus.
5929         Added helper BusFunc to emit signals for all posted messages.
5930
5931         * gst/gstmessage.c: (gst_message_type_get_name),
5932         (gst_message_type_to_quark), (gst_message_get_type):
5933         * gst/gstmessage.h:
5934         Register quarks for message names.
5935
5936 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5937
5938         * docs/libs/gstreamer-libs-sections.txt:
5939         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5940         (gst_controller_new_list):
5941         * libs/gst/controller/gstcontroller.h:
5942           added another constructor for language bindings
5943
5944 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5945
5946         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5947           add another check
5948         * gst/gstbus.c:
5949           add some doc
5950         * gst/gstinfo.c: (_gst_debug_init):
5951           slightly more readable color for refcount debugging
5952
5953 2005-09-28  Wim Taymans  <wim@fluendo.com>
5954
5955         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5956         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5957         (find_element), (gst_bin_sort_iterator_next),
5958         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5959         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5960         (gst_bin_change_state), (gst_bin_dispose):
5961         Small doc fixes. get_clock -> provide_clock.
5962
5963         * gst/gstelement.c: (gst_element_class_init),
5964         (gst_element_provides_clock), (gst_element_provide_clock),
5965         (gst_element_get_clock), (gst_element_commit_state),
5966         (gst_element_lost_state):
5967         * gst/gstelement.h:
5968         Make get/set_clock() symetric. Add provide_clock vmethod since
5969         that is actually what this function does.
5970
5971         * gst/gstpipeline.c: (gst_pipeline_class_init),
5972         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5973         (gst_pipeline_get_clock):
5974         get_clock -> provide_clock.
5975
5976 2005-09-28  Andy Wingo  <wingo@pobox.com>
5977
5978         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5979         lieu of real docs...
5980
5981         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5982
5983 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5984
5985         * gst/elements/gstcapsfilter.c:
5986         * gst/elements/gstfakesink.c:
5987         * gst/elements/gstfakesrc.c:
5988         * gst/elements/gstfdsink.c:
5989         * gst/elements/gstfdsrc.c:
5990         * gst/elements/gstfilesink.c:
5991         * gst/elements/gstfilesrc.c:
5992         * gst/elements/gstidentity.c:
5993         * gst/elements/gsttee.c:
5994         * gst/elements/gsttypefindelement.c:
5995           Make element details static.
5996
5997 2005-09-28  Wim Taymans  <wim@fluendo.com>
5998
5999         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6000         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6001         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6002         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6003         (gst_bin_change_state), (gst_bin_dispose):
6004         Some documentation updates.
6005         Clean up dispose handlers.
6006
6007         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
6008         * gst/gstpad.c: (gst_pad_dispose):
6009         Clean up dispose handler.
6010
6011         * gst/gstpipeline.c: (gst_pipeline_change_state):
6012         Removed spurious UNLOCK.
6013
6014 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
6015
6016         * docs/gst/gstreamer-sections.txt:
6017         * gst/base/gstbasesrc.h:
6018         * gst/gstelement.h:
6019         * gst/gstevent.h:
6020         * gst/gstobject.h:
6021         * gst/gstpad.h:
6022         * gst/gstpipeline.c:
6023         * gst/gstpipeline.h:
6024         * gst/gstutils.h:
6025         * gst/gstxml.h:
6026           added two new functions to the docs
6027                 documents all undocumented GstXXXFlags
6028                 completed some incomplete docs 
6029
6030 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6031
6032         * gst/gstbin.c: (gst_bin_dispose):
6033         * gst/gstelement.c: (gst_element_dispose):
6034           remove now useless and leaky resurrection code in dispose
6035         * gst/base/gstbasesrc.c: (gst_base_src_init):
6036         * gst/gstelementfactory.c: (gst_element_factory_create):
6037         * gst/gstobject.c: (gst_object_set_parent):
6038           add some debugging
6039
6040 2005-09-27  Wim Taymans  <wim@fluendo.com>
6041
6042         * docs/design/part-TODO.txt:
6043         Update TODO.
6044
6045         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6046         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6047         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6048         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6049         (gst_bin_change_state):
6050         * gst/gstelement.h:
6051         Remove element variable, we keep element info in the iterator now.
6052
6053 2005-09-27  Andy Wingo  <wingo@pobox.com>
6054
6055         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
6056         values.
6057
6058 2005-09-27  Wim Taymans  <wim@fluendo.com>
6059
6060         * check/gst/gstbin.c: (GST_START_TEST):
6061         Enable check that works now.
6062
6063         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6064         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6065         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6066         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6067         (gst_bin_change_state):
6068         * gst/gstbin.h:
6069         Redid the state change algorithm using a topological sort algo.
6070         Handles all cases correctly.
6071         Exposed iterator for state change order.
6072
6073         * gst/gstelement.h:
6074         Temp storage for state changes. Need to get rid of this soon.
6075
6076 2005-09-27  Wim Taymans  <wim@fluendo.com>
6077
6078         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
6079         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
6080         (link_fold_func), (gst_pad_proxy_setcaps):
6081         Leak fixes, the fold functions need to unref the passed object and
6082         _get_parent_*() returns ref to parent.
6083
6084 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6085
6086         * check/gst/gstbuffer.c: (test_make_writable):
6087           Plug leak in test case and fix 'make check-valgrind'
6088
6089 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6090
6091         * gst/gstbuffer.c: (gst_subbuffer_init):
6092           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
6093           works correctly in all circumstances (we could have just copied
6094           the parent buffer's readonly flag, but conceptually it seems
6095           cleaner to mark all subbuffers as read-only). (based on patch
6096           by Alessandro Decina, #314710).
6097         
6098         * check/gst/gstbuffer.c: (create_read_only_buffer),
6099         (test_make_writable), (test_subbuffer_make_writable),
6100         (gst_test_suite):
6101           Add some tests for gst_buffer_make_writable().
6102
6103 2005-09-27  Wim Taymans  <wim@fluendo.com>
6104
6105         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
6106         use gst_object_has_ancestor().
6107
6108         * gst/gstobject.c: (gst_object_has_ancestor):
6109         * gst/gstobject.h:
6110         gst_object_has_ancestor() copied from gstbin.c as it is a
6111         usefull function.
6112
6113         * tests/instantiate/create.c: (create_all_elements):
6114         * tests/lat.c: (handoff_src), (handoff_sink):
6115         * tests/sched/runxml.c: (main):
6116         * tests/seeking/seeking1.c: (main):
6117         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6118         (main):
6119         Fix compilation of some tests.
6120
6121 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6122
6123         * gst/gsterror.h:
6124           Remove comment. GST_TYPE_G_ERROR is here to stay,
6125           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
6126           (#316961, #300610).
6127
6128 2005-09-26  Wim Taymans  <wim@fluendo.com>
6129
6130         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6131         Added check that shows error in state change order.
6132
6133 2005-09-26  Wim Taymans  <wim@fluendo.com>
6134
6135         * gst/gstbin.c: (gst_bin_change_state):
6136         Make state change function use 3 queues again, we were
6137         adding elements in the wrong order.
6138
6139         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6140         Some debug info,
6141
6142         * gst/gstpad.c: (gst_pad_dispose):
6143         Added some debug info first.
6144
6145 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6146
6147         * docs/design/draft-push-pull.txt:
6148         * docs/design/part-events.txt:
6149         * docs/design/part-overview.txt:
6150         * docs/design/part-scheduling.txt:
6151           Replace all _pull_region() with _pull_range()
6152           
6153 2005-09-26  Andy Wingo  <wingo@pobox.com>
6154
6155         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
6156
6157         * check/gst-libs/controller.c: Update for controller api change.
6158
6159         * configure.ac: 
6160         * tests/Makefile.am:
6161         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
6162         over by GLib bug 118439.
6163         
6164         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
6165         routines to a function.
6166
6167         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
6168
6169         * libs/gst/controller/gsthelper.c:
6170         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
6171         (gst_object_sync_values): Renamed from sink_values. Ugh.
6172
6173         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
6174
6175         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
6176         Renamed from controller_key, as it is exported.
6177
6178         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
6179
6180 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6181
6182         * gst/Makefile.am:
6183         * gst/gst.h:
6184         * gst/gstpad.h:
6185         * gst/gstpadtemplate.h:
6186         * gst/gstquery.c:
6187         * gst/gstquery.h:
6188         * gst/gstqueryutils.c:
6189         * gst/gstqueryutils.h:
6190           remove queryutils headers after moving the two used functions
6191           to gstquery.  also fixes build problem for gstsiddec
6192
6193 2005-09-26  Michael Smith <msmith@fluendo.com>
6194
6195         * tools/gst-launch.1.in:
6196         Correct documentation in manpage of debug syntax
6197
6198 2005-09-26  Wim Taymans  <wim@fluendo.com>
6199
6200         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6201         (gst_base_src_is_seekable), (gst_base_src_change_state):
6202         Some more debugging info.
6203
6204 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6205
6206         * docs/gst/gstreamer-sections.txt:
6207         * gst/base/gstbasetransform.h:
6208         * gst/gstindex.h:
6209           added more docs
6210
6211 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6212
6213         * docs/gst/.cvsignore:
6214         * docs/gst/tmpl/.cvsignore:
6215         * docs/gst/tmpl/gstpipeline.sgml:
6216         * docs/gst/tmpl/gstplugin.sgml:
6217         * gst/gstpipeline.c:
6218         * gst/gstplugin.c:
6219         * gst/gstplugin.h:
6220           inlined the last two docs files
6221           removed the tmpl directory from cvs (no more conflicts here!)
6222
6223 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6224
6225         * docs/gst/gstreamer-sections.txt:
6226         * docs/gst/tmpl/.cvsignore:
6227         * docs/gst/tmpl/gstpad.sgml:
6228         * docs/gst/tmpl/gstpadtemplate.sgml:
6229         * gst/Makefile.am:
6230         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6231         (gst_pad_finalize), (gst_pad_set_pad_template):
6232         * gst/gstpad.h:
6233         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6234         (gst_pad_template_class_init), (gst_pad_template_init),
6235         (gst_pad_template_dispose), (name_is_valid),
6236         (gst_static_pad_template_get), (gst_pad_template_new),
6237         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
6238         (gst_pad_template_pad_created):
6239         * gst/gstpadtemplate.h:
6240           inlined two more docs
6241           factored gstpadtemplate out of gstpad
6242
6243 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6244
6245         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6246         (test_children_state_change_order_semi_sink):
6247           Fix test case: we can't rely on a fixed state change order when
6248           going from READY => PAUSED because the sink might commit its 
6249           new state first when the first buffer created by the source 
6250           reaches the sink before the source has finished its change state.
6251           (Test case still fails at times, see #316856, comment 5 onwards)
6252
6253 2005-09-24  Wim Taymans  <wim@fluendo.com>
6254
6255         * docs/design/part-events.txt:
6256         * docs/design/part-gstbus.txt:
6257         * docs/design/part-gstpipeline.txt:
6258         * docs/design/part-messages.txt:
6259         * docs/design/part-overview.txt:
6260         * docs/design/part-segments.txt:
6261         * gst/gstbin.c:
6262         * gst/gstbuffer.c:
6263         * gst/gstclock.c:
6264         * gst/gstelement.c:
6265         * gst/gstevent.c:
6266         * gst/gstfilter.c:
6267         * gst/gstiterator.c:
6268         Various documentation updates.
6269
6270 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6271
6272         * gst/gstclock.h:
6273           Well, that's embarassing.  Luckily we weren't using
6274           GST_CLOCK_DIFF anywhere.
6275
6276 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6277
6278         * common/gtk-doc.mak:
6279           don't fail on building XML, FC4 slave shows a bunch of doc
6280           missing bits that I don't get
6281         * gst/gstpad.c:
6282         * gst/gstpipeline.c:
6283         * gst/gststructure.c:
6284           some doc updates
6285
6286 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6287
6288         * docs/design/part-gstbin.txt:
6289         * docs/design/part-gstbus.txt:
6290         * gst/gstbus.c:
6291           Add blurb about how the bus goes into flushing mode and
6292           drops all messages when its bin goes from READY into NULL 
6293           state.
6294
6295 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6296
6297         * docs/gst/gstreamer-sections.txt:
6298         * gst/gststructure.c: (gst_structure_get_clock_time):
6299         * gst/gststructure.h:
6300           add a method to get a GstClockTime out of a structure
6301
6302 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6303
6304         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6305         (test_children_state_change_order_semi_sink), (gst_bin_suite):
6306           Added test to check state change order in bins (can still be made
6307           to fail here under heavy disk load; bails out with 'Push on pad
6308           fakesink:sink0, but it was not activated in push mode').
6309
6310         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6311           Fix state change order when there is only a semi sink (#316856)
6312
6313         * gst/gstbus.c: (gst_bus_class_init):
6314           Use _class_peek_parent(), not _class_ref(); fix docs to say
6315           'default main context' instead of 'mainloop' where that is
6316           what's meant.
6317
6318         * gst/gstelement.c: (gst_element_commit_state),
6319         (gst_element_set_state):
6320           Fix typos in debug messages
6321
6322 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6323
6324         * docs/README:
6325         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6326         * gst/gstpluginfeature.c:
6327         * gst/gstutils.c:
6328           various doc updates
6329         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6330           change an assert into an error until it gets fixed properly
6331
6332 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
6333
6334         * docs/gst/gstreamer-sections.txt:
6335         * docs/gst/tmpl/.cvsignore:
6336         * docs/gst/tmpl/gstelement.sgml:
6337         * docs/gst/tmpl/gstinfo.sgml:
6338         * docs/gst/tmpl/gstobject.sgml:
6339         * gst/gstelement.c:
6340         * gst/gstelement.h:
6341         * gst/gstinfo.c:
6342         * gst/gstinfo.h:
6343         * gst/gstobject.c: (gst_object_class_init):
6344         * gst/gstobject.h:
6345           inlined 3 more biiiig doc files and added some missing docs on the fly
6346
6347 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6348
6349         * check/gst/.cvsignore:
6350         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6351         * gst/gstregistryxml.c: (load_plugin),
6352         (gst_registry_xml_save_plugin):
6353           put back source in registry.  add checks for find_plugin.
6354         * testsuite/states/bin.c: (assert_state), (empty_bin),
6355         (test_adding_one_element), (main):
6356         * testsuite/states/locked.c: (main):
6357           some compile/run fixes
6358
6359 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6360
6361         * check/gst/gstvalue.c: (GST_START_TEST):
6362           fix leaks in the test itself
6363
6364 2005-09-22  Wim Taymans  <wim@fluendo.com>
6365
6366         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6367         (gst_base_sink_send_event), (gst_base_sink_peer_query),
6368         (gst_base_sink_query):
6369         Prepare for more accurate position reporting and query
6370         handling.
6371
6372         * gst/gstelement.c: (gst_element_send_event),
6373         (gst_element_set_state):
6374         Add some comment.
6375
6376 2005-09-22  Wim Taymans  <wim@fluendo.com>
6377
6378         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6379         (gst_query_parse_segment):
6380         * gst/gstquery.h:
6381         More documentation.
6382         Add segment query for future use.
6383
6384 2005-09-22  Wim Taymans  <wim@fluendo.com>
6385
6386         * gst/gstbin.c: (gst_bin_add_func):
6387         Some more debug info.
6388
6389         * gst/gstelement.c: (gst_element_send_event):
6390         Simplify send_event
6391
6392         * gst/gstelement.h:
6393         Don't know how flags got broken.
6394
6395         * gst/gstquery.h:
6396         Added new query.
6397
6398 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6399
6400         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6401           Add simplistic test suite for GST_TYPE_DATE serialisation and
6402           deserialisation.
6403
6404 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6405
6406         * docs/gst/gstreamer-sections.txt:
6407         * gst/gststructure.c: (gst_structure_set_valist),
6408         (gst_structure_get_date):
6409         * gst/gststructure.h:
6410         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6411         (gst_date_copy), (gst_value_compare_date),
6412         (gst_value_serialize_date), (gst_value_deserialize_date),
6413         (gst_value_transform_date_string),
6414         (gst_value_transform_string_date), (_gst_value_initialize):
6415         * gst/gstvalue.h:
6416           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6417           bunch of utility functions along with a hack that checks that
6418           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6419           is required. Part of the grand scheme in #170777.
6420
6421 2005-09-22  Andy Wingo  <wingo@pobox.com>
6422
6423         * gst/gstconfig.h.in: Psych out gtk-doc.
6424
6425         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6426
6427         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6428
6429         * tools/gst-inspect.c (print_element_list): Plug some
6430         inconsequential leaks.
6431
6432         * gst/gstregistry.c (gst_registry_get_default): Doc.
6433
6434         * check/gst/gstplugin.c: 
6435         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6436         * gst/gstelementfactory.c (gst_element_factory_create): 
6437         * gst/gstindexfactory.c (gst_index_factory_create): Update for
6438         refcount changes.
6439
6440         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6441         (gst_plugin_feature_load): Doc, don't eat refs.
6442
6443         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6444         (gst_plugin_list_free): Doc.
6445         (gst_plugin_load_file): Doc updates.
6446
6447         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6448         accessors returning refcounted objects, return a ref.
6449
6450         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6451         accessor for caps. IDEMPOTENCE. Oh yes.
6452
6453 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
6454
6455         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6456
6457         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6458         (_gst_debug_register_funcptr):
6459           Add mutex to serialise access to the hash table with
6460           the function pointer => function name string mapping;
6461           make that hash table static scope (#316809).
6462
6463         * gst/registries/.cvsignore:
6464           Remove left-over file.
6465
6466 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6467
6468         * docs/pwg/appendix-porting.xml:
6469           And something about newsegment events and caps-on-buffers to
6470           the porting guide (feel free to improve).
6471
6472 2005-09-21  Andy Wingo  <wingo@pobox.com>
6473
6474         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6475         data and event probes on the same pad.
6476         (test_buffer_probe_once): Test that removing probes from within
6477         the probe functions works.
6478
6479 2005-09-21  Andy Wingo  <wingo@pobox.com>
6480
6481         * check/gst/gstutils.c: New file.
6482         (test_buffer_probe_n_times): A simple buffer probe test. More to
6483         come, foolios.
6484
6485         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6486         have-data::buffer, not have-data.
6487         (gst_pad_add_event_probe): Likewise for have-data::event.
6488         (gst_pad_add_data_probe): More docs. The part about 'resolving the
6489         peer' isn't quite right yet though.
6490         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
6491         (gst_pad_remove_data_probe): Change to take the guint handler_id
6492         as their arg, not the function+data, which is more glib-like.
6493
6494         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6495         the signal emission to indicate if the data is a buffer or an
6496         event.
6497         (gst_pad_get_type): Initialize buffer and event quarks.
6498         (gst_pad_class_init): have-data is now a detailed signal, yes it
6499         is.
6500
6501 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6502
6503         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6504         * gst/gstutils.c: (gst_util_set_value_from_string),
6505         (gst_util_set_object_arg):
6506           Don't put functional code in g_return_if_fail() or
6507           g_return_val_if_fail() statements, otherwise things will 
6508           break when G_DISABLE_CHECKS is defined during compilation.
6509
6510 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6511
6512         * docs/gst/tmpl/.cvsignore:
6513         * docs/gst/tmpl/gstvalue.sgml:
6514         * gst/gstvalue.c:
6515         * gst/gstvalue.h:
6516           inlied another one and added  some obvious docs
6517
6518 2005-09-21  Wim Taymans  <wim@fluendo.com>
6519
6520         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6521         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6522         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6523         (gst_fdsrc_get_property), (gst_fdsrc_create):
6524         * gst/elements/gstfdsrc.h:
6525         Properly implement fdsrc. Removed signal and timeout,
6526         better implemented somewhere else.
6527
6528 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6529
6530         * docs/gst/tmpl/.cvsignore:
6531         * docs/gst/tmpl/gstimplementsinterface.sgml:
6532         * gst/gstinterface.c:
6533           inlined more docs
6534
6535 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6536
6537         * docs/gst/gstreamer-sections.txt:
6538         * docs/gst/tmpl/.cvsignore:
6539         * docs/gst/tmpl/gstenumtypes.sgml:
6540           remove obsolete doc file
6541
6542 2005-09-21  David Schleef  <ds@schleef.org>
6543
6544         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6545         little beer, fix a little leak.
6546
6547 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6548
6549         * docs/gst/gstreamer-docs.sgml:
6550         * docs/gst/gstreamer-sections.txt:
6551         * docs/gst/tmpl/.cvsignore:
6552         * gst/Makefile.am:
6553         * gst/gst.h:
6554         * gst/gstbin.c:
6555         * gst/gstelement.h:
6556         * gst/gstindex.c: (gst_index_class_init):
6557         * gst/gstindex.h:
6558         * gst/gstindexfactory.c: (gst_index_factory_get_type),
6559         (gst_index_factory_class_init), (gst_index_factory_init),
6560         (gst_index_factory_finalize), (gst_index_factory_new),
6561         (gst_index_factory_destroy), (gst_index_factory_find),
6562         (gst_index_factory_create), (gst_index_factory_make):
6563         * gst/gstindexfactory.h:
6564         * gst/gstpluginfeature.c:
6565         * gst/gstpluginfeature.h:
6566         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6567           more docs inlined, splitted gstindex.{c,h}
6568
6569 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6570
6571         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6572           fix a leak
6573
6574 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6575
6576         * gst/elements/gstfilesink.c: (gst_file_sink_init):
6577           Set sync to FALSE by default.
6578
6579 2005-09-20  Wim Taymans  <wim@fluendo.com>
6580
6581         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6582         (gst_base_sink_init):
6583         Make sync property settable from subclass.
6584
6585         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6586         (gst_fake_sink_change_state):
6587         Set sync to FALSE by default.
6588
6589 2005-09-20  Wim Taymans  <wim@fluendo.com>
6590
6591         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6592         * tools/gst-launch.c: (main):
6593         The timeout handler should have lower priority than the source
6594         so we don't timeout before popping a message with 0 timeout.
6595         Dump error messages after failed state change.
6596
6597 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6598
6599         * tools/gst-inspect.c: (print_element_properties_info):
6600           Fix two typos.
6601
6602 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6603
6604         * check/gst/gstevent.c:
6605         * gst/elements/gstfakesink.c:
6606         * gst/elements/gstfakesink.h:
6607           remove the sync property from fakesink.
6608           has the side effect of setting sync TRUE
6609           for fakesink, which is a change.  Anyone who knows how
6610           to fix this nicely in a GObject-y way, feel free.
6611
6612 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6613
6614         * docs/gst/gstreamer-docs.sgml:
6615           remove probe refsection
6616
6617 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6618
6619         * check/Makefile.am:
6620           disable valgrinding the controller test again
6621         * docs/gst/gstreamer-sections.txt:
6622           update for api-changes
6623
6624 2005-09-20  Wim Taymans  <wim@fluendo.com>
6625
6626         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6627         (gst_base_sink_set_property), (gst_base_sink_get_property),
6628         (gst_base_sink_do_sync):
6629         * gst/base/gstbasesink.h:
6630         Added sync property to basesink to disable clock sync.
6631
6632 2005-09-20  Andy Wingo  <wingo@pobox.com>
6633
6634         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6635         eating the caller's refcount.
6636
6637         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6638         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6639         refcount.
6640
6641         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6642         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6643         of GLib 2.8 public, so we can know which refcount to check in
6644         tests.
6645
6646         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6647         (gst_object_init): Only set the gst refcount if we're going ahead
6648         with the refcount hack.
6649
6650 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6651
6652         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6653         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6654           more leaks plumbed, added more debug-logging
6655         * gst/gstmacros.h:
6656           whitespace fix
6657
6658 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6659
6660         * gst/gstmessage.c:
6661           remove include of gstmemchunk.h
6662
6663 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6664
6665         * gst/gstclock.c: (_gst_clock_id_free):
6666           Commit from the Political Party For More Atomic CVS Commits,
6667           so that people don't waste too much of their day fishing
6668           out obvious leaks out of massive commits.
6669           Oh, and fix a pretty damn obvious leak in the memchunk
6670           removal code.
6671
6672 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6673
6674         * check/Makefile.am:
6675         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6676           plug mem-leak, re-add to valgrindable tests
6677
6678 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6679
6680         * gst/gstplugin.h:
6681           unbreak the build for those who have chronic arthritis
6682           and typing "make check" is just too taxing on the hands
6683
6684 2005-09-20  Andy Wingo  <wingo@pobox.com>
6685
6686         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6687         really want it out, you should fix plugins at the same time.
6688
6689 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6690
6691         * configure.ac:
6692         * docs/gst/gstreamer-sections.txt:
6693         * gst/gstobject.c:
6694           added missing symbols to api docs
6695           disable ref-count hack if we have glib >= 2.8
6696
6697 2005-09-19  David Schleef  <ds@schleef.org>
6698
6699         * docs/gst/Makefile.am: Ignore a few more internal headers
6700         * docs/gst/gstreamer-docs.sgml: Remove old sections
6701         * docs/gst/gstreamer-sections.txt: Remove old sections
6702         * docs/gst/tmpl/gstobject.sgml: update
6703         * docs/gst/tmpl/gstplugin.sgml: update
6704         * docs/gst/tmpl/gstpluginfeature.sgml: update
6705         * docs/random/ds/0.9-suggested-changes: update.
6706         * gst/Makefile.am: remove memchunk and trashstack, since they're
6707           not used.
6708         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6709         * gst/gst.h: don't include some headers
6710         * gst/gstchildproxy.c: add gstmarshal.h
6711         * gst/gstclock.c: Don't use memchunks
6712         * gst/gstminiobject.c: Add some docs
6713         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6714         * gst/gstobject.h: same
6715         * gst/gstplugin.c: include gstmacros.h
6716         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6717         * gst/gstquery.c: don't use memchunks
6718         * gst/gstregistry.c: rename gst_registry_deinit()
6719         * gst/gstregistry.h: same
6720
6721 2005-09-19  David Schleef  <ds@schleef.org>
6722
6723         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6724         * docs/libs/gstreamer-libs-sections.txt:
6725         * docs/libs/tmpl/gstgetbits.sgml:
6726         * docs/libs/tmpl/gstputbits.sgml:
6727
6728 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6729
6730         * win32/gstenumtypes.c:
6731         * win32/gstenumtypes.h:
6732           Update.
6733
6734 2005-09-19  Wim Taymans  <wim@fluendo.com>
6735
6736         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6737         Automatically PAUSE and RESUME a pipeline when a flushing seek
6738         is performed.
6739
6740 2005-09-19  Andy Wingo  <wingo@pobox.com>
6741
6742         * gst/gstregistry.h: Spacing fixen.
6743
6744 2005-09-19  Wim Taymans  <wim@fluendo.com>
6745
6746         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6747         Handle state change failure more correctly.
6748
6749 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6750
6751         * check/Makefile.am:
6752         * check/pipelines/cleanup.c: (run_pipeline):
6753         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6754         (GST_START_TEST):
6755           enable cleanup again after fixing the leak
6756         * docs/README:
6757           some more info on docs
6758
6759 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6760
6761         * check/Makefile.am:
6762           re-enable tests now that leaks are plugged
6763         * check/gst/gst.c:
6764         * check/gst/gstbin.c:
6765         * check/gst/gstpipeline.c:
6766           add some more tests while fixing leaks
6767         * common/check.mak:
6768           make sure binaries are uptodate when valgrinding/gdbing
6769         * gst/gst.c:
6770         * gst/gstelementfactory.c:
6771           remove a ref too many, and add a FIXME for when we get
6772           round to disposing of classes
6773         * gst/gstplugin.c:
6774           fix the refcounting when loading a plugin from a file and
6775           the code pretends that the pointer is the same even though
6776           of course it can change
6777         * gst/gstpluginfeature.c:
6778           unref plugins marked cached (a bit confusing as a name)
6779           as the docs state should be done
6780           various doc additions to explain refcounting
6781         * gst/gstregistry.c:
6782         * gst/gstregistryxml.c:
6783           debugging
6784
6785 2005-09-19  Wim Taymans  <wim@fluendo.com>
6786
6787         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6788         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6789         (send_messages), (GST_START_TEST), (gstbus_suite):
6790         * check/gst/gstpipeline.c: (GST_START_TEST):
6791         * check/pipelines/cleanup.c: (run_pipeline):
6792         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6793         (GST_START_TEST):
6794         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6795         (gst_bus_source_check), (gst_bus_source_dispatch),
6796         (gst_bus_create_watch), (gst_bus_add_watch_full),
6797         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6798         * gst/gstbus.h:
6799         * tools/gst-launch.c: (event_loop):
6800         * tools/gst-md5sum.c: (event_loop):
6801         GstBusHandler -> GstBusFunc, return value has the same meaning as
6802         any other GSource (FALSE == remove source).
6803         _add_watch() and _add_watch_full() now take a MessageType mask to
6804         only handle specific types of messages.
6805         _poll() returns the GstMessage instead of the message type to avoid
6806         race conditions.
6807         _have_pending() takes a MessageType mask now too.
6808         Added testsuite for multiple bus watches.
6809         Fix testsuites and applications for new bus API.
6810
6811 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6812
6813         * check/Makefile.am:
6814           mark a bunch of the tests as to fix until we fix them
6815
6816 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6817
6818         * common/check.mak:
6819           use GST_PLUGIN settings for valgrind tests as well, so we're
6820           valgrinding the correct thing
6821         * gst/gst.c: (init_post):
6822           plug another leak
6823
6824 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6825
6826         * gst/gst.c: (init_post), (gst_deinit):
6827         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6828         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6829         * gst/gstindex.c: (gst_index_factory_class_init),
6830         (gst_index_factory_finalize):
6831         * gst/gstobject.c: (gst_object_dispose):
6832         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6833         (gst_plugin_load_file), (gst_plugin_desc_free):
6834         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6835         (gst_plugin_feature_finalize):
6836         * gst/gstregistry.c: (gst_registry_class_init),
6837         (gst_registry_init), (gst_registry_finalize),
6838         (gst_registry_get_default), (gst_registry_deinit):
6839         * gst/gstregistry.h:
6840         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6841           various cleanups and memleak plugging.  make valgrind is happy now.
6842
6843 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6844
6845         * common/check.mak:
6846           add a check-valgrind target
6847
6848 2005-09-18  David Schleef  <ds@schleef.org>
6849
6850         * tools/gst-inspect.c: Revert the GOption code.
6851
6852 2005-09-17  David Schleef  <ds@schleef.org>
6853
6854         * check/Makefile.am: Fix environment variables.
6855         * check/gst/gstplugin.c: Fix for API changes.
6856         * tools/gst-inspect.c: Fix for API changes.
6857         * tools/gst-xmlinspect.c: Fix for API changes.
6858         * gst/gstelementfactory.c:
6859         * gst/gstplugin.c:
6860         * gst/gstplugin.h:
6861         * gst/gstpluginfeature.c:
6862         * gst/gstpluginfeature.h:
6863         * gst/gstregistry.c:
6864         * gst/gstregistry.h:
6865         * gst/gstregistryxml.c:
6866         * gst/gsttypefind.c:
6867         * gst/gsttypefindfactory.c:
6868         * gst/indexers/gstfileindex.c:
6869         * gst/indexers/gstmemindex.c:
6870         * gst/schedulers/Makefile.am:
6871           Change registry to keep track of both plugins and features,
6872           removing the feature tracking from plugins themselves.
6873
6874 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6875
6876         * check/Makefile.am:
6877         * tools/gst-register.1.in:
6878           remove gst-register
6879
6880 2005-09-15  David Schleef  <ds@schleef.org>
6881
6882         * check/gst/gstplugin.c:
6883         * gst/gstelementfactory.c:
6884         * gst/gstplugin.c:
6885         * gst/gstpluginfeature.c:
6886         * gst/gstregistry.c:
6887           Getting tired of debugging.  Disabled all the unreffing of
6888           plugins and features, which fixes the segfaults, but of
6889           course leaks like crazy.  At least playbin works.
6890
6891 2005-09-15  David Schleef  <ds@schleef.org>
6892
6893         * check/gst/gstplugin.c: (register_check_elements),
6894         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6895         More testing
6896         * gst/elements/gsttypefindelement.c: Fix refcounting.
6897         * gst/gsttypefind.c:
6898         * gst/gsttypefindfactory.c:
6899         * gst/gsttypefindfactory.h:
6900
6901 2005-09-15  David Schleef  <ds@schleef.org>
6902
6903         * gst/gstindex.c: get refcounting correct.
6904         * gst/gstregistry.c: Handle the case where a feature/plugin is
6905           not found.
6906
6907 2005-09-15  David Schleef  <ds@schleef.org>
6908
6909         * check/Makefile.am:
6910         * check/gst/gstplugin.c: Add test
6911         * gst/gstplugin.c: Fix problems noticed by testsuite
6912         * gst/gstplugin.h:
6913         * gst/gstregistry.c: 
6914         * gst/gstregistry.h:
6915
6916 2005-09-15  David Schleef  <ds@schleef.org>
6917
6918         * gst/gstplugin.c: Implement semi-decent recounting and locking
6919           in plugins and plugin features.
6920         * gst/gstplugin.h:
6921         * gst/gstpluginfeature.c:
6922         * gst/gstpluginfeature.h:
6923         * gst/gstregistry.c:
6924
6925 2005-09-15  Michael Smith <msmith@fluendo.com>
6926
6927         * gst/gstregistry.c: (gst_registry_get_feature_list):
6928           Implement this. Makes oggdemux work; decodebin still broken.
6929
6930 2005-09-14  David Schleef  <ds@schleef.org>
6931
6932         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6933           #316076)
6934         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6935         * gst/check/Makefile.am:
6936         * libs/gst/controller/Makefile.am:
6937         * libs/gst/dataprotocol/Makefile.am:
6938
6939 2005-09-14  David Schleef  <ds@schleef.org>
6940
6941         * configure.ac: Remove getbits library.  Nothing uses it, and
6942           it should be in something like liboil if someone did want
6943           to use it.
6944         * libs/gst/Makefile.am:
6945         * libs/gst/getbits/Makefile.am:
6946         * libs/gst/getbits/gbtest.c:
6947         * libs/gst/getbits/getbits.c:
6948         * libs/gst/getbits/getbits.h:
6949         * libs/gst/getbits/gstgetbits_generic.c:
6950         * libs/gst/getbits/gstgetbits_i386.s:
6951         * libs/gst/getbits/gstgetbits_inl.h:
6952
6953 2005-09-14  David Schleef  <ds@schleef.org>
6954
6955         * gst/Makefile.am: Dist glib-compat.h
6956
6957 2005-09-14  David Schleef  <ds@schleef.org>
6958
6959         * configure.ac: Remove gst/registries, since it's no longer used.
6960         * gst/registries/Makefile.am:
6961         * gst/registries/gstlibxmlregistry.c:
6962         * gst/registries/gstlibxmlregistry.h:
6963         * gst/registries/gstxmlregistry.c:
6964         * gst/registries/gstxmlregistry.h:
6965         * gst/registries/registrytest.c:
6966
6967 2005-09-14  David Schleef  <ds@schleef.org>
6968
6969         * gst/glib-compat.h:
6970         * gst/gstregistryxml.c:
6971           Convergence is near.  Seriously.
6972
6973 2005-09-14  David Schleef  <ds@schleef.org>
6974
6975         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6976         * gst/glib-compat.h:
6977           Attempt #4 to appease the buildbots.
6978
6979 2005-09-14  David Schleef  <ds@schleef.org>
6980
6981         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6982           Attempt #3.
6983
6984 2005-09-14  David Schleef  <ds@schleef.org>
6985
6986         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6987         Attempt #2.
6988
6989 2005-09-14  David Schleef  <ds@schleef.org>
6990
6991         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6992           the new functions.
6993
6994 2005-09-14  David Schleef  <ds@schleef.org>
6995
6996         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6997         * gst/glib-compat.h: Add some functions that are in newer versions
6998           of glib than we care to require.
6999         * gst/gstregistryxml.c: Use them.
7000
7001 2005-09-14  David Schleef  <ds@schleef.org>
7002
7003         * po/POTFILES.in: remove gst-register.c
7004
7005 2005-09-14  David Schleef  <ds@schleef.org>
7006
7007         * docs/gst/gstreamer-docs.sgml:
7008         * docs/gst/gstreamer-sections.txt:
7009         * docs/gst/gstreamer.types:
7010         * docs/gst/tmpl/gstelement.sgml:
7011         * docs/gst/tmpl/gstplugin.sgml:
7012         * docs/gst/tmpl/gstpluginfeature.sgml:
7013           Documentation updates for registry changes.
7014
7015 2005-09-14  David Schleef  <ds@schleef.org>
7016
7017         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
7018           because we don't require glib-2.8.
7019
7020 2005-09-14  David Schleef  <ds@schleef.org>
7021
7022         * gst/gstregistryxml.c: Added.  Essentially moved out of the
7023           registries directory.
7024
7025 2005-09-14  David Schleef  <ds@schleef.org>
7026
7027         * check/Makefile.am:
7028         * check/generic/states.c:
7029         * gst/Makefile.am:
7030         * gst/gst.c:
7031         * gst/gst.h:
7032         * gst/gst_private.h:
7033         * gst/gstelementfactory.c:
7034         * gst/gstindex.c:
7035         * gst/gstinfo.c:
7036         * gst/gstplugin.c:
7037         * gst/gstplugin.h:
7038         * gst/gstpluginfeature.c:
7039         * gst/gstpluginfeature.h:
7040         * gst/gstregistry.c:
7041         * gst/gstregistry.h:
7042         * gst/gstregistrypool.c: remove
7043         * gst/gstregistrypool.h: remove
7044         * gst/gsttypefind.c:
7045         * gst/gsttypefindfactory.c:
7046         * gst/gsturi.c:
7047         * tools/Makefile.am:
7048         * tools/gst-compprep.c:
7049         * tools/gst-inspect.c:
7050         * tools/gst-register.c: remove
7051         * tools/gst-xmlinspect.c:
7052           Registry rewrite.  Changes registry from being a file created
7053           by a tool into a simple cache file created automatically by 
7054           libgstreamer.  Removed gst-register (because it's no longer
7055           needed).  Remove registry pools, because we only have one
7056           registry implementation (XML).  Fix up other subsystems as
7057           necessary.
7058
7059 2005-09-13  Michael Smith <msmith@fluendo.com>
7060
7061         * gst/gstconfig.h.in:
7062           Don't Use windows linking attributes for MinGW. Fixes #316157
7063
7064 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7065
7066         * gst/gstutils.c: (set_state_async_thread_func),
7067         (gst_element_set_state_async):
7068           Apparently people think it's better if this function doesn't
7069           try to set the state to whatever state was asked for on the first
7070           call to this function for any object.  Seriously.
7071
7072 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7073
7074         * check/gst/gstpipeline.c: (GST_START_TEST):
7075         * docs/gst/gstreamer-sections.txt:
7076         * gst/gstutils.c: (set_state_async_thread_func),
7077         (gst_element_set_state_async):
7078         * gst/gstutils.h:
7079           add a "gst_element_set_state_async" method that
7080           sets the state and starts a thread to make sure the state
7081           change completes as best as it can
7082
7083 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7084
7085         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
7086           codify design+behaviour in testsuite after discussion
7087
7088 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7089
7090         * docs/gst/tmpl/gstelement.sgml:
7091         * docs/manual/appendix-quotes.xml:
7092           add a quote
7093         * gst/gstelement.c: (gst_element_set_state):
7094           add some debug
7095
7096 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
7097
7098         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7099         (gst_base_transform_prepare_output_buf),
7100         (gst_base_transform_handle_buffer):
7101         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
7102         (gst_capsfilter_prepare_buf):
7103           Remove the requirement for sub-classes to call the parent
7104           implementation of prepare_output_buffer with a wrapper function.
7105           
7106         * gst/gsttaglist.h:
7107         * gst/gsttagsetter.h:
7108           Fix #define wrapper
7109
7110 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
7111
7112         * docs/gst/gstreamer-sections.txt:
7113           more doc cleanups
7114
7115 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7116
7117         * docs/gst/gstreamer-sections.txt:
7118         * docs/gst/tmpl/gstelement.sgml:
7119         * docs/gst/tmpl/gstplugin.sgml:
7120         * gst/gstminiobject.c:
7121         * gst/gstvalue.h:
7122           docs now stop throwing warnings
7123
7124 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7125
7126         * docs/gst/gstreamer-sections.txt:
7127         * docs/gst/gstreamer.types:
7128         * docs/gst/tmpl/gstpad.sgml:
7129         * docs/gst/tmpl/gsttypes.sgml:
7130         * gst/base/gstadapter.h:
7131         * gst/base/gstbasesink.h:
7132         * gst/base/gstbasesrc.h:
7133         * gst/gstbin.h:
7134         * gst/gstbuffer.h:
7135         * gst/gstbus.h:
7136         * gst/gstcaps.h:
7137         * gst/gstclock.h:
7138         * gst/gstelement.h:
7139         * gst/gstevent.h:
7140         * gst/gstmessage.h:
7141         * gst/gstpad.h:
7142         * gst/gststructure.c:
7143         * gst/registries/gstlibxmlregistry.h:
7144           various documentation fixes
7145
7146 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7147
7148         * docs/gst/gstreamer-sections.txt:
7149         * docs/gst/tmpl/gstvalue.sgml:
7150           rearrange gstvalue section
7151         * gst/gstutils.c: (gst_element_state_get_name):
7152           NONE -> VOID
7153         * gst/gstvalue.c: (_gst_value_initialize):
7154         * gst/gstvalue.h:
7155           doc updates
7156
7157 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
7158
7159         * check/gst-libs/controller.c:
7160           Header include fix.
7161         * gst/base/gstbasetransform.c:
7162         (gst_base_transform_default_prepare_buf),
7163         (gst_base_transform_handle_buffer):
7164         * gst/base/gstbasetransform.h:
7165           Some more basetransform changes and fixes to enable sub-classes
7166           that modify buffer metadata only.
7167         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7168         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
7169         (gst_capsfilter_prepare_buf):
7170           If the output pad has fixed allowed caps and input buffers 
7171           don't have any, set the fixed caps on outgoing buffers.
7172
7173 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
7174         * check/elements/identity.c: (GST_START_TEST):
7175           Make the error a little clearer when the test fails because
7176           identity made a copy of the buffer.
7177         * docs/gst/gstreamer-sections.txt:
7178           New symbols in gstbasetransform.h
7179         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7180         (gst_base_transform_init), (gst_base_transform_transform_size),
7181         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7182         (gst_base_transform_default_prepare_buf),
7183         (gst_base_transform_get_unit_size),
7184         (gst_base_transform_buffer_alloc),
7185         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7186         (gst_base_transform_change_state),
7187         (gst_base_transform_set_passthrough),
7188         (gst_base_transform_set_in_place),
7189         (gst_base_transform_is_in_place):
7190         * gst/base/gstbasetransform.h:
7191           Change BaseTransform to separate in_place operate from same_caps
7192           output. in_place implies that the element can perform the transform
7193           on incoming buffers in-place, even if the caps on the output are
7194           different.
7195           Sub-class elements can now implement special buffer allocation
7196           methods for outgoing buffers if they wish to.
7197           Big documentation addition.
7198         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
7199         * gst/elements/gstelements.c:
7200           Changes for basetransform modifications.
7201         * gst/elements/Makefile.am:
7202         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
7203           Compile fix. Extra debug output.
7204
7205 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7206
7207         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
7208         (gst_pad_suite):
7209           add tests for valid pad naming
7210         * gst/check/gstcheck.c: (gst_check_log_message_func),
7211         (gst_check_log_critical_func):
7212           add ASSERT_WARNING
7213           remove printing of code, it is fragile when the code contains
7214           % and the line number is enough info
7215         * gst/check/gstcheck.h:
7216         * gst/gstpad.c: (gst_pad_template_new):
7217           fix memleaks
7218
7219 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7220
7221         * configure.ac:
7222           say what CHECK flags we use
7223         * docs/libs/gstreamer-libs.types:
7224         * libs/gst/controller/Makefile.am:
7225         * libs/gst/controller/gst-controller.c:
7226         * libs/gst/controller/gst-controller.h:
7227         * libs/gst/controller/gst-helper.c:
7228         * libs/gst/controller/gst-interpolation.c:
7229         * libs/gst/controller/gstcontroller.c:
7230         * libs/gst/controller/gsthelper.c:
7231         * libs/gst/controller/gstinterpolation.c:
7232         * tools/gst-inspect.c: (print_plugin_info):
7233           we don't use dashes in header names
7234
7235 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7236
7237         * check/Makefile.am:
7238         * check/gst/.cvsignore:
7239         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
7240         (gst_pipeline_suite), (main):
7241           adding a test for pipelines and state changes
7242         * gst/gstutils.c: (get_state_func):
7243           add some debugging
7244         * gstreamer.spec.in:
7245           fix up spec file
7246
7247 2005-09-08  Michael Smith <msmith@fluendo.com>
7248
7249         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
7250         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
7251         (gst_file_src_is_seekable), (gst_file_src_get_size),
7252         (gst_file_src_start):
7253         * gst/elements/gstfilesrc.h:
7254           Various fixes for unseekable, unmmapable, and non-normal files, so
7255           that fallback to read() rather than mmap() works.
7256         * gst/gstevent.c: (gst_event_new_newsegment):
7257           Allow newsegment events with segment_start == segment_end, as will
7258           correctly happen if you use filesrc on a zero-size file, for
7259           example.
7260
7261 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7262
7263         * gst/gstplugin.c: (gst_plugin_load_file):
7264           Call g_module_close when we don't load the module
7265
7266         * gst/registries/gstlibxmlregistry.c:
7267         (gst_xml_registry_get_property):
7268           Port leak fix from 0.8
7269
7270 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7271
7272         * docs/gst/gstreamer-docs.sgml:
7273         * docs/gst/tmpl/.cvsignore:
7274         * docs/gst/tmpl/gsttrace.sgml:
7275         * docs/gst/tmpl/gsttrashstack.sgml:
7276         * gst/Makefile.am:
7277         * gst/gst.h:
7278         * gst/gstelement.h:
7279         * gst/gstevent.h:
7280         * gst/gstmessage.c:
7281         * gst/gstmessage.h:
7282         * gst/gsttag.c:
7283         * gst/gsttag.h:
7284         * gst/gsttaginterface.c:
7285         * gst/gsttaginterface.h:
7286         * gst/gsttaglist.c:
7287         * gst/gsttaglist.h:
7288         * gst/gsttagsetter.c:
7289         * gst/gsttagsetter.h:
7290         * gst/gsttrace.c:
7291         * gst/gsttrace.h:
7292         * gst/gsttrashstack.c:
7293           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7294           inlined docs for gsttrace, gsttrashstack
7295
7296 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7297
7298         * gst/Makefile.am:
7299         * gst/elements/gstbufferstore.h:
7300         * gst/elements/gsttypefindelement.c:
7301         * gst/elements/gsttypefindelement.h:
7302         * gst/gst.h:
7303         * gst/gsttypefind.c:
7304         * gst/gsttypefind.h:
7305         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7306         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7307         (gst_type_find_factory_dispose),
7308         (gst_type_find_factory_unload_thyself),
7309         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7310         (gst_type_find_factory_get_caps),
7311         (gst_type_find_factory_get_extensions),
7312         (gst_type_find_factory_call_function):
7313         * gst/gsttypefindfactory.h:
7314         * gst/registries/gstlibxmlregistry.c:
7315         * gst/registries/gstxmlregistry.c:
7316           splitted gsttypefind into gsttypefind, gsttypefindfactory
7317
7318 2005-09-07  Andy Wingo  <wingo@pobox.com>
7319
7320         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7321         condition whereby the pad's task function is entered before the
7322         pad_mode variable was set.
7323
7324 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7325
7326         * gst/gstpad.c: (gst_pad_alloc_buffer):
7327           Catch misbehaving pad_alloc functions that don't
7328           set up caps and do it for them.
7329
7330 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7331
7332         * check/pipelines/simple_launch_lines.c: (run_pipeline):
7333           test for pipe!=NULL
7334         * docs/gst/tmpl/.cvsignore:
7335         * docs/gst/tmpl/gstmemchunk.sgml:
7336         * docs/gst/tmpl/gstparse.sgml:
7337         * docs/gst/tmpl/gsttaglist.sgml:
7338         * docs/gst/tmpl/gsttagsetter.sgml:
7339         * docs/gst/tmpl/gsttypefind.sgml:
7340         * docs/gst/tmpl/gsttypefindfactory.sgml:
7341         * gst/gstmemchunk.c:
7342         * gst/gstparse.c:
7343         * gst/gsttag.c:
7344         * gst/gsttaginterface.c:
7345         * gst/gsttypefind.c:
7346         * gst/gsttypefind.h:
7347           inlined more docs
7348
7349 === release 0.9.2 ===
7350
7351 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7352
7353         * NEWS:
7354         * RELEASE:
7355         * configure.ac:
7356           releasing 0.9.2, "South"
7357
7358 2005-09-05  Andy Wingo  <wingo@pobox.com>
7359
7360         * gst/registries/gstxmlregistry.h:
7361         * gst/registries/gstxmlregistry.c: Um... resurrect...
7362         
7363         * gst/registries/gstxmlregistry.h:
7364         * gst/registries/gstxmlregistry.c: and update to newer API.
7365         Incidentally they should be a bit faster now that they don't have
7366         to parse the caps.
7367         
7368 2005-09-05  Andy Wingo  <wingo@pobox.com>
7369
7370         * gst/registries/gstxmlregistry.h:
7371         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7372         replaced by the libxml registry a while back
7373
7374 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7375
7376         * docs/gst/tmpl/gstplugin.sgml:
7377         * gst/elements/gstelements.c:
7378         * gst/gst.c:
7379         * gst/gstplugin.c: (gst_plugin_register_func),
7380         (gst_plugin_desc_copy), (gst_plugin_desc_free),
7381         (gst_plugin_get_source):
7382         * gst/gstplugin.h:
7383         * gst/registries/gstlibxmlregistry.c: (load_plugin),
7384         (gst_xml_registry_save_plugin):
7385         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7386         (gst_xml_registry_save_plugin):
7387         * tools/gst-inspect.c: (print_plugin_info):
7388           add a "source" plugin description field, to represent the source
7389           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
7390           will set it to PACKAGE, which is automake's idea of the name of
7391           the source project.
7392
7393 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7394
7395         * Makefile.am:
7396         * autogen.sh:
7397         * configure.ac:
7398         * docs/Makefile.am:
7399         * docs/faq/Makefile.am:
7400         * docs/gst/tmpl/gstelement.sgml:
7401         * docs/gst/tmpl/gsttypes.sgml:
7402         * docs/htmlinstall.mak:
7403         * docs/manual/Makefile.am:
7404         * docs/pwg/Makefile.am:
7405           reorganize doc build a little
7406           split out docbook and gtk-doc stuff
7407           have two separate --enable's and enable them through autogen
7408           but disable by default in configure (to be similar to other
7409           projects)
7410         * gstreamer.spec.in:
7411           clean up docs install
7412         * po/af.po:
7413         * po/az.po:
7414         * po/ca.po:
7415         * po/cs.po:
7416         * po/de.po:
7417         * po/en_GB.po:
7418         * po/fr.po:
7419         * po/it.po:
7420         * po/nb.po:
7421         * po/nl.po:
7422         * po/ru.po:
7423         * po/sq.po:
7424         * po/sr.po:
7425         * po/sv.po:
7426         * po/tr.po:
7427         * po/uk.po:
7428         * po/vi.po:
7429           translation updates
7430
7431 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7432
7433         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7434           Add comment.
7435           
7436         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7437         (gst_fake_sink_change_state):
7438           Make state change function thread-safe.
7439           
7440         * gst/gstpad.c: (gst_pad_alloc_buffer):
7441           Set offset on generic buffer allocated by fallback.
7442
7443 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
7444
7445         * docs/gst/gstreamer-sections.txt:
7446         * docs/gst/tmpl/gstelement.sgml:
7447         * gst/gstpad.c:
7448         * libs/gst/controller/gst-controller.c:
7449         (gst_controlled_property_set_interpolation_mode),
7450         (gst_controlled_property_new),
7451         (gst_controller_find_controlled_property):
7452          run the wingo-magic script against the docs
7453
7454 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7455
7456         * docs/gst/gstreamer-docs.sgml:
7457         * docs/gst/gstreamer-sections.txt:
7458         * docs/gst/tmpl/.cvsignore:
7459         * docs/gst/tmpl/gstelementdetails.sgml:
7460         * docs/gst/tmpl/gstelementfactory.sgml:
7461         * gst/gst.c:
7462         * gst/gstbus.c:
7463         * gst/gstelementfactory.c:
7464         * gst/gstelementfactory.h:
7465           merged elementdetails docs into elementfactory docs
7466           inlined both
7467
7468 2005-09-02  Andy Wingo  <wingo@pobox.com>
7469
7470         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7471         consider this enum an enum and not a flags.
7472
7473 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7474
7475         * docs/gst/gstreamer-docs.sgml:
7476         * docs/gst/tmpl/.cvsignore:
7477         * docs/gst/tmpl/gstghostpad.sgml:
7478         * docs/gst/tmpl/gstiterator.sgml:
7479         * docs/gst/tmpl/gstmacros.sgml:
7480         * docs/gst/tmpl/gstrealpad.sgml:
7481         * docs/gst/tmpl/gstregistry.sgml:
7482         * docs/gst/tmpl/gstregistrypool.sgml:
7483         * docs/gst/tmpl/gststructure.sgml:
7484         * docs/gst/tmpl/gstsystemclock.sgml:
7485         * docs/gst/tmpl/gsttrace.sgml:
7486         * gst/gstghostpad.c:
7487         * gst/gstmacros.h:
7488         * gst/gstmemchunk.c:
7489         * gst/gstmemchunk.h:
7490         * gst/gstqueue.c:
7491         * gst/gstregistry.c:
7492         * gst/gstregistrypool.c:
7493         * gst/gststructure.c:
7494         * gst/gstsystemclock.c:
7495           more docs inlined
7496
7497 2005-09-02  Andy Wingo  <wingo@pobox.com>
7498
7499         * gst/gstelement.h (GstState): Renamed from GstElementState,
7500         changed to be a normal enum instead of flags.
7501         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7502         munged to be GST_STATE_CHANGE_*.
7503         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7504         work with the new state representation.
7505         (GstStateChange): New enumeration of possible state transitions.
7506         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7507         (GstElementClass::change_state): Pass the GstStateChange along as
7508         an argument. Helps language bindings, so they don't have to use
7509         tricky lock-needing macros like GST_STATE_CHANGE ().
7510
7511         * scripts/update-states (file): New script. Run it on a file to
7512         update it for state naming and API changes. Updates files in
7513         place.
7514
7515         * All files updated for the new API.
7516
7517 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7518
7519         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7520         * gst/gstutils.c: (gst_util_set_value_from_string),
7521         (gst_util_set_object_arg):
7522           fix a bunch of unchecked return values
7523         * tools/gst-complete.c: (main):
7524         * gstreamer.spec.in:
7525           clean up a little
7526
7527 2005-09-01  Wim Taymans  <wim@fluendo.com>
7528
7529         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7530         (gst_base_sink_event), (gst_base_sink_do_sync),
7531         (gst_base_sink_handle_event):
7532         * gst/base/gstbasesink.h:
7533         Handle newsegments more correctly.
7534
7535         * gst/gstbus.c:
7536         Fix docs.
7537
7538         * gst/gstevent.c: (gst_event_new_newsegment):
7539         A newsegment cannot have a start_time of -1
7540
7541 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7542
7543         * win32/gstenumtypes.c:
7544         * win32/gstenumtypes.h:
7545           Update
7546
7547 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7548
7549         * libs/gst/controller/gst-controller.c:
7550         (gst_controlled_property_set_interpolation_mode),
7551         (gst_controlled_property_new):
7552          fixed boolean again
7553
7554 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
7555
7556         * docs/faq/gst-uninstalled:
7557           add -good
7558         * gst/gstevent.c:
7559         * gst/gstevent.h:
7560           remove wrong docs
7561         * gst/gstutils.c: (gst_element_link_filtered):
7562         * gst/gstutils.h:
7563           add gst_element_link_filtered
7564
7565 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7566
7567         * docs/gst/gstreamer-docs.sgml:
7568         * docs/gst/gstreamer-sections.txt:
7569         * docs/gst/tmpl/.cvsignore:
7570         * docs/gst/tmpl/gsterror.sgml:
7571         * docs/gst/tmpl/gstfilter.sgml:
7572         * docs/gst/tmpl/gsturihandler.sgml:
7573         * docs/gst/tmpl/gsturitype.sgml:
7574         * docs/gst/tmpl/gstutils.sgml:
7575         * docs/gst/tmpl/gstxml.sgml:
7576         * gst/gsterror.c:
7577         * gst/gsterror.h:
7578         * gst/gstfilter.c:
7579         * gst/gsturi.c:
7580         * gst/gsturitype.c:
7581         * gst/gstutils.c:
7582         * gst/gstxml.c:
7583           inlined more docs, fixed double id-ref
7584
7585 2005-08-31  Wim Taymans  <wim@fluendo.com>
7586
7587         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7588         (gst_base_transform_handle_buffer):
7589         Passthrough elements don't need the caps as they don't care.
7590
7591 2005-08-31  Wim Taymans  <wim@fluendo.com>
7592
7593         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7594         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7595         Don't leak refcounts on buffers.
7596
7597 2005-08-31  Wim Taymans  <wim@fluendo.com>
7598
7599         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7600         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7601         (gst_base_transform_chain), (gst_base_transform_change_state):
7602         * gst/base/gstbasetransform.h:
7603         Handle the case where we are not negotiated more gracefully.
7604
7605 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7606
7607         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7608         (gst_file_src_map_region):
7609           Set READONLY flag on mmap'ed buffers, otherwise
7610           gst_buffer_make_writable() won't work properly (#314708).
7611
7612 2005-08-31  Wim Taymans  <wim@fluendo.com>
7613
7614         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7615         passthrough elements can even do inplace on non writable
7616         buffers (as they don't touch them).
7617
7618 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7619
7620         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7621         (gst_test_mono_source_set_property),
7622         (gst_test_mono_source_class_init), (GST_START_TEST),
7623         (gst_controller_suite):
7624           more tests (hehe I have the most)
7625         * gst/gstbus.c:
7626           describe popping messages whenusing mulltiple sources
7627         * libs/gst/controller/gst-controller.c:
7628         (gst_controlled_property_set_interpolation_mode),
7629         (gst_controlled_property_new):
7630         * libs/gst/controller/gst-controller.h:
7631         * libs/gst/controller/gst-interpolation.c:
7632           implement boolean properties
7633
7634 2005-08-31  Wim Taymans  <wim@fluendo.com>
7635
7636         * gst/gstminiobject.c: (gst_mini_object_ref):
7637         Cannot assert that the refcount has to be positive
7638         since a disposed object can be resurrected.
7639
7640 2005-08-31  Wim Taymans  <wim@fluendo.com>
7641
7642         * gst/gstpad.c: (gst_pad_init):
7643         Revert change, need to first fix badly behaving 
7644         apps.
7645
7646 2005-08-30  Wim Taymans  <wim@fluendo.com>
7647
7648         * check/elements/fakesrc.c: (setup_fakesrc):
7649         * check/elements/identity.c: (setup_identity):
7650         Activate pads before using them.
7651
7652 2005-08-30  Wim Taymans  <wim@fluendo.com>
7653
7654         * gst/base/gstadapter.c: (gst_adapter_flush):
7655         Flushing out 0 bytes is ok for this function.
7656
7657         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7658         no newsegment gives a warning and sets the start/stop to 
7659         invalid.
7660
7661         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7662         (gst_base_transform_set_passthrough):
7663         Some debug info.
7664
7665         * gst/gstminiobject.c: (gst_mini_object_ref):
7666         Check refcount here too.
7667
7668         * gst/gstpad.c: (gst_pad_init):
7669         Pads are initially flushing and refusing data.
7670
7671         * gst/gstutils.c: (gst_element_link_pads_filtered):
7672         When adding a capsfilter element make sure it has the
7673         same state as the parent bin.
7674
7675 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7676
7677         * docs/gst/tmpl/.cvsignore:
7678         * docs/gst/tmpl/gstformat.sgml:
7679         * docs/gst/tmpl/gstversion.sgml:
7680         * gst/gstbus.h:
7681         * gst/gstformat.c:
7682         * gst/gstformat.h:
7683         * gst/gstversion.h.in:
7684           more docs and two more inlined
7685
7686 2005-08-30  Wim Taymans  <wim@fluendo.com>
7687
7688         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7689         Don't sync to clock.
7690
7691 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7692
7693         * docs/gst/gstreamer-sections.txt:
7694           ultral33t func10ns deserve to appear in the docs actually
7695         * docs/gst/tmpl/.cvsignore:
7696         * docs/gst/tmpl/gstcompat.sgml:
7697         * docs/gst/tmpl/gstconfig.sgml:
7698         * gst/check/gstcheck.c:
7699         * gst/gstcompat.h:
7700         * gst/gstconfig.h.in:
7701           inlined more docs
7702
7703 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7704
7705         * docs/gst/tmpl/.cvsignore:
7706         * docs/gst/tmpl/gstquery.sgml:
7707         * docs/gst/tmpl/gstutils.sgml:
7708         * gst/gstquery.c:
7709         * gst/gstquery.h:
7710           inlined and extended docs
7711
7712 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7713
7714         * check/gst-libs/controller.c: (GST_START_TEST),
7715         (gst_controller_suite):
7716           more tests
7717         * docs/gst/tmpl/gstutils.sgml:
7718         * docs/libs/gstreamer-libs-sections.txt:
7719         * docs/libs/tmpl/gstdataprotocol.sgml:
7720           include path fixes
7721         * examples/controller/audio-example.c: (main):
7722           controller example works now
7723         * gst/gstclock.h:
7724           doc fixes
7725         * tools/gst-inspect.c: (print_element_properties_info):
7726           show param spec flags
7727
7728 2005-08-29  Andy Wingo  <wingo@pobox.com>
7729
7730         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7731
7732 2005-08-28  Andy Wingo  <wingo@pobox.com>
7733
7734         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7735         as having two arguments instead of just one. Allows superclasses
7736         to access information on subclasses -- see the terrible for() loop
7737         in gtype.c:g_type_create_instance for the reason why. All callers
7738         changed.
7739
7740 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7741
7742         * docs/design/part-messages.txt:
7743           update info
7744         * docs/gst/tmpl/.cvsignore:
7745         * docs/gst/tmpl/gstcaps.sgml:
7746         * docs/gst/tmpl/gstclock.sgml:
7747         * gst/gstbus.c:
7748         * gst/gstcaps.c:
7749         * gst/gstcaps.h:
7750         * gst/gstclock.c:
7751         * gst/gstclock.h:
7752         * gst/gstmessage.c:
7753           added descriptions for bus and message
7754           inline caps and clock docs
7755
7756 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7757
7758         * gst/gstmessage.c:
7759         * gst/gstmessage.h:
7760           doc fixes
7761
7762 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7763
7764         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7765           fix div-by-zero
7766
7767 2005-08-26  Andy Wingo  <wingo@pobox.com>
7768
7769         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7770         element_set_state's return val.
7771         (test_2_elements): Add test that's been disabled for months.
7772
7773         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7774         can-activate-pull properties.
7775
7776         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7777         can-activate-pull properties. Implement is_seekable so fakesrc can
7778         operate in pull mode.
7779
7780         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7781         properties.
7782         (gst_base_sink_activate, gst_base_sink_activate_pull)
7783         (gst_base_sink_activate_push): Make activation mode choosing work.
7784         Cleanups.
7785         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7786         is right. Make pull mode work. Post an eos before pausing in pull
7787         mode.
7788         (gst_base_sink_change_state): Pay attention to the core's
7789         change_state() return val.
7790         
7791         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7792         has-getrange properties. Cleanups.
7793         
7794         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7795         has_getrange and replace with can_activate_pull and
7796         can_activate_push.
7797
7798         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7799         locking comments. Remove has_loop, has_chain and replace with
7800         can_activate_pull and can_activate_push.
7801
7802 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7803
7804         * configure.ac:
7805         * examples/Makefile.am:
7806         * examples/metadata/Makefile.am:
7807         * examples/metadata/read-metadata.c: (message_loop),
7808         (have_pad_handler), (make_pipeline), (print_tag), (main):
7809           Add metadata reading example that loops over a list of filenames,
7810           dumping any tags found.
7811
7812         * gst/gstbus.c: (gst_bus_dispose):
7813         * gst/gstelement.c: (gst_element_dispose):
7814           Release a few potentially-held references in dispose.
7815
7816 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7817
7818         * docs/gst/tmpl/gstminiobject.sgml:
7819           do *not* add tmpl/*.sgml files to CVS!
7820
7821 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7822
7823         * libs/gst/bytestream/.cvsignore:
7824         * libs/gst/bytestream/Makefile.am:
7825         * libs/gst/bytestream/adapter.c:
7826         * libs/gst/bytestream/adapter.h:
7827         * libs/gst/bytestream/bytestream.c:
7828         * libs/gst/bytestream/bytestream.h:
7829         * libs/gst/bytestream/filepad.c:
7830         * libs/gst/bytestream/filepad.h:
7831           removing obsolete files
7832
7833 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7834
7835         * docs/gst/gstreamer-docs.sgml:
7836         * docs/libs/gstreamer-libs-docs.sgml:
7837           disabed additional index entries again, as this makes docs-gen just
7838           slow and they aren't useful yet
7839         * docs/libs/gstreamer-libs-sections.txt:
7840           little -section.txt cleanup for libs
7841
7842 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7843
7844         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7845         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7846           fix up some debugging
7847         (gst_base_transform_get_unit_size),
7848         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7849         (gst_base_transform_handle_buffer):
7850         * gst/base/gstbasetransform.h:
7851           handle and store timed NEWSEGMENT events so that subclasses that
7852           calculate time by counting samples have a segment_start time they
7853           need to add to their timestamps - see audioresample
7854
7855 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7856
7857         * gst/gstbin.h:
7858           removed ';' from the end of macro defs
7859         * docs/gst/gstreamer-docs.sgml:
7860         * docs/gst/gstreamer-sections.txt:
7861         * docs/gst/tmpl/.cvsignore:
7862         * gst/gstbus.h:
7863         * gst/gstelement.c: (gst_element_class_init),
7864         (gst_element_set_state), (activate_pads),
7865         (gst_element_save_thyself):
7866         * gst/gstevent.c: (gst_event_new_newsegment):
7867         * gst/gstevent.h:
7868         * gst/gstiterator.c:
7869         * gst/gstiterator.h:
7870         * gst/gstpad.c:
7871         * gst/gstprobe.h:
7872         * gst/gstutils.c: (gst_pad_query_convert):
7873         * gst/gstutils.h:
7874           fixed parameter name mismatches between source, header and docs
7875           added some more docs, resolved the last batch of unused elements in
7876           docs (now someone needs to doc them)
7877
7878 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7879
7880         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7881         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7882           don't walk through the plugins backwards.  Where is all this
7883           reversed logic coming from ?
7884
7885 2005-08-25  Wim Taymans  <wim@fluendo.com>
7886
7887         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7888         (gst_base_transform_transform_size),
7889         (gst_base_transform_configure_caps),
7890         (gst_base_transform_get_unit_size),
7891         (gst_base_transform_buffer_alloc),
7892         (gst_base_transform_change_state):
7893         * gst/base/gstbasetransform.h:
7894         Cache caps unit_size.
7895         Make sure we cannot negotiate up and downstream at the
7896         same time.
7897
7898 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7899
7900         * gst/gst.c: (init_pre), (init_post):
7901           register the installed plugin path after the env var
7902         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7903         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7904           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7905           directories, so the tests can prefer uninstalled over installed
7906
7907 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7908
7909         * gst/base/gstbasetransform.h:
7910           comment
7911         * gst/gstpad.c:
7912           add to docs
7913
7914 2005-08-25  Wim Taymans  <wim@fluendo.com>
7915
7916         * gst/gstbin.c: (bin_bus_handler):
7917         Be a bit more conservative about the posted message.
7918         
7919         * gst/gstbus.c: (gst_bus_post):
7920         Some cleanups, warn wrong return values.
7921
7922 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7923
7924         * check/gst/gstbin.c: (GST_START_TEST):
7925         * gst/gstbin.c: (bin_bus_handler):
7926         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7927         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7928         (gst_message_new_warning), (gst_message_new_tag),
7929         (gst_message_new_state_changed), (gst_message_new_segment_start),
7930         (gst_message_new_segment_done), (gst_message_new_custom):
7931         * gst/gstmessage.h:
7932         * tools/gst-launch.c: (event_loop):
7933         * tools/gst-md5sum.c: (event_loop):
7934           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7935
7936 2005-08-25  Wim Taymans  <wim@fluendo.com>
7937
7938         * check/generic/states.c: (GST_START_TEST):
7939         Cleanup can be done at the end.
7940
7941         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7942         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7943         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7944         Oh boy.. Thanks for finding this, Thomas. 
7945
7946 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7947
7948         * docs/gst/gstreamer.types:
7949           added missing types
7950
7951 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7952
7953         * docs/gst/gstreamer-docs.sgml:
7954         * docs/gst/gstreamer-sections.txt:
7955         * docs/gst/tmpl/.cvsignore:
7956         * gst/gstbin.c:
7957         * gst/gstiterator.c:
7958         * gst/gstutils.c:
7959         * gst/registries/gstxmlregistry.h:
7960           added missing classes and symbols (123 more to go)
7961           removed removed symbols from section file
7962           fixed many doc-comments
7963
7964 2005-08-24  Wim Taymans  <wim@fluendo.com>
7965
7966         * check/generic/states.c: (GST_START_TEST):
7967         Make sure all tasks are stopped.
7968
7969         * check/gst/gstbin.c: (GST_START_TEST):
7970         Unref after usage for proper valgrinding.
7971
7972         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7973         Really wait for the task to stop before destroying the
7974         mutex.
7975
7976         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7977         (gst_queue_src_activate_push):
7978         Small cleanups. Don't stop the task when we did not start
7979         it.
7980
7981         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7982         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7983         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7984         (gst_task_join):
7985         * gst/gsttask.h:
7986         Protect the stream lock with the object lock.
7987         Disallow setting the stream lock when running.
7988         Add cleanup_all to wait for the threadpool to finish.
7989         Remove code to autoallocate a mutex if none was provided.
7990         Add _join() to wait for a task to stop.
7991         Protect the thread pool with a global lock.
7992
7993 2005-08-24  Wim Taymans  <wim@fluendo.com>
7994
7995         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7996         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7997         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7998         * gst/base/gstbasesink.h:
7999         Handle newsegment events correctly.
8000         Drop buffers out of the segment range.
8001
8002 2005-08-22  Andy Wingo  <wingo@pobox.com>
8003
8004         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
8005         macro, implements an interface and gstimplementsinterface for a
8006         new type.
8007
8008 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8009
8010         * check/Makefile.am:
8011         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
8012           add a test that does a bunch of state changes on elements
8013           needs some fixing for valgrind
8014         * check/states/sinks.c: (gst_object_suite):
8015           whitespace
8016         * gst/gstcaps.h:
8017           add prototype for gst_caps_is_equal_fixed
8018         * gst/gstplugin.c:
8019         * gst/gstregistrypool.c:
8020           doc fixes
8021
8022 2005-08-24  Andy Wingo  <wingo@pobox.com>
8023
8024         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
8025         convert a negative value. Doesn't make much sense. Mostly this is
8026         here to force callers to ensure -1 maps to -1.
8027
8028 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
8029
8030         * docs/pwg/advanced-types.xml:
8031           Well done to Michael for catching my deliberate introduction
8032           of this spelling mistake. 
8033         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
8034         * gst/gstelement.h:
8035           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
8036           unlink pads before removing the element from the bin.
8037
8038 2005-08-24  Andy Wingo  <wingo@pobox.com>
8039
8040         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
8041         the same thing as GST_DEBUG=*:4.
8042         (parse_debug_level, parse_debug_category): New helper parsers.
8043
8044 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8045
8046         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8047         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
8048         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
8049         (gst_base_transform_buffer_alloc),
8050         (gst_base_transform_handle_buffer):
8051           use gboolean return values and pointers to size so we can use the
8052           full GST_BUFFER_SIZE range (guint) for buffer sizes
8053           use GstPadDirection for transform_caps
8054         * gst/base/gstbasetransform.h:
8055           rename get_size to get_unit_size since that's what it is
8056         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
8057           use GstPadDirection for transform_caps
8058         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8059         * gst/gstutils.h:
8060           cleanup and debugging
8061
8062 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
8063
8064         * gst/gstelement.c: (gst_element_class_init),
8065         (gst_element_set_state), (activate_pads),
8066         (gst_element_save_thyself):
8067         * tools/gst-compprep.c: (main):
8068         * tools/gst-inspect.c: (print_element_properties_info):
8069         * tools/gst-xmlinspect.c: (print_element_properties):
8070           Fixed long standing mem-leak
8071
8072 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
8073
8074         * check/gst/gstbin.c: (GST_START_TEST):
8075         * gst/gstbin.c: (bin_bus_handler):
8076         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
8077         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
8078         (gst_message_new_warning), (gst_message_new_tag),
8079         (gst_message_new_state_changed), (gst_message_new_segment_start),
8080         (gst_message_new_segment_done), (gst_message_new_custom):
8081         * gst/gstmessage.h:
8082         * tools/gst-launch.c: (event_loop):
8083         * tools/gst-md5sum.c: (event_loop):
8084           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
8085           that applications can sensibly post custom messages with references
8086           to their own objects.
8087
8088 2005-08-24  Andy Wingo  <wingo@pobox.com>
8089
8090         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
8091         already.
8092
8093 2005-08-24  Wim Taymans  <wim@fluendo.com>
8094
8095         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8096         (gst_base_transform_transform_caps),
8097         (gst_base_transform_transform_size),
8098         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8099         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8100         (gst_base_transform_handle_buffer):
8101         * gst/base/gstbasetransform.h:
8102         Many fixes and new features added by Thomas. Can now also do
8103         transforms with variable sizes and a custom fixate_caps function.
8104
8105 2005-08-24  Wim Taymans  <wim@fluendo.com>
8106
8107         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8108         Some debugging.
8109
8110         * gst/gstclock.h:
8111         Cast to ClockTime before formatting to time.
8112
8113         * gst/gstutils.h:
8114         Cleanups.
8115
8116 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
8117
8118         * check/gst-libs/controller.c: (GST_START_TEST),
8119         (gst_controller_suite):
8120         * docs/gst/tmpl/gstcaps.sgml:
8121         * docs/gst/tmpl/gstghostpad.sgml:
8122         * docs/gst/tmpl/gstquery.sgml:
8123         * docs/gst/tmpl/gstutils.sgml:
8124         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
8125         (gst_object_sink_values), (gst_object_get_value_arrays),
8126         (gst_object_get_value_array):
8127           gracefully handle helper method calls to objects that are not beeing
8128           controlled, added test case for that          
8129
8130 2005-08-23  Wim Taymans  <wim@fluendo.com>
8131
8132         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
8133         (gst_event_new_newsegment), (gst_event_parse_newsegment),
8134         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
8135         (gst_event_parse_qos), (gst_event_new_seek),
8136         (gst_event_parse_seek):
8137         * gst/gstevent.h:
8138         Some more debugging output and doc cleanups.
8139
8140         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8141         Fix possible deadlock.
8142
8143 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8144
8145         * docs/gst/gstreamer-docs.sgml:
8146         * docs/gst/gstreamer-sections.txt:
8147         * docs/gst/gstreamer.types:
8148         * docs/gst/tmpl/.cvsignore:
8149         * gst/gstbin.h:
8150         * gst/gstbus.c:
8151         * gst/gstelement.c:
8152         * gst/gstevent.h:
8153           added 100 symbols from gstreamer-unused.txt to the right sections
8154           fixed more broken comments
8155           added GstBus to docs
8156
8157 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8158
8159         * docs/gst/gstreamer-sections.txt:
8160         * docs/gst/tmpl/.cvsignore:
8161         * docs/gst/tmpl/gstbin.sgml:
8162         * docs/gst/tmpl/gstbuffer.sgml:
8163         * gst/base/gstbasesrc.c:
8164         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
8165         * gst/gstbuffer.c:
8166         * gst/gstbuffer.h:
8167         * tools/gst-launch.1.in:
8168           inlined more doc comments, added missing comments and fixed comments
8169           fixed typos
8170
8171 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8172
8173         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8174           some debugging
8175         * gst/gstcaps.h:
8176           whitespace fixes
8177         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
8178           more debugging
8179         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
8180         * gst/gststructure.h:
8181           add a fixate function for booleans; add a FIXME that these func
8182           names should probably be gst_structure_fixate_*
8183
8184 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8185
8186         * docs/gst/gstreamer-docs.sgml:
8187         * docs/gst/gstreamer-sections.txt:
8188         * gst/Makefile.am:
8189         * gst/gstbin.c: (gst_bin_get_type),
8190         (gst_bin_child_proxy_get_child_by_index),
8191         (gst_bin_child_proxy_get_children_count),
8192         (gst_bin_child_proxy_init):
8193         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8194         (gst_child_proxy_get_child_by_index),
8195         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
8196         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
8197         (gst_child_proxy_get), (gst_child_proxy_set_property),
8198         (gst_child_proxy_set_valist), (gst_child_proxy_set),
8199         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
8200         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
8201         * gst/gstchildproxy.h:
8202         * gst/parse/grammar.y:
8203         * tools/gst-inspect.c: (print_interfaces),
8204         (print_element_properties_info), (print_element_info):
8205           ported gstchildproxy over from 0.8
8206           ported gst-inspect fixes and enhancements over from 0.8
8207
8208 2005-08-22  Wim Taymans  <wim@fluendo.com>
8209
8210         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8211         (gst_base_transform_handle_buffer):
8212         Also call the transform function if we have ANY caps.
8213
8214         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
8215         Fix debug info.
8216
8217 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
8218
8219         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
8220           Don't pretend to handle seek events if the source is not seekable
8221
8222 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
8223
8224         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8225           Remove extra parameter to debug output
8226
8227         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8228         (gst_base_src_do_seek), (gst_base_src_activate_push):
8229           Fix seek event handling.
8230
8231         * gst/gstpipeline.c: (gst_pipeline_change_state):
8232         * gst/gstqueue.c: (gst_queue_handle_sink_event),
8233         (gst_queue_src_activate_push):
8234           Don't start the src pad task on FLUSH_STOP if the pad
8235           isn't linked.
8236           Debug changes.
8237
8238 2005-08-22  Wim Taymans  <wim@fluendo.com>
8239
8240         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8241         Added check for gst_static_caps_get() refcounting.
8242
8243 2005-08-22  Wim Taymans  <wim@fluendo.com>
8244
8245         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
8246         Make _static_caps_get() refcounting sane.
8247         
8248         * gst/gstelement.c: (gst_element_set_state):
8249         Add g_return_val_if_fail() to protect against segfaults.
8250
8251 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
8252
8253         * docs/gst/tmpl/gstevent.sgml:
8254         * gst/gstevent.c:
8255         * gst/gstevent.h:
8256           inlined remaining docs, added missing doc comments
8257
8258 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8259
8260         * check/gst/gstbin.c: (GST_START_TEST):
8261           since we don't know when preroll is done, use refcount range
8262           check for the sink
8263         * gst/check/gstcheck.h:
8264           add macro for checking refcount range
8265
8266 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8267
8268         * check/Makefile.am:
8269           clean up environment for when registry gets built versus
8270           when actual tests are run; valgrind seems to not report
8271           leaks if GST_PLUGIN_PATH is set to some specific values
8272         * check/gst/gstbin.c: (GST_START_TEST):
8273           add more refcounting checks; maybe this exposes a
8274           preroll lock bug ?
8275         * common/check.mak:
8276         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8277         * gst/check/gstcheck.h:
8278         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8279         (gst_bin_change_state):
8280         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8281           add/fix debugging/whitespace
8282
8283 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8284
8285         * check/gst/gstevent.c: (event_probe), (test_event),
8286         (GST_START_TEST):
8287          Er, don't call gst_bin_watch_for_state_change you idiot.
8288
8289 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8290
8291         * check/Makefile.am:
8292           Use CHECK_CFLAGS and CHECK_LIBS
8293         * check/gst/gstevent.c: (event_probe), (test_event),
8294         (GST_START_TEST):
8295           Don't leak events.
8296         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8297         (gst_base_src_start), (gst_base_src_stop),
8298         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8299         (gst_base_src_change_state):
8300           Sprinkle gst_base_src_stop liberally around error paths to fix
8301           problems reusing a source after failed state changes.
8302         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8303         (helper_find_suggest), (gst_type_find_helper):
8304           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8305         * gst/gstevent.h:
8306         * docs/gst/tmpl/gstevent.sgml:
8307           Migrate part of the docs from the SGML file. Wait for ensonic to
8308           tell me how I did it wrong ;)
8309         * tools/gst-typefind.c: (main):
8310           Extra robustness to state changes between files.
8311
8312 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8313
8314         * check/Makefile.am:
8315           don't valgrind the controller test - it's leaking - Stefan, HELP
8316         * gst/check/gstcheck.c: (gst_check_message_error),
8317         (gst_check_chain_func), (gst_check_setup_element),
8318         (gst_check_teardown_element), (gst_check_setup_src_pad),
8319         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8320         (gst_check_teardown_sink_pad):
8321         * gst/check/gstcheck.h:
8322           add a bunch of methods to set up elements, and src and sink pads
8323         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8324         * check/elements/identity.c: (setup_identity), (cleanup_identity),
8325         (GST_START_TEST):
8326           use them
8327         * gst/gstmessage.c:
8328         * gst/gsttag.h:
8329           whitespace/doc fixes
8330
8331 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8332
8333         * gst/gstelement.h:
8334           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8335           be handled by the application and not always printed as well
8336
8337 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8338
8339         * check/Makefile.am:
8340           set GST_TOOLS_DIR
8341         * gst/check/gstcheck.c: (gst_check_message_error):
8342         * gst/check/gstcheck.h:
8343           add a fail_unless_equals_int
8344           add fail_unless for error messages
8345
8346 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8347
8348         * check/Makefile.am:
8349         * check/gst.supp:
8350         * common/Makefile.am:
8351         * common/check.mak:
8352         * common/gst.supp:
8353           factor out some of the common stuff so we can use it
8354
8355 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8356
8357         * check/Makefile.am:
8358         * check/gst/gstiterator.c: (GST_START_TEST):
8359         * check/gst/gstsystemclock.c: (GST_START_TEST),
8360         (gst_systemclock_suite):
8361         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8362         * gst/gstclock.c:
8363           valgrind more tests
8364
8365 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8366
8367         * check/elements/.cvsignore:
8368         * check/elements/gstfakesrc.c:
8369           rename to name of element
8370         * check/elements/identity.c: (chain_func), (event_func),
8371         (setup_identity), (cleanup_identity), (GST_START_TEST),
8372         (identity_suite), (main):
8373           add a test for identity
8374         * check/Makefile.am:
8375         * pkgconfig/Makefile.am:
8376         * pkgconfig/gstreamer-check.pc.in:
8377         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8378         * gst/check:
8379         * gst/Makefile.am:
8380         * configure.ac:
8381           move the check stuff to a library that gets installed
8382         * check/gst-libs/controller.c: (GST_START_TEST):
8383         * check/gst-libs/gdp.c:
8384         * check/gst/gst.c: (GST_START_TEST):
8385         * check/gst/gstbin.c:
8386         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8387         * check/gst/gstbus.c:
8388         * check/gst/gstcaps.c: (GST_START_TEST):
8389         * check/gst/gstelement.c:
8390         * check/gst/gstghostpad.c:
8391         * check/gst/gstiterator.c:
8392         * check/gst/gstmessage.c:
8393         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8394         * check/gst/gstobject.c:
8395         * check/gst/gstpad.c: (GST_START_TEST):
8396         * check/gst/gststructure.c: (GST_START_TEST):
8397         * check/gst/gstsystemclock.c: (GST_START_TEST),
8398         (gst_systemclock_suite):
8399         * check/gst/gsttag.c: (gst_tag_suite):
8400         * check/gst/gstvalue.c:
8401         * check/pipelines/cleanup.c:
8402         * check/pipelines/simple_launch_lines.c:
8403         * check/states/sinks.c:
8404           change include statement
8405
8406         * docs/gst/gstreamer-sections.txt:
8407         * docs/gst/tmpl/gstpad.sgml:
8408           document more pad stuff
8409         * gst/gstminiobject.c: (gst_mini_object_ref),
8410         (gst_mini_object_unref):
8411           debug refcounting
8412
8413 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
8414
8415         * docs/gst/tmpl/gst.sgml:
8416         * gst/gst.c:
8417           eliminate another tmpl file, fix spelling in the long-description
8418
8419 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8420
8421         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8422         (test_event), (timediff), (gstevents_suite):
8423           Should fix build on 64-bit arch's
8424
8425 2005-08-18  Andy Wingo  <wingo@pobox.com>
8426
8427         Make sure that when a pipeline goes to PLAYING, that data has
8428         actually hit the sink.
8429
8430         * check/states/sinks.c (test_sink): A sink that doesn't get any
8431         data shouldn't return SUCCESS for going to either PLAYING or
8432         PAUSED. Test also the return values on the way back down.
8433
8434         * gst/gstelement.c (gst_element_set_state): When changing the
8435         state of an element currently changing state asynchronously, go to
8436         lost-state after commiting the pending state. Makes future calls
8437         to get_state continue to return ASYNC.
8438
8439         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8440         ASYNC when going to PLAYING if we still don't have preroll, as can
8441         happen with live sources.
8442
8443 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8444
8445         * docs/pwg/advanced-types.xml:
8446           Hack long paragraph into 2 chunks as a workaround for buggy
8447           jadetex version in sid and breezy that loops infinitely and
8448           eats all RAM.
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           Provide more error margin in clock measurements to allow for 
8455           g_get_current_time inaccuracies.
8456
8457 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8458
8459         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8460         (test_event), (timediff), (gstevents_suite):
8461            Fix error message output so I might be able to tell why the
8462            test works here but fails on the build farm.
8463
8464 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8465
8466         * check/Makefile.am:
8467         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8468         (test_event), (timediff), (gstevents_suite), (main):
8469           I wrote a test!
8470
8471         * docs/design/part-seeking.txt:
8472           Spelling correction
8473
8474         * docs/gst/tmpl/gstevent.sgml:
8475         * docs/gst/tmpl/gstfakesrc.sgml:
8476           Docs updates.
8477
8478         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8479           Treat a buffer-without-newsegment the same as a receiving 
8480           a newsegment not in time format, and disable syncing to the clock
8481           with a warning.
8482
8483         * gst/gstbus.c: (gst_bus_set_sync_handler):
8484           Assert if anyone tries to replace the existing sync_handler for bus, 
8485           as only the owner should be setting it.
8486
8487         * gst/gstevent.h:
8488           Have a fixed set of custom event enums with events identified by
8489           their structure name (as in 0.8), rather than a free-for-all
8490           allowing collisions between enum values from different plugins.
8491
8492         * gst/gstpad.c: (gst_pad_class_init):
8493           Docs change.
8494           
8495         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8496           Handle out-of-band downstream events from the sending thread.
8497
8498 2005-08-17  Andy Wingo  <wingo@pobox.com>
8499
8500         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8501         play-timeout==0 to mean no timeout at all. In that case, don't
8502         bother with a get_state or a warning, just return directly, even
8503         if it's ASYNC.
8504
8505         * gst/base/gstbasetransform.c: Debug changes.
8506
8507         * gst/gstutils.h:
8508         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8509         ensure bins post state change messages. A bit of a hack but I can't
8510         think of a way to avoid it.
8511
8512         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8513
8514 2005-08-16  Andy Wingo  <wingo@pobox.com>
8515
8516         * gst/base/gstadapter.h:
8517         * gst/base/gstadapter.c (gst_adapter_take): New function, like
8518         peek() but you own the data. Not terribly efficient atm.
8519
8520 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8521
8522         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8523         (gst_element_found_tags):
8524         * gst/gstutils.h:
8525           Add two utility functions for tag handling.
8526
8527 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8528
8529         * docs/manual/advanced-dataaccess.xml:
8530         * docs/manual/basics-helloworld.xml:
8531           Fix docs to use _bin_add() before _link(), which fixes the examples
8532           with recent core versions (reported by Madhan Raj M
8533           <raj_madan@rediffmail.com>, #313199).
8534
8535 2005-08-16  Wim Taymans  <wim@fluendo.com>
8536
8537         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8538         Added subtract checks.
8539
8540         * docs/design/part-events.txt:
8541         Some more docs about newsegment
8542
8543         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8544         Fix FIXME
8545
8546         * gst/gstcaps.c: (gst_caps_to_string):
8547         Add comments, cleanups.
8548         
8549         * gst/gstelement.c: (gst_element_save_thyself):
8550         cleanups
8551         
8552         * gst/gstvalue.c: (gst_value_collect_int_range),
8553         (gst_string_unwrap), (gst_value_union_int_int_range),
8554         (gst_value_union_int_range_int_range),
8555         (gst_value_intersect_int_int_range),
8556         (gst_value_intersect_int_range_int_range),
8557         (gst_value_intersect_double_double_range),
8558         (gst_value_intersect_double_range_double_range),
8559         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8560         (gst_value_subtract_int_range_int),
8561         (gst_value_subtract_double_range_double),
8562         (gst_value_subtract_double_range_double_range),
8563         (gst_value_subtract_from_list), (gst_value_subtract_list),
8564         (gst_value_can_compare), (gst_value_compare_fraction):
8565         Cleanups, add comments, remove unneeded asserts.
8566
8567 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8568
8569         * tools/gst-launch.c: (event_loop):
8570           don't convert NULL structures to strings
8571
8572 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
8573
8574         * docs/gst/gstreamer-sections.txt:
8575           made some defines private
8576         * docs/gst/tmpl/gstconfig.sgml:
8577         * docs/gst/tmpl/gstqueue.sgml:
8578         * docs/gst/tmpl/gsttaglist.sgml:
8579         * docs/gst/tmpl/gsttypes.sgml:
8580         * docs/gst/tmpl/gstutils.sgml:
8581         * docs/pwg/appendix-porting.xml:
8582         * gst/base/gstbasesink.h:
8583         * gst/base/gstbasesrc.c:
8584         * gst/base/gstbasesrc.h:
8585         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8586         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8587         * gst/gstelement.c: (gst_element_class_init):
8588         * gst/gstpad.c: (gst_pad_class_init):
8589         * gst/gstqueue.c: (gst_queue_class_init):
8590         * gst/gstxml.c: (gst_xml_class_init):
8591           documented all undocumented signal inline
8592         * libs/gst/controller/gst-controller.h:
8593           added padding
8594
8595 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8596
8597         * docs/pwg/appendix-porting.xml:
8598           Document _set_link_function -> _set_setcaps_function.
8599
8600 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8601
8602         * check/Makefile.am:
8603           add a .check target for running the check
8604         * check/gst-libs/controller.c: (GST_START_TEST):
8605           cosmetic fixups
8606         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8607           complete checks for gstbuffer; would be nice if I could get the
8608           gcov stuff to work so I can see if I actually completed gstbuffer.c
8609         * check/gstcheck.h:
8610           add ASSERT_BUFFER_REFCOUNT
8611
8612 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8613
8614         * docs/gst/gstreamer-sections.txt:
8615         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8616         * gst/gsttag.h:
8617           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8618           spew out a warning if a tag that is already registered
8619           is re-registered, unless it is re-registered with a 
8620           different type (#308438).
8621
8622 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8623
8624         * docs/pwg/appendix-porting.xml:
8625         * docs/pwg/building-state.xml:
8626           Add some paragraphs about state changes in 0.9 to the PWG
8627           and the porting guide, in particular about the new meaning
8628           of GST_STATE_PAUSED and how to write state change functions
8629           with concurrent access by multiple threads in mind.
8630
8631 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8632
8633         * docs/gst/gstreamer-docs.sgml:
8634         * docs/libs/gstreamer-libs-docs.sgml:
8635           added deprecation and since indexes
8636         * libs/gst/controller/gst-controller.c:
8637         * libs/gst/controller/gst-helper.c:
8638           added since tags
8639
8640
8641 2005-08-11  Wim Taymans  <wim@fluendo.com>
8642
8643         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8644         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8645         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8646         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8647         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8648         (gst_ghost_pad_set_target):
8649         Actually implement (re)setting the target on a ghostpad
8650         as described in the docs.
8651
8652 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8653
8654         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8655           Check whether GST_DEBUG_NO_COLOR environment variable is
8656           set and disable coloured debug output if that is the case.
8657
8658 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8659
8660         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8661         (gst_type_find_helper):
8662           The memory returned by gst_type_find_peek() needs to
8663           stay valid until the end of a typefind function, and
8664           typefind functions may keep results from different 
8665           offsets around, so we can't just unref the buffer from
8666           the previous _peek(), but have to save all buffers 
8667           returned by _peek() until typefinding is done and only
8668           free them then.
8669
8670 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8671
8672         * docs/gst/gstreamer-sections.txt:
8673         * gst/gstutils.h:
8674           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8675
8676 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8677
8678         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8679           Fix a pretty good memleak.
8680
8681 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8682
8683         * gst/gstiterator.h:
8684           Fix wrong include and 'make distcheck'.
8685
8686 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8687
8688         * gst/gstbin.c: (bin_bus_handler):
8689           Use gst_element_post_message() instead.
8690
8691 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8692
8693         * gst/base/gstadapter.h:
8694         * gst/base/gstbasesink.h:
8695         * gst/base/gstbasesrc.h:
8696         * gst/base/gstbasetransform.h:
8697         * gst/base/gstcollectpads.h:
8698         * gst/base/gstpushsrc.h:
8699         * gst/gstiterator.h:
8700           Add padding to our base elements' class and instance structs and
8701           to GstIterator (you will need to rebuild all plugins and apps!)
8702
8703 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8704
8705         * gst/gstbin.c: (bin_bus_handler):
8706           Make default message forwarding from child->bus to bin->bus
8707           threadsafe and make it not emit warnings if the parent has no bus.
8708
8709 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8710
8711         * gst/gstelement.c: (activate_pads):
8712           On paused->ready, set pad->caps to NULL, as is the documented
8713           behaviour in this state change. Fixes playback of series of
8714           media files when visualization is enabled in Totem.
8715
8716 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8717
8718         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8719           Allow NULL as filter-caps (which means "any").
8720
8721 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8722
8723         * docs/libs/gstreamer-libs-sections.txt:
8724         * libs/gst/controller/gst-controller.c:
8725         * libs/gst/controller/gst-controller.h:
8726         * libs/gst/controller/gst-helper.c:
8727           adding more entries to the docs and fix small doc-bugs
8728
8729 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8730
8731         * docs/gst/gstreamer-docs.sgml:
8732         * docs/gst/gstreamer-sections.txt:
8733         * docs/gst/gstreamer.types:
8734         * docs/gst/tmpl/gstbasesink.sgml:
8735         * docs/gst/tmpl/gstbasesrc.sgml:
8736         * docs/gst/tmpl/gstbasetransform.sgml:
8737         * docs/gst/tmpl/gstfakesrc.sgml:
8738         * gst/base/gstcollectpads.c:
8739         * gst/base/gstcollectpads.h:
8740         * libs/gst/controller/gst-controller.c:
8741         * libs/gst/controller/gst-controller.h:
8742         * libs/gst/controller/gst-helper.c:
8743         * libs/gst/controller/gst-interpolation.c:
8744         * libs/gst/controller/lib.c:
8745           added long/short desc for controller docs
8746           added collectpads base class docs
8747           added correct includes to base-class docs
8748
8749 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8750
8751         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8752         (gst_test_mono_source_set_property),
8753         (gst_test_mono_source_class_init), (GST_START_TEST),
8754         (gst_controller_suite):
8755         * docs/gst/gstreamer-docs.sgml:
8756         * docs/gst/gstreamer-sections.txt:
8757         * docs/gst/gstreamer.types:
8758         * docs/libs/gstreamer-libs-docs.sgml:
8759         * docs/libs/gstreamer-libs-sections.txt:
8760         * gst/base/gstadapter.c:
8761         * libs/gst/controller/gst-controller.c:
8762         (gst_controlled_property_new), (gst_controlled_property_free),
8763         (gst_controller_new_valist),
8764         (gst_controller_remove_properties_valist),
8765         (gst_controller_sink_values), (_gst_controller_finalize):
8766         * libs/gst/controller/gst-controller.h:
8767         * libs/gst/controller/gst-helper.c:
8768         (gst_object_control_properties), (gst_object_uncontrol_properties),
8769         (gst_object_get_controller), (gst_object_set_controller),
8770         (gst_object_sink_values), (gst_object_get_value_arrays),
8771         (gst_object_get_value_array):
8772           more tests (and fixes) for the controller
8773           more docs for the controller
8774           integrated companies docs for the adapter 
8775
8776 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8777
8778         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8779         (GST_START_TEST), (fakesrc_suite):
8780           add tests for sizetype
8781
8782 2005-08-04  Andy Wingo  <wingo@pobox.com>
8783
8784         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8785         fixes buffer_alloc proxying among other things.
8786
8787         * gst/base/gstbasetransform.c:
8788         * gst/base/gstbasetransform.h:
8789         Revert patch to gstbasetransform from 7-28 removing
8790         delay_configure.
8791
8792         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8793         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8794         Semantics changed, should return not the size of the output buffer
8795         but the byte size of a buffer with a given caps.
8796
8797         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8798         debug object.
8799         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8800         out) are not the pad caps until setcaps finishes.
8801         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8802         not-in-place case as well. Deal with changing from in-place to
8803         not-in-place within calling pad_alloc_buffer. Still a bit
8804         concerned about the overhead here...
8805
8806 2005-08-03  Andy Wingo  <wingo@pobox.com>
8807
8808         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8809         fixating is an error.
8810
8811 2005-08-04  Edward Hervey  <edward@fluendo.com>
8812
8813         * gst/base/gstadapter.h: 
8814         Added gst_adapter_get_type() to the header
8815
8816 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8817
8818         * check/Makefile.am:
8819         * check/gst-libs/controller.c:
8820         * libs/gst/controller/gst-controller.c:
8821         (gst_controller_new_valist):
8822           added check test suite for the controller
8823         * gst/base/gstpushsrc.c:
8824           fixed a doc typo
8825
8826 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8827
8828         * docs/gst/Makefile.am:
8829         * docs/gst/gstreamer-docs.sgml:
8830         * docs/gst/gstreamer-sections.txt:
8831         * docs/gst/gstreamer.types:
8832         * docs/gst/tmpl/gstfakesrc.sgml:
8833         * gst/base/README:
8834         * gst/base/gstbasesink.c:
8835         * gst/base/gstbasesink.h:
8836         * gst/base/gstbasesrc.c:
8837         * gst/base/gstbasesrc.h:
8838         * gst/base/gstbasetransform.c:
8839         * gst/base/gstpushsrc.c:
8840         * gst/base/gstpushsrc.h:
8841           add short/long description docs to base classes
8842           add pushsrc to the docs
8843           remove consolidated doc fragments
8844
8845 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8846
8847         * configure.ac:
8848         * docs/libs/Makefile.am:
8849         * docs/libs/gstreamer-libs-docs.sgml:
8850         * docs/libs/gstreamer-libs-sections.txt:
8851         * docs/libs/gstreamer-libs.types:
8852         * examples/Makefile.am:
8853         * examples/controller/.cvsignore:
8854         * examples/controller/Makefile.am:
8855         * examples/controller/audio-example.c: (main):
8856         * libs/gst/Makefile.am:
8857         * libs/gst/controller/.cvsignore:
8858         * libs/gst/controller/Makefile.am:
8859         * libs/gst/controller/gst-controller.c:
8860         (on_object_controlled_property_changed), (gst_timed_value_compare),
8861         (gst_timed_value_find),
8862         (gst_controlled_property_set_interpolation_mode),
8863         (gst_controlled_property_new), (gst_controlled_property_free),
8864         (gst_controller_find_controlled_property),
8865         (gst_controller_new_valist), (gst_controller_new),
8866         (gst_controller_remove_properties_valist),
8867         (gst_controller_remove_properties), (gst_controller_set),
8868         (gst_controller_set_from_list), (gst_controller_unset),
8869         (gst_controller_get), (gst_controller_get_all),
8870         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8871         (gst_controller_get_value_array),
8872         (gst_controller_set_interpolation_mode),
8873         (_gst_controller_finalize), (_gst_controller_init),
8874         (_gst_controller_class_init), (gst_controller_get_type):
8875         * libs/gst/controller/gst-controller.h:
8876         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8877         (g_object_uncontrol_properties), (g_object_get_controller),
8878         (g_object_set_controller), (g_object_sink_values),
8879         (g_object_get_value_arrays), (g_object_get_value_array):
8880         * libs/gst/controller/gst-interpolation.c:
8881         (gst_controlled_property_find_timed_value_node),
8882         (interpolate_none_get), (interpolate_trigger_get),
8883         (interpolate_trigger_get_value_array):
8884         * libs/gst/controller/lib.c: (gst_controller_init):
8885         * pkgconfig/Makefile.am:
8886         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8887         * pkgconfig/gstreamer-control.pc.in:
8888         * testsuite/Makefile.am:
8889         * testsuite/controller/.cvsignore:
8890         * testsuite/controller/Makefile.am:
8891         * testsuite/controller/interpolator.c: (main):
8892           added controller code
8893           removed dparam pc files
8894
8895 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8896         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8897         (gst_collectpads_stop):
8898           Broadcast the condition when shutting down, to make sure we wake all
8899           threads up. Shut down pads on finalize, for safety.
8900
8901 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8902         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8903         (gst_base_transform_handle_buffer),
8904         (gst_base_transform_change_state):
8905           Handle PAUSED->READY->PAUSED transition after negotiation
8906           occurred already.
8907         * gst/gstmessage.c: (gst_message_init):
8908           Extra piece of debug for new messages.
8909
8910 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8911
8912         * configure.ac:
8913         * docs/gst/tmpl/gstbasesrc.sgml:
8914         * docs/gst/tmpl/gstelement.sgml:
8915         * docs/gst/tmpl/gstevent.sgml:
8916         * docs/gst/tmpl/gstfakesrc.sgml:
8917         * docs/gst/tmpl/gstformat.sgml:
8918         * docs/gst/tmpl/gstghostpad.sgml:
8919         * docs/gst/tmpl/gstpad.sgml:
8920         * docs/gst/tmpl/gstquery.sgml:
8921         * docs/gst/tmpl/gststructure.sgml:
8922         * docs/gst/tmpl/gsttaglist.sgml:
8923         * docs/gst/tmpl/gstvalue.sgml:
8924         * docs/libs/gstreamer-libs-docs.sgml:
8925         * docs/libs/gstreamer-libs-sections.txt:
8926         * docs/libs/gstreamer-libs.types:
8927         * libs/gst/Makefile.am:
8928         * libs/gst/control/.cvsignore:
8929         * libs/gst/control/Makefile.am:
8930         * libs/gst/control/control.c:
8931         * libs/gst/control/control.h:
8932         * libs/gst/control/dparam.c:
8933         * libs/gst/control/dparam.h:
8934         * libs/gst/control/dparam_smooth.c:
8935         * libs/gst/control/dparam_smooth.h:
8936         * libs/gst/control/dparamcommon.h:
8937         * libs/gst/control/dparammanager.c:
8938         * libs/gst/control/dparammanager.h:
8939         * libs/gst/control/dplinearinterp.c:
8940         * libs/gst/control/dplinearinterp.h:
8941         * libs/gst/control/unitconvert.c:
8942         * libs/gst/control/unitconvert.h:
8943         * testsuite/Makefile.am:
8944         * testsuite/dynparams/.cvsignore:
8945         * testsuite/dynparams/Makefile.am:
8946         * testsuite/dynparams/dparamstest.c:
8947         * tools/Makefile.am:
8948         * tools/gst-inspect.c: (print_element_info), (main):
8949         * tools/gst-xmlinspect.c: (print_element_info), (main):
8950           deactivate and remove dparams (libgstcontrol)
8951
8952 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8953
8954         * gst/elements/gsttypefindelement.c:
8955         (gst_type_find_element_have_type), (gst_type_find_element_init),
8956         (stop_typefinding), (gst_type_find_element_handle_event),
8957         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8958         * gst/elements/gsttypefindelement.h:
8959           Set caps on all outgoing buffers, not just the first one.
8960
8961 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8962
8963         * gst/elements/gsttypefindelement.c:
8964         (gst_type_find_element_have_type),
8965         (gst_type_find_element_check_set_buffer_caps),
8966         (gst_type_find_element_init), (stop_typefinding),
8967         (gst_type_find_element_handle_event),
8968         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8969         * gst/elements/gsttypefindelement.h:
8970           Set caps on first outgoing buffer when we've found the type.
8971
8972 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8973
8974         * docs/gst/gstreamer-docs.sgml:
8975         * docs/gst/gstreamer-sections.txt:
8976         * docs/gst/tmpl/gstscheduler.sgml:
8977         * docs/gst/tmpl/gstschedulerfactory.sgml:
8978           Remove some old cruft from docs.
8979
8980 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8981
8982         * gst/gstpad.h:
8983           Fix inline docs for GstPadLinkReturn.
8984           
8985         * gst/gststructure.c: (gst_structure_has_name):
8986         * gst/gststructure.h:
8987         * docs/gst/gstreamer-sections.txt:
8988           New API: gst_structure_has_name().
8989
8990 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8991
8992         * configure.ac:
8993           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8994           and _LARGEFILE_SOURCE in config.h as required. Do not 
8995           export those flags in our .pc files any longer (#142209).
8996
8997           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8998
8999         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
9000         (gst_file_sink_do_seek), (gst_file_sink_event),
9001         (gst_file_sink_get_current_offset), (gst_file_sink_render):
9002           Redo seek/tell calls with large file support in mind; add some
9003           debugging messages; add log message that tells us when large
9004           file support is unavailable or not enabled for some reason.
9005
9006         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
9007           Add log message that tells us when large file support 
9008           is unavailable or not enabled for some reason.
9009
9010 2005-07-29  Wim Taymans  <wim@fluendo.com>
9011
9012         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9013         Added test for removing an element with ghostpad from a bin.
9014         Fixed test as current implementation does the right thing.
9015
9016         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
9017         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
9018         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
9019         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
9020         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
9021         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9022         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9023         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9024         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
9025         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
9026         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
9027         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
9028         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9029         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
9030         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
9031         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
9032         * gst/gstghostpad.h:
9033         Clean up ghostpads, remove properties for internal stuff.
9034         Make threadsafe.
9035         Fix refcounting.
9036         Prepare for switching targets, not all use cases work yet.
9037
9038 2005-07-29  Wim Taymans  <wim@fluendo.com>
9039
9040         * docs/design/part-gstghostpad.txt:
9041         Small update.
9042
9043         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9044         (gst_bin_remove_func):
9045         Unlinking pads while holding the bin LOCK is not a good
9046         idea.
9047
9048         * gst/gstpad.c: (gst_pad_class_init),
9049         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
9050         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
9051         No prob setting template after creating the pad.
9052
9053 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
9054
9055         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
9056         (gst_bus_peek), (gst_bus_source_dispatch),
9057         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
9058         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
9059           gst_bus_poll may be called from other threads. Handle
9060           this nicely by not making poll_data disappear off the
9061           stack once gst_bus_poll returns.
9062           gst_bus_peek now increments the refcount on the returned
9063           message.
9064
9065 2005-07-29  Wim Taymans  <wim@fluendo.com>
9066
9067         * docs/design/part-gstghostpad.txt:
9068         Overview of current GhostPad datastructures and use
9069         cases for changing the target.
9070
9071 2005-07-28  Wim Taymans  <wim@fluendo.com>
9072
9073         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9074         Added checks for hierarchy consistency whan adding linked
9075         elements to bins.
9076
9077         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9078         Added check to test element scheduling without bin/pipeline.
9079
9080         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9081         First add elements to bin, then link.
9082         
9083         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9084         (gst_bin_remove_func):
9085         Unlink pads from elements added/removed from bin to maintain
9086         hierarchy consistency.
9087
9088 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9089
9090         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
9091         (gst_base_transform_handle_buffer):
9092         * gst/base/gstbasetransform.h:
9093           Remove broken delay_configure (fixes renegotiation of software
9094           scaling pipelines); remove some leftover printf()s.
9095
9096 2005-07-28  Wim Taymans  <wim@fluendo.com>
9097
9098         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9099         Added some more tests for wrong hierarchy
9100
9101         * docs/design/part-overview.txt:
9102         Some updates.
9103
9104         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
9105         Cleanups.
9106
9107         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
9108         (gst_element_dispose):
9109         Some more cleanups.
9110
9111         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9112         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
9113         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9114         (gst_pad_set_caps), (gst_pad_send_event):
9115         Check for correct hierarchy when linking pads. Moving to
9116         strict requirement for ghostpads when linking elements in
9117         different bins.
9118
9119         * gst/gstpad.h:
9120         Clean ups. Added WRONG_HIERARCHY return value.
9121
9122 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9123
9124         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9125           Better debug if no transform is possible.
9126
9127 2005-07-27  Wim Taymans  <wim@fluendo.com>
9128
9129         * docs/random/wtay/network-transp:
9130         Some old doc I had.
9131
9132 2005-07-27  Wim Taymans  <wim@fluendo.com>
9133
9134         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9135         (gst_dp_event_from_packet):
9136         Fix serialization of seek events.
9137
9138 2005-07-27  Wim Taymans  <wim@fluendo.com>
9139
9140         * check/gst-libs/gdp.c: (GST_START_TEST):
9141         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9142         Fix compilation and fix event serialization.
9143
9144 2005-07-27  Wim Taymans  <wim@fluendo.com>
9145
9146         * CHANGES-0.9:
9147         * docs/design/part-TODO.txt:
9148         * docs/design/part-events.txt:
9149         Some docs updates
9150
9151         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9152         (gst_base_sink_event), (gst_base_sink_do_sync),
9153         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9154         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9155         (gst_base_src_do_seek), (gst_base_src_event_handler),
9156         (gst_base_src_loop):
9157         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9158         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9159         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9160         (gst_base_transform_event), (gst_base_transform_handle_buffer),
9161         (gst_base_transform_set_passthrough),
9162         (gst_base_transform_is_passthrough):
9163         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9164         * gst/elements/gstfilesink.c: (gst_file_sink_event):
9165         Event updates.
9166
9167         * gst/gstbuffer.h:
9168         Use faster casts.
9169
9170         * gst/gstelement.c: (gst_element_seek):
9171         * gst/gstelement.h:
9172         Update gst_element_seek.
9173
9174         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
9175         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
9176         (gst_event_new_flush_start), (gst_event_new_flush_stop),
9177         (gst_event_new_eos), (gst_event_new_newsegment),
9178         (gst_event_parse_newsegment), (gst_event_new_tag),
9179         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
9180         (gst_event_parse_qos), (gst_event_new_seek),
9181         (gst_event_parse_seek), (gst_event_new_navigation):
9182         * gst/gstevent.h:
9183         Make GstEvent use GstStructure. Add parsing code, make sure the
9184         API is sufficiently generic.
9185         Mark possible directions of events and serialization.
9186
9187         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
9188         (_gst_message_copy), (gst_message_new_segment_start),
9189         (gst_message_new_segment_done), (gst_message_new_custom),
9190         (gst_message_parse_segment_start),
9191         (gst_message_parse_segment_done):
9192         Small cleanups.
9193
9194         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9195         (gst_pad_set_caps), (gst_pad_send_event):
9196         Update for new events. 
9197         Catch events sent in wrong directions.
9198
9199         * gst/gstqueue.c: (gst_queue_link_src),
9200         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9201         (gst_queue_handle_src_query):
9202         Event updates.
9203
9204         * gst/gsttag.c:
9205         * gst/gsttag.h:
9206         Remove event code from this file.
9207
9208         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9209         (gst_dp_event_from_packet):
9210         Event updates.
9211
9212 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9213
9214         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
9215         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9216         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
9217           Make debugging actually useful.
9218
9219 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9220
9221         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
9222         (gst_pad_fixate_caps):
9223           Implement default fixation once again, so that gst_pad_fixate()
9224           actually does anything at all. This probably needs to be some
9225           sort of a last resort, and use profile-based fixation first, but
9226           since that doesn't exist yet, this is the best we have. Fixes
9227           visualization in Totem.
9228
9229 2005-07-22  Wim Taymans  <wim@fluendo.com>
9230
9231         * docs/design/part-events.txt:
9232         Small update.
9233
9234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9235         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
9236         (gst_base_sink_activate_pull):
9237         Some more comments.
9238
9239         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
9240         (gst_fake_src_create):
9241         Fix handoff marshall.
9242
9243         * gst/elements/gstidentity.c: (gst_identity_class_init),
9244         (gst_identity_transform_ip):
9245         We're a real inplace element.
9246
9247         * gst/gstbus.c: (gst_bus_post):
9248         Added some comments.
9249
9250         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
9251         * tests/muxing/case1.c: (main):
9252         * tests/sched/dynamic-pipeline.c: (main):
9253         * tests/sched/interrupt1.c: (main):
9254         * tests/sched/interrupt2.c: (main):
9255         * tests/sched/interrupt3.c: (main):
9256         * tests/sched/runxml.c: (main):
9257         * tests/sched/sched-stress.c: (main):
9258         * tests/seeking/seeking1.c: (event_received), (main):
9259         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9260         (main):
9261         * tests/threadstate/threadstate3.c: (main):
9262         * tests/threadstate/threadstate4.c: (main):
9263         * tests/threadstate/threadstate5.c: (main):
9264         Fix the tests.
9265
9266 2005-07-21  Wim Taymans  <wim@fluendo.com>
9267
9268         * docs/design/part-seeking.txt:
9269         Some small additions.
9270
9271         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9272         (gst_base_sink_get_times), (gst_base_sink_do_sync),
9273         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9274         * gst/base/gstbasesink.h:
9275         discont values are gint64, handle the math correctly.
9276
9277         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9278         Make the basesrc report error if the source pad is not linked.
9279
9280         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9281         (gst_queue_loop), (gst_queue_handle_src_query),
9282         (gst_queue_src_activate_push):
9283         Make queue collect data even if the srcpad is not linked.
9284         Start pushing out data as soon as it is linked.
9285
9286         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9287         * gst/gstutils.h:
9288         Added gst_flow_get_name() to ease error reporting.
9289
9290 2005-07-20  Wim Taymans  <wim@fluendo.com>
9291
9292         * gst/gstmessage.c: (gst_message_new_segment_start),
9293         (gst_message_new_segment_done), (gst_message_parse_segment_start),
9294         (gst_message_parse_segment_done):
9295         * gst/gstmessage.h:
9296         Added a bunch of messages for advanced seeking.
9297
9298         * gst/parse/grammar.y:
9299         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9300         (gst_dpman_state_changed):
9301         Fix some new-pad -> pad-added signals
9302
9303 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9304
9305         * docs/manual/appendix-porting.xml:
9306         * docs/pwg/appendix-porting.xml:
9307           Document new-pad/state-change signal renames and the FixedList
9308           type rename.
9309
9310 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9311
9312         * docs/manual/advanced-autoplugging.xml:
9313         * docs/manual/basics-helloworld.xml:
9314         * docs/manual/basics-pads.xml:
9315         * docs/random/ds/0.9-suggested-changes:
9316         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9317         * gst/gstelement.h:
9318         * gst/gstevent.h:
9319         * gst/gstformat.h:
9320         * gst/gstquery.h:
9321         * gst/gststructure.c: (gst_structure_value_get_generic_type),
9322         (gst_structure_parse_array), (gst_structure_parse_value):
9323         * gst/gstvalue.c: (gst_type_is_fixed),
9324         (gst_value_list_prepend_value), (gst_value_list_append_value),
9325         (gst_value_list_get_size), (gst_value_list_get_value),
9326         (gst_value_transform_array_string), (gst_value_serialize_array),
9327         (gst_value_deserialize_array), (gst_value_intersect_array),
9328         (gst_value_is_fixed), (_gst_value_initialize):
9329         * gst/gstvalue.h:
9330           GstElement::new-pad -> pad-added, GstElement::state-change ->
9331           state-changed, GstValueFixedList -> GstValueArray, add format and
9332           flags as their own arguments in gst_element_seek() (should improve
9333           "bindeability"), remove function generators since they don't work
9334           under a whole bunch of compilers (they were deprecated already
9335           anyway).
9336
9337 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9338
9339         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9340         (_gst_debug_register_funcptr):
9341         * gst/gstinfo.h:
9342           Fix illegal cast on some platforms (#309253).
9343
9344 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9345
9346         * gst/gstmessage.c: (gst_message_new_custom):
9347         * gst/gstmessage.h:
9348           Add _new_custom, make _new_application a macro to _new_custom.
9349
9350 2005-07-20  Wim Taymans  <wim@fluendo.com>
9351
9352         * gst/base/gstbasesrc.c: (gst_base_src_init),
9353         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9354         * gst/base/gstbasesrc.h:
9355         Add a gboolean to decide when to push out a discont.
9356
9357         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9358         (gst_queue_loop), (gst_queue_handle_src_query),
9359         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9360         (gst_queue_set_property), (gst_queue_get_property):
9361         Some cleanups.
9362
9363         * tests/threadstate/threadstate1.c: (main):
9364         Make a thread test compile and run... very silly..
9365
9366
9367 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9368
9369         * docs/manual/appendix-porting.xml:
9370           Mention removal of libgstgconf-0.9.la and existence of gconf
9371           elements.
9372
9373 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9374
9375         * docs/pwg/advanced-clock.xml:
9376         * docs/pwg/appendix-porting.xml:
9377         * docs/pwg/intro-preface.xml:
9378         * docs/pwg/other-base.xml:
9379         * docs/pwg/other-manager.xml:
9380         * docs/pwg/other-nton.xml:
9381         * docs/pwg/other-ntoone.xml:
9382         * docs/pwg/other-oneton.xml:
9383         * docs/pwg/pwg.xml:
9384           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9385           demuxer), remove n-to-n (was never written), fix some code examples
9386           and links and update the porting section to include all this.
9387
9388 2005-07-19  Wim Taymans  <wim@fluendo.com>
9389
9390         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9391         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9392         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9393         (gst_queue_src_activate_push), (gst_queue_change_state),
9394         (gst_queue_get_property):
9395         * gst/gstqueue.h:
9396         Propagate GstFlowReturn more intelligently upstream and output
9397         an ERROR/EOS when streaming stopped due to fatal error.
9398
9399 2005-07-19  Wim Taymans  <wim@fluendo.com>
9400
9401         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9402         Don't block forever for the state change to complete, the
9403         pipeline already did with a sensible timeout.
9404
9405 2005-07-19  Wim Taymans  <wim@fluendo.com>
9406
9407         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9408         Make sure we never call the create function is we
9409         got deactivated.
9410
9411 2005-07-19  Andy Wingo  <wingo@pobox.com>
9412
9413         * gst/parse/parse.l: Attempt to solve bug #172815.
9414
9415 2005-07-19  Wim Taymans  <wim@fluendo.com>
9416
9417         * docs/design/part-clocks.txt:
9418         * docs/design/part-events.txt:
9419         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9420         Small docs updates.
9421         Only update the seeking values when we are not
9422         busy streaming.
9423
9424 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9425
9426         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9427           Oops, ignore the result of gst_pad_push_event here.
9428
9429 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9430
9431         * gst/base/gstbasesrc.c: (gst_base_src_loop),
9432         (gst_base_src_activate_push):
9433           Send discont event from the loop function, as pads
9434           aren't activated yet in the activate_push handler.
9435
9436         * gst/gstbin.c: (bin_bus_handler):
9437           Don't leak element name.
9438
9439 2005-07-18  Andy Wingo  <wingo@pobox.com>
9440
9441         * configure.ac: Use AS_LIBTOOL_TAGS.
9442
9443 2005-07-18  Wim Taymans  <wim@fluendo.com>
9444
9445         * docs/gst/gstreamer.types:
9446         Remove deleted types.
9447
9448 2005-07-18  Wim Taymans  <wim@fluendo.com>
9449
9450         * check/elements/gstfakesrc.c: (GST_START_TEST):
9451         * configure.ac:
9452         * gst/Makefile.am:
9453         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9454         (init_popt_callback):
9455         * gst/gst.h:
9456         * gst/gst_private.h:
9457         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9458         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9459         * gst/gstbin.h:
9460         * gst/gstbus.h:
9461         * gst/gstconfig.h.in:
9462         * gst/gstelement.c: (gst_element_class_init),
9463         (gst_element_set_base_time), (gst_element_get_base_time),
9464         (iterator_fold_with_resync), (gst_element_change_state),
9465         (gst_element_dispose), (gst_element_get_bus):
9466         * gst/gstelement.h:
9467         * gst/gstelementfactory.h:
9468         * gst/gsterror.c: (_gst_core_errors_init):
9469         * gst/gsterror.h:
9470         * gst/gstevent.h:
9471         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9472         * gst/gstindex.c:
9473         * gst/gstinfo.c: (_gst_debug_init):
9474         * gst/gstmessage.c: (_gst_message_copy):
9475         * gst/gstmessage.h:
9476         * gst/gstminiobject.h:
9477         * gst/gstobject.c:
9478         * gst/gstobject.h:
9479         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9480         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9481         * gst/gstpad.h:
9482         * gst/gstparse.h:
9483         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9484         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9485         (gst_pipeline_get_last_stream_time):
9486         * gst/gstpipeline.h:
9487         * gst/gstpluginfeature.h:
9488         * gst/gstquery.h:
9489         * gst/gstscheduler.c:
9490         * gst/gstscheduler.h:
9491         * gst/gststructure.h:
9492         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9493         (gst_task_finalize), (gst_task_func), (gst_task_create),
9494         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9495         (gst_task_stop), (gst_task_pause):
9496         * gst/gsttask.h:
9497         * gst/gsttypefind.h:
9498         * gst/gsttypes.h:
9499         * gst/registries/gstlibxmlregistry.c: (load_feature),
9500         (gst_xml_registry_load), (gst_xml_registry_save_feature):
9501         * gst/registries/gstxmlregistry.c:
9502         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9503         * gst/schedulers/threadscheduler.c:
9504         * libs/gst/control/dparammanager.h:
9505         * tools/gst-inspect.c: (print_element_list),
9506         (print_plugin_features), (print_element_features):
9507         * tools/gst-xmlinspect.c: (print_element_list),
9508         (print_plugin_info), (main):
9509         Removed plugable schedulers.
9510         Removed Scheduler/Manager from elements.
9511         Removed gsttypes.h, rearranged includes.
9512         Removed dependency pad<->element, element<>pipeline, and
9513         various others,  fix includes.
9514         implement gst_pad_get_parent() with gst_object_get_parent()
9515         Make GstTask sefcontained.
9516         Fix _get_state() on GstBin, it did not return ASYNC with a 0
9517         timeout.
9518         Fix endless loop in iterator_fold_with_resync.
9519
9520
9521 2005-07-18  Wim Taymans  <wim@fluendo.com>
9522
9523         * gst/Makefile.am:
9524         * gst/gstarch.h:
9525         Remove old file.
9526
9527 2005-07-18  Wim Taymans  <wim@fluendo.com>
9528
9529         * gst/Makefile.am:
9530         No more cothreads.h
9531
9532 2005-07-18  Wim Taymans  <wim@fluendo.com>
9533
9534         * gst/cothreads.c:
9535         * gst/cothreads.h:
9536         Let's remove these.
9537
9538 2005-07-18  Wim Taymans  <wim@fluendo.com>
9539
9540         * docs/design/part-dynamic.txt:
9541         * docs/design/part-events.txt:
9542         * docs/design/part-seeking.txt:
9543         Some more docs in the works.
9544
9545         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9546         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9547         (gst_base_transform_setcaps), (gst_base_transform_get_size),
9548         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9549         (gst_base_transform_handle_buffer),
9550         (gst_base_transform_sink_activate_push),
9551         (gst_base_transform_src_activate_pull),
9552         (gst_base_transform_set_passthrough),
9553         (gst_base_transform_is_passthrough):
9554         Refcounting fixes.
9555
9556         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9557         Cleanups.
9558
9559         * gst/gstevent.c: (gst_event_finalize):
9560         Set SRC to NULL.
9561
9562         * gst/gstutils.c: (gst_element_unlink),
9563         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9564         (gst_pad_proxy_setcaps):
9565         * gst/gstutils.h:
9566         Add _get_parent_element() to get a pads parent as an element.
9567
9568 2005-07-18  Wim Taymans  <wim@fluendo.com>
9569
9570         * check/gst/gstbin.c: (GST_START_TEST):
9571         Remove bogus test.
9572
9573 2005-07-18  Wim Taymans  <wim@fluendo.com>
9574
9575         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9576         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9577         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9578         (gst_base_sink_event), (gst_base_sink_do_sync),
9579         (gst_base_sink_chain), (gst_base_sink_loop),
9580         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9581         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9582         Refcounting fixes.
9583         Fix logic for returning ASYNC when not prerolled.
9584
9585 2005-07-18  Wim Taymans  <wim@fluendo.com>
9586
9587         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9588         Fix nasty refcount bug.
9589
9590 2005-07-16 Philippe Khalaf <burger@speedy.org>
9591
9592         * gst/elements/gstfdsrc.c:
9593         * gst/elements/gstfdsrc.h:
9594         * gst/elements/gstelements.c:
9595         * gst/elements/Makefile.am:
9596         Ported fdsrc to 0.9.
9597
9598 2005-07-16  Wim Taymans  <wim@fluendo.com>
9599
9600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9601         (gst_base_sink_do_sync):
9602         Fix compile error.
9603
9604 2005-07-16  Wim Taymans  <wim@fluendo.com>
9605
9606         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9607         (gst_base_sink_event), (gst_base_sink_get_times),
9608         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9609         * gst/base/gstbasesink.h:
9610         Store and use discont values when syncing buffers as described
9611         in design docs.
9612         
9613         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9614         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9615         (gst_base_src_activate_push):
9616         Push discont event when starting.
9617
9618         * gst/elements/gstidentity.c: (gst_identity_transform):
9619         Small cleanups.
9620
9621         * gst/gstbin.c: (gst_bin_change_state):
9622         Small cleanups in base_time  distribution.
9623
9624         * gst/gstelement.c: (gst_element_set_base_time),
9625         (gst_element_get_base_time), (gst_element_change_state):
9626         * gst/gstelement.h:
9627         Added methods for the base_time of the element.
9628         Some MT fixes.
9629
9630         * gst/gstpipeline.c: (gst_pipeline_send_event),
9631         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9632         (gst_pipeline_get_last_stream_time):
9633         * gst/gstpipeline.h:
9634         MT fixes.
9635         Handle seeking as described in design doc, remove stream_time
9636         hack.
9637         Cleanups clock and stream_time selection code. Added accessors
9638         for the stream_time.
9639         
9640
9641 2005-07-16  Andy Wingo  <wingo@pobox.com>
9642
9643         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9644         (#305291).
9645
9646 2005-07-16  Wim Taymans  <wim@fluendo.com>
9647
9648         * check/gst/gstbin.c: (GST_START_TEST):
9649         Make elements silent as the deep_notify refs the
9650         parent, which might make the test fail.
9651
9652         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9653         Don't hold the lock for too long.
9654
9655 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9656
9657         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9658           Don't unref the caps we passed to gst_caps_make_writable() after
9659           passing them. gst_caps_make_writable() will do that for us.
9660
9661 2005-07-15  Andy Wingo  <wingo@pobox.com>
9662
9663         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9664         (#157311).
9665
9666         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9667         own marshalling function for the handoff signal. Properly type the
9668         buffer as a buffer. Fixes some warnings. Should do a more general
9669         solution.
9670         (gst_identity_class_init): Plug into the right marshaller.
9671
9672 2005-07-15  Wim Taymans  <wim@fluendo.com>
9673
9674         * docs/design/part-TODO.txt:
9675         * docs/design/part-clocks.txt:
9676         * docs/design/part-element-sink.txt:
9677         * docs/design/part-events.txt:
9678         * docs/design/part-gstpipeline.txt:
9679         Updated docs, mostly DISCONT related.
9680
9681 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9682
9683         * docs/pwg/building-pads.xml:
9684           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9685
9686 2005-07-15  Andy Wingo  <wingo@pobox.com>
9687
9688         * tools/gst-typefind.c: Update, add copyright block.
9689
9690         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9691         Normalize and truncate caps before fixation.
9692
9693         * gst/gstcaps.h:
9694         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9695         discards all but the first structure from its argument.
9696
9697 2005-07-15  Wim Taymans  <wim@fluendo.com>
9698
9699         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9700         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9701         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9702         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9703         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9704         (gst_base_transform_chain), (gst_base_transform_change_state),
9705         (gst_base_transform_set_passthrough),
9706         (gst_base_transform_is_passthrough):
9707         * gst/base/gstbasetransform.h:
9708         Make passthrough work using the bufferpools.
9709         Changed API a bit, subclasses have to write into a buffer
9710         provided by the base class.
9711         More debug info in nego functions.
9712         
9713         * gst/elements/gstidentity.c: (gst_identity_init),
9714         (gst_identity_transform):
9715         Port to new base class.
9716
9717 2005-07-15  Wim Taymans  <wim@fluendo.com>
9718
9719         * gst/gstmessage.c: (gst_message_new_state_changed):
9720         * tools/gst-launch.c: (event_loop), (main):
9721         Totally dump messages in -launch with the -m option.
9722         Fix message name for State messages,
9723
9724 2005-07-14  Wim Taymans  <wim@fluendo.com>
9725
9726         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9727         Post error messages on errors.
9728
9729 2005-07-14  Wim Taymans  <wim@fluendo.com>
9730
9731         * gst/gstcaps.c: (gst_caps_do_simplify):
9732         Remove debug info.
9733
9734         * gst/gsterror.h:
9735         Define error for stream stopped.
9736
9737         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9738         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9739         Do proper return values.
9740
9741         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9742         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9743         (gst_pad_get_range):
9744         Better return values.
9745
9746         * gst/gstpad.h:
9747         Reorganise return values, add macro to check for fatal errors.
9748
9749         * gst/gstqueue.c: (gst_queue_chain):
9750         Return proper GstFlowReturn values,
9751
9752 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9753
9754         * docs/gst/gstreamer-sections.txt:
9755         * docs/gst/gstreamer.types:
9756         * docs/gst/tmpl/gst.sgml:
9757         * docs/gst/tmpl/gstbasesink.sgml:
9758         * docs/gst/tmpl/gstbasesrc.sgml:
9759         * docs/gst/tmpl/gstbasetransform.sgml:
9760         * docs/gst/tmpl/gstbin.sgml:
9761         * docs/gst/tmpl/gstbuffer.sgml:
9762         * docs/gst/tmpl/gstcaps.sgml:
9763         * docs/gst/tmpl/gstclock.sgml:
9764         * docs/gst/tmpl/gstcompat.sgml:
9765         * docs/gst/tmpl/gstconfig.sgml:
9766         * docs/gst/tmpl/gstelement.sgml:
9767         * docs/gst/tmpl/gstelementdetails.sgml:
9768         * docs/gst/tmpl/gstelementfactory.sgml:
9769         * docs/gst/tmpl/gstenumtypes.sgml:
9770         * docs/gst/tmpl/gsterror.sgml:
9771         * docs/gst/tmpl/gstevent.sgml:
9772         * docs/gst/tmpl/gstfakesink.sgml:
9773         * docs/gst/tmpl/gstfakesrc.sgml:
9774         * docs/gst/tmpl/gstfilesink.sgml:
9775         * docs/gst/tmpl/gstfilesrc.sgml:
9776         * docs/gst/tmpl/gstfilter.sgml:
9777         * docs/gst/tmpl/gstformat.sgml:
9778         * docs/gst/tmpl/gstghostpad.sgml:
9779         * docs/gst/tmpl/gstimplementsinterface.sgml:
9780         * docs/gst/tmpl/gstindex.sgml:
9781         * docs/gst/tmpl/gstindexfactory.sgml:
9782         * docs/gst/tmpl/gstinfo.sgml:
9783         * docs/gst/tmpl/gstiterator.sgml:
9784         * docs/gst/tmpl/gstmacros.sgml:
9785         * docs/gst/tmpl/gstmemchunk.sgml:
9786         * docs/gst/tmpl/gstminiobject.sgml:
9787         * docs/gst/tmpl/gstobject.sgml:
9788         * docs/gst/tmpl/gstpad.sgml:
9789         * docs/gst/tmpl/gstpadtemplate.sgml:
9790         * docs/gst/tmpl/gstparse.sgml:
9791         * docs/gst/tmpl/gstpipeline.sgml:
9792         * docs/gst/tmpl/gstplugin.sgml:
9793         * docs/gst/tmpl/gstpluginfeature.sgml:
9794         * docs/gst/tmpl/gstquery.sgml:
9795         * docs/gst/tmpl/gstqueue.sgml:
9796         * docs/gst/tmpl/gstregistry.sgml:
9797         * docs/gst/tmpl/gstregistrypool.sgml:
9798         * docs/gst/tmpl/gstscheduler.sgml:
9799         * docs/gst/tmpl/gstschedulerfactory.sgml:
9800         * docs/gst/tmpl/gststructure.sgml:
9801         * docs/gst/tmpl/gstsystemclock.sgml:
9802         * docs/gst/tmpl/gsttaglist.sgml:
9803         * docs/gst/tmpl/gsttagsetter.sgml:
9804         * docs/gst/tmpl/gsttrace.sgml:
9805         * docs/gst/tmpl/gsttrashstack.sgml:
9806         * docs/gst/tmpl/gsttypefind.sgml:
9807         * docs/gst/tmpl/gsttypefindfactory.sgml:
9808         * docs/gst/tmpl/gsttypes.sgml:
9809         * docs/gst/tmpl/gsturihandler.sgml:
9810         * docs/gst/tmpl/gsturitype.sgml:
9811         * docs/gst/tmpl/gstutils.sgml:
9812         * docs/gst/tmpl/gstvalue.sgml:
9813         * docs/gst/tmpl/gstversion.sgml:
9814         * docs/gst/tmpl/gstxml.sgml:
9815         * docs/libs/tmpl/gstcontrol.sgml:
9816         * docs/libs/tmpl/gstdataprotocol.sgml:
9817         * docs/libs/tmpl/gstdparam.sgml:
9818         * docs/libs/tmpl/gstdplinint.sgml:
9819         * docs/libs/tmpl/gstdpman.sgml:
9820         * docs/libs/tmpl/gstdpsmooth.sgml:
9821         * docs/libs/tmpl/gstgetbits.sgml:
9822         * docs/libs/tmpl/gstunitconvert.sgml:
9823         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9824         (gst_push_src_base_init), (gst_push_src_class_init),
9825         (gst_push_src_init), (gst_push_src_create):
9826         * gst/base/gstpushsrc.h:
9827         * gst/elements/gstelements.c:
9828         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9829         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9830         (gst_fake_sink_init), (gst_fake_sink_set_property),
9831         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9832         (gst_fake_sink_event), (gst_fake_sink_preroll),
9833         (gst_fake_sink_render), (gst_fake_sink_change_state):
9834         * gst/elements/gstfakesink.h:
9835         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9836         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9837         (gst_fake_src_base_init), (gst_fake_src_class_init),
9838         (gst_fake_src_init), (gst_fake_src_event_handler),
9839         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9840         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9841         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9842         (gst_fake_src_create_buffer), (gst_fake_src_create),
9843         (gst_fake_src_start), (gst_fake_src_stop):
9844         * gst/elements/gstfakesrc.h:
9845         * gst/elements/gstfilesink.c: (_do_init),
9846         (gst_file_sink_base_init), (gst_file_sink_class_init),
9847         (gst_file_sink_init), (gst_file_sink_dispose),
9848         (gst_file_sink_set_location), (gst_file_sink_set_property),
9849         (gst_file_sink_get_property), (gst_file_sink_open_file),
9850         (gst_file_sink_close_file), (gst_file_sink_query),
9851         (gst_file_sink_event), (gst_file_sink_render),
9852         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9853         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9854         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9855         * gst/elements/gstfilesink.h:
9856         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9857         (gst_file_src_class_init), (gst_file_src_init),
9858         (gst_file_src_finalize), (gst_file_src_set_location),
9859         (gst_file_src_set_property), (gst_file_src_get_property),
9860         (gst_file_src_map_region), (gst_file_src_map_small_region),
9861         (gst_file_src_create_mmap), (gst_file_src_create_read),
9862         (gst_file_src_create), (gst_file_src_is_seekable),
9863         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9864         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9865         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9866         (gst_file_src_uri_handler_init):
9867         * gst/elements/gstfilesrc.h:
9868           more autistic cleanliness in functions/names/defines
9869
9870 2005-07-13  Andy Wingo  <wingo@pobox.com>
9871
9872         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9873         source couldn't negotiate.
9874
9875         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9876         connections again.
9877
9878         * gst/gstutils.h:
9879         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9880         function. I am channeling Hades. Put your boots on suckers!!!
9881
9882 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9883
9884         * testsuite/caps/Makefile.am:
9885         * testsuite/caps/value_compare.c:
9886         * testsuite/caps/value_intersect.c:
9887         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9888           move two testsuite apps over to the check dir
9889
9890 2005-07-12  Wim Taymans  <wim@fluendo.com>
9891
9892         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9893         Added more debug info in the negotiate process.
9894
9895         * gst/gstmessage.h:
9896         Prepare for segment playback.
9897
9898         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9899         Better debugging.
9900
9901         * gst/gstutils.c:
9902         Some more docs.
9903
9904         * tools/gst-launch.c: (main):
9905         NULL pipeline on errors.
9906
9907 2005-07-12  Andy Wingo  <wingo@pobox.com>
9908
9909         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9910         not it comes from a malloc region. Make sure our copy gets freed.
9911
9912 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9913
9914         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9915         * check/gst/gstmessage.c: (GST_START_TEST):
9916         * check/gst/gststructure.c: (GST_START_TEST),
9917         (gst_structure_suite), (main):
9918           more testing
9919         * gst/gstelement.c: (gst_element_message_full):
9920           clean up GError and debug string now that they get copied
9921         * gst/gstmessage.c: (gst_message_new_error),
9922         (gst_message_new_warning), (gst_message_parse_error),
9923         (gst_message_parse_warning):
9924           use GST_TYPE_G_ERROR for structure_new, and take copies of
9925           arguments, so that we don't mess up refcounting
9926
9927 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9928
9929         * check/Makefile.am:
9930           add per-test valgrind targets
9931         * check/gst-libs/gdp.c: (GST_START_TEST),
9932         (gst_data_protocol_suite), (main):
9933           clean up
9934
9935 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9936
9937         * check/Makefile.am:
9938           instate more valgrindable tests
9939         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9940         (GST_START_TEST), (fakesrc_suite):
9941         * check/gst/gstpad.c: (GST_START_TEST):
9942         * check/gst/gststructure.c: (GST_START_TEST):
9943           fix test leaks
9944         * docs/gst/tmpl/gstminiobject.sgml:
9945         * gst/gstpad.c: (gst_pad_finalize):
9946           fix the static mutex leak
9947
9948 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9949
9950         * check/Makefile.am:
9951           add two more tests for valgrinding
9952         * check/gst/gstvalue.c: (GST_START_TEST):
9953           test refcount of deserialized buffer, found a leak
9954         * docs/gst/gstreamer-docs.sgml:
9955         * docs/gst/gstreamer-sections.txt:
9956         * docs/gst/gstreamer.types:
9957         * docs/gst/tmpl/gstminiobject.sgml:
9958           add miniobject to docs
9959         * gst/gstminiobject.c:
9960           add some docs
9961         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9962         (gst_string_unwrap):
9963           fix a hard-to-find invalid write for one of the tests
9964           fix a leak for deserialized buffers
9965
9966 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9967
9968         * docs/pwg/advanced-events.xml:
9969         * docs/pwg/advanced-request.xml:
9970         * docs/pwg/advanced-scheduling.xml:
9971         * docs/pwg/appendix-porting.xml:
9972         * docs/pwg/building-boiler.xml:
9973         * docs/pwg/intro-preface.xml:
9974         * docs/pwg/other-ntoone.xml:
9975           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9976           of example code and explanation for pad activation, loop() and
9977           getrange() functions and a bit more. Remove old comments pointing
9978           to loop-functions.
9979         * examples/pwg/Makefile.am:
9980           Add loop/getrange examples.
9981
9982 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9983
9984         * configure.ac:
9985           check for valgrind binary + some fixes
9986         * check/gst.supp:
9987           valgrind suppressions for the tests
9988         * check/Makefile.am:
9989           add a valgrind: target that valgrinds the unit tests
9990         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9991         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9992         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9993         * check/gst/gstghostpad.c:
9994           added some cleanup
9995         * check/gst/gstdata.c:
9996           removed
9997         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9998         (thread_unref), (gst_mini_object_suite), (main):
9999           added
10000         * gst/gst.c: (gst_deinit):
10001         * gst/gst.h:
10002           add a method to clean up.
10003         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10004         (gst_system_clock_obtain):
10005           allow for disposing the system clock.
10006         * tools/gst-launch.c: (main):
10007           deinit
10008
10009 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10010
10011         * docs/gst/tmpl/gstbasesrc.sgml:
10012         * docs/gst/tmpl/gstfakesrc.sgml:
10013         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10014         (gst_base_src_init), (gst_base_src_set_property),
10015         (gst_base_src_get_property), (gst_base_src_get_range),
10016         (gst_base_src_start):
10017         * gst/base/gstbasesrc.h:
10018           add num-buffers property
10019         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10020         (gst_fakesrc_init), (gst_fakesrc_set_property),
10021         (gst_fakesrc_get_property), (gst_fakesrc_create),
10022         (gst_fakesrc_start):
10023           remove num-buffers property
10024
10025 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10026
10027         * docs/gst/gstreamer-sections.txt:
10028         * docs/gst/tmpl/gstbasesink.sgml:
10029         * docs/gst/tmpl/gstbasesrc.sgml:
10030         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
10031         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
10032         (gst_base_sink_finalize), (gst_base_sink_set_clock),
10033         (gst_base_sink_set_property), (gst_base_sink_get_property),
10034         (gst_base_sink_handle_object), (gst_base_sink_event),
10035         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10036         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
10037         (gst_base_sink_loop), (gst_base_sink_deactivate),
10038         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
10039         (gst_base_sink_change_state):
10040         * gst/base/gstbasesink.h:
10041         * gst/base/gstbasesrc.h:
10042         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
10043         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10044         (gst_filesink_init):
10045           more macro splitting
10046
10047 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10048
10049         * gst/gstelement.c: (gst_element_get_bus):
10050           add debug
10051         * tools/gst-launch.c: (check_intr), (event_loop):
10052           fix bus leaks
10053
10054 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10055
10056         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10057           fix a caps leak
10058
10059 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10060
10061         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10062         (gst_base_src_finalize):
10063           add finalize method and clean up properly
10064         * gst/gstpipeline.c: (gst_pipeline_dispose):
10065           add debug
10066
10067 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10068
10069         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
10070         (gst_bin_suite):
10071           add more things to check
10072         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
10073         * gst/gstelement.c:
10074           more debug
10075
10076 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10077
10078         * check/elements/gstfakesrc.c: (chain_func), (event_func),
10079         (GST_START_TEST), (fakesrc_suite):
10080         * check/gst-libs/gdp.c: (GST_START_TEST):
10081         * check/gst/gst.c: (GST_START_TEST):
10082         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10083         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10084         * check/gst/gstbus.c: (GST_START_TEST):
10085         * check/gst/gstcaps.c: (GST_START_TEST):
10086         * check/gst/gstdata.c: (GST_START_TEST):
10087         * check/gst/gstelement.c: (GST_START_TEST):
10088         * check/gst/gstghostpad.c: (GST_START_TEST):
10089         * check/gst/gstiterator.c: (GST_START_TEST):
10090         * check/gst/gstmessage.c: (GST_START_TEST):
10091         * check/gst/gstobject.c: (GST_START_TEST):
10092         * check/gst/gstpad.c: (GST_START_TEST):
10093         * check/gst/gststructure.c: (GST_START_TEST):
10094         * check/gst/gstsystemclock.c: (GST_START_TEST),
10095         (gst_systemclock_suite):
10096         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10097         * check/gst/gstvalue.c: (GST_START_TEST):
10098         * check/pipelines/cleanup.c: (GST_START_TEST):
10099         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10100         * check/states/sinks.c: (GST_START_TEST):
10101         * check/gstcheck.c: (gst_check_init):
10102         * check/gstcheck.h:
10103           add debugging category
10104           use GST_START_TEST now, so we add a debug line
10105
10106 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10107
10108         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
10109           add test for state change message on a bin
10110         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
10111           add another test
10112         * gst/gstbin.c: (gst_bin_init):
10113         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
10114         * gst/gstelement.c: (gst_element_post_message),
10115         (gst_element_set_state):
10116         * gst/gstelementfactory.c: (gst_element_factory_create):
10117         * gst/gstmessage.c: (gst_message_new):
10118         * gst/gstscheduler.c:
10119           various debugging additions and cleanups
10120
10121 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10122
10123         * check/Makefile.am:
10124         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
10125         (main):
10126           adding tests for elements
10127         * gst/gstelement.c: (gst_element_dispose):
10128
10129 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10130
10131         * gst/registries/gstlibxmlregistry.c: (load_feature):
10132           plug more leaks.  A simple gst_init() now is leakfree, yay.
10133
10134 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10135
10136         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
10137         (gst_xml_registry_load):
10138           plug another memleak
10139
10140 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10141
10142         * configure.ac:
10143           use GST_SET_ERROR_CFLAGS
10144         * docs/faq/cvs.xml:
10145           change to ERROR_CFLAGS
10146
10147 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10148
10149         * configure.ac:
10150           make GST_ERROR_CFLAGS overridable and re-enable Werror
10151         * docs/faq/cvs.xml:
10152           add a note about error CFLAGS
10153         * docs/gst/tmpl/gstfakesrc.sgml:
10154         * gst/elements/gstfakesrc.c:
10155           comment out some unused code
10156         * gst/gst.c: (split_and_iterate):
10157         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
10158         (load_feature):
10159           plug some memleaks
10160
10161 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10162
10163         * common/Makefile.am:
10164         * common/gtk-doc.mak:
10165         * docs/gst/Makefile.am:
10166           factor out gtk-doc.mak
10167
10168 2005-07-07  Wim Taymans  <wim@fluendo.com>
10169
10170         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
10171         (gst_thread_scheduler_dispose):
10172         Unlock the STREAM_LOCK completely.
10173
10174 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10175
10176         * check/Makefile.am:
10177         * check/elements/.cvsignore:
10178         * check/elements/gstfakesrc.c: (chain_func), (event_func),
10179         (START_TEST), (fakesrc_suite), (main):
10180         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10181         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10182         (gst_fakesrc_create), (gst_fakesrc_start):
10183         * gst/elements/gstfakesrc.h:
10184           adding a first element test
10185
10186 2005-07-07  Andy Wingo  <wingo@pobox.com>
10187
10188         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
10189         debug message.
10190
10191 2005-07-07  Wim Taymans  <wim@fluendo.com>
10192
10193         * gst/gstquery.c:
10194         * gst/gstquery.h:
10195         Remove old types
10196
10197 2005-07-07  Wim Taymans  <wim@fluendo.com>
10198
10199         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10200         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
10201         Allow subclasses to implement their own negotiation.
10202
10203 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10204
10205         * docs/design/part-gstbin.txt:
10206         * docs/design/part-gstpipeline.txt:
10207           Update design notes to reflect the movement of
10208           responsibility for bus handling from GstPipeline to
10209           GstBin
10210
10211 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10212
10213         * configure.ac:
10214           Remove unnecessary queue2/3/4 examples.
10215
10216 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10217
10218         * examples/Makefile.am:
10219         * examples/helloworld/helloworld.c: (event_loop), (main):
10220         * examples/queue/queue.c: (event_loop), (main):
10221         * examples/queue2/queue2.c: (main):
10222           Update a couple of the examples to work again.
10223
10224         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10225         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
10226          Spelling corrections and extra debug.
10227         
10228         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
10229         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
10230         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
10231         * gst/gstbin.h:
10232         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10233         (gst_pipeline_change_state):
10234         * gst/gstpipeline.h:
10235           Move the bus handler for children to the GstBin, and create a
10236           separate bus for receiving messages from children to the one the
10237           bus sends 'upwards' on.
10238
10239 2005-07-06  Wim Taymans  <wim@fluendo.com>
10240
10241         * gst/base/README:
10242         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10243         (gst_base_sink_handle_object), (gst_base_sink_loop),
10244         (gst_base_sink_change_state):
10245         * gst/base/gstbasesink.h:
10246         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10247         (gst_base_src_init), (gst_base_src_setcaps),
10248         (gst_base_src_getcaps), (gst_base_src_loop),
10249         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
10250         (gst_base_src_start), (gst_base_src_change_state):
10251         * gst/base/gstbasesrc.h:
10252         Make basesrc negotiate.
10253         Handle the case where preroll fails in basesink.
10254         Update README.
10255
10256 2005-07-06  Wim Taymans  <wim@fluendo.com>
10257
10258         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10259         Implement the fixate function.
10260         Clean up acceptcaps.
10261
10262 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10263
10264         * docs/pwg/building-filterfactory.xml:
10265         * docs/pwg/pwg.xml:
10266           Remove never-written filter-factory chapter; I'll add the various
10267           base classes to part 4 ("other element types") later on.
10268
10269 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10270
10271         * docs/pwg/advanced-negotiation.xml:
10272         * docs/pwg/building-boiler.xml:
10273         * docs/pwg/building-pads.xml:
10274         * docs/pwg/pwg.xml:
10275         * examples/pwg/Makefile.am:
10276           Add a chapter on caps negotiation, simplify the original code
10277           samples a bit w.r.t. caps negotiation, add link to the advanced
10278           section. Add a bunch of examples showing different use cases of
10279           different types of caps negotiation. Upstream renegotiation isn't
10280           fully documented yet since nobody knows how that works.
10281
10282 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10283
10284         * check/gst/gstpad.c:
10285         * check/gstcheck.c:
10286         * gst/gstpad.c: (gst_pad_get_internal_links_default):
10287           if pad has no parent, return NULL as list of internal links
10288
10289 2005-07-05  Andy Wingo  <wingo@pobox.com>
10290
10291         * gst/elements/gstfilesrc.c:
10292         * gst/elements/gstfakesrc.c: 
10293         * gst/base/gstpushsrc.c:
10294         * gst/base/gstbasesrc.h: 
10295         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10296         
10297 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
10298
10299         * Makefile.am:
10300           better report generation target (lcov needs a patch)
10301
10302 2005-07-05  Andy Wingo  <wingo@pobox.com>
10303
10304         * gst/elements, testsuite: Null if we got it...
10305
10306 2005-07-05  Wim Taymans  <wim@fluendo.com>
10307
10308         * configure.ac:
10309         * libs/gst/dataprotocol/Makefile.am:
10310         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10311         * libs/gst/dataprotocol/dataprotocol.h:
10312         * pkgconfig/Makefile.am:
10313         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10314         * pkgconfig/gstreamer-dataprotocol.pc.in:
10315         Ported dataprotol to 0.9. 
10316         Added pkgconfig files.
10317
10318 2005-07-05  Andy Wingo  <wingo@pobox.com>
10319
10320         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10321         Default to returning TRUE for the case when tranform_caps returns
10322         a fixed caps, like for identity or volume.
10323
10324         * check/gst/gstbus.c (pound_bus_with_messages): 
10325         * check/gst/gstmessage.c (START_TEST): 
10326         * check/pipelines/simple_launch_lines.c (got_handoff): Application
10327         message API change.
10328
10329         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10330         logic weaks here: always run transform_caps, trying passthrough
10331         operation only if the original caps intersects with the transform.
10332
10333         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10334         source and sink caps.
10335
10336         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10337         Intersect the peer caps with the pad template before going into
10338         transform_caps.
10339         (gst_base_transform_transform_caps): More debugging.
10340
10341         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10342         src argument.
10343
10344 2005-07-04  Edward Hervey  <edward@fluendo.com>
10345
10346         * gst/gstutils.c:
10347         * gst/gstutils.h:
10348         (gst_pad_add_*_probe): now returns the signal id for better wrapping
10349         in bindings.
10350
10351 2005-07-04  Andy Wingo  <wingo@pobox.com>
10352
10353         * check/gst/gstpad.c: Only set explicit caps on pads.
10354
10355 2005-07-01  Andy Wingo  <wingo@pobox.com>
10356
10357         * tests/network-clock.scm: Commentary update.
10358
10359         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10360         Didn't really make sense, not implementable with basetransform,
10361         etc.
10362         (gst_identity_transform): Unref inbuf via make_writable. Feeble
10363         attempt at implementing the sync property, needs an unlock method.
10364
10365         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10366         New func, by default returns the same caps (the identity
10367         transformation).
10368         (gst_base_transform_getcaps): Uses transform_caps to return
10369         something sensible.
10370         (gst_base_transform_setcaps): Complicated logic to get caps on
10371         both pads, even if they are different, and to call set_caps once
10372         for every time both pads get their caps set.
10373         (gst_base_transform_handle_buffer): Give the ref to the transform
10374         function. Allows in-place modification of the buffer.
10375
10376         * gst/base/gstbasetransform.h (transform_caps): New class method.
10377         Given caps on one side, what can I do on the other.
10378         (set_caps): Take two caps, one for each side of the element.
10379
10380         * gst/gstpad.h:
10381         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10382         caps in place. This is safe because we can check the mutability of
10383         the caps, and a good idea because fixate functions are just called
10384         as a matter of last resort. (Not actually implemented.)
10385         (gst_pad_set_caps): If the caps we're setting is actually the same
10386         as the existing pad caps, just update the pointer without calling
10387         setcaps. Assert that caps is either NULL or fixed, as per the
10388         docs.
10389
10390         * gst/gstghostpad.c: Update for fixate changes.
10391
10392 2005-07-02  Andy Wingo  <wingo@pobox.com>
10393
10394         * gst/gstcaps.c:
10395         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10396         two refcounts makes it immutable, which is enough. Doc more.
10397
10398 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
10399
10400         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10401           Put the mini_object into GValue as a mini_object,
10402           not a gpointer, since that's how we declared
10403           the signal.
10404
10405 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10406
10407         * examples/pwg/Makefile.am:
10408           Fix buildbot again.
10409
10410 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10411
10412         * docs/pwg/building-testapp.xml:
10413           Add extra check.
10414         * examples/pwg/Makefile.am:
10415           Fix buildbot.
10416
10417 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10418
10419         * configure.ac:
10420         * examples/Makefile.am:
10421         * examples/pwg/Makefile.am:
10422         * examples/pwg/extract.pl:
10423           Enable building the PWG examples.
10424         * docs/pwg/advanced-interfaces.xml:
10425           Add URI interface stub.
10426         * docs/pwg/advanced-types.xml:
10427         * docs/pwg/other-autoplugger.xml:
10428         * docs/pwg/appendix-porting.xml:
10429         * docs/pwg/pwg.xml:
10430           Add porting guide (mostly stubs), remove autoplugging (see ADM).
10431         * docs/pwg/building-boiler.xml:
10432         * docs/pwg/building-chainfn.xml:
10433         * docs/pwg/building-pads.xml:
10434         * docs/pwg/building-props.xml:
10435         * docs/pwg/building-state.xml:
10436         * docs/pwg/building-testapp.xml:
10437           Update the building-*.xml parts for 0.9 changes. All examples
10438           code blocks compile in examples/pwg/*.
10439
10440 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10441
10442         * docs/manual/advanced-autoplugging.xml:
10443         * docs/manual/appendix-checklist.xml:
10444         * docs/manual/appendix-integration.xml:
10445         * docs/manual/highlevel-components.xml:
10446           Fix playbin/decodebin examples, update docs a bit, mention bus
10447           instead of signals in various places, mention kmplayer and
10448           kaffeine since they have a working GStreamer backend in the KDE
10449           section.
10450
10451 2005-06-30  Wim Taymans  <wim@fluendo.com>
10452
10453         * CHANGES-0.9:
10454         * docs/design/draft-ghostpads.txt:
10455         * docs/design/draft-push-pull.txt:
10456         * docs/design/draft-query.txt:
10457         * docs/design/part-TODO.txt:
10458         * docs/design/part-query.txt:
10459         Added CHANGES-0.9 doc, updated status of other docs.
10460         
10461         * gst/gstquery.h:
10462         Remove "hmm" macro
10463
10464 2005-06-30  Wim Taymans  <wim@fluendo.com>
10465
10466         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10467         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10468         (gst_base_sink_change_state):
10469         * gst/base/gstbasesink.h:
10470         Some tweaks, only EOS and a buffer complete a preroll.
10471
10472 2005-06-30  Andy Wingo  <wingo@pobox.com>
10473
10474         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10475         activate_push down to the internal pad as well.
10476
10477 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
10478
10479         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10480
10481         * gst/gsttaginterface.c:
10482           Some documentation fixes (#307394 and #307397).
10483
10484 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
10485
10486         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10487
10488         * gst/gstvalue.c: (gst_value_intersect_list):
10489           Fix memleak (#309125).
10490
10491 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10492
10493         * docs/manual/advanced-dataaccess.xml:
10494           Fix fakesrc example to compile; doesn't work, bug somewhere...?
10495         * docs/manual/basics-pads.xml:
10496           Add reference for filtered caps to above chapter.
10497
10498 2005-06-30  Wim Taymans  <wim@fluendo.com>
10499
10500         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10501         (gst_bin_change_state):
10502         Probes are gone.
10503         Lame attempt at making the state change function a bit
10504         more readable.
10505
10506 2005-06-30  Wim Taymans  <wim@fluendo.com>
10507
10508         * docs/design/part-clocks.txt:
10509         * docs/design/part-element-sink.txt:
10510         * docs/design/part-events.txt:
10511         * docs/design/part-preroll.txt:
10512         * docs/design/part-states.txt:
10513         Some more tweeks and additions to the docs.
10514
10515 2005-06-30  Wim Taymans  <wim@fluendo.com>
10516
10517         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10518         (default_have_data), (gst_pad_class_init), (gst_pad_init),
10519         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10520         (gst_pad_check_pull_range), (gst_pad_get_range),
10521         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10522         * gst/gstpad.h:
10523         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10524         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10525         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10526         (gst_pad_remove_buffer_probe):
10527         Removed atomic operations, use existing LOCK.
10528         Move exception handling out of main code path.
10529
10530 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10531
10532         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10533         (silly_return_true_function), (gst_pad_class_init),
10534         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10535         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10536         (gst_pad_send_event):
10537           Fix accumulator, add default value by using _emitv() instead
10538           of _emit() for signal emission.
10539
10540 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10541
10542         * docs/manual/advanced-dataaccess.xml:
10543         * examples/manual/Makefile.am:
10544           Add probe example.
10545         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10546           Make work (??).
10547
10548 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
10549
10550         * gst/elements/gstfilesink.c: (gst_filesink_render):
10551           Simplify code so that we don't have to handle short
10552           writes and return GST_FLOW_ERROR if an error occured.
10553
10554 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10555
10556         * docs/gst/gstreamer-docs.sgml:
10557           Remove probes more.
10558
10559 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10560
10561         * docs/gst/gstreamer-sections.txt:
10562         * docs/gst/tmpl/gstpad.sgml:
10563         * docs/gst/tmpl/gstprobe.sgml:
10564         * gst/Makefile.am:
10565         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10566         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10567         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10568         (gst_pad_push_event), (gst_pad_send_event):
10569         * gst/gstpad.h:
10570         * gst/gstutils.c: (gst_pad_add_data_probe),
10571         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10572         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10573         (gst_pad_remove_buffer_probe):
10574         * gst/gstutils.h:
10575           Remove old probes, add new g-signal-based probes and some utility
10576           functions.
10577
10578 2005-06-29  Edward Hervey  <edward@fluendo.com>
10579
10580         * gst/gstelementfactory.c:
10581         * gst/gstutils.h:
10582         * gst/gstutils.c:
10583         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10584         the definition to the header file.
10585
10586 2005-06-29  Andy Wingo  <wingo@pobox.com>
10587
10588         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10589         plugins from the source directory.
10590
10591 2005-06-29  Wim Taymans  <wim@fluendo.com>
10592
10593         * docs/gst/tmpl/gstbuffer.sgml:
10594         * docs/gst/tmpl/gstclock.sgml:
10595         Some fixings for blantently wrong text.
10596
10597 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10598
10599         * check/Makefile.am:
10600         * gst/gst.c: (add_path_func), (init_pre):
10601         * gst/gstregistry.c: (gst_registry_add_path):
10602           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10603           only scan the GST_PLUGIN_PATH locations, and not add
10604           system locations
10605
10606 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10607
10608         * docs/gst/gstreamer-sections.txt:
10609         * docs/gst/tmpl/gstbasesrc.sgml:
10610         * gst/gstelement.c:
10611         * gst/gstelement.h:
10612         * gst/gstevent.c:
10613         * gst/gstutils.c:
10614           doc fixes
10615
10616 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10617
10618         * docs/manual/advanced-autoplugging.xml:
10619           Fix autoplugging example.
10620
10621 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10622
10623         * docs/manual/advanced-autoplugging.xml:
10624         * docs/manual/mime-world.fig:
10625           Try to get autoplugging working, fix type detection. Fix text
10626           in hello-world image.
10627
10628 2005-06-29  Wim Taymans  <wim@fluendo.com>
10629
10630         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10631         (gst_base_sink_change_state):
10632         Small debug line.
10633
10634         * gst/gstclock.h:
10635         map SIGNAL and BROADCAST to the right function.
10636
10637         * gst/gstobject.h:
10638         Remove redundant braces.
10639
10640         * gst/gstpad.c: (gst_pad_set_caps):
10641         Don't call setcaps function when reseting caps to NULL.
10642
10643         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10644         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10645         (gst_system_clock_id_unschedule):
10646         Use BROADCAST as this is what we do.
10647
10648 2005-06-29  Wim Taymans  <wim@fluendo.com>
10649
10650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10651         We are actually prerolling before commiting the state
10652         change. 
10653
10654 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10655
10656         * docs/manual/advanced-clocks.xml:
10657         * docs/manual/advanced-interfaces.xml:
10658         * docs/manual/advanced-metadata.xml:
10659         * docs/manual/advanced-position.xml:
10660         * docs/manual/advanced-schedulers.xml:
10661         * docs/manual/advanced-threads.xml:
10662         * docs/manual/appendix-porting.xml:
10663         * docs/manual/basics-bins.xml:
10664         * docs/manual/basics-bus.xml:
10665         * docs/manual/basics-elements.xml:
10666         * docs/manual/basics-helloworld.xml:
10667         * docs/manual/basics-pads.xml:
10668         * docs/manual/highlevel-components.xml:
10669         * docs/manual/manual.xml:
10670         * docs/manual/thread.fig:
10671           Update (until threads/scheduling) Application Development Manual;
10672           remove GstThread, add GstBus, add simple porting checklist, add
10673           documentation for tag writing, clocks, make all examples until this
10674           part compile and run.
10675         * examples/manual/Makefile.am:
10676           Update from changes to Application Development Manual; add bus
10677           example, remove thread example.
10678
10679 2005-06-28  Wim Taymans  <wim@fluendo.com>
10680
10681         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10682         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10683         (gst_bus_source_dispatch):
10684         Add debugging messages.
10685         Make internal methods static.
10686         Handle the case where the bus is flushed in the handler.
10687         
10688         * gst/gstelement.c: (gst_element_get_bus):
10689         Fix refcount in _get_bus();
10690
10691         * gst/gstpipeline.c: (gst_pipeline_change_state),
10692         (gst_pipeline_get_clock_func):
10693         Clock refcounting fixes.
10694         Handle the case where preroll timed out more gracefully.
10695         
10696         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10697         Clean up the internal thread in dispose. This is needed
10698         for subclasses that actually get disposed.
10699         
10700         * gst/schedulers/threadscheduler.c:
10701         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10702         (gst_thread_scheduler_dispose):
10703         Free thread pool in dispose.
10704
10705 2005-06-28  Andy Wingo  <wingo@pobox.com>
10706
10707         * tests/network-clock-utils.scm (debug, print-event): New utils.
10708
10709         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10710         (*packet-loss*): Unified loss probability.
10711         (network-time): Report out-of-band events.
10712
10713         * tests/plot-data: Add support for out-of-band events. Hack it
10714         into this script instead of passing it down the pipe; should fix
10715         this later.
10716
10717 2005-06-28  Wim Taymans  <wim@fluendo.com>
10718
10719         * docs/gst/gstreamer.types:
10720         * docs/gst/tmpl/gstbasesrc.sgml:
10721         * docs/gst/tmpl/gstpad.sgml:
10722         Docs fixes.
10723
10724 2005-06-28  Wim Taymans  <wim@fluendo.com>
10725
10726         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10727         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10728         (gst_proxy_pad_do_fixatecaps):
10729         Correctly proxy the check_pull_range function.
10730
10731 2005-06-28  Andy Wingo  <wingo@pobox.com>
10732
10733         * tests/network-clock.scm: Removed need for slib.
10734         
10735 2005-06-28  Wim Taymans  <wim@fluendo.com>
10736
10737         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10738         (gst_basesink_preroll_queue_flush):
10739         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10740         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10741         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10742         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10743         (gst_proxy_pad_set_property):
10744         * gst/gstpad.c:
10745         * gst/gstpad.h:
10746         * gst/gstqueue.c: (gst_queue_init):
10747         The deprecated pad loop function is removed now.
10748
10749 2005-06-28  Andy Wingo  <wingo@pobox.com>
10750
10751         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10752         New parameters, simulate network packet loss.
10753
10754         * tests/network-clock-utils.scm: Initialize the RNG.
10755
10756 2005-06-28  Wim Taymans  <wim@fluendo.com>
10757
10758         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10759         (gst_basesink_event), (gst_basesink_deactivate):
10760         Flushing the preroll queue always needs to unlock the waiters.
10761
10762 2005-06-28  Edward Hervey  <edward@fluendo.com>
10763
10764         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10765         Wheen a seek was successful on a pipeline, set the stream_time to the
10766         seek offset in order to have a synchronized stream_time.
10767
10768 2005-06-28  Wim Taymans  <wim@fluendo.com>
10769
10770         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10771         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10772         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10773         (gst_proxy_pad_do_fixatecaps):
10774         Call wrapper function instead of just calling the function
10775         pointers. This takes care of any locking and whatmore.
10776
10777 2005-06-28  Wim Taymans  <wim@fluendo.com>
10778
10779         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10780         (gst_pad_pull_range):
10781         * gst/gstpad.h:
10782         CONNECTED -> LINKED.
10783
10784 2005-06-28  Andy Wingo  <wingo@pobox.com>
10785
10786         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10787         source-munging commit!!!
10788
10789         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10790         (gst_object_sink): Take gpointer arguments, not GstObject --
10791         avoids casts. Like GLib.
10792
10793         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10794         activate.
10795
10796 2005-06-27  Andy Wingo  <wingo@pobox.com>
10797
10798         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10799         remaining buffer.
10800
10801         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10802         returns a sorted copy of the trace list.
10803         (gst_alloc_trace_print_live): New API, only prints traces with
10804         live objects. Sort the list.
10805         (gst_alloc_trace_print_all): Sort the list.
10806         (gst_alloc_trace_print): Align columns.
10807
10808         * gst/elements/gstttypefindelement.c:
10809         * gst/elements/gsttee.c:
10810         * gst/base/gstbasesrc.c:
10811         * gst/base/gstbasesink.c:
10812         * gst/base/gstbasetransform.c:
10813         * gst/gstqueue.c: Adapt for pad activation changes.
10814
10815         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10816         sched.
10817         (gst_pipeline_dispose): Drop ref on sched.
10818
10819         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10820         (gst_pad_activate_default): Push mode by default.
10821         (pre_activate_switch, post_activate_switch): New stubs, things to
10822         do before and after switching activation modes on pads.
10823         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10824         the pad's activate function to choose which mode to activate.
10825         Shortcut on deactivation and call the right function directly.
10826         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10827         mode.
10828         (gst_pad_activate_push): New API, same for push mode.
10829         (gst_pad_set_activate_function) 
10830         (gst_pad_set_activatepull_function) 
10831         (gst_pad_set_activatepush_function): Setters for new API.
10832
10833         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10834         Trace all miniobjects.
10835         (gst_mini_object_make_writable): Unref the arg if we copy, like
10836         gst_caps_make_writable.
10837
10838         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10839
10840         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10841         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10842         Adapt for new pad API.
10843
10844         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10845
10846         * gst/gstelement.h:
10847         * gst/gstelement.c (gst_element_iterate_src_pads) 
10848         (gst_element_iterate_sink_pads): New API functions.
10849         
10850         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10851         should fold into gstiterator.c in some form.
10852         (gst_element_pads_activate): Simplified via use of fold and
10853         delegation of decisions to gstpad->activate.
10854
10855         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10856         help in debugging.
10857
10858         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10859         class once in init, like gstmessage. Didn't run into this issue
10860         but it seems correct. Don't initialize a trace, gstminiobject does
10861         that.
10862
10863         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10864         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10865         to the bus.
10866         (assert_live_count): New util function, uses alloc traces to check
10867         cleanup.
10868
10869         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10870         To be modified when unlink drops the internal pad.
10871
10872 2005-06-27  Wim Taymans  <wim@fluendo.com>
10873
10874         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10875         (gst_bin_change_state):
10876         Cleanup the get_state() function a little, make sure it
10877         iterates the same set of elements.
10878         Added stub iterate_state_order().
10879
10880 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10881
10882         * docs/gst/gstreamer-docs.sgml:
10883         * docs/gst/gstreamer-sections.txt:
10884         * docs/gst/gstreamer.types:
10885         * docs/gst/tmpl/gstbasesink.sgml:
10886         * docs/gst/tmpl/gstbasesrc.sgml:
10887         * docs/gst/tmpl/gstbasetransform.sgml:
10888         * docs/gst/tmpl/gstelement.sgml:
10889         * docs/gst/tmpl/gstiterator.sgml:
10890         * gst/base/gstbasesrc.c:
10891         * gst/base/gstbasesrc.h:
10892         * gst/base/gstbasetransform.h:
10893         * gst/gstelement.c:
10894         * gst/gstiterator.h:
10895           adding basetransform and iterator docs
10896
10897 2005-06-27  Andy Wingo  <wingo@pobox.com>
10898
10899         * docs/design/part-activation.txt: Notes on how activation should
10900         work -- not quite implemented yet.
10901
10902 2005-06-25  Wim Taymans  <wim@fluendo.com>
10903
10904         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10905         At least get the chain function correct, needs more
10906         fixing.
10907
10908 2005-06-25  Wim Taymans  <wim@fluendo.com>
10909
10910         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10911         (gst_basesink_handle_object), (gst_basesink_event),
10912         (gst_basesink_do_sync), (gst_basesink_handle_event),
10913         (gst_basesink_change_state):
10914         * gst/gsttask.h:
10915         Right, two problems here: ghostpads don't take locks and
10916         glib _rec_mutex_lock_full() with depth==0 still locks.
10917         Catch illegal locking and g_warn them.
10918
10919 2005-06-25  Wim Taymans  <wim@fluendo.com>
10920
10921         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10922         Have to check for completion now...
10923
10924 2005-06-25  Wim Taymans  <wim@fluendo.com>
10925
10926         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10927         (gst_basesink_handle_object), (gst_basesink_event),
10928         (gst_basesink_do_sync), (gst_basesink_handle_event),
10929         (gst_basesink_change_state):
10930         * gst/gstpad.h:
10931         Unlock STREAM_LOCK whatever the recursion was.
10932
10933 2005-06-25  Wim Taymans  <wim@fluendo.com>
10934
10935         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10936         (gst_basesink_preroll_queue_empty),
10937         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10938         (gst_basesink_event), (gst_basesink_do_sync),
10939         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10940         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10941         (gst_basesink_change_state):
10942         Reworked the base sink, handle event and buffer serialisation
10943         correctly and removed possible deadlock.
10944         Handle EOS correctly.
10945
10946 2005-06-25  Wim Taymans  <wim@fluendo.com>
10947
10948         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10949         (gst_pipeline_change_state):
10950         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10951         Allow elements to post EOS in the state change function.
10952         Fix up -launch, make it exit the poll loop when the
10953         pipeline actually changed state.
10954         Fix up warning parsing in -launch.
10955
10956 2005-06-25  Wim Taymans  <wim@fluendo.com>
10957
10958         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10959         (gst_tee_sink_activate):
10960         Core takes STREAM_LOCK for us now.
10961
10962 2005-06-25  Wim Taymans  <wim@fluendo.com>
10963
10964         * gst/gstelement.c: (gst_element_get_state_func),
10965         (gst_element_set_state):
10966         * gst/gstelement.h:
10967         * gst/gstmessage.c: (gst_message_parse_error),
10968         (gst_message_parse_warning):
10969         Keep track of current target state while performing a state
10970         change so that subclasses can do something interesting.
10971         Fix parsing of warning/error messages when GError is NULL.
10972
10973 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10974
10975         * docs/gst/Makefile.am:
10976         * docs/gst/gstreamer-docs.sgml:
10977         * docs/gst/gstreamer-sections.txt:
10978         * docs/gst/gstreamer.types:
10979         * docs/gst/tmpl/gstbasesink.sgml:
10980         * docs/gst/tmpl/gstbasesrc.sgml:
10981         * docs/gst/tmpl/gstbin.sgml:
10982         * docs/gst/tmpl/gstcompat.sgml:
10983         * docs/gst/tmpl/gstfakesink.sgml:
10984         * docs/gst/tmpl/gstfakesrc.sgml:
10985         * docs/gst/tmpl/gstfilesink.sgml:
10986         * docs/gst/tmpl/gstfilesrc.sgml:
10987         * docs/gst/tmpl/gstindex.sgml:
10988         * docs/manual/appendix-quotes.xml:
10989         * gst/base/gstbasesrc.h:
10990         * gst/elements/gstfakesrc.h:
10991         * gst/gstmessage.h:
10992           start pulling in base classes and elements in our docs
10993
10994 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10995
10996         * docs/gst/Makefile.am:
10997         * docs/libs/Makefile.am:
10998           fixed make distcheck with gtk-doc 1.3
10999
11000 2005-06-23  Wim Taymans  <wim@fluendo.com>
11001
11002         * gst/gstelement.c: (gst_element_get_state_func),
11003         (gst_element_set_state), (gst_element_change_state):
11004         When the state did not change, also report NO_PREROLL
11005         when it matters.
11006
11007 2005-06-23  Wim Taymans  <wim@fluendo.com>
11008
11009         * gst/gstpad.c: (gst_pad_event_default):
11010         * gst/gstqueue.c: (gst_queue_loop):
11011         No unsafe task pausing please.
11012
11013 2005-06-23  Wim Taymans  <wim@fluendo.com>
11014
11015         * gst/schedulers/threadscheduler.c:
11016         (gst_thread_scheduler_task_start),
11017         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
11018         Ref the task before pushing it on the threadpool. This
11019         makes sure that we have a ref when the threadfunction is
11020         actually called.
11021
11022 2005-06-23  Andy Wingo  <wingo@pobox.com>
11023
11024         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
11025         offset is greater than the file's size.
11026
11027         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
11028         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
11029         * gst/gstobject.c (gst_object_class_init): Make the class lock
11030         recursive. Wim won't let me drop deep_notify. Decodebin works
11031         again, whoopdy doo.
11032
11033         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
11034         internal pad, and hacks accordingly. Doesn't do it on the target
11035         pad because we change its caps. Probably catches all cases of
11036         interest tho.
11037         (gst_ghost_pad_set_property): Connect to notify::caps as
11038         appropritate.
11039
11040         * tests/network-clock.scm (plot-simulation): Pipe data to the
11041         elite python skript.
11042
11043         * tests/network-clock-utils.scm (define-parameter): New macro,
11044         defines a parameter that can be set via the command line.
11045         (set-parameter!, parse-parameter-arguments): Command line args
11046         parser.
11047
11048         * tests/plot-data: Simple matplotlib-based plotter, takes input on
11049         stdin.
11050
11051 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
11052
11053         * gst/elements/gsttypefindelement.c:
11054         (gst_type_find_element_handle_event):
11055           Don't restart typefinding on a discont.
11056         * gst/gstelement.c: (gst_element_set_state):
11057           Debug spelling fix.
11058         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
11059           Allow changing mode of an active pad.
11060           Debug output fixes.
11061         * gst/registries/gstlibxmlregistry.c: (load_feature):
11062           Don't cast a static pad template to a normal pad template.
11063
11064 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11065
11066         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11067         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11068           remove gst_strtoll completely, since it didn't actually do
11069           anything more than what g_ascii_strtoull already does.
11070           check for range errors when deserializing
11071           do a cast for the unsigned cases; but further fixing needs
11072           a decision on what the interpretation of "(int)" and
11073           deserialization should be for values that fall outside the
11074           type's boundaries (ie, refuse, or interpret as casting)
11075
11076 2005-06-23  Wim Taymans  <wim@fluendo.com>
11077
11078         * check/Makefile.am:
11079         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
11080         * docs/design/part-live-source.txt:
11081         * docs/design/part-states.txt:
11082         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11083         (gst_basesrc_set_live), (gst_basesrc_is_live),
11084         (gst_basesrc_get_range), (gst_basesrc_activate),
11085         (gst_basesrc_change_state):
11086         * gst/base/gstbasesrc.h:
11087         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11088         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11089         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
11090         * gst/gstelement.c: (gst_element_get_state_func),
11091         (gst_element_set_state):
11092         * gst/gstelement.h:
11093         * gst/gsttypes.h:
11094         * tools/gst-launch.c: (event_loop), (main):
11095         Added support for live sources and other elements that
11096         cannot do preroll.
11097         Updated design docs, added live-source design doc.
11098         Implemented live source functionality in basesrc
11099         Fix error condition in _bin_get_state()
11100         Implement live source handling in -launch.
11101         Added check for live sources.
11102         Fixed case in GstBin where elements were changed state
11103         multiple times.
11104
11105
11106 2005-06-23  Andy Wingo  <wingo@pobox.com>
11107
11108         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
11109         borken refcounting.
11110
11111         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
11112         gst_caps_replace takes care of this for us.
11113
11114         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
11115         gst_pad_set_caps on the target, not just its setcaps() function.
11116
11117         * tests/network-clock.scm: 
11118         * tests/network-clock-utils.scm: A network clock simulator.
11119         Something of an algorithmic testbed before doing something in C.
11120
11121 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11122
11123         * check/Makefile.am:
11124         * check/gst/capslist.h:
11125           copy over from 0.8, and add two with bitmasks specified with
11126           (int) 0xFF...
11127         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11128           add test to parse everything from capslist.h
11129         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
11130         (main):
11131           add test for structure deserialization
11132         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11133           add tests for deserialization of strings to int types
11134         * gst/gststructure.c: (gst_structure_nth_field_name):
11135         * gst/gststructure.h:
11136           add a way to get the name of a field referenced by index
11137         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11138           instead of checking if the resulting long long lies between
11139           min and max, we check if the long long would fit into
11140           a number of bytes for the final type.
11141           This fixes cases where a string represents 2^32 - 1, which
11142           when cast to int would be the (valid) -1, but is bigger than
11143           G_MAXINT
11144
11145 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11146
11147         * gst/parse/grammar.y:
11148           add a log line for type deserialization
11149
11150 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11151
11152         * check/gst/gstvalue.c: (START_TEST):
11153         * gst/gstvalue.c: (gst_value_deserialize):
11154           return long long, not int, so gint64 deserialization actually
11155           works.  Is there any flag that makes the compiler check this ?
11156           Fixes #308559
11157
11158 2005-06-22  Wim Taymans  <wim@fluendo.com>
11159
11160         * gst/gstbuffer.h:
11161         Added convenience macros for setting buffers in GValue.
11162
11163 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11164
11165         * check/gst/.cvsignore:
11166         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11167           add a test deserializing int64, and comment part out because
11168           it fails, yay !
11169
11170 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11171
11172         * check/Makefile.am:
11173         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
11174         * testsuite/Makefile.am:
11175         * testsuite/caps/Makefile.am:
11176         * testsuite/caps/value_serialize.c:
11177         * testsuite/test_gst_init.c:
11178           move a value_serialize test over
11179
11180 2005-06-20  Wim Taymans  <wim@fluendo.com>
11181
11182         * gst/gstpad.c:
11183         Small doc updates.
11184         
11185         * gst/gstvalue.c: (gst_value_compare_buffer),
11186         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
11187         (gst_value_compare_flags), (gst_value_serialize_flags),
11188         (gst_value_deserialize_flags), (_gst_value_initialize):
11189         Fix serialisation of buffers, they are not boxed types anymore
11190
11191 2005-06-20  Wim Taymans  <wim@fluendo.com>
11192
11193         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11194         Testcase to show error in buffer-on-caps serialisation.
11195
11196 2005-06-20  Andy Wingo  <wingo@pobox.com>
11197
11198         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
11199         will be adding to later.
11200
11201         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
11202         if its socks fill with rocks.
11203         (gst_system_clock_obtain): Set the name on object construction.
11204         Avoid double-checked locking.
11205
11206 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
11207
11208         * gst/gsturi.c: (gst_element_make_from_uri):
11209           Fix potential endless loop.
11210
11211 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11212
11213         * check/Makefile.am:
11214           add gsttag
11215         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
11216         (main):
11217           move over from testsuite dir and clean up
11218         * configure.ac:
11219         * gst/gsttag.c:
11220         * testsuite/Makefile.am:
11221         * testsuite/tags/.cvsignore:
11222         * testsuite/tags/Makefile.am:
11223         * testsuite/tags/merge.c:
11224           remove testsuite/tags
11225
11226 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11227
11228         * docs/gst/gstreamer-sections.txt:
11229         * docs/gst/tmpl/gstenumtypes.sgml:
11230         * win32/gstenumtypes.c:
11231           clean up documentation build a little
11232
11233 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11234
11235         * check/gstcheck.h:
11236           add macros for checking refcounts on objects and caps
11237         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
11238           add some more unit tests
11239         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11240         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
11241           fix leaked refcounts (I hope :)) so unittest works
11242         * gst/gstpad.h:
11243           whitespace removal
11244
11245 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11246
11247         * configure.ac: back to HEAD
11248
11249 === release 0.9.1 ===
11250
11251 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11252
11253         * NEWS:
11254         * RELEASE:
11255           updated
11256
11257 2005-06-17  Andy Wingo  <wingo@pobox.com>
11258
11259         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11260         assert; it's always possible that the pad gets deactivated in
11261         between the checks in gstpad.c and the implementation. Rely on
11262         finish_preroll() to return a FLUSHING or similar instead of on the
11263         assert.
11264         
11265         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11266         clock and post an EOS message if we come out of finish_preroll in
11267         the playing state.
11268
11269 2005-06-16  David Schleef  <ds@schleef.org>
11270
11271         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11272         (gst_capsfilter_set_property): Allow NULL as possible value
11273         for filter_caps property, indicating GST_CAPS_ANY.
11274
11275 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11276
11277         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11278           fix debug output
11279         * gst/schedulers/Makefile.am:
11280           use libgst prefix
11281         * gstreamer.spec.in:
11282           fix spec for it
11283
11284 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11285
11286         * gstreamer.spec.in:
11287           clean up
11288
11289 2005-06-08  Andy Wingo  <wingo@pobox.com>
11290
11291         * gst/gstutils.c: RPAD fixes all around.
11292         (gst_element_link_pads): Refcounting fixes.
11293
11294         * tools/gst-inspect.c:
11295         * tools/gst-xmlinspect.c:
11296         * parse/grammar.y:
11297         * gst/base/gsttypefindhelper.c:
11298         * gst/base/gstbasesink.c:
11299         * gst/gstqueue.c: RPAD fixes.
11300
11301         * gst/gstghostpad.h:
11302         * gst/gstghostpad.c: New ghost pad implementation as full proxy
11303         pads. The tricky thing is they provide both source and sink
11304         interfaces, since they proxy the internal pad for the external
11305         pad, and vice versa. Implement with lower-level ProxyPad objects,
11306         with the interior proxy pad as a child of the exterior ghost pad.
11307         Should write a doc on this.
11308         
11309         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11310         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11311         gst_object API.
11312         
11313         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11314         pads are real pads. No ghost pads in this file. Not documenting
11315         the myriad s/RPAD/PAD/ and REALIZE fixes.
11316         (gst_pad_class_init): Add properties for "direction" and
11317         "template". Both are construct-only, so they can't change during
11318         the life of the pad. Fixes properly deriving from GstPad.
11319         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11320         derived objects, just set properties when creating the objects via
11321         g_object_new.
11322         (gst_pad_get_parent): Implement as a function, return NULL if the
11323         parent is not an element.
11324         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11325         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11326         
11327         * gst/gstobject.c (gst_object_class_init): Make name a construct
11328         property. Don't set it in the object init.
11329
11330         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11331         with UNKNOWN direction.
11332         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11333         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11334         (gst_element_remove_pad): Remove ghost-pad special cases.
11335         (gst_element_pads_activate): Remove rpad cruft.
11336
11337         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11338         catch the pad's-parent-not-an-element case.
11339
11340         * gst/gst.h: Include gstghostpad.h.
11341
11342         * gst/gst.c (init_post): No more real, ghost pads.
11343
11344         * gst/Makefile.am: Add gstghostpad.[ch].
11345
11346         * check/Makefile.am:
11347         * check/gst/gstbin.c:
11348         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11349         into a bin creates ghost pads, and that the refcounts are right.
11350         Partly moved from gstbin.c.
11351
11352 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11353
11354         * check/gst-libs/.cvsignore:
11355         * check/gst/.cvsignore:
11356         * check/pipelines/.cvsignore:
11357           ignore more
11358         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11359         (START_TEST), (cleanup_suite), (main):
11360           add some tests related to cleanup after running pipelines
11361
11362 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11363
11364         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11365           add a testsuite for GstBuffer
11366
11367 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11368
11369         * gst/gstminiobject.h:
11370           add defines for accessing the refcount
11371
11372 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
11373
11374         * Makefile.am: added support for html unit test coverage reports
11375
11376 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
11377
11378         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11379           Free existing caps if the capsfilter changes. Add a FIXME about
11380           setting those caps on the pads.
11381
11382         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11383           Before adding a ghost pad to a parent bin, check that there isn't
11384           already one for the element on the bin. Prevents infinite recursion
11385           when using decodebin in parse pipelines. Andy says he'll rewrite the
11386           way this works anyway, so ignore the hack.
11387
11388 2005-06-02  Andy Wingo  <wingo@pobox.com>
11389
11390         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11391         file size, pass it on to the type find helper.
11392
11393         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11394         segment_start and segment_end properly according to the seek
11395         method. Segment_end is still a bit flaky because offset can be
11396         negative for CUR and END cases, but it takes -1 as an "unset"
11397         value.
11398
11399 2005-06-02  Wim Taymans  <wim@fluendo.com>
11400
11401         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11402         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11403         (gst_basesink_activate):
11404         * gst/base/gstbasesink.h:
11405         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11406         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11407         (gst_pad_query), (gst_pad_start_task):
11408         * gst/gstpad.h:
11409         * gst/gstqueue.c: (gst_queue_bufferalloc),
11410         (gst_queue_handle_sink_event), (gst_queue_chain):
11411         Bufferalloc: return GstFlowReturn to more accuratly report
11412         why allocation failed.
11413
11414 2005-06-02  Wim Taymans  <wim@fluendo.com>
11415
11416         * gst/gstpipeline.c: (gst_pipeline_send_event):
11417         Take snapshot of state without blocking.
11418
11419 2005-06-02  Wim Taymans  <wim@fluendo.com>
11420
11421         * docs/design/part-TODO.txt:
11422         * docs/design/part-caps.txt:
11423         * docs/design/part-clocks.txt:
11424         * docs/design/part-negotiation.txt:
11425         * docs/design/part-preroll.txt:
11426         Small doc updates 
11427
11428 2005-05-30  Wim Taymans  <wim@fluendo.com>
11429
11430         * gst/elements/gstidentity.c: (gst_identity_event),
11431         (gst_identity_transform), (gst_identity_get_property):
11432         Protect last_message property as it is accessed from
11433         multiple threads.
11434
11435 2005-05-30  Wim Taymans  <wim@fluendo.com>
11436
11437         * gst/gstelement.c: (gst_element_init),
11438         (gst_element_pads_activate), (gst_element_change_state):
11439         Slicker pad activation code.
11440
11441 2005-05-30  Wim Taymans  <wim@fluendo.com>
11442
11443         * gst/Makefile.am:
11444         * gst/gstelement.h:
11445         * gst/gstelementfactory.h:
11446         * gst/gsttypes.h:
11447         Move elementfactory methods to separate .h file.
11448
11449 2005-05-30  Wim Taymans  <wim@fluendo.com>
11450
11451         * docs/design/part-overview.txt:
11452         * gst/gstsystemclock.h:
11453         Small typo fixes, doc updates.
11454
11455 2005-05-30  Wim Taymans  <wim@fluendo.com>
11456
11457         * gst/gst.c: (gst_init_get_popt_table), (init_post),
11458         (init_popt_callback):
11459         Remove cpu-opt flag.
11460
11461 2005-05-30  Wim Taymans  <wim@fluendo.com>
11462
11463         * gst/gstbuffer.c: (gst_subbuffer_finalize),
11464         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11465         * gst/gstbuffer.h:
11466         Avoid typechecking in places where not needed.
11467         Added accessor for malloc_data.
11468
11469 2005-05-30  Wim Taymans  <wim@fluendo.com>
11470
11471         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11472         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11473         (gst_pad_configure_sink), (gst_pad_configure_src),
11474         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11475         (gst_pad_start_task):
11476         Propagate errors from _set_caps() in configure_src/sink
11477         functions instead of returning TRUE.
11478         FLUSH events can travel up and downstream
11479
11480
11481 2005-05-30  Wim Taymans  <wim@fluendo.com>
11482
11483         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11484         (gst_basesink_activate):
11485         Handle EOS in preroll.
11486
11487 2005-05-30  Wim Taymans  <wim@fluendo.com>
11488
11489         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11490         (gst_queue_loop), (gst_queue_handle_src_event):
11491         Remove old pieces of code
11492         Flushing the queue in an upstream event is a very bad idea.
11493
11494 2005-05-26  Andy Wingo  <wingo@pobox.com>
11495
11496         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11497         gst_value_set_mini_object so as to add a ref on the object (which
11498         will be removed when the value is unset).
11499
11500         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11501         arg type in ::handoff.
11502
11503         * gst/gstelement.c (gst_element_change_state): Also deactivate
11504         pads in READY->NULL, just in case the element didn't make it to
11505         PAUSED. Wingo tested, Wim approved.
11506
11507 2005-05-26  Wim Taymans  <wim@fluendo.com>
11508
11509         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11510         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11511         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11512         A flushing pad cannot be used to alloc_buffer from.
11513
11514 2005-05-26  Wim Taymans  <wim@fluendo.com>
11515
11516         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11517         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11518         (gst_bus_source_dispatch), (gst_bus_source_finalize),
11519         (gst_bus_create_watch), (gst_bus_add_watch_full):
11520         * gst/gstbus.h:
11521         Implement a real GSource and use g_main_context_wakeup() to
11522         signal new messages instead of the socketpair.
11523
11524 2005-05-25  Wim Taymans  <wim@fluendo.com>
11525
11526         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11527         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11528         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11529         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11530         (gst_pad_send_event), (gst_pad_start_task):
11531         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11532         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11533         (gst_queue_sink_activate), (gst_queue_src_activate),
11534         (gst_queue_change_state):
11535         * gst/gstqueue.h:
11536         Fix state changes for non sinks. We now change sinks, then elements
11537         with unconnected srcpads, then the rest.
11538         More efficient queue unlocking in flush and state changes.
11539         Set the pad activate mode even if it does not have an activate
11540         function.
11541
11542 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11543
11544         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11545           Don't go in pull mode for non-seekable sources.
11546         * gst/elements/gsttypefindelement.h:
11547         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11548         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11549         (free_entry), (stop_typefinding),
11550         (gst_type_find_element_handle_event), (find_peek),
11551         (gst_type_find_element_chain), (do_pull_typefind),
11552         (gst_type_find_element_change_state):
11553           Allow typefinding (w/o seeking) in push-mode, simplified version
11554           of what was in 0.8.
11555         * gst/gstutils.c: (gst_buffer_join):
11556         * gst/gstutils.h:
11557           gst_buffer_join() from 0.8.
11558
11559 2005-05-25  Wim Taymans  <wim@fluendo.com>
11560
11561         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11562         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11563         (gst_pad_send_event), (gst_pad_start_task):
11564         Disable attempt at mode switching until it is figured out.
11565
11566 2005-05-25  Wim Taymans  <wim@fluendo.com>
11567
11568         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11569         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11570         (gst_basesink_finish_preroll), (gst_basesink_chain),
11571         (gst_basesink_loop), (gst_basesink_activate),
11572         (gst_basesink_change_state):
11573         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11574         (gst_basesrc_get_range), (gst_basesrc_loop),
11575         (gst_basesrc_activate):
11576         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11577         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11578         (gst_real_pad_init), (gst_real_pad_set_property),
11579         (gst_real_pad_get_property), (gst_pad_set_active),
11580         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11581         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11582         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11583         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11584         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11585         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11586         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11587         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11588         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11589         (gst_pad_stop_task):
11590         * gst/gstpad.h:
11591         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11592         (gst_queue_loop), (gst_queue_src_activate):
11593         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11594         (gst_task_get_state):
11595         * gst/gsttask.h:
11596         * gst/schedulers/threadscheduler.c:
11597         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11598         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11599         in task function.
11600         Remove ACTIVE pad flag, use FLUSHING everywhere
11601         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11602         functions.
11603         Add locks around IS_FLUSHING when reading.
11604         Take STREAM lock in chain(), get_range() functions so plugins
11605         don't need to take it anymore.
11606         
11607
11608
11609 2005-05-25  Wim Taymans  <wim@fluendo.com>
11610
11611         * tools/gst-launch.c: (event_loop):
11612         Unref message after using its contents instead of
11613         before.
11614
11615 2005-05-24  Wim Taymans  <wim@fluendo.com>
11616
11617         * docs/design/draft-ghostpads.txt:
11618         * docs/design/draft-push-pull.txt:
11619         * docs/design/draft-query.txt:
11620         * docs/design/part-overview.txt:
11621         Docs updates, added general overview doc.
11622
11623 2005-05-21  David Schleef  <ds@schleef.org>
11624
11625         * docs/gst/tmpl/old/GstBin.sgml:
11626         * docs/gst/tmpl/old/GstBuffer.sgml:
11627         * docs/gst/tmpl/old/GstCaps.sgml:
11628         * docs/gst/tmpl/old/GstClock.sgml:
11629         * docs/gst/tmpl/old/GstCompat.sgml:
11630         * docs/gst/tmpl/old/GstData.sgml:
11631         * docs/gst/tmpl/old/GstElement.sgml:
11632         * docs/gst/tmpl/old/GstEvent.sgml:
11633         * docs/gst/tmpl/old/GstIndex.sgml:
11634         * docs/gst/tmpl/old/GstStructure.sgml:
11635         * docs/gst/tmpl/old/GstTag.sgml:
11636         * docs/gst/tmpl/old/cothreads.sgml:
11637         * docs/gst/tmpl/old/cothreads_compat.sgml:
11638         * docs/gst/tmpl/old/gettext.sgml:
11639         * docs/gst/tmpl/old/gobject2gtk.sgml:
11640         * docs/gst/tmpl/old/grammar.tab.sgml:
11641         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11642         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11643         * docs/gst/tmpl/old/gst_private.sgml:
11644         * docs/gst/tmpl/old/gstaggregator.sgml:
11645         * docs/gst/tmpl/old/gstarch.sgml:
11646         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11647         * docs/gst/tmpl/old/gstbufferstore.sgml:
11648         * docs/gst/tmpl/old/gstdata_private.sgml:
11649         * docs/gst/tmpl/old/gstdisksink.sgml:
11650         * docs/gst/tmpl/old/gstdisksrc.sgml:
11651         * docs/gst/tmpl/old/gstelementfactory.sgml:
11652         * docs/gst/tmpl/old/gstextratypes.sgml:
11653         * docs/gst/tmpl/old/gstfakesink.sgml:
11654         * docs/gst/tmpl/old/gstfakesrc.sgml:
11655         * docs/gst/tmpl/old/gstfdsink.sgml:
11656         * docs/gst/tmpl/old/gstfdsrc.sgml:
11657         * docs/gst/tmpl/old/gstfilesink.sgml:
11658         * docs/gst/tmpl/old/gstfilesrc.sgml:
11659         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11660         * docs/gst/tmpl/old/gstidentity.sgml:
11661         * docs/gst/tmpl/old/gstindexfactory.sgml:
11662         * docs/gst/tmpl/old/gstmarshal.sgml:
11663         * docs/gst/tmpl/old/gstmd5sink.sgml:
11664         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11665         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11666         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11667         * docs/gst/tmpl/old/gstpipefilter.sgml:
11668         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11669         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11670         * docs/gst/tmpl/old/gstshaper.sgml:
11671         * docs/gst/tmpl/old/gstspider.sgml:
11672         * docs/gst/tmpl/old/gstspideridentity.sgml:
11673         * docs/gst/tmpl/old/gststatistics.sgml:
11674         * docs/gst/tmpl/old/gsttee.sgml:
11675         * docs/gst/tmpl/old/gsttimecache.sgml:
11676         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11677         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11678         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11679         * docs/gst/tmpl/old/types.sgml:
11680           I didn't intend to add these or check them in.
11681
11682 2005-05-19  David Schleef  <ds@schleef.org>
11683
11684         * configure.ac: Use -no-common everywhere.  In a sane world, it
11685           would be the default in libtool, because without it, you can't
11686           build DLLs on Windows.
11687         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11688         * docs/gst/gstreamer-sections.txt:
11689         * docs/gst/tmpl/gstcpu.sgml:
11690         * docs/gst/tmpl/gstdata.sgml:
11691         * docs/gst/tmpl/gstthread.sgml:
11692
11693 2005-05-19  David Schleef  <ds@schleef.org>
11694
11695         * gst/gstminiobject.c: (gst_value_set_mini_object),
11696         (gst_value_take_mini_object), (gst_value_get_mini_object):
11697         * gst/gstminiobject.h: Add GValue set/get functions.
11698
11699 2005-05-19  Wim Taymans  <wim@fluendo.com>
11700
11701         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11702         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11703         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11704         * gst/gstbuffer.h:
11705         * gst/gstbus.c: (gst_bus_post):
11706         * gst/gstelement.c: (gst_element_get_random_pad):
11707         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11708         Make subbufer unref the parent in finalize.
11709         some more debugging info.
11710
11711
11712 2005-05-19  Wim Taymans  <wim@fluendo.com>
11713
11714         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11715         (gst_basesink_init), (gst_basesink_finalize),
11716         (gst_basesink_activate), (gst_basesink_change_state):
11717         Don't free preroll queue too early.
11718
11719 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11720
11721         * gst/Makefile.am:
11722         * gst/ROADMAP:
11723           Hi, I'm outdated. Please shoot me.
11724
11725 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11726
11727         * gst/gstpipeline.c: (gst_pipeline_send_event):
11728           Do not access variables after they have been deleted.
11729
11730 2005-05-19  Wim Taymans  <wim@fluendo.com>
11731
11732         * tools/gst-inspect.c: (print_plugin_features):
11733         A plugin feature does unfortunatly not use the
11734         object name yet...
11735
11736 2005-05-18  Wim Taymans  <wim@fluendo.com>
11737
11738         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11739         Port _span() functions to new subbuffers.
11740
11741 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11742
11743         * gst/gstbin.c: (gst_bin_add_func):
11744           Fix clock settery in bins when adding kids after the clock has
11745           been selected.
11746
11747 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11748
11749         * gst/elements/gstidentity.c: (gst_identity_class_init):
11750           Workaround until signals support GstMiniObject.
11751
11752 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11753
11754         * gst/gstbuffer.c:
11755         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11756
11757 2005-05-18  Wim Taymans  <wim@fluendo.com>
11758
11759         * gst/base/Makefile.am:
11760         * gst/base/gstadapter.c: (gst_adapter_base_init),
11761         (gst_adapter_class_init), (gst_adapter_init),
11762         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11763         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11764         (gst_adapter_flush), (gst_adapter_available),
11765         (gst_adapter_available_fast):
11766         * gst/base/gstadapter.h:
11767         Ported and added adapter to the base classes.
11768
11769 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11770
11771         * gst/gst.c:
11772         * gst/gstmessage.c:
11773           Make sure the class is reffed/unreffed once before threads can be
11774           used.  Fixes #304551.
11775
11776 2005-05-17  Wim Taymans  <wim@fluendo.com>
11777
11778         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11779         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11780         * gst/gstminiobject.c: (gst_mini_object_get_type),
11781         (gst_mini_object_free):
11782         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11783         (gst_pad_push), (gst_pad_push_event):
11784         * gst/gstqueue.c: (gst_queue_change_state):
11785         Don't queue buffers in basesink when we are flushing.
11786         Unref buffer when flushing in basesink.
11787         Flush queue when going to READY
11788         Unref buffer when _push() returns an error.
11789         Don't free MiniObject instance when refcount is incremented
11790         in _finalize() so that we can recover objects.
11791
11792 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11793
11794         * docs/manual/advanced-schedulers.xml:
11795         * docs/manual/appendix-checklist.xml:
11796         * docs/pwg/advanced-clock.xml:
11797         * docs/pwg/advanced-interfaces.xml:
11798         * docs/pwg/advanced-request.xml:
11799         * docs/pwg/advanced-types.xml:
11800         * docs/pwg/intro-preface.xml:
11801         * examples/plugins/example.c: (gst_example_get_type),
11802         (gst_example_class_init), (gst_example_chain),
11803         (gst_example_set_property), (gst_example_get_property),
11804         (gst_example_change_state), (plugin_init):
11805         * examples/plugins/example.h:
11806           small doc fixes
11807
11808 2005-05-17  Wim Taymans  <wim@fluendo.com>
11809
11810         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11811         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11812         * gst/gstqueue.c: (gst_queue_change_state):
11813         Clear queue when going to READY.
11814         Remove IN_SETCAPS flag too.
11815
11816 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11817
11818         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11819           Remove implicit cast from gboolean to GstElementStateReturn;
11820           make sure we still return failure in paused => ready case if
11821           the parent class fails to change state and our own stop 
11822           vfunc succeeds.
11823
11824 2005-05-17  Wim Taymans  <wim@fluendo.com>
11825
11826         * tools/gst-launch.c: (event_loop):
11827         Message was unreffed too soon.
11828
11829 2005-05-16  Andy Wingo  <wingo@pobox.com>
11830
11831         * gst/gstbin.c (sink_iterator_filter): Err... um...
11832
11833         * check/gst/gstbin.c (test_ghost_pads): New test for the
11834         ghosting-if-elements-not-in-same-bin behavior.
11835
11836 2005-05-16  David Schleef  <ds@schleef.org>
11837
11838         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11839         accessing refcount directly.
11840
11841 2005-05-15  David Schleef  <ds@schleef.org>
11842
11843         * check/Makefile.am: remove GstData checks
11844         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11845         * gst/Makefile.am: add miniobject, remove data
11846         * gst/gst.h: add miniobject, remove data
11847         * gst/gstdata.c: remove
11848         * gst/gstdata.h: remove
11849         * gst/gstdata_private.h: remove
11850         * gst/gsttypes.h: remove GstEvent and GstMessage
11851         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11852         * gst/gstmarshal.list: change BOXED -> OBJECT
11853
11854         Implement GstMiniObject.
11855         * gst/gstminiobject.c:
11856         * gst/gstminiobject.h:
11857
11858         Modify to be subclasses of GstMiniObject.
11859         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11860         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11861         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11862         (gst_subbuffer_get_type), (gst_subbuffer_init),
11863         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11864         (gst_buffer_span):
11865         * gst/gstbuffer.h:
11866         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11867         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11868         (_gst_event_copy), (gst_event_new):
11869         * gst/gstevent.h:
11870         * gst/gstmessage.c: (_gst_message_initialize),
11871         (gst_message_get_type), (gst_message_class_init),
11872         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11873         (gst_message_new), (gst_message_new_error),
11874         (gst_message_new_warning), (gst_message_new_tag),
11875         (gst_message_new_state_changed), (gst_message_new_application):
11876         * gst/gstmessage.h:
11877         * gst/gstprobe.c: (gst_probe_perform),
11878         (gst_probe_dispatcher_dispatch):
11879         * gst/gstprobe.h:
11880         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11881         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11882         (_gst_query_copy), (gst_query_new):
11883
11884         Update elements for GstData -> GstMiniObject changes
11885         * gst/gstquery.h:
11886         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11887         (gst_queue_chain), (gst_queue_loop):
11888         * gst/elements/gstbufferstore.c:
11889         (gst_buffer_store_add_buffer_func),
11890         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11891         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11892         (gst_fakesink_render):
11893         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11894         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11895         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11896         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11897         (gst_filesrc_create_read):
11898         * gst/elements/gstidentity.c: (gst_identity_class_init):
11899         * gst/elements/gsttypefindelement.c:
11900         (gst_type_find_element_src_event), (free_entry_buffers),
11901         (gst_type_find_element_handle_event):
11902         * libs/gst/dataprotocol/dataprotocol.c:
11903         (gst_dp_header_from_buffer):
11904         * libs/gst/dataprotocol/dataprotocol.h:
11905         * libs/gst/dataprotocol/dp-private.h:
11906
11907 2005-05-15  David Schleef  <ds@schleef.org>
11908
11909         * gst/elements/gstelements.c: Don't include headers that were
11910         just removed.
11911
11912 2005-05-15  David Schleef  <ds@schleef.org>
11913
11914         * gst/elements/Makefile.am: Remove some elements that don't
11915         need to be in the core (or even exist at all).
11916         * gst/elements/gstaggregator.c:
11917         * gst/elements/gstaggregator.h:
11918         * gst/elements/gstmd5sink.c:
11919         * gst/elements/gstmd5sink.h:
11920         * gst/elements/gstmultifilesrc.c:
11921         * gst/elements/gstmultifilesrc.h:
11922         * gst/elements/gstpipefilter.c:
11923         * gst/elements/gstpipefilter.h:
11924         * gst/elements/gstshaper.c:
11925         * gst/elements/gstshaper.h:
11926         * gst/elements/gststatistics.c:
11927         * gst/elements/gststatistics.h:
11928         * po/POTFILES.in: Remove above files.
11929
11930 2005-05-14  Andy Wingo  <wingo@pobox.com>
11931
11932         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11933         so as to get the refs right.
11934         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11935         unreffing objects that don't pass the filter.
11936
11937         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11938         gst_element_set_bus.
11939         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11940         normal cases, this will destroy the bus.
11941
11942         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11943         object.
11944
11945         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11946         has no sinks.
11947
11948 2005-05-13  Andy Wingo  <wingo@pobox.com>
11949
11950         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11951         gst_pad_link, call pad_link_maybe_ghosting,
11952         (pad_link_maybe_ghosting): Links pads, making sure that the
11953         elements being linked are in the same bin.
11954         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11955         Helpers for pad_link_maybe_ghosting.
11956
11957 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11958
11959         * configure.ac:
11960           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11961
11962 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11963
11964         * docs/design/part-element-source.txt:
11965           Mention GstPushSrc
11966
11967 2005-05-12  Wim Taymans  <wim@fluendo.com>
11968
11969         * gst/base/gstbasesink.c: (gst_basesink_init),
11970         (gst_basesink_activate):
11971         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11972         (gst_basesrc_is_seekable):
11973         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11974         (bin_element_is_sink), (gst_bin_change_state):
11975         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11976         * gst/gstelement.h:
11977         Identify sinks by their flag to avoid overly complicated
11978         checks (fow now).
11979         Do state changes even for elements not reachable from the
11980         sinks.
11981         BaseSink is a sink now :)
11982         Some more debugging info in the basesrc.
11983
11984
11985 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11986
11987         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11988           Implement _query on a bin, similar to _send_event.
11989
11990 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11991
11992         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11993           Discont event offset format should be GST_FORMAT_BYTES,
11994           not GST_FORMAT_TIME.
11995
11996 2005-05-12  Wim Taymans  <wim@fluendo.com>
11997
11998         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11999         Same fix as Ronald's but without the signal. 
12000
12001 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12002
12003         * gst/gstutils.c: (gst_element_query_position):
12004           No, an element is not a pad.
12005
12006 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12007
12008         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
12009         (gst_bin_get_state):
12010           If a child is removed from a bin while we remove the child from
12011           the bin and while we're retrieving its state, signal this to the
12012           get_state function so we abort the wait (instead of waiting for
12013           a timeout) and can immediately re-iterate over all other elements.
12014
12015 2005-05-12  Wim Taymans  <wim@fluendo.com>
12016
12017         * gst/base/Makefile.am:
12018         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
12019         (gst_basesrc_start):
12020         * gst/base/gstbasesrc.h:
12021         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
12022         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
12023         (gst_pushsrc_init), (gst_pushsrc_create):
12024         * gst/base/gstpushsrc.h:
12025         Added is_seekable to BaseSrc
12026         Added simple PushSrc.
12027
12028 2005-05-11  Wim Taymans  <wim@fluendo.com>
12029
12030         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
12031         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12032         (gst_element_link_pads), (gst_element_query_position),
12033         (gst_element_query_convert), (intersect_caps_func),
12034         (gst_pad_query_position), (gst_pad_query_convert):
12035         Fix refcounting in utils function.
12036         No point in trying to activate a pad when it's added, it could
12037         be added from the state change function and then we deadlock, the
12038         element has to decide what to do.
12039
12040 2005-05-10  Andy Wingo  <wingo@pobox.com>
12041
12042         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
12043         *all* the arguments.
12044
12045         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
12046         stream lock if it's a FLUSH_DONE; normal flushes don't get the
12047         lock (according to the docs -- if this is wrong change the docs).
12048
12049         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
12050         flush messages in the NULL state.
12051
12052         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
12053         message immediately and return.
12054         (gst_bus_set_flushing): New function. If a bus is flushing, it
12055         flushes out any queued messages and immediately unrefs new
12056         messages. This is so when an element goes to NULL, all of the
12057         unhandled messages coming from it can be freed, and their
12058         references to the element dropped. In other words: message source
12059         ref considered harmful :P
12060
12061         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
12062         we're finished with it.
12063
12064         * gst/gstmessage.c (gst_message_new_state_changed): 
12065
12066 2005-05-10  Wim Taymans  <wim@fluendo.com>
12067
12068         * gst/gstvalue.c: (gst_value_compare_flags),
12069         (gst_value_serialize_flags), (gst_value_deserialize_flags),
12070         (_gst_value_initialize):
12071         Added flags serialize/deserialize/compare code.
12072
12073 2005-05-09  Andy Wingo  <wingo@pobox.com>
12074
12075         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
12076         Intersect the peer's caps with our caps.
12077
12078 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12079
12080         * gst/base/gsttypefindhelper.c: (helper_find_peek):
12081         * gst/elements/gsttypefindelement.c: (find_peek):
12082           Handle negative offsets better. Fixes decodebin.
12083
12084 2005-05-09  Wim Taymans  <wim@fluendo.com>
12085
12086         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
12087         (gst_base_transform_event):
12088         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
12089         Implement accept_caps.
12090         Fix silly lock/unlock mismatch in base class.
12091
12092 2005-05-09  Wim Taymans  <wim@fluendo.com>
12093
12094         * docs/design/draft-push-pull.txt:
12095         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
12096         * gst/elements/gstfilesink.c: (gst_filesink_init),
12097         (gst_filesink_query):
12098         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
12099         (gst_type_find_handle_src_query), (find_element_get_length):
12100         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
12101         * gst/gstelement.h:
12102         * gst/gstmessage.c:
12103         * gst/gstmessage.h:
12104         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
12105         (gst_real_pad_get_caps_unlocked),
12106         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
12107         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12108         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
12109         (gst_real_pad_dispose), (gst_real_pad_finalize),
12110         (gst_pad_load_and_link), (gst_pad_save_thyself),
12111         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
12112         (gst_pad_check_pull_range), (gst_pad_pull_range),
12113         (gst_pad_template_get_type), (gst_pad_template_class_init),
12114         (gst_pad_template_init), (gst_pad_template_dispose),
12115         (name_is_valid), (gst_static_pad_template_get),
12116         (gst_pad_template_new), (gst_static_pad_template_get_caps),
12117         (gst_pad_template_get_caps), (gst_pad_set_element_private),
12118         (gst_pad_get_element_private), (gst_pad_start_task),
12119         (gst_pad_pause_task), (gst_pad_stop_task),
12120         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
12121         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12122         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
12123         (gst_ghost_pad_new):
12124         * gst/gstpad.h:
12125         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
12126         (gst_query_new_position), (gst_query_set_position),
12127         (gst_query_parse_position), (gst_query_new_convert),
12128         (gst_query_set_convert), (gst_query_parse_convert):
12129         * gst/gstquery.h:
12130         * gst/gstqueryutils.c:
12131         * gst/gstqueryutils.h:
12132         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12133         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12134         (gst_queue_handle_src_query):
12135         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12136         (gst_element_query_position), (gst_element_query_convert),
12137         (intersect_caps_func), (gst_pad_query_position),
12138         (gst_pad_query_convert):
12139         * gst/gstutils.h:
12140         * tools/gst-inspect.c: (print_pad_info):
12141         * tools/gst-xmlinspect.c: (print_element_info):
12142         Remove old query functions. Ported old code.
12143         Added position/convert helper functions to gstutils.
12144         Reordered gstpad.c code, grouping relevant things.
12145         Remove gst_message_new(), always need to speficy a specific
12146         message.
12147
12148
12149 2005-05-09  Andy Wingo  <wingo@pobox.com>
12150
12151         * gst/gstiterator.h: Add some includes.
12152
12153         * gst/gstqueryutils.h: Include more headers.
12154
12155         * gst/gstpad.h:
12156         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
12157         some uses of gst_pad_query.
12158
12159         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
12160         NULL out parameters.
12161         (gst_query_new_position): New proc, allocates a new position
12162         query.
12163
12164         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
12165         gstqueryutils.c to the build.
12166
12167         * gst/gststructure.c (gst_structure_set_valist): Implement with
12168         the generic G_VALUE_COLLECT.
12169         
12170 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
12171
12172         * gst/Makefile.am: (gst_headers):
12173         Added gstqueryutils.h to the list of headers to install, that was
12174         a 'nachty' move wingo :)
12175
12176 2005-05-06  Andy Wingo  <wingo@pobox.com>
12177
12178         * gst/gstquery.h
12179         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
12180         GstData, init a memchunk.
12181         (standard_definitions): Add a few query types, deprecate a few.
12182         (gst_query_get_type): New proc.
12183         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
12184         implementation.
12185         (gst_query_new_application, gst_query_get_structure): New public
12186         procs.
12187
12188         * docs/design/draft-query.txt: Removed LINKS from the query types,
12189         because all the rest can be dispatched to other pads -- seemed
12190         ugly to have a query that couldn't be dispatched. internal_links
12191         is fine as a pad method.
12192
12193         * gst/gstpad.h: Add query2 as a pad method, add the new functions
12194         in gstpad.c, but maintain binary compatibility for the moment.
12195         Will fix before 0.9 is out.
12196
12197         * gst/gstqueryutils.c: 
12198         * gst/gstqueryutils.h: New files, implement 3 methods for each
12199         query type: parse_query, parse_response, and set. Probably need an
12200         allocator as well.
12201
12202         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
12203
12204         * gst/elements/gstfilesink.c (gst_filesink_query2):
12205         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
12206         query_types, and formats methods.
12207
12208         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
12209         (gst_pad_set_query2_function): New functions.
12210         (gst_real_pad_init): Set query2_default as the default query2
12211         function. Basically just dispatches to internally linked pads.
12212
12213         Needs review!
12214         
12215         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
12216         without using the atomic operations. Only one thread can possibly
12217         be accessing the data at this point. Changed so as to avoid
12218         gst_atomic operations.
12219
12220 2005-05-06  Wim Taymans  <wim@fluendo.com>
12221
12222         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
12223         Also set caps if we use the fallback buffer alloc.
12224
12225 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
12226
12227         * docs/gst/Makefile.am:
12228         * docs/gst/gstreamer-docs.sgml:
12229         * docs/gst/gstreamer-sections.txt:
12230         * docs/gst/tmpl/gstatomic.sgml:
12231         * docs/gst/tmpl/gstmemchunk.sgml:
12232         * testsuite/elements/struct_i386.h:
12233         * win32/GStreamer.vcproj:
12234         * win32/Makefile:
12235           Purge GstAtomic stuff from docs and win32 makefiles as well
12236
12237 2005-05-06  Wim Taymans  <wim@fluendo.com>
12238
12239         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
12240         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
12241         * gst/gstpad.c: (gst_pad_peer_get_caps):
12242         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12243         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12244         (gst_queue_src_activate), (gst_queue_change_state):
12245         * gst/gstqueue.h:
12246         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12247         (intersect_caps_func):
12248         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
12249         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
12250         Some fixes for the peer_get_caps() change.
12251
12252 2005-05-06  Wim Taymans  <wim@fluendo.com>
12253
12254         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12255         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
12256         (gst_basesink_activate):
12257         Actually do something with error codes returned from the push
12258         functions.
12259
12260 2005-05-06  Wim Taymans  <wim@fluendo.com>
12261
12262         * docs/design/part-element-sink.txt:
12263         * docs/design/part-element-source.txt:
12264         * gst/base/gstbasesink.c: (gst_basesink_class_init),
12265         (gst_basesink_event), (gst_basesink_activate):
12266         * gst/base/gstbasesink.h:
12267         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12268         (gst_basesrc_activate):
12269         * gst/base/gstbasesrc.h:
12270         * gst/gstelement.c: (gst_element_pads_activate):
12271         Some more documentation.
12272         Fixed scheduling decision in _pads_activate().
12273
12274 2005-05-05  Andy Wingo  <wingo@pobox.com>
12275
12276         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12277         the test suite.
12278
12279 2005-05-05  Wim Taymans  <wim@fluendo.com>
12280
12281         * gst/base/Makefile.am:
12282         * gst/base/gstbasesink.h:
12283         * gst/base/gstbasesrc.c: (gst_basesrc_init),
12284         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12285         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12286         (gst_collectpads_class_init), (gst_collectpads_init),
12287         (gst_collectpads_finalize), (gst_collectpads_new),
12288         (gst_collectpads_set_function), (gst_collectpads_add_pad),
12289         (find_pad), (gst_collectpads_remove_pad),
12290         (gst_collectpads_is_active), (gst_collectpads_collect),
12291         (gst_collectpads_collect_range), (gst_collectpads_start),
12292         (gst_collectpads_stop), (gst_collectpads_peek),
12293         (gst_collectpads_pop), (gst_collectpads_available),
12294         (gst_collectpads_read), (gst_collectpads_flush),
12295         (gst_collectpads_chain):
12296         * gst/base/gstcollectpads.h:
12297         * gst/elements/Makefile.am:
12298         * gst/elements/gstelements.c:
12299         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12300         (gst_fakesink_get_times), (gst_fakesink_event),
12301         (gst_fakesink_preroll), (gst_fakesink_render):
12302         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12303         (gst_filesink_init), (gst_filesink_set_location),
12304         (gst_filesink_open_file), (gst_filesink_close_file),
12305         (gst_filesink_pad_query), (gst_filesink_event),
12306         (gst_filesink_render), (gst_filesink_change_state):
12307         * gst/elements/gstfilesink.h:
12308         Added object to help in making collect pad based elements.
12309         Ported filesink.
12310         Make event function in sink baseclass return gboolean.
12311
12312 2005-05-05  Wim Taymans  <wim@fluendo.com>
12313
12314         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12315         (gst_bin_get_by_name):
12316         * gst/gstbuffer.h:
12317         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12318         (gst_clock_finalize):
12319         * gst/gstdata.c: (gst_data_replace):
12320         * gst/gstdata.h:
12321         * gst/gstelement.c: (gst_element_request_pad),
12322         (gst_element_pads_activate):
12323         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12324         (gst_object_unref):
12325         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12326         (gst_pad_set_checkgetrange_function),
12327         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12328         (gst_pad_check_pull_range), (gst_pad_pull_range),
12329         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12330         (gst_pad_pause_task), (gst_pad_stop_task):
12331         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12332         (gst_element_request_pad), (gst_pad_proxy_getcaps):
12333         Fix name lookup in GstBin.
12334         Added _data_replace() function and _buffer_replace()
12335         Use finalize method to clean up clock.
12336         Fix refcounting on request pads.
12337         Fix pad schedule mode error.
12338         Some more object refcounting debug info,
12339
12340
12341 2005-05-04  Andy Wingo <wingo@pobox.com>
12342
12343         * check/Makefile.am:
12344         * docs/gst/tmpl/gstatomic.sgml:
12345         * docs/gst/tmpl/gstplugin.sgml:
12346         * gst/base/gstbasesink.c: (gst_basesink_activate):
12347         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12348         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12349         (gst_basesrc_query), (gst_basesrc_set_property),
12350         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12351         (gst_basesrc_activate):
12352         * gst/base/gstbasesrc.h:
12353         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12354         (gst_base_transform_src_activate):
12355         * gst/elements/gstelements.c:
12356         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12357         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12358         * gst/elements/gsttee.c: (gst_tee_sink_activate):
12359         * gst/elements/gsttypefindelement.c: (find_element_get_length),
12360         (gst_type_find_element_checkgetrange),
12361         (gst_type_find_element_activate):
12362         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12363         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12364         (gst_caps_load_thyself):
12365         * gst/gstelement.c: (gst_element_pads_activate),
12366         (gst_element_save_thyself), (gst_element_restore_thyself):
12367         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12368         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12369         * gst/gstpad.h:
12370         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12371         (gst_xml_parse_file), (gst_xml_parse_memory),
12372         (gst_xml_get_element), (gst_xml_make_element):
12373         * gst/indexers/gstfileindex.c: (gst_file_index_load),
12374         (_file_index_id_save_xml), (gst_file_index_commit):
12375         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12376         (read_enum), (load_pad_template), (load_feature), (load_plugin),
12377         (load_paths):
12378         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12379         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12380         * tools/gst-complete.c: (main):
12381         * tools/gst-compprep.c: (main):
12382         * tools/gst-inspect.c: (print_element_properties_info):
12383         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12384         * tools/gst-xmlinspect.c: (print_element_properties):
12385         GCC 4 fixen.
12386         
12387 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12388
12389         * gst/gstplugin.c: (gst_plugin_check_module),
12390         (gst_plugin_check_file), (gst_plugin_load_file):
12391             apply patch from #172526 to make register work on MacOSX
12392
12393 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12394
12395         * docs/gst/tmpl/gstconfig.sgml:
12396         * gst/gstconfig.h.in:
12397           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
12398         * testsuite/debug/printf_extension.c: (main):
12399           Do not use GST_PTR_FORMAT on pointers to types with
12400           sizeof < sizeof(gpointer).  Fixes test on 64-bit
12401         * testsuite/elements/property.h:
12402           use correct printf format
12403
12404 2005-05-02  Wim Taymans  <wim@fluendo.com>
12405
12406         * docs/design/draft-push-pull.txt:
12407         * docs/design/draft-query.txt:
12408         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12409         (gst_basesrc_start):
12410         Added draft for new query API.
12411         Added draft for better selecting scheduling methods.
12412         Make basesrc ignore length if the subclass does not support
12413         it.
12414
12415 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12416
12417         * gst/Makefile.am:
12418           possible fixes for automake-1.5 - _LIBADD is reserved
12419
12420 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12421
12422         * docs/faq/Makefile.am:
12423         * docs/manual/Makefile.am:
12424         * docs/manuals.mak:
12425         * docs/pwg/Makefile.am:
12426         * gst/Makefile.am:
12427           possible fixes for automake-1.5
12428
12429 2005-04-28  Wim Taymans  <wim@fluendo.com>
12430
12431         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12432         (gst_basesink_pad_getcaps), (gst_basesink_init),
12433         (gst_basesink_do_sync):
12434         * gst/gstclock.c: (gst_clock_entry_new):
12435         * gst/gstevent.c: (gst_event_discont_get_value):
12436         * gst/gstpipeline.c: (pipeline_bus_handler),
12437         (gst_pipeline_change_state):
12438         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12439         Better debugging of clocking info.
12440         Allow NULL values when getting discont values.
12441
12442 2005-04-27  Wim Taymans  <wim@fluendo.com>
12443
12444         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12445         * check/gst/gstpad.c: (gst_pad_suite):
12446         Increase timeout for checks.
12447
12448 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12449
12450         * check/Makefile.am:
12451           fix the broken rule for cleanup.  Apparently this rule is
12452           only needed on FC2, so maybe this warrants further autotool
12453           inspection.
12454
12455 2005-04-26  Wim Taymans  <wim@fluendo.com>
12456
12457         * gst/gsttrashstack.h:
12458         Ooohh. a nasty one! After having a failed pop() from the stack,
12459         it's possible that the stack is empty. In that case, don't
12460         follow the NULL pointer.
12461
12462 2005-04-25  Wim Taymans  <wim@fluendo.com>
12463
12464         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12465         (gst_pad_set_checkgetrange_function),
12466         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12467         (gst_pad_check_pull_range), (gst_pad_pull_range),
12468         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12469         (gst_pad_pause_task), (gst_pad_stop_task):
12470         * gst/gstplugin.c: (gst_plugin_load):
12471         * gst/gstplugin.h:
12472         Remove gst_library_load as it does more harm than good with
12473         the new g_module flags.
12474         Revert bogus caps template check in pad linking, pad caps
12475         are important when linking not the template, which is more
12476         general than the current caps.
12477
12478 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12479
12480         * gst/autoplug/.cvsignore:
12481         * gst/autoplug/Makefile.am:
12482         * gst/autoplug/gstsearchfuncs.c:
12483         * gst/autoplug/gstsearchfuncs.h:
12484         * gst/autoplug/gstspider.c:
12485         * gst/autoplug/gstspider.h:
12486         * gst/autoplug/gstspideridentity.c:
12487         * gst/autoplug/gstspideridentity.h:
12488         * gst/autoplug/spidertest.c:
12489           Die, spider, die.
12490
12491 2005-04-25  Wim Taymans  <wim@fluendo.com>
12492
12493         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12494         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12495         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12496         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12497         * gst/gstpad.h:
12498         Added stubs for unimplemented functions. 
12499
12500 2005-04-24  David Schleef  <ds@schleef.org>
12501
12502         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
12503         please fix.
12504
12505 2005-04-24  David Schleef  <ds@schleef.org>
12506
12507         Convert everything from GstAtomicInt to g_atomic_int_*, and
12508         remove gstatomic.
12509         * gst/Makefile.am:
12510         * gst/gstatomic.c:
12511         * gst/gstatomic.h:
12512         * gst/gstatomic_impl.h:
12513         * gst/gstbuffer.c:
12514         * gst/gstcaps.c:
12515         * gst/gstcaps.h:
12516         * gst/gstclock.c:
12517         * gst/gstclock.h:
12518         * gst/gstdata.c:
12519         * gst/gstdata.h:
12520         * gst/gstdata_private.h:
12521         * gst/gstevent.c:
12522         * gst/gstinfo.c:
12523         * gst/gstinfo.h:
12524         * gst/gstmessage.c:
12525         * gst/gstobject.c:
12526         * gst/gstobject.h:
12527         * gst/gststructure.c:
12528         * gst/gststructure.h:
12529         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12530         * gst/gstutils.h:
12531
12532 2005-04-24  David Schleef  <ds@schleef.org>
12533
12534         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12535         make the regressions tests work.  Remove some code that is no
12536         longer true.
12537         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12538         Disable warning for pads without templates.
12539
12540 2005-04-24  David Schleef  <ds@schleef.org>
12541
12542         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
12543         functions that handle filtered links.
12544         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12545         removed functions.
12546         * gst/gstutils.c: Fix/remove utility functions that handle
12547         filtered caps.
12548         * gst/gstutils.h:
12549         * gst/gstvalue.c: Add serialization/deserialization of caps
12550         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
12551         requires fixing so that the filter caps notation creates
12552         a capsfilter element and sets the filter_caps property.  I
12553         think everyone probably wants to keep the shorthand notation.
12554         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12555         * docs/gst/tmpl/gstpad.sgml:
12556
12557         * gst/elements/gstelements.c: Register capsfilter element.
12558         * gst/Makefile.am: fix spacing
12559         * docs/random/ds/0.9-suggested-changes: random
12560
12561 2005-04-23  David Schleef  <ds@schleef.org>
12562
12563         * gst/elements/Makefile.am:
12564         * gst/elements/gstcapsfilter.c: New element that acts like an
12565         identity, but filters caps.  Will eventually replace filtered
12566         caps in pad linking.
12567         * gst/gstutils.c: (gst_element_create_all_pads): New function
12568         to create all the ALWAYS pads that are registered with an
12569         element class.  This functionality should eventually be
12570         merged in with GstElement initialization.
12571         * gst/gstutils.h:
12572         * testsuite/trigger/README: part of trigger test code that should
12573         have been checked in a long time ago.
12574
12575 2005-04-23  David Schleef  <ds@schleef.org>
12576
12577         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
12578         needed with new versions of libtool (nobody will confirm this),
12579         and hard to carry around.
12580         * gst/autoplug/Makefile.am:
12581         * gst/base/Makefile.am:
12582         * gst/elements/Makefile.am:
12583         * gst/indexers/Makefile.am:
12584         * gst/schedulers/Makefile.am:
12585         * libs/gst/bytestream/Makefile.am:
12586         * libs/gst/control/Makefile.am:
12587         * libs/gst/dataprotocol/Makefile.am:
12588         * libs/gst/getbits/Makefile.am:
12589
12590 2005-04-21  Wim Taymans  <wim@fluendo.com>
12591
12592         * docs/design/draft-push-pull.txt:
12593         * docs/design/part-MT-refcounting.txt:
12594         * docs/design/part-TODO.txt:
12595         * docs/design/part-caps.txt:
12596         * docs/design/part-events.txt:
12597         * docs/design/part-gstbus.txt:
12598         * docs/design/part-gstpipeline.txt:
12599         * docs/design/part-messages.txt:
12600         * docs/design/part-push-pull.txt:
12601         * docs/design/part-query.txt:
12602         Some more docs.
12603
12604 2005-04-21  Wim Taymans  <wim@fluendo.com>
12605
12606         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12607         (gst_message_new), (gst_message_new_error),
12608         (gst_message_new_warning), (gst_message_new_tag),
12609         (gst_message_new_state_changed), (gst_message_new_application),
12610         (gst_message_get_structure):
12611         * gst/gstmessage.h:
12612         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12613         (gst_structure_copy_conditional):
12614         Use parent refcount in GstMessage to ensure GstStructure
12615         consistency.
12616         Cleaned up headers a bit.
12617         
12618
12619 2005-04-20  Wim Taymans  <wim@fluendo.com>
12620
12621         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12622         (gst_basesink_pad_getcaps), (gst_basesink_init),
12623         (gst_basesink_chain_unlocked):
12624         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12625         (gst_type_find_helper):
12626         * gst/elements/gsttypefindelement.c:
12627         (gst_type_find_element_have_type), (gst_type_find_element_init),
12628         (stop_typefinding), (gst_type_find_element_handle_event),
12629         (find_suggest), (gst_type_find_element_chain),
12630         (gst_type_find_element_checkgetrange),
12631         (gst_type_find_element_getrange), (do_typefind),
12632         (gst_type_find_element_activate):
12633         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12634         (gst_buffer_default_free), (gst_buffer_default_copy),
12635         (gst_buffer_set_caps):
12636         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12637         (gst_caps_replace):
12638         * gst/gstmessage.c: (gst_message_new),
12639         (gst_message_new_state_changed):
12640         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12641         (gst_pad_set_checkgetrange_function),
12642         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12643         (gst_pad_set_caps), (gst_pad_check_pull_range),
12644         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12645         * gst/gstpad.h:
12646         * gst/gsttypefind.c: (gst_type_find_register):
12647         Make gst_caps_replace() work like other _replace() functions.
12648         Use _caps_replace() where possible.
12649         Make sure _message_new() initialises its field.
12650         Add gst_static_pad_template_get_caps()
12651
12652
12653 2005-04-18  Andy Wingo  <wingo@pobox.com>
12654
12655         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12656         on the peer, not the pad. I think that was a typo. Pass an extra
12657         arg to see if random access is possible. Activate the pads as
12658         PULL_RANGE if possible.
12659
12660         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12661
12662         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12663         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12664         to PROP_....
12665
12666 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12667
12668         * docs/faq/using.xml:
12669           Add note on gstreamer-properties (#154996).
12670
12671 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12672
12673         * docs/random/bbb/optional-properties:
12674           Some analysis on optional properties.
12675
12676 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12677
12678         * docs/gst/tmpl/gstelementfactory.sgml:
12679         * gst/gstelement.h:
12680         * gst/gstelementfactory.c: (gst_element_factory_init),
12681         (gst_element_factory_cleanup), (gst_element_register),
12682         (__gst_element_factory_add_static_pad_template),
12683         (gst_element_factory_get_static_pad_templates),
12684         (gst_element_factory_can_src_caps),
12685         (gst_element_factory_can_sink_caps):
12686         * gst/registries/Makefile.am:
12687         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12688         (gst_xml_registry_class_init), (gst_xml_registry_init),
12689         (gst_xml_registry_new), (gst_xml_registry_set_property),
12690         (gst_xml_registry_get_property), (get_time), (make_dir),
12691         (gst_xml_registry_get_perms_func),
12692         (plugin_times_older_than_recurse), (plugin_times_older_than),
12693         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12694         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12695         (add_to_char_array), (read_string), (read_uint), (read_enum),
12696         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12697         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12698         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12699         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12700         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12701         (gst_xml_registry_rebuild):
12702         * gst/registries/gstlibxmlregistry.h:
12703         * tools/gst-compprep.c: (main):
12704         * tools/gst-inspect.c: (print_pad_templates_info):
12705         * tools/gst-xmlinspect.c: (print_element_info):
12706           Use libxml2 for registry parsing, use staticpadtemplates in
12707           elementfactories. Makes gst_init() +/- 10x faster.
12708
12709 2005-04-12  Wim Taymans  <wim@fluendo.com>
12710
12711         * gst/base/Makefile.am:
12712         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12713         (gst_basesink_pad_getcaps), (gst_basesink_init),
12714         (gst_basesink_event), (gst_basesink_change_state):
12715         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12716         (gst_basesrc_init), (gst_basesrc_query),
12717         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12718         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12719         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12720         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12721         (gst_basesrc_stop), (gst_basesrc_activate),
12722         (gst_basesrc_change_state):
12723         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12724         (helper_find_suggest), (gst_type_find_helper):
12725         * gst/base/gsttypefindhelper.h:
12726         * gst/elements/Makefile.am:
12727         * gst/elements/gstelements.c:
12728         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12729         (gst_fakesink_get_times), (gst_fakesink_event),
12730         (gst_fakesink_preroll), (gst_fakesink_render):
12731         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12732         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12733         (gst_fakesrc_get_property), (gst_fakesrc_create),
12734         (gst_fakesrc_start), (gst_fakesrc_stop):
12735         * gst/elements/gstfakesrc.h:
12736         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12737         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12738         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12739         (gst_filesrc_create_read), (gst_filesrc_create),
12740         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12741         (gst_filesrc_start):
12742         * gst/elements/gsttypefindelement.c:
12743         (gst_type_find_element_have_type), (gst_type_find_element_init),
12744         (start_typefinding), (stop_typefinding), (push_buffer_store),
12745         (gst_type_find_element_handle_event),
12746         (gst_type_find_element_chain),
12747         (gst_type_find_element_checkgetrange),
12748         (gst_type_find_element_getrange), (do_typefind),
12749         (gst_type_find_element_activate),
12750         (gst_type_find_element_change_state):
12751         * gst/elements/gsttypefindelement.h:
12752         * gst/gstpipeline.c: (pipeline_bus_handler):
12753         Added typefind helper.
12754         Small preroll fix in the base sink.
12755         Disable typefind code in basesrc.
12756         Crude port of typefindelement.
12757         Fakesrc cleanups.
12758
12759
12760 2005-04-11  Wim Taymans  <wim@fluendo.com>
12761
12762         * check/gst/gstbus.c: (gstbus_suite):
12763         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12764         * check/gstcheck.h:
12765           Fix up the timeout so that the test does not fail.
12766
12767 2005-04-06  Wim Taymans  <wim@fluendo.com>
12768
12769         * gst/base/README:
12770         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12771         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12772         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12773         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12774         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12775         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12776         (gst_basesrc_stop), (gst_basesrc_activate),
12777         (gst_basesrc_change_state), (basesrc_find_peek),
12778         (basesrc_find_suggest), (gst_basesrc_type_find):
12779         * gst/base/gstbasesrc.h:
12780         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12781         (gst_filesrc_class_init), (gst_filesrc_init),
12782         (gst_filesrc_finalize), (gst_filesrc_set_location),
12783         (gst_filesrc_set_property), (gst_filesrc_get_property),
12784         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12785         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12786         (gst_filesrc_create_read), (gst_filesrc_create),
12787         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12788         * gst/elements/gstfilesrc.h:
12789         * gst/gstelement.c: (gst_element_get_state_func),
12790         (gst_element_lost_state), (gst_element_pads_activate):
12791         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12792         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12793         (gst_pad_pull_range):
12794         * gst/gstpad.h:
12795         More work on the generic source base class, implement seeking,
12796         query.
12797         Make filesrc extend the base source class.
12798         Added gst_pad_set_checkgetrange_function to GstPad.
12799
12800 2005-04-06  Andy Wingo  <wingo@pobox.com>
12801
12802         * pkgconfig/gstreamer-base.pc.in:
12803         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12804
12805         * pkgconfig/Makefile.am:
12806         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12807
12808 2005-04-04  Wim Taymans  <wim@fluendo.com>
12809
12810         * gst/base/Makefile.am:
12811         * gst/base/README:
12812         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12813         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12814         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12815         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12816         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12817         (gst_basesrc_base_init), (gst_basesrc_class_init),
12818         (gst_basesrc_init), (gst_basesrc_get_formats),
12819         (gst_basesrc_get_query_types), (gst_basesrc_query),
12820         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12821         (gst_basesrc_set_property), (gst_basesrc_get_property),
12822         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12823         (gst_basesrc_loop), (gst_basesrc_activate),
12824         (gst_basesrc_change_state):
12825         * gst/base/gstbasesrc.h:
12826         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12827         (gst_fakesrc_class_init), (gst_fakesrc_init),
12828         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12829         (gst_fakesrc_get_property), (gst_fakesrc_create):
12830         * gst/elements/gstfakesrc.h:
12831         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12832         (gst_filesrc_open_file), (gst_filesrc_loop),
12833         (gst_filesrc_activate), (filesrc_find_peek),
12834         (gst_filesrc_type_find):
12835         Made base source class, make fakesrc extend it.
12836         Add comments to basesink class.
12837         Some filesrc cleanup.
12838
12839 2005-03-31  David Schleef  <ds@schleef.org>
12840
12841         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12842         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12843         expected to link against libgstreamer.
12844         * gst/base/Makefile.am: link against libgstreamer
12845         * gst/elements/Makefile.am: same
12846
12847 2005-03-31  Andy Wingo  <wingo@pobox.com>
12848
12849         * tests/instantiate/Makefile.am:
12850         * tests/instantiate/caps.c: Add test to test speed of caps copy
12851         and free.
12852
12853         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12854         GMemChunk to be fair.
12855
12856         * gst/gsttrashstack.h: Remove warning about using the fallback
12857         trash stack implementation, it's still faster than malloc.
12858
12859 2005-03-30  Andy Wingo  <wingo@pobox.com>
12860
12861         * tests/complexity.c: Add a copyright.
12862
12863 2005-03-31  Wim Taymans  <wim@fluendo.com>
12864
12865         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12866         (gst_base_transform_class_init), (gst_base_transform_init),
12867         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12868         (gst_base_transform_get_property),
12869         (gst_base_transform_sink_activate),
12870         (gst_base_transform_src_activate),
12871         (gst_base_transform_change_state):
12872         * gst/base/gstbasetransform.h:
12873         * gst/elements/gstidentity.c: (gst_identity_class_init),
12874         (gst_identity_event), (gst_identity_check_perfect),
12875         (gst_identity_transform), (gst_identity_start),
12876         (gst_identity_stop):
12877         Added start/stop methods to transform base class so subclasses 
12878         don't need to deal with state changes even.
12879
12880 2005-03-31  Wim Taymans  <wim@fluendo.com>
12881
12882         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12883         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12884         * gst/gstevent.h:
12885         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12886         (gst_pad_pull_range):
12887         Added rate to the discont event to prepare for variable speed
12888         and reverse playback.
12889
12890 2005-03-29  David Schleef  <ds@schleef.org>
12891
12892         * configure.ac:
12893         * testsuite/trigger/Makefile.am:
12894         * testsuite/trigger/trigger.c: A little example program to show
12895         how trigger-based elements can work.
12896
12897 2005-03-29  Wim Taymans  <wim@fluendo.com>
12898
12899         * gst/base/Makefile.am:
12900         * gst/base/README:
12901         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12902         (gst_basesink_base_init), (gst_basesink_class_init),
12903         (gst_basesink_pad_getcaps), (gst_basesink_init),
12904         (gst_basesink_activate), (gst_basesink_change_state):
12905         * gst/base/gstbasesink.h:
12906         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12907         (gst_base_transform_base_init), (gst_base_transform_finalize),
12908         (gst_base_transform_class_init), (gst_base_transform_init),
12909         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12910         (gst_base_transform_event), (gst_base_transform_getrange),
12911         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12912         (gst_base_transform_set_property),
12913         (gst_base_transform_get_property),
12914         (gst_base_transform_sink_activate),
12915         (gst_base_transform_src_activate),
12916         (gst_base_transform_change_state):
12917         * gst/base/gstbasetransform.h:
12918         * gst/elements/gstidentity.c: (gst_identity_finalize),
12919         (gst_identity_class_init), (gst_identity_init),
12920         (gst_identity_event), (gst_identity_check_perfect),
12921         (gst_identity_transform), (gst_identity_set_property),
12922         (gst_identity_get_property), (gst_identity_change_state):
12923         * gst/elements/gstidentity.h:
12924         * gst/gstelement.c: (gst_element_get_state_func),
12925         (gst_element_lost_state), (gst_element_pads_activate):
12926         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12927         (gst_pad_check_pull_range), (gst_pad_pull_range):
12928         * gst/gstpad.h:
12929         Simplify pad activation.
12930         Added function to check if pull_range can be performed.
12931         Error out when pulling inactive or flushing pads.
12932         Removed const from refcounted types as it does not make sense.
12933         Simplify pad templates in basesink
12934         Added base class for simple 1-to-1 transforms.
12935         Make identity subclass the base transform.
12936
12937 2005-03-29  Andy Wingo  <wingo@pobox.com>
12938
12939         * docs/libs/gstreamer-libs-overrides.txt: 
12940         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12941         really don't understand what's going on, but like whatever. I want
12942         green buildbot!
12943
12944         * docs/gst/Makefile.am:
12945         * docs/libs/Makefile.am: Dist the overrides files.
12946
12947         * check/Makefile.am (clean-local): Remove .libs directories.
12948
12949         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12950         elements to EXTRA_DIST, so po/ files are happy.
12951
12952         * po/POTFILES.in: Er, remove it here.
12953
12954         * po/POTFILES: Remove gstspider.c.
12955
12956         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12957
12958         * docs/libs/gstreamer-libs-docs.sgml: 
12959         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12960         bytestream.
12961
12962         * tests/complexity.c (main): Set the length of the preroll queue
12963         on the sinks to prevent a lockup.
12964
12965         * libs/gst/dataprotocol/Makefile.am: 
12966         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12967         the same as the one in check/gst-libs/gdp.c.
12968
12969         * po/, docs/gst/: Commit automatic changes to docs and po files.
12970
12971         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12972         the versioned libgstbase.
12973
12974         * check/Makefile.am: Depend on an unversioned gst-register, seems
12975         to make autoconf happier.
12976
12977         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12978
12979 2005-03-28  Wim Taymans  <wim@fluendo.com>
12980
12981         * configure.ac:
12982         * docs/design/part-gstelement.txt:
12983         * docs/design/part-negotiation.txt:
12984         * docs/design/part-preroll.txt:
12985         * docs/design/part-scheduling.txt:
12986         * docs/design/part-states.txt:
12987         * gst/Makefile.am:
12988         * gst/base/Makefile.am:
12989         * gst/base/README:
12990         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12991         (gst_basesink_base_init), (gst_basesink_class_init),
12992         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12993         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12994         (gst_basesink_set_pad_functions),
12995         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12996         (gst_basesink_set_property), (gst_basesink_get_property),
12997         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12998         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12999         (gst_basesink_preroll_queue_push),
13000         (gst_basesink_preroll_queue_empty),
13001         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
13002         (gst_basesink_event), (gst_basesink_get_times),
13003         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
13004         (gst_basesink_chain_unlocked), (gst_basesink_chain),
13005         (gst_basesink_loop), (gst_basesink_activate),
13006         (gst_basesink_change_state):
13007         * gst/base/gstbasesink.h:
13008         * gst/elements/Makefile.am:
13009         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
13010         (gst_fakesink_class_init), (gst_fakesink_init),
13011         (gst_fakesink_set_property), (gst_fakesink_get_property),
13012         (gst_fakesink_get_times), (gst_fakesink_event),
13013         (gst_fakesink_preroll), (gst_fakesink_render),
13014         (gst_fakesink_change_state):
13015         * gst/elements/gstfakesink.h:
13016         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
13017         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
13018         * gst/gstelement.c: (gst_element_add_pad),
13019         (gst_element_get_state_func), (gst_element_abort_state),
13020         (gst_element_commit_state), (gst_element_lost_state),
13021         (gst_element_set_state), (gst_element_pads_activate):
13022         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
13023         * gst/gstpipeline.c: (gst_pipeline_send_event),
13024         (gst_pipeline_change_state):
13025         Added state change code.
13026         Added/updated docs.
13027         Added sink base class, make fakesink extend the base class.
13028         Small cleanups in GstPipeline.
13029
13030 2005-03-26  David Schleef  <ds@schleef.org>
13031
13032         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
13033         is broken and should be implemented in a different library.
13034         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
13035         * gst/gst.h: remove gstcpu.h
13036         * gst/gstcpu.c: remove
13037         * gst/gstcpu.h: remove
13038         * gst/Makefile.am.future: Remove this file.  It's ancient.
13039
13040 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13041
13042         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
13043         (gst_bin_send_event):
13044           Add default event/set_manager handlers. The set_manager handler
13045           takes care that the manager is distributed over kids that were
13046           already in the bin before the manager was set. The event handler
13047           is a utility virtual function that sends the event over all sinks,
13048           so that gst_element_send_event (bin, event); has the expected
13049           behaviour.
13050         * gst/gstpad.c: (gst_pad_event_default):
13051           Re-install default event handling for discontinuities, so that
13052           seeking works without requiring hacks in applications or extra
13053           code in sinks.
13054         * gst/gstpipeline.c: (gst_pipeline_class_init),
13055         (gst_pipeline_send_event):
13056           Half hack, half utility: set a pipeline to PAUSED for seek events,
13057           since that is the only way we can guarantee a/v sync. Means that
13058           you can do gst_element_seek (pipeline, method, pos); on a pipeline
13059           and it "just works".
13060
13061 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13062
13063         * gst/gstpipeline.c: (gst_pipeline_use_clock):
13064           Lock/unlock mismatch.
13065
13066 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13067
13068         * docs/faq/gst-uninstalled:
13069           add gst-plugins-base
13070         * docs/gst/Makefile.am:
13071           don't error out until docs are fixed
13072         * docs/gst/gstreamer.types:
13073           remove thread
13074
13075 2005-03-22  Wim Taymans  <wim@fluendo.com>
13076
13077         * check/Makefile.am:
13078         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
13079         * gst/gststructure.c: (gst_structure_set_valist),
13080         (gst_structure_copy_conditional):
13081         Activated more tests.
13082         Added message test.
13083         Added G_TYPE_POINTER to GstStructure.
13084         
13085
13086 2005-03-22  Wim Taymans  <wim@fluendo.com>
13087
13088         * docs/design/part-TODO.txt:
13089         * docs/design/part-events.txt:
13090         * docs/design/part-gstbin.txt:
13091         * docs/design/part-gstbus.txt:
13092         * docs/design/part-gstpipeline.txt:
13093         * docs/design/part-messages.txt:
13094         * gst/gstbus.c:
13095         * gst/gstmessage.c:
13096         Docs updates
13097
13098 2005-03-21  Wim Taymans  <wim@fluendo.com>
13099
13100         * gst/gstbus.c: (gst_bus_post):
13101         Fix copy-and-paste error.
13102
13103 2005-03-21  Wim Taymans  <wim@fluendo.com>
13104
13105         * check/Makefile.am:
13106         * gst/Makefile.am:
13107         * gst/elements/Makefile.am:
13108         * gst/elements/gstelements.c:
13109         * gst/elements/gstfakesink.c: (gst_fakesink_init),
13110         (gst_fakesink_event), (gst_fakesink_chain):
13111         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13112         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
13113         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
13114         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
13115         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13116         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
13117         (gst_fakesrc_loop), (gst_fakesrc_activate),
13118         (gst_fakesrc_change_state):
13119         * gst/elements/gstfakesrc.h:
13120         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
13121         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
13122         (gst_filesrc_open_file), (gst_filesrc_loop),
13123         (gst_filesrc_activate), (gst_filesrc_change_state),
13124         (filesrc_find_peek), (filesrc_find_suggest),
13125         (gst_filesrc_type_find):
13126         * gst/elements/gstidentity.c: (gst_identity_finalize),
13127         (gst_identity_class_init), (gst_identity_init),
13128         (gst_identity_proxy_getcaps), (identity_queue_push),
13129         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
13130         (gst_identity_getrange), (gst_identity_chain),
13131         (gst_identity_sink_loop), (gst_identity_src_loop),
13132         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
13133         (gst_identity_set_property), (gst_identity_get_property),
13134         (gst_identity_change_state):
13135         * gst/elements/gstidentity.h:
13136         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
13137         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
13138         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
13139         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
13140         (gst_tee_sink_activate):
13141         * gst/elements/gsttee.h:
13142         * gst/gst.c: (gst_register_core_elements), (init_post):
13143         * gst/gst.h:
13144         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
13145         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
13146         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
13147         (gst_bin_change_state):
13148         * gst/gstbin.h:
13149         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
13150         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
13151         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
13152         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
13153         (gst_bus_set_sync_handler), (gst_bus_create_watch),
13154         (bus_watch_callback), (bus_watch_destroy),
13155         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
13156         (poll_timeout), (gst_bus_poll):
13157         * gst/gstbus.h:
13158         * gst/gstcaps.h:
13159         * gst/gstdata.h:
13160         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13161         (gst_element_post_message), (gst_element_message_full),
13162         (gst_element_get_state_func), (gst_element_get_state),
13163         (gst_element_abort_state), (gst_element_commit_state),
13164         (gst_element_lost_state), (gst_element_set_state),
13165         (gst_element_pads_activate), (gst_element_change_state),
13166         (gst_element_dispose), (gst_element_set_manager_func),
13167         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
13168         (gst_element_set_manager), (gst_element_get_manager),
13169         (gst_element_set_bus), (gst_element_get_bus),
13170         (gst_element_set_scheduler), (gst_element_get_scheduler):
13171         * gst/gstelement.h:
13172         * gst/gstevent.c: (gst_event_new_segment_seek),
13173         (gst_event_new_flush):
13174         * gst/gstevent.h:
13175         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
13176         (_gst_message_free), (gst_message_get_type), (gst_message_new),
13177         (gst_message_new_eos), (gst_message_new_error),
13178         (gst_message_new_warning), (gst_message_new_tag),
13179         (gst_message_new_state_changed), (gst_message_new_application),
13180         (gst_message_get_structure), (gst_message_parse_tag),
13181         (gst_message_parse_state_changed), (gst_message_parse_error),
13182         (gst_message_parse_warning):
13183         * gst/gstmessage.h:
13184         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
13185         (gst_real_pad_set_property), (gst_pad_set_active),
13186         (gst_pad_is_active), (gst_pad_set_blocked_async),
13187         (gst_pad_set_blocked), (gst_pad_is_blocked),
13188         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
13189         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
13190         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13191         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
13192         (gst_pad_link_filtered), (gst_pad_relink_filtered),
13193         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
13194         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
13195         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
13196         (gst_pad_set_caps), (gst_pad_configure_sink),
13197         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
13198         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
13199         (gst_real_pad_dispose), (gst_real_pad_finalize),
13200         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
13201         (gst_pad_event_default_dispatch), (gst_pad_event_default),
13202         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
13203         * gst/gstpad.h:
13204         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
13205         (pipeline_bus_handler), (gst_pipeline_change_state),
13206         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
13207         * gst/gstpipeline.h:
13208         * gst/gstprobe.h:
13209         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13210         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
13211         (gst_queue_link_src), (gst_queue_bufferalloc),
13212         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13213         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
13214         (gst_queue_loop), (gst_queue_handle_src_event),
13215         (gst_queue_handle_src_query), (gst_queue_src_activate),
13216         (gst_queue_change_state):
13217         * gst/gstqueue.h:
13218         * gst/gstscheduler.c: (gst_scheduler_init),
13219         (gst_scheduler_dispose), (gst_scheduler_create_task),
13220         (gst_scheduler_factory_create):
13221         * gst/gstscheduler.h:
13222         * gst/gststructure.c: (gst_structure_get_type),
13223         (gst_structure_copy_conditional):
13224         * gst/gststructure.h:
13225         * gst/gsttaginterface.h:
13226         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13227         (gst_task_init), (gst_task_dispose), (gst_task_create),
13228         (gst_task_get_state), (gst_task_start), (gst_task_stop),
13229         (gst_task_pause):
13230         * gst/gsttask.h:
13231         * gst/gstthread.c:
13232         * gst/gstthread.h:
13233         * gst/gsttypes.h:
13234         * gst/schedulers/Makefile.am:
13235         * gst/schedulers/cothreads_compat.h:
13236         * gst/schedulers/entryscheduler.c:
13237         * gst/schedulers/faircothreads.c:
13238         * gst/schedulers/faircothreads.h:
13239         * gst/schedulers/fairscheduler.c:
13240         * gst/schedulers/gstbasicscheduler.c:
13241         * gst/schedulers/gstoptimalscheduler.c:
13242         * gst/schedulers/gthread-cothreads.h:
13243         * gst/schedulers/threadscheduler.c:
13244         (gst_thread_scheduler_task_get_type),
13245         (gst_thread_scheduler_task_class_init),
13246         (gst_thread_scheduler_task_init),
13247         (gst_thread_scheduler_task_start),
13248         (gst_thread_scheduler_task_stop),
13249         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
13250         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13251         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
13252         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
13253         (plugin_init):
13254         * libs/gst/Makefile.am:
13255         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
13256         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
13257         (gst_file_pad_parent_set):
13258         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13259         (gst_dp_event_from_packet):
13260         * tests/complexity.c: (main):
13261         * tests/mass_elements.c: (main):
13262         * testsuite/states/locked.c: (message_received), (main):
13263         * testsuite/states/parent.c: (main):
13264         * tools/gst-inspect.c: (print_element_flag_info),
13265         (print_implementation_info), (print_pad_info):
13266         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13267         (main):
13268         * tools/gst-md5sum.c: (event_loop), (main):
13269         * tools/gst-typefind.c: (main):
13270         * tools/gst-xmlinspect.c: (print_element_info):
13271         Next big merge.
13272         Added GstBus for mainloop integration.
13273         Added GstMessage for sending notifications on the bus.
13274         Added GstTask as an abstraction for pipeline entry points.
13275         Removed GstThread.
13276         Removed Schedulers.
13277         Simplified GstQueue for multithreaded core.
13278         Made _link threadsafe, removed old capsnego.
13279         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13280         Added pad blocking functions.
13281         Reworked scheduling functions in GstPad to prepare for
13282         scheduling updates soon.
13283         Moved events out of data stream.
13284         Simplified GstEvent types.
13285         Added return values to push/pull.
13286         Removed clocking from GstElement.
13287         Added prototypes for state change function for next merge.
13288         Removed iterate from bins and state change management.
13289         Fixed some elements, disabled others for now.
13290         Fixed -inspect and -launch.
13291         Added check for GstBus.
13292
13293 2005-03-10  Wim Taymans  <wim@fluendo.com>
13294
13295         * docs/design/part-MT-refcounting.txt:
13296         * docs/design/part-clocks.txt:
13297         * docs/design/part-gstelement.txt:
13298         * docs/design/part-gstobject.txt:
13299         * docs/design/part-standards.txt:
13300         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13301         (gst_bin_remove_func), (gst_bin_remove):
13302         * gst/gstbin.h:
13303         * gst/gstbuffer.c:
13304         * gst/gstcaps.h:
13305         * testsuite/clock/clock1.c: (main):
13306         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13307         (main):
13308         * testsuite/dlopen/loadgst.c: (do_test):
13309         * testsuite/refcounting/bin.c: (add_remove_test1),
13310         (add_remove_test2), (main):
13311         * testsuite/refcounting/element.c: (main):
13312         * testsuite/refcounting/element_pad.c: (main):
13313         * testsuite/refcounting/pad.c: (main):
13314         * tools/gst-launch.c: (sigint_handler_sighandler):
13315         * tools/gst-typefind.c: (main):
13316         Doc updates.
13317         Added doc about clock.
13318         removed gst_bin_iterate_recurse_up(), marked methods
13319         for removal.
13320         Fix more testsuites.
13321
13322 2005-03-09  Wim Taymans  <wim@fluendo.com>
13323
13324         * gst/gstpad.c: (gst_pad_get_direction),
13325         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13326         (gst_pad_collect_valist):
13327         * testsuite/bins/interface.c: (main):
13328         * testsuite/caps/audioscale.c: (test_caps):
13329         * testsuite/caps/caps.c: (test1), (test2), (test3):
13330         * testsuite/caps/deserialize.c: (main):
13331         * testsuite/caps/enumcaps.c: (main):
13332         * testsuite/caps/filtercaps.c: (main):
13333         * testsuite/caps/intersect2.c: (main):
13334         * testsuite/caps/random.c: (main):
13335         * testsuite/caps/renegotiate.c: (my_fixate), (main):
13336         * testsuite/caps/sets.c: (check_caps):
13337         * testsuite/caps/simplify.c: (check_caps), (main):
13338         * testsuite/caps/subtract.c: (check_caps):
13339         Fix _pad_get_direction wrt ghostpads.
13340         Fix caps testsuite.
13341
13342 2005-03-09  Wim Taymans  <wim@fluendo.com>
13343
13344         * check/Makefile.am:
13345         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13346         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13347         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13348         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13349         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13350         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13351         (gst_bin_remove), (gst_bin_iterate_recurse_up),
13352         (bin_element_is_sink), (gst_bin_iterate_sinks),
13353         (gst_bin_iterate_all_by_interface):
13354         * gst/gstbin.h:
13355         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13356         (gst_element_change_state), (gst_element_dispose),
13357         (gst_element_finalize), (gst_element_set_loop_function):
13358         * gst/gstelement.h:
13359         * gst/gstiterator.c: (find_custom_fold_func):
13360         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13361         (gst_pad_collectv), (gst_pad_collect_valist),
13362         (gst_pad_template_new):
13363         * gst/gstpipeline.c: (gst_pipeline_class_init),
13364         (gst_pipeline_dispose), (gst_pipeline_set_property),
13365         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13366         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13367         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13368         * gst/gstutils.h:
13369         * gst/schedulers/entryscheduler.c:
13370         * gst/schedulers/gstbasicscheduler.c:
13371         (gst_basic_scheduler_cothreaded_chain),
13372         (gst_basic_scheduler_chain_add_element):
13373         * testsuite/bins/interface.c: (main):
13374         Added GstBin test.
13375         Added GstSystemClock test.
13376         Implemented clock distribution code in GstBin.
13377         Implemented iterate sinks method for future use.
13378         Rearranged gstelement.h
13379         Fix GstIterator comparison bug.
13380         Moved some code to GstPipeline, mostly clocking related.
13381
13382 2005-03-09  Wim Taymans  <wim@fluendo.com>
13383
13384         * configure.ac:
13385         * gst/gst_private.h:
13386         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13387         (gst_bin_remove_func), (gst_bin_remove),
13388         (gst_bin_get_by_name_recurse_up):
13389         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13390         (gst_clock_id_compare_func), (gst_clock_id_wait),
13391         (gst_clock_id_wait_async), (gst_clock_init),
13392         (gst_clock_adjust_unlocked), (gst_clock_get_time):
13393         * gst/gstelement.h:
13394         * gst/gstinfo.c: (_gst_debug_init):
13395         * gst/gstobject.h:
13396         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13397         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13398         * gst/gstpad.h:
13399         Bump version number, we're now 0.9.0
13400         Add future debugging category.
13401         Fix NULL _unref() in _get_by_name_recurse_up
13402         Rearrange gstpad.h.
13403         Update some docs.
13404
13405 2005-03-08  Wim Taymans  <wim@fluendo.com>
13406
13407         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13408         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13409         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13410         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13411         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13412         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13413         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13414         * gst/elements/gstidentity.c: (gst_identity_class_init):
13415         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13416         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13417         * gst/elements/gstshaper.c: (gst_shaper_class_init):
13418         * gst/elements/gststatistics.c: (gst_statistics_class_init):
13419         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13420         (gst_tee_link):
13421         * gst/gstelement.c: (gst_element_class_init),
13422         (gst_element_base_class_init), (gst_element_init),
13423         (gst_element_get_random_pad), (gst_element_wait_state_change),
13424         (gst_element_change_state), (gst_element_dispose),
13425         (gst_element_finalize), (gst_element_set_loop_function):
13426         * gst/gstelement.h:
13427         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13428         * gst/gstthread.c: (gst_thread_class_init),
13429         (gst_thread_release_children_locks), (gst_thread_change_state):
13430         * gst/schedulers/gstbasicscheduler.c:
13431         (gst_basic_scheduler_loopfunc_wrapper),
13432         (gst_basic_scheduler_chain_wrapper),
13433         (gst_basic_scheduler_src_wrapper),
13434         (gst_basic_scheduler_remove_element):
13435         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13436         Remove threadsafe properties. Fix elements because GObject
13437         complains when installing a property before declaring a
13438         set/get_property handler.
13439         Rearrange gstelement.h file, use STATE macros for state locks.
13440         Free mutexes in the finalize method instead of dispose.
13441
13442 2005-03-08  Wim Taymans  <wim@fluendo.com>
13443
13444         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13445         * gst/gstthread.c: (gst_thread_release_children_locks):
13446         Added parentage check.
13447         Fix build og GstThread again.
13448
13449 2005-03-08  Wim Taymans  <wim@fluendo.com>
13450
13451         * docs/design/part-MT-refcounting.txt:
13452         * docs/design/part-conventions.txt:
13453         * docs/design/part-gstobject.txt:
13454         * docs/design/part-relations.txt:
13455         * docs/design/part-standards.txt:
13456         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13457         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13458         (gst_bin_get_by_name), (gst_bin_get_by_interface),
13459         (gst_bin_iterate_all_by_interface):
13460         * gst/gstbuffer.h:
13461         * gst/gstclock.h:
13462         * gst/gstelement.c: (gst_element_class_init),
13463         (gst_element_change_state), (gst_element_set_loop_function):
13464         * gst/gstelement.h:
13465         * gst/gstiterator.c:
13466         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13467         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13468         (gst_object_dispatch_properties_changed), (gst_object_set_name),
13469         (gst_object_set_parent), (gst_object_unparent),
13470         (gst_object_check_uniqueness):
13471         * gst/gstobject.h:
13472         Docs updates, clean up some headers.
13473
13474 2005-03-07  Wim Taymans  <wim@fluendo.com>
13475
13476         * check/.cvsignore:
13477         * check/Makefile.am:
13478         * check/gst-libs/.cvsignore:
13479         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13480         * check/gst/.cvsignore:
13481         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13482         (START_TEST), (gstbus_suite), (main):
13483         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13484         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13485         (gst_data_suite), (main):
13486         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13487         (add_fold_func), (gstiterator_suite), (main):
13488         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13489         (thread_name_object), (thread_name_object_default),
13490         (gst_object_name_compare), (gst_object_suite), (main):
13491         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13492         (gst_pad_suite), (main):
13493         * check/gstcheck.c: (gst_check_log_message_func),
13494         (gst_check_log_critical_func), (gst_check_init):
13495         * check/gstcheck.h:
13496         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13497         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13498         Added checks.
13499
13500 2005-03-07  Wim Taymans  <wim@fluendo.com>
13501
13502         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13503         (gst_list_iterator_next), (gst_list_iterator_resync),
13504         (gst_list_iterator_free), (gst_iterator_new_list),
13505         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13506         (gst_iterator_free), (gst_iterator_push), (filter_next),
13507         (filter_resync), (filter_uninit), (filter_free),
13508         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13509         (gst_iterator_foreach), (find_custom_fold_func),
13510         (gst_iterator_find_custom):
13511         * gst/gstiterator.h:
13512         Added missing files.
13513
13514 2005-03-07  Wim Taymans  <wim@fluendo.com>
13515
13516         * Makefile.am:
13517         * configure.ac:
13518         * docs/design/part-MT-refcounting.txt:
13519         * docs/design/part-conventions.txt:
13520         * docs/design/part-gstobject.txt:
13521         * docs/design/part-relations.txt:
13522         * examples/mixer/mixer.c: (main):
13523         * examples/thread/thread.c: (eos), (main):
13524         * gst/Makefile.am:
13525         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13526         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13527         (gst_spider_plug_from_srcpad):
13528         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13529         (gst_spider_identity_change_state),
13530         (gst_spider_identity_sink_loop_type_finding):
13531         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13532         * gst/elements/gstidentity.c: (gst_identity_init):
13533         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13534         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13535         * gst/elements/gsttypefindelement.c: (free_entry):
13536         * gst/gst.c:
13537         * gst/gst.h:
13538         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13539         (gst_bin_set_clock_func), (gst_bin_auto_clock),
13540         (gst_bin_set_index), (gst_bin_set_element_sched),
13541         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13542         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13543         (gst_bin_iterate_elements), (iterate_child_recurse),
13544         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13545         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13546         (compare_interface), (gst_bin_get_by_interface),
13547         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13548         * gst/gstbin.h:
13549         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13550         (gst_buffer_default_free), (gst_buffer_default_copy),
13551         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13552         (gst_buffer_create_sub):
13553         * gst/gstbuffer.h:
13554         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13555         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13556         (gst_caps_unref), (gst_static_caps_get),
13557         (gst_caps_remove_and_get_structure), (gst_caps_append),
13558         (gst_caps_append_structure), (gst_caps_remove_structure),
13559         (gst_caps_copy_nth), (gst_caps_set_simple),
13560         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13561         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13562         (gst_caps_structure_intersect_field), (gst_caps_intersect),
13563         (gst_caps_structure_subtract_field), (gst_caps_subtract),
13564         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13565         (gst_caps_structure_figure_out_union),
13566         (gst_caps_switch_structures), (gst_caps_do_simplify),
13567         (gst_caps_replace), (gst_caps_from_string),
13568         (gst_caps_copy_conditional):
13569         * gst/gstcaps.h:
13570         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13571         (_gst_clock_id_free), (gst_clock_id_unref),
13572         (gst_clock_id_compare_func), (gst_clock_id_wait),
13573         (gst_clock_id_wait_async), (gst_clock_class_init),
13574         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13575         (gst_clock_get_time), (gst_clock_set_time_adjust),
13576         (gst_clock_set_property), (gst_clock_get_property):
13577         * gst/gstclock.h:
13578         * gst/gstcompat.h:
13579         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13580         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13581         * gst/gstdata.h:
13582         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13583         (gst_element_requires_clock), (gst_element_provides_clock),
13584         (gst_element_set_clock), (gst_element_clock_wait),
13585         (gst_element_wait), (gst_element_set_time_delay),
13586         (gst_element_is_indexable), (gst_element_add_pad),
13587         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13588         (pad_compare_name), (gst_element_get_static_pad),
13589         (gst_element_request_pad), (gst_element_get_request_pad),
13590         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13591         (gst_element_class_get_pad_template_list),
13592         (gst_element_class_get_pad_template), (gst_element_error_func),
13593         (gst_element_get_random_pad), (gst_element_get_event_masks),
13594         (gst_element_send_event), (gst_element_seek),
13595         (gst_element_get_query_types), (gst_element_query),
13596         (gst_element_get_formats), (gst_element_convert),
13597         (gst_element_is_locked_state), (gst_element_set_locked_state),
13598         (gst_element_sync_state_with_parent), (gst_element_change_state),
13599         (gst_element_finalize), (gst_element_yield),
13600         (gst_element_interrupt), (gst_element_set_scheduler),
13601         (gst_element_get_scheduler), (gst_element_set_loop_function):
13602         * gst/gstelement.h:
13603         * gst/gstevent.h:
13604         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13605         (gst_format_get_by_nick), (gst_format_get_details),
13606         (gst_format_iterate_definitions):
13607         * gst/gstformat.h:
13608         * gst/gstindex.c: (gst_index_gtype_resolver):
13609         * gst/gstinfo.c:
13610         * gst/gstinfo.h:
13611         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13612         (gst_mem_chunk_free):
13613         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13614         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13615         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13616         (gst_object_dispatch_properties_changed),
13617         (gst_object_set_name_default), (gst_object_set_name),
13618         (gst_object_get_name), (gst_object_set_name_prefix),
13619         (gst_object_get_name_prefix), (gst_object_set_parent),
13620         (gst_object_get_parent), (gst_object_unparent),
13621         (gst_object_check_uniqueness), (gst_object_save_thyself),
13622         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13623         (gst_object_set_property), (gst_object_get_property),
13624         (gst_object_get_path_string):
13625         * gst/gstobject.h:
13626         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13627         (gst_real_pad_init), (gst_real_pad_get_property),
13628         (gst_pad_custom_new), (gst_pad_get_direction),
13629         (gst_pad_set_active), (gst_pad_is_active),
13630         (gst_pad_set_event_function), (gst_pad_is_linked),
13631         (gst_pad_link_free), (gst_pad_link_intersect),
13632         (gst_pad_link_fixate), (gst_pad_set_caps),
13633         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13634         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13635         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13636         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13637         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13638         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13639         (gst_pad_realize), (gst_pad_get_allowed_caps),
13640         (gst_real_pad_dispose), (gst_real_pad_finalize),
13641         (gst_pad_collectv), (gst_pad_collect_valist),
13642         (gst_pad_template_dispose), (gst_pad_template_new),
13643         (gst_pad_get_internal_links):
13644         * gst/gstpad.h:
13645         * gst/gstpipeline.c: (gst_pipeline_dispose),
13646         (gst_pipeline_change_state):
13647         * gst/gstpipeline.h:
13648         * gst/gstplugin.c:
13649         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13650         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13651         * gst/gstpluginfeature.h:
13652         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13653         * gst/gstquery.c: (_gst_query_type_initialize),
13654         (gst_query_type_register), (gst_query_type_get_by_nick),
13655         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13656         * gst/gstquery.h:
13657         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13658         * gst/gstscheduler.c: (gst_scheduler_add_element),
13659         (gst_scheduler_factory_create):
13660         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13661         (gst_structure_free), (gst_structure_set_name),
13662         (gst_structure_id_set_value), (gst_structure_set_value),
13663         (gst_structure_set_valist), (gst_structure_remove_field),
13664         (gst_structure_remove_fields),
13665         (gst_structure_remove_fields_valist),
13666         (gst_structure_remove_all_fields), (gst_structure_foreach),
13667         (gst_structure_map_in_place),
13668         (gst_caps_structure_fixate_field_nearest_int),
13669         (gst_caps_structure_fixate_field_nearest_double):
13670         * gst/gststructure.h:
13671         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13672         (gst_system_clock_init), (gst_system_clock_dispose),
13673         (gst_system_clock_async_thread),
13674         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13675         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13676         * gst/gstsystemclock.h:
13677         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13678         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13679         * gst/gsttaginterface.c:
13680         * gst/gstthread.c: (gst_thread_dispose),
13681         (gst_thread_release_children_locks), (gst_thread_change_state),
13682         (gst_thread_main_loop):
13683         * gst/gsttrashstack.h:
13684         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13685         * gst/gsttypes.h:
13686         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13687         (gst_element_request_pad), (gst_element_get_pad_from_template),
13688         (gst_element_request_compatible_pad),
13689         (gst_element_get_compatible_pad_filtered),
13690         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13691         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13692         (gst_element_link_many), (gst_element_link),
13693         (gst_element_link_pads), (gst_element_unlink_pads),
13694         (gst_element_unlink_many), (gst_element_unlink),
13695         (gst_pad_can_link_filtered), (gst_pad_can_link),
13696         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13697         (gst_object_default_error), (gst_bin_add_many),
13698         (gst_bin_remove_many), (gst_element_populate_std_props),
13699         (gst_element_class_install_std_props), (gst_buffer_merge),
13700         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13701         (link_fold_func), (gst_pad_proxy_setcaps):
13702         * gst/gstutils.h:
13703         * gst/gstvalue.c: (gst_value_deserialize_string):
13704         * gst/parse/grammar.y:
13705         * gst/schedulers/gstbasicscheduler.c:
13706         (gst_basic_scheduler_cothreaded_chain),
13707         (gst_basic_scheduler_chain_recursive_add),
13708         (gst_basic_scheduler_pad_link):
13709         * gst/schedulers/gstoptimalscheduler.c:
13710         (get_group_schedule_function),
13711         (gst_opt_scheduler_state_transition),
13712         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13713         * libs/gst/bytestream/bytestream.c:
13714         * libs/gst/dataprotocol/dataprotocol.c:
13715         (gst_dp_header_from_buffer):
13716         * po/nb.po:
13717         * po/ru.po:
13718         * tests/threadstate/threadstate2.c: (eos):
13719         * tools/gst-compprep.c: (main):
13720         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13721         (print_pad_info), (print_children_info):
13722         * tools/gst-launch.c: (idle_func), (main):
13723         * tools/gst-md5sum.c: (idle_func), (main):
13724         * tools/gst-xmlinspect.c: (print_element_info):
13725         First THREADED backport attempt, focusing on adding locks and
13726         making sure the API is threadsafe. Needs more work. More docs
13727         follow this week.
13728
13729 2005-02-24  Andy Wingo  <wingo@pobox.com>
13730
13731         * tests/bench-complexity.scm:
13732         * tests/complexity.gnuplot: New files, good for running complexity
13733         benchmarks.
13734
13735         * tests/Makefile.am:
13736         * tests/complexity.c: New test, sets up N elements, at each level
13737         teeing into M streams per element. Eeeenteresting.
13738
13739         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13740         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13741         running bench-mass_elements.scm.
13742
13743         * tests/bench-mass_elements.scm: New script, runs mass_elements
13744         for various numbers of identities, outputting the results to a
13745         file. Requires guile 1.6. Just for testing.
13746
13747 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13748
13749         * gst/schedulers/fairscheduler.c:
13750           compile with debug disabled
13751
13752 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13753
13754         * configure.ac:
13755           hunting season on 0.9 is now OPEN