gst/gst.c: Make sure gettext returns translations in UTF-8 encoding rather than in...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
2
3         Patch by: Frederic Crozat <fcrozat@mandriva.org>
4
5         * gst/gst.c: (init_pre):
6         Make sure gettext returns translations in UTF-8 encoding rather
7         than in the current locale encoding (#546822).
8
9 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
10
11         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12         Fix subset test.
13
14         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15         Improve unit test subset tests and add a testcase for the subset failure
16         cases.
17
18         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19         Improve subtraction unit test.
20
21 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
22
23         * plugins/elements/gsttee.c:
24           Unlock, instead of locking again.
25
26 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
27
28         * gst/gstpad.h:
29         Clarify the docs a bit more.
30
31 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
32
33         * tests/examples/metadata/read-metadata.c:
34           Don't leak old taglist.
35
36 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
37
38         Patch by: Olivier Crete <tester at tester dot ca>
39
40         * gst/gststructure.c:
41         (gst_structure_fixate_field_nearest_fraction):
42         Avoid overflows in fixation code when dealing with MAXINT values, which
43         v4l2src seems to do.
44         Fixes #546328.
45
46         * tests/check/gst/gststructure.c: (GST_START_TEST):
47         Make a unit test to check the fix. 
48
49 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
50
51         * plugins/elements/gstcapsfilter.c: (copy_func),
52         (gst_capsfilter_set_property):
53         Use new caps suggestion feature of basetransform to request a caps
54         negotiation upstream.
55
56 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
57
58         * docs/libs/gstreamer-libs-sections.txt:
59         Add new function:
60         API: GstBaseTransform::gst_base_transform_suggest()
61
62         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
63         (gst_base_transform_init), (gst_base_transform_transform_caps),
64         (gst_base_transform_transform_size),
65         (gst_base_transform_configure_caps),
66         (gst_base_transform_can_transform),
67         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
68         (gst_base_transform_prepare_output_buffer),
69         (gst_base_transform_buffer_alloc),
70         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
71         (gst_base_transform_chain), (gst_base_transform_activate),
72         (gst_base_transform_set_passthrough),
73         (gst_base_transform_is_passthrough),
74         (gst_base_transform_set_in_place),
75         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
76         (gst_base_transform_set_qos_enabled),
77         (gst_base_transform_is_qos_enabled),
78         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
79         (gst_base_transform_reconfigure):
80         * libs/gst/base/gstbasetransform.h:
81         Rewrite of basetransform to perform negotiation outside of the
82         buffer_alloc functions.  Fixes #545853.
83
84         * tests/check/libs/transform1.c: (GST_START_TEST),
85         (buffer_alloc_ct2):
86         Update unit test.
87
88 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
89
90         * tests/check/gst/gstpreset.c:
91           Only run preset tests when $HOME is writable. Preliminary fix for
92           #545433.
93
94 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
95
96         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
97         (gst_bin_change_state_func), (bin_handle_async_done),
98         (gst_bin_handle_message_func):
99         Fix race for bins that simulate ASYNC state changes by inserting
100         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
101         pending ASYNC messages even when the bin does not have ASYNC children.
102         We note detect this behaviour because we will receive an ASYNC message
103         that is originating from the bin itself. 
104         Fixes races with decodebin2 state changes.
105
106         * tests/check/gst/gstbin.c: (GST_START_TEST):
107         Add some more debug.
108
109 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
110
111         * gst/gsttaglist.c: (_gst_tag_initialize):
112           Fix typo.
113
114 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
115
116         * gst/gsttaglist.c:
117           Argh. actually save the text before committing. Now adds
118           gst_tag_merge_strings_with_comma() to gst_tag_register().
119
120 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
121
122         * gst/gsttaglist.c:
123         * gst/gsttaglist.h:
124           Do as tim pointed out and actually register the new tag. Also improve
125           te docs and use gst_tag_merge_strings_with_comma() method to allow
126           retriving all keywords merged in one list.
127
128 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
129
130         * configure.ac:
131         * docs/gst/gstreamer.types:
132           Revert 'accidential' change of the configure option removal. We still
133           need to generate the types file in configure --disable-load-save.
134
135 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
136
137         * docs/gst/gstreamer-sections.txt:
138         * gst/gsttaglist.h:
139           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
140
141 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
142
143         * gst/gstpadtemplate.c:
144           (gst_pad_template_class_init), (gst_static_pad_template_get),
145           (gst_pad_template_new), (gst_pad_template_pad_created),
146           (gst_pad_template_set_property), (gst_pad_template_get_property):
147           Add "name-template", "direction", "presence" and "caps" properties,
148           so that gst_pad_template_new() is just a thin wrapper around
149           g_object_new(), which is better for bindings. (Fixes: #539772)
150
151 2008-07-31  Michael Smith <msmith@songbirdnest.com>
152
153         * gst/gsturi.c:
154           Be more liberal in what URIs we accept.
155           Do not unescape bits of the URI for no apparent reason before passing to
156           the element. Fixes #545352.
157
158 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
159
160         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
161
162         * gst/gst.c:
163         Include gstconfig.h as macros from it are used. Fixes bug #545607.
164
165 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
166
167         * configure.ac:
168         * docs/gst/gstreamer-sections.txt:
169         * docs/gst/gstreamer.types:
170         * docs/gst/gstreamer.types.in:
171         * gst/Makefile.am:
172         * gst/gst.c:
173         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
174         * gst/gstconfig.h.in:
175         * gst/gstelement.c: (gst_element_get_index):
176         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
177         (gst_registry_binary_load_feature),
178         (gst_registry_binary_read_cache):
179         * gst/gstregistryxml.c: (load_feature),
180         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
181         * plugins/Makefile.am:
182         * tools/gst-indent:
183         * tools/gst-inspect.c: (print_index_info), (print_element_list),
184         (print_plugin_features), (print_element_features):
185         * tools/gst-xmlinspect.c: (print_event_masks),
186         (print_element_info):
187         * win32/common/gstconfig.h:
188         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
189
190         Disabling the indexers and URI handler code will only reduce the
191         required amount of memory by a very small amount but on the other hand
192         requires much more maintaince work. Apart from that many places of
193         code are broken when disabling them.
194
195         Disabling the enum types doesn't reduce the required amount of memory
196         by more than a few bytes and makes it hard to fix bugs like #539772,
197         i.e. use the enums as GObject properties.
198
199 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
200
201         * docs/design/part-TODO.txt:
202         Add some thoughts and problems with upstream renegotiation.
203
204 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
205
206         * gst/gstpad.c: (gst_pad_acceptcaps_default),
207         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
208         Remove silly redundant debug.
209         Add some more debug info.
210         Clarify the docs regarding new caps received from pad_alloc.
211
212 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
213
214         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
215         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
216         Make setting the caps more threadsafe.
217
218 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
219
220         * docs/design/part-element-transform.txt:
221         Update docs.
222
223 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
224
225         * plugins/elements/gstqueue.c: (gst_queue_init),
226         (gst_queue_acceptcaps):
227         Add and use a custom acceptcaps function instead of falling back to the
228         potentially less optimized default implementation.
229
230 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
231
232         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
233           Only sanity-check the buffer size if requested_caps == buffer_caps
234           (ie. don't take pad caps into account, they're not relevant here)
235
236 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
237
238         * plugins/elements/gsttee.c:
239         * plugins/elements/gsttee.h:
240           Reverting as not everything is clear yet. Needs some general design
241           work.
242
243 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
244
245         * ChangeLog:
246           ChangeLog surgery for tee commit.
247
248 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
249
250         * docs/gst/gstreamer-sections.txt:
251           Cleanup section-file.
252
253 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
254
255         * plugins/elements/gsttee.c:
256         * plugins/elements/gsttee.h:
257           Relay tag events in tee. Fixes parts of #474016.
258           Downgrades 3 reoccurring debugs to log.
259
260 2008-07-28  Michael Smith <msmith@songbirdnest.com>
261
262         * configure.ac:
263         * libs/gst/Makefile.am:
264           Build the net library if we have winsock2.
265
266 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
267
268         patch by: Luc Pionchon <luc.pionchon@nokia.com>
269
270         * docs/manual/advanced-threads.xml:
271         * docs/manual/diagrams-pipelines.svg:
272         * docs/manual/hello-world.png:
273         * docs/manual/linked-elements.png:
274         * docs/manual/mime-world.png:
275         * docs/manual/queue.png:
276         * docs/manual/thread-buffering.png:
277         * docs/manual/thread-synchronizing.png:
278           Replace one diagram with two separate ones and updates others.
279           Fixes #542401.
280
281 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
282
283         * gst/gstelement.h:
284         Fix link in documentation.
285
286 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
287
288         * gst/gstmessage.c:
289         Fix confusing documentation.
290
291 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
292
293         * libs/gst/base/gstbasesrc.h:
294         revert the changes to the header file for the ABI.
295
296 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
297
298         * libs/gst/base/gstbasesrc.c:
299         * libs/gst/base/gstbasesrc.h:
300         Don't cache the seekable status.
301         Fixes bug #544174
302
303 2008-07-24  Rene Stadler  <mail@renestadler.de>
304
305         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
306         code to close the pipeline graph.  This prevents the program from
307         printing internal data flow errors.
308
309 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
310
311         * docs/manual/basics-bus.xml:
312         Correct typo. Fixes bug #544320.
313
314 2008-07-22  Michael Smith <msmith@songbirdnest.com>
315
316         * configure.ac:
317           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
318           Add check (taken from -base) for winsock, adds WIN32_LIBS
319         * gst/Makefile.am:
320           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
321           winsock.
322           Define GST_EXPORTS when building libgstreamer (only used on win32)
323         * gst/gst_private.h:
324         * gst/gstinfo.h:
325           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
326           for symbols that we need to export in both these files.
327         * gst/gstpoll.c:
328           Include gst_private.h higher up to avoid some compile problems on win32.
329
330 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
331
332         * gst/gstvalue.c:
333         Fix typos.
334
335 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
336
337         * gst/gstcaps.c:
338         Previous commit was wrong NULL caps does not exist
339         and indicate an error, so also add a FIXME to
340         gst_caps_is_equal where NULL caps are accepted.
341
342 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
343
344         * gst/gstcaps.c:
345         Allow passing of NULL to gst_caps_union
346
347 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
348
349         * gst/gstghostpad.c:
350         Add in doc that gst_ghost_pad_set_target can accept
351         NULL to clear target
352
353 2008-07-15  Michael Smith <msmith@songbirdnest.com>
354
355         * gst/gstplugin.c:
356         * gst/gstregistry.c:
357           GstRegistryPool doesn't exist; don't refer to it in docs.
358           Don't refer to functions that don't exist in docs, it's
359           unhelpful.
360
361 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
362
363         * gst/gst.c:
364         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
365
366 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
367
368         Patch by: tmatth <le dot businessman at gmail dot com>
369
370         * docs/pwg/building-testapp.xml:
371         Don't use an undeclared variable in the example program.
372         Fixes bug #542573.
373
374 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
375
376         * gst/gstdebugutils.c:
377           Squeeze ghost-pad links and remove <> from classname labels to save
378           more horizontal space.
379
380 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
381
382         * gst/gstdebugutils.c:
383           Give request and sometimes pads a different shpe style. Condense the
384           graphs a little more.
385
386 2008-07-09  Michael Smith <msmith@songbirdnest.com>
387
388         * configure.ac:
389           Don't require flex and bison if the parser is disabled.
390
391 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
392
393         * libs/gst/controller/gstinterpolationcontrolsource.c:
394         (_list_find_sorted_custom):
395         Don't use declarations after statements.
396
397 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
398
399         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
400         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
401         of the the child-added / -removed signals as GstChildProxy
402         only supports GstObjects.
403
404 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
405
406         * gst/gstdebugutils.c:
407         Fix memleak
408
409 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
410
411         Patch by: Alessandro Decina <alessandro at nnva dot org>
412
413         * gst/gstpoll.c:
414         Fix "ignored return value" compiler warning with newer glibc.
415
416 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
417
418         * gst/gstchildproxy.c:
419         Fix copy&paste error in gst_child_proxy_removed() documentation.
420
421 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
422
423         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
424           Print error debug message if plugin description fields that should
425           be set are NULL.
426
427         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
428           Don't crash if the string to serialise is NULL (it really should
429           not be, but apparently this used to work with the xml registry ...).
430
431 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
432
433         * tools/gst-plot-timeline.py:
434         Fix parsing of log messages
435
436 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
437
438         * win32/common/libgstbase.def::
439           Sort alphabetically so make check-exports doesn't barf.
440
441 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
442
443         * gst/gstevent.c:
444           Use gst_format_get_name() to improve debug output.
445
446         * gst/gstpreset.c:
447           Remove #ifdef'ed code. Add TODO comment.
448
449         * gst/gstsegment.c:
450           Add debug output to ease spotting format != segment.format assertions.
451
452 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
453
454         * tests/check/libs/gdp.c: (gst_dp_suite):
455         Also enable the GDP unit test again on PPC now that the bug
456         is fixed.
457
458 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
459
460         * libs/gst/dataprotocol/dataprotocol.c:
461         Don't write to the same region of memory as a uint64 and uint16
462         as this breaks strict aliasing rules and apparantly breaks on PPC
463         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
464
465 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
466
467         * libs/gst/controller/gstinterpolationcontrolsource.c:
468           Optimize list handling. Use own find function. Exploit that fact that
469           the list is sorted. Also pass back the node before, so that we can
470           insert quickly. Have a fast path for append.
471
472 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
473
474         * docs/design/draft-framestep.txt:
475         * docs/design/part-negotiation.txt:
476           Fix two typos.
477
478 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
479
480         * configure.ac:
481           Show configuration sumary after configure run. Based on patch by
482           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
483
484 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
485
486         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
487
488         * docs/manual/advanced-autoplugging.xml:
489         * docs/manual/advanced-threads.xml:
490         * docs/manual/basics-bins.xml:
491         * docs/manual/basics-elements.xml:
492         * docs/manual/basics-helloworld.xml:
493         * docs/manual/basics-pads.xml:
494           Add scale factor for pdf output.
495
496         * docs/manual/intro-basics.xml:
497           Switched sections "pads" and "bins" and added a pipeline diagram.
498
499         * docs/manual/intro-gstreamer.xml:
500           Added more info on gstreamer.
501
502         * docs/manual/intro-motivation.xml:
503           Commented out the whole section "current problem", which sounds
504           historical and somehow osolete; it could be turned in a positive
505           way and reused to improve the design principles.
506
507         * docs/manual/intro-preface.xml:
508           - Update URLs to library.gnome.org. 
509           - Do not mention GTK+ in preliminary reading (irrelevant). 
510           - Mention Plugin Writer's Manual and further reading only in the
511             previous section.
512           - Added a list of most relevant GObject/glib topics.
513
514         * docs/manual/Makefile.am:
515         * docs/manual/bin-element-ghost.fig:
516         * docs/manual/bin-element-ghost.png:
517         * docs/manual/bin-element-noghost.fig:
518         * docs/manual/bin-element-noghost.png:
519         * docs/manual/bin-element.fig:
520         * docs/manual/bin-element.png:
521         * docs/manual/filter-element-multi.fig:
522         * docs/manual/filter-element-multi.png:
523         * docs/manual/filter-element.fig:
524         * docs/manual/filter-element.png:
525         * docs/manual/gstreamer-overview.png:
526         * docs/manual/hello-world.fig:
527         * docs/manual/hello-world.png:
528         * docs/manual/linked-elements.fig:
529         * docs/manual/linked-elements.png:
530         * docs/manual/mime-world.fig:
531         * docs/manual/mime-world.png:
532         * docs/manual/queue.fig:
533         * docs/manual/queue.png:
534         * docs/manual/simple-player.png:
535         * docs/manual/sink-element.fig:
536         * docs/manual/sink-element.png:
537         * docs/manual/src-element.fig:
538         * docs/manual/src-element.png:
539         * docs/manual/diagrams-general.svg:
540         * docs/manual/diagrams-pipelines.svg:
541           Removed .fig, added .png counterpart.
542           
543           Fixes: #539137
544
545 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
546
547         * plugins/elements/gstmultiqueue.c:
548         * plugins/elements/gstmultiqueue.h:
549         revert extra-size-buffers stuff, caused some race conditions
550         and extra-size-buffers is not used anymore. Docs needs some updates
551
552 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
553
554         * win32/common/config.h:
555         * win32/common/gstenumtypes.c:
556         * win32/common/gstenumtypes.h:
557         * win32/common/gstversion.h:
558           Update win32 files.
559
560 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
561
562         * gst/gstdebugutils.h: (GstDebugGraphDetails),
563           (GST_DEBUG_BIN_TO_DOT_FILE):
564           Add missing Since' markers to gtk-doc blurbs.
565
566 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
567
568         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
569         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
570         (set_caps_1), (set_caps_ct1), (transform_ct1),
571         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
572         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
573         (transform_size_ct2), (buffer_alloc_ct2):
574         Add some more tests with switching caps in buffer_alloc.
575
576 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
577
578         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
579         (gst_test_trans_class_init), (result_sink_chain),
580         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
581         (gst_test_trans_push), (gst_test_trans_pop):
582         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
583         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
584         (set_caps_1), (set_caps_ct1), (transform_ct1),
585         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
586         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
587         (transform_size_ct2), (buffer_alloc_ct2),
588         (gst_basetransform_suite):
589         More tests, prepare for tests with switching caps in buffer_alloc.
590
591 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
592
593         * plugins/elements/gstmultiqueue.c:
594         * plugins/elements/gstmultiqueue.h:
595         Fix dead-lock in underrun_cb
596
597 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
598
599         * docs/design/part-states.txt:
600         Fix device open/close docs.
601
602 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
603
604         * ChangeLog:
605           Mention bugnumber for last commit.
606
607 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
608
609         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
610
611         * docs/manual/manual.xml:
612         - Reorganised the previous "introduction" bundle into Foreword,
613         Introduction, and About GStreamer. The two first are <preface>
614         docbook elements. The later is the first part of the book.
615         - added intro-gstreamer.xml (content partially from
616         intro-preface.xml)
617         - moved appendix-win32.xml into appendix-integration.xml
618
619         * docs/manual/intro-preface.xml: gstreamer section moved...
620         * docs/manual/intro-gstreamer.xml: ...here. new file.
621
622         * docs/manual/appendix-win32.xml: removed file. Content moved...
623         * docs/manual/appendix-integration.xml: ...here.
624         
625         * docs/manual/highlevel-components.xml: section about GstEditor moved...
626         * docs/manual/appendix-checklist.xml: ...here.
627         
628         Fixes: 538764
629
630 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
631
632         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
633
634         * docs/manual/basics-helloworld.xml:
635         * docs/manual/hello-world.fig:
636           - Explicitely include glib.h.
637           - Do not use global variables.
638           - Use g_printerr() instead of g_print().
639           - Minor formating/renaming to increase readibility.
640           - Renamed new_pad() to on_pad_added()
641           - Improved explenatory comments.
642           - renamed ogg parser to ogg demuxer
643           - Use "autoaudiosink" instead of "alsasink".
644           Fixes: #538619
645
646 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
647
648         * ChangeLog:
649           Remove cvs conflict marker.
650
651 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
652
653         * docs/README:
654           Document that for plgin-docs we extraxt he short-desc from the element
655           details.
656
657         * docs/design/part-states.txt:
658           Tell that devices should be closed in PAUSED -> READY.
659
660         * docs/manual/README:
661           Document how tests in the manual are handled.
662
663         * docs/manuals.mak:
664           Typo in comment.
665
666 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
667
668         * gst/gstbin.c: (bin_query_latency_fold):
669         Only care about latency min and max when the sink is actually a live
670         sink.
671
672 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
673
674         * docs/design/part-block.txt:
675         Fix typo.
676
677         * docs/design/part-element-transform.txt:
678         Add notes about why transform needs to know input/output sizes.
679         Add some issues that need to be solved.
680         Add some more use cases.
681
682         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
683         (gst_test_trans_class_init), (result_sink_chain),
684         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
685         (gst_test_trans_push), (gst_test_trans_pop):
686         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
687         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
688         (set_caps_1), (set_caps_ct1), (transform_ct1),
689         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
690         (gst_basetransform_suite):
691         Add suport for different pad templates and buffer-alloc.
692         Add more checks for caps and buffer-alloc.
693         Add checks for proxy buffer alloc.
694         Add unit test for copy transform.
695
696 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
697
698         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
699
700         * docs/manual/appendix-integration.xml:
701         * docs/manual/appendix-licensing.xml:
702         * docs/manual/basics-elements.xml:
703         * docs/manual/basics-helloworld.xml:
704         * docs/manual/basics-pads.xml:
705         * docs/manual/highlevel-components.xml:
706         * docs/manual/highlevel-xml.xml:
707         * docs/manual/intro-basics.xml:
708         * docs/manual/intro-preface.xml:
709           Typo and formatting fixes (#538594).
710
711 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
712
713         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
714         Fix some memory leaks and uses of object instances that we don't
715         actually own.
716
717 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
718
719         * plugins/elements/gstmultiqueue.c:
720         Add functionality to extra-size-buffers property.
721
722 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
723
724         * plugins/elements/gstmultiqueue.c:
725         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
726         activate the pads if they are added in STATE_NULL.
727
728 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
729
730         * docs/libs/gstreamer-libs-sections.txt:
731         Add new API to doc
732         * libs/gst/check/gstcheck.c:
733         * libs/gst/check/gstcheck.h:
734         API: gst_check_teardown_pad_by_name
735
736 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
737
738         * libs/gst/check/gstcheck.c:
739         * libs/gst/check/gstcheck.h:
740         Also setup request pads and allow setup pads by name (#537812)
741         API: gst_check_setup_src_pad_by_name
742         API: gst_check_setup_sink_pad_by_name
743
744 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
745
746         * tests/check/gst/gstbuffer.c:
747         * tests/check/pipelines/parse-launch.c:
748           Use HAVE_VALGRIND_H some more.
749
750 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
751
752         * scripts/cvs-update.sh:
753           Pass arguments to make.
754           Run autoregen.sh if Makefile is not there.
755
756 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
757
758         * configure.ac:
759         * gst/gstinfo.c:
760           Don't assume that <valgrind/valgrind.h> exists just because
761           the binary is there.
762
763 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
764
765         * tests/check/Makefile.am:
766         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
767         (gst_test_trans_class_init), (gst_test_trans_init),
768         (gst_test_trans_set_data), (result_sink_chain),
769         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
770         (gst_test_trans_pop):
771         * tests/check/libs/transform1.c: (GST_START_TEST),
772         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
773         Add some test basetransform element and the beginnings of various
774         unit tests for it.
775
776 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
777
778         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
779         Increase code readability.
780         Don't try to compare buffer offsets when ther are invalid.
781
782 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
783
784         * docs/design/Makefile.am:
785           Dist some more design docs.
786
787         * docs/random/moving-plugins:
788           Small addition: good plugins mustn't have functional code
789           within assertion macros.
790
791 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
792
793         * docs/design/draft-framestep.txt:
794         Some ideas about a framestep API
795
796         * docs/design/part-element-transform.txt:
797         Start design and use cases for basetransform in order to get it
798         fixed soon.
799
800 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
801
802         * gst/gsttaglist.h:
803           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
804           be in UTF-8 encoding.
805
806 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
807
808         * gst/gstbus.c:
809           Make it known that gst_bus_poll() is pure evil (fixes #538810).
810
811 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
812
813         * plugins/elements/gstcapsfilter.c:
814         * plugins/elements/gstfakesink.c:
815         * plugins/elements/gstfakesrc.c:
816         * plugins/elements/gstfdsink.c:
817         * plugins/elements/gstfdsrc.c:
818         * plugins/elements/gstfilesink.c:
819         * plugins/elements/gstfilesrc.c:
820         * plugins/elements/gstidentity.c:
821         * plugins/elements/gstmultiqueue.c:
822         * plugins/elements/gstqueue.c:
823         * plugins/elements/gsttee.c:
824         * plugins/elements/gsttypefindelement.c:
825           Remove short_description. Add basic docs for gsttypefindelement.
826           Simplify markup for fakesrc/fdsrc.
827
828 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
829
830         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
831         Added Since doc.
832
833 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
834
835         Patch by: joel larsson <tilljoel at gmail dot com>
836
837         * docs/plugins/gstreamer-plugins.args:
838         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
839         (gst_fd_src_init), (gst_fd_src_update_fd),
840         (gst_fd_src_set_property), (gst_fd_src_get_property),
841         (gst_fd_src_create):
842         * plugins/elements/gstfdsrc.h:
843         Add timeout property like udpsrc. Fixes #538628.
844         Add some more docs and example pipelines.
845
846 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
847
848         * docs/libs/gstreamer-libs-sections.txt:
849         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
850         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
851         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
852         (gst_base_sink_do_sync):
853         * libs/gst/base/gstbasesink.h:
854         * win32/common/libgstbase.def:
855         Add method to allow sinks to specify additional delay between the sync
856         times and the actual rendering of the data.
857         API: gst_base_sink_set_render_delay()
858         API: gst_base_sink_get_render_delay()
859
860 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
861
862         * configure.ac:
863         Bump version number back to dev -> 0.10.20.1
864
865 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
866
867         * docs/gst/gstreamer-sections.txt:
868         * gst/gsttaglist.c: (_gst_tag_initialize):
869         * gst/gsttaglist.h:
870         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
871         Fixes bug #538568.
872
873 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
874
875         * libs/gst/controller/gstcontroller.c:
876           Revert one change, that make ret value possible uninitialized.
877
878 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
879
880         * libs/gst/controller/gstcontroller.c:
881           Use freeze/thaw notify to sync notify emission a bit (its also more
882           efficient). Move debug output to LOG (is called a lot in a loop).
883           Always unset g_values if the have been initialized.
884
885 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
886
887         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
888         (gst_base_sink_wait_eos), (gst_base_sink_event):
889         If we have not seen a buffer before EOS, use the segment values to
890         report the current position instead of invalid positions.
891
892 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
893
894         * docs/plugins/tmpl/.cvsignore:
895         * tests/check/gst/.cvsignore:
896           Ignore more.
897
898 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
899
900         * libs/gst/controller/gstinterpolation.c:
901         * libs/gst/controller/gstinterpolationcontrolsource.c:
902         * tests/check/libs/controller.c:
903           Rewrite handling of default values. Fix overflow with unsigned types
904           in linear interpolation. Remove now obsolete _first_value() function.
905           Add more tests. Fixes #538201.
906
907 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
908
909         * libs/gst/base/gstbasetransform.c:
910         (gst_base_transform_class_init), (gst_base_transform_init),
911         (gst_base_transform_transform_caps),
912         (gst_base_transform_prepare_output_buffer):
913         Add debug info.
914         When a buffer is writable, its metadata is also writable so we don't
915         need to subbuffer (which then makes the buffer not-writable anymore).
916
917 === release 0.10.20 ===
918
919 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
920
921         * configure.ac:
922           releasing 0.10.20, "You Crazy Diamond"
923
924 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
925
926         * configure.ac:
927         0.10.19.3 pre-release
928
929 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
930
931         * configure.ac:
932         * gst/gstpreset.c:
933         Rename DATADIR to GST_DATADIR to avoid build problems
934         on win32. Patch By: David Schleef <ds@schleef.org>
935         Fixes: #536857
936
937 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
938
939         * configure.ac:
940         Explicitely link with -ldl if dladdr() is found there. Before it was
941         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
942         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
943
944 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
945
946         * gst/gsterror.c: (_gst_stream_errors_init):
947           Fix typo (spotted by Fabricio Godoy, #536723).
948
949 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
950
951         * configure.ac:
952         0.10.19.2 pre-release
953
954 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
955
956         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
957         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
958         Add some debug.
959         Make sure we don't generate invalid QoS messages.
960
961 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
962
963         * gst/gstevent.c: (gst_event_new_qos):
964         Add some assert and docs for invalid input to the qos function.
965
966 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
967
968         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
969         (gst_base_sink_get_position):
970         The reported position must always be smaller than the last seen
971         timestamps (or timestamp + duration for reverse).
972
973 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
974
975         Patch by: Rob Bradford <rob at robster dot org dot uk>
976
977         * gst/gstregistry.c: (gst_registry_scan_path_level):
978         Don't recurse into .debug directories as some distros install
979         the debugging symbols next to the plugins in .debug directories
980         and dlopen() crashes on them sometimes. Fixes bug #508070.
981
982         Add FIXME for 0.11 to not recurse into directories at all because
983         it's very inconsistent to the behaviour of other PATH environment
984         variables.
985
986 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
987
988         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
989         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
990         Fix position query range checks in reverse playback.
991
992 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
993
994         * gst/gstelement.c:
995         * gst/gstelement.h:
996         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
997         clear of the reference to the resulting pad must be released later
998         or not, resulting in possible leaks. Fixes bug #533865.
999
1000 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
1001
1002         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1003
1004         * gst/gstelementfactory.c:
1005         Small doc fix. Fixes #535285.
1006
1007 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
1008
1009         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
1010
1011         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1012         (gst_base_src_get_range), (gst_base_src_pad_get_range),
1013         (gst_base_src_loop), (gst_base_src_set_flushing),
1014         (gst_base_src_change_state):
1015         Make sending an EOS event to the basesrc non-blocking even if the
1016         implementation does blocking waits in the create function. This is done
1017         by unlocking the create function when EOS is sent.
1018         Fixes #535218.
1019
1020 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
1021
1022         * tools/gst-inspect.c: (print_element_properties_info):
1023         If possible print the element type of GValueArray properties.
1024
1025 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
1026
1027         * gst/gstiterator.c:
1028         Remove an unused field from the private GstListIterator struct.
1029
1030 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
1031
1032         * libs/gst/controller/gstcontroller.c:
1033           Add parameter guards.
1034
1035 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
1036
1037         * tests/check/gst/gstpipeline.c:
1038           Revert test change and add comment why it should not work.
1039
1040 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
1041
1042         * tests/check/gst/gstpipeline.c:
1043           Extending the test a little to verify that we also get the NULL state-
1044           change message.
1045
1046 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
1047
1048         * gst/gstpreset.c: (gst_preset_default_get_meta),
1049           (gst_preset_get_preset_names), (gst_preset_get_property_names),
1050           (gst_preset_load_preset), (gst_preset_save_preset),
1051           (gst_preset_rename_preset), (gst_preset_delete_preset),
1052           (gst_preset_set_meta):
1053           Add Since: markers to docs blurbs.
1054
1055         * win32/common/libgstreamer.def:
1056           Add recently-added API.
1057
1058 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1059
1060         Patch by: Stefan Kost  <ensonic@users.sf.net>
1061
1062         * configure.ac:
1063         Add DATADIR for storing presets.
1064
1065         * docs/gst/gstreamer-docs.sgml:
1066         * docs/gst/gstreamer-sections.txt:
1067         * docs/gst/gstreamer.types.in:
1068         Add GstPreset to docs.
1069
1070         * gst/Makefile.am:
1071         * gst/gst.h:
1072         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
1073         (preset_open_and_parse_header), (preset_parse_version),
1074         (preset_merge), (preset_get_keyfile),
1075         (gst_preset_default_get_preset_names),
1076         (gst_preset_default_get_property_names),
1077         (gst_preset_default_load_preset),
1078         (gst_preset_default_save_presets_file),
1079         (gst_preset_default_save_preset),
1080         (gst_preset_default_rename_preset),
1081         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
1082         (gst_preset_default_get_meta), (gst_preset_default_randomize),
1083         (gst_preset_default_reset), (gst_preset_get_preset_names),
1084         (gst_preset_get_property_names), (gst_preset_load_preset),
1085         (gst_preset_save_preset), (gst_preset_rename_preset),
1086         (gst_preset_delete_preset), (gst_preset_set_meta),
1087         (gst_preset_get_meta), (gst_preset_class_init),
1088         (gst_preset_base_init), (gst_preset_get_type):
1089         * gst/gstpreset.h:
1090         Add GstPreset to core. Fixes #396779
1091
1092         * tests/check/Makefile.am:
1093         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
1094         (gst_preset_test_set_property), (gst_preset_test_class_init),
1095         (gst_preset_test_base_init), (gst_preset_test_get_type),
1096         (gst_preset_test_plugin_init), (GST_START_TEST),
1097         (remove_preset_file), (test_setup), (test_teardown),
1098         (gst_preset_suite):
1099         Add GstPreset unit tests.
1100
1101 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1102
1103         * gst/gstpad.c: (gst_pad_event_default_dispatch):
1104         The default event function on a sinkpad should return TRUE when
1105         there are no internal links but should collect the return values from
1106         the internal links otherwise.
1107
1108 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1109
1110         * plugins/elements/gsttypefindelement.c:
1111         (gst_type_find_element_src_event),
1112         (gst_type_find_element_handle_event):
1113         Use faster and safer _pad_push_event().
1114
1115 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
1116
1117         * docs/gst/gstreamer-sections.txt:
1118         * gst/gstutils.c: (element_find_unlinked_pad),
1119           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
1120         * gst/gstutils.h:
1121           API: add gst_bin_find_unlinked_pad()
1122           API: deprecate gst_bin_find_unconnected_pad() (#401456)
1123
1124 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
1125
1126         * gst/gstclock.c:
1127         * gst/gstclock.h:
1128         * gst/gsttask.c:
1129         * gst/gsttask.h:
1130         Fixed a bunch of typos.
1131
1132 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1133
1134         * gst/gstpad.h:
1135         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
1136           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
1137           (gst_parse_bin_from_description_full):
1138         * gst/gstutils.h:
1139           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
1140
1141 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1142
1143         * docs/pwg/advanced-tagging.xml:
1144           Small docs update, can't be bothered to rewrite the nonsensical
1145           examples right now.
1146
1147 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1148
1149         * gst/gstevent.h:
1150           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
1151
1152 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1153
1154         * gst/parse/grammar.y:
1155           Remove unneeded casts.
1156
1157 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1158
1159         * gst/parse/grammar.y:
1160         * tests/check/pipelines/parse-launch.c:
1161           Get all missing elements from a parse launch string if possible
1162           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
1163
1164 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1165
1166         * tests/check/Makefile.am:
1167         * tests/check/pipelines/parse-launch.c:
1168           Add some unit tests for the new gst_parse_launch*_full() API.
1169           (Exposes a previously-existing memory leak in the error code
1170           path, so adding to VALGRIND_TO_FIX for now).
1171
1172 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1173
1174         * docs/gst/gstreamer-sections.txt:
1175         * gst/gst.c: (init_post):
1176         * gst/gst_private.h: (_GstParseContext):
1177         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
1178           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
1179           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
1180           (gst_parse_launch_full):
1181         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
1182           (GstParseFlags), (GstParseContext):
1183         * gst/gstutils.c: (gst_parse_bin_from_description),
1184           (gst_parse_bin_from_description_full):
1185         * gst/gstutils.h:
1186         * gst/parse/grammar.y:
1187         * gst/parse/types.h:
1188         * win32/common/libgstreamer.def:
1189           Add new gst_parse_*_full API (#528178):
1190           API: gst_parse_launch_full()
1191           API: gst_parse_launchv_full()
1192           API: gst_parse_bin_from_description_full()
1193           API: gst_parse_context_new()
1194           API: gst_parse_context_free()
1195           API: gst_parse_context_get_missing_elements()
1196
1197 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
1198
1199         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
1200
1201         * docs/faq/gst-uninstalled:
1202           Also support ffmpeg in gst-uninstalled.
1203
1204 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1205
1206         * configure.ac:
1207         After discussion on IRC use the binary registry as default
1208         but allow to disable it with --disable-binary-registry.
1209
1210         * win32/common/libgstreamer.def:
1211         Add the two new symbols for the binary registry.
1212
1213 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
1214
1215         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
1216         * gst/gstutils.c: (gst_parse_bin_from_description):
1217         * gst/parse/grammar.y: (graph):
1218           More guards against bad input; typo fix; some minor clean-ups.
1219
1220 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1221
1222         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1223
1224         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1225         If nothing else can be used, use the last buffer's start time as
1226         the segment's last stop. Fixes bug #534258.
1227
1228 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
1229
1230         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1231           Move size sanity check to the right place: downstream may return
1232           a buffer with a smaller size if the buffer caps are different than
1233           the requested ones, as may happen when doing reverse negotiation.
1234
1235 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1236
1237         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
1238         (gst_file_sink_render):
1239         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
1240         (gst_file_src_start):
1241         Small cleanups. Add note adbout g_fopen() on windows and why we don't
1242         use it yet.
1243
1244 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1245
1246         * gst/gstpad.c: (gst_pad_load_and_link):
1247         * gst/gstutils.c: (gst_element_link_pads),
1248         (gst_element_unlink_pads):
1249         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1250         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1251         (gst_check_teardown_sink_pad),
1252         (gst_check_element_push_buffer_list):
1253         * tests/check/elements/fakesink.c: (GST_START_TEST):
1254         * tests/check/elements/filesink.c:
1255         * tests/check/elements/filesrc.c: (GST_START_TEST):
1256         * tests/check/elements/multiqueue.c: (setup_multiqueue),
1257         (mq_sinkpad_to_srcpad):
1258         * tests/check/elements/tee.c: (GST_START_TEST):
1259         * tests/check/generic/sinks.c: (GST_START_TEST):
1260         * tests/check/gst/gstbin.c: (GST_START_TEST):
1261         * tests/check/gst/gstevent.c: (GST_START_TEST):
1262         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1263         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
1264         * tests/check/gst/gstquery.c: (GST_START_TEST):
1265         * tests/check/gst/gstutils.c: (GST_START_TEST):
1266         * tests/check/libs/basesrc.c: (GST_START_TEST):
1267         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
1268         (gst_parse_test_element_change_state):
1269         Don't use gst_element_get_pad().
1270
1271 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
1272
1273         * docs/Makefile.am:
1274         Fix installing plugin documentation when gtk-doc is disabled.
1275
1276 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1277
1278         * docs/manual/advanced-autoplugging.xml:
1279         * docs/manual/basics-helloworld.xml:
1280         * docs/manual/basics-pads.xml:
1281         * docs/manual/highlevel-components.xml:
1282         Avoid using a bad function in the example code.
1283
1284 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1285
1286         * gst/gstclock.c: (gst_clock_set_calibration):
1287         Fix debug of the new clock rate.
1288
1289 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1290
1291         * win32/common/libgstbase.def:
1292         Add gst_base_sink_wait_clock() to the exported symbols.
1293
1294 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
1295
1296         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
1297
1298         * libs/gst/base/gstbasetransform.c:
1299         (gst_base_transform_sink_event):
1300         Unref events that the GstBaseTransform::event vfunc didn't want to
1301         have forwarded by the base class. Closes a leak in identity.
1302         Fixes bug #446763.
1303
1304 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1305
1306         * docs/libs/gstreamer-libs-sections.txt:
1307         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1308         * libs/gst/base/gstbasesink.h:
1309         Expose a method that was previously used internally to synchronize
1310         against the clock because it can be useful for subclasses too.
1311         API: GstBaseSink::gst_base_sink_wait_clock()
1312
1313 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1314
1315         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1316           Add sanity check to make sure we don't get smaller buffers
1317           than requested (and fallback to normal buffer alloc if we do).
1318
1319 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1320
1321         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1322         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1323         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1324         Refactor adjusting the running_time with latency and offset into a
1325         separate method.
1326         When doing clipping, we still want to use the subclass get_times method,
1327         just in case the DURATION or TIMESTAMP are not set.
1328
1329 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1330
1331         * docs/gst/gstreamer-sections.txt:
1332         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1333         * gst/gsttypefind.h:
1334         * win32/common/libgstreamer.def:
1335           API: add gst_type_find_suggest_simple(), #533740.
1336
1337 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1338
1339         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1340           Use right error code when typefinding fails, so we can use
1341           the default (translated) error messages.
1342
1343 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1344
1345         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1346         (gst_base_src_start):
1347         When the subclass did not set caps on outgoing buffers, configure the
1348         caps we negotiated on the source pad.
1349         When the typefind helper does not find caps, error out properly instead
1350         of doing things with NULL caps.
1351
1352 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1353
1354         * gst/gsttypefind.h:
1355           Tabs to spaces, oh yes!
1356
1357 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1358
1359         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1360           Add David's and Benjamin's tests for array intersection to the
1361           unit test suite (#147931).
1362
1363 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1364
1365         * gst/gstevent.c:
1366           Document that gst_event_new_tag() and gst_event_new_navigation()
1367           take ownership of the taglist/structure passed to them. (#533635).
1368
1369 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
1370
1371         * docs/Makefile.am:
1372         Don't descend into the plugins dir if plugin docs building
1373         is disabled.
1374
1375         * docs/README:
1376         Add a note about the new type:GTypeName syntax for the plugin
1377         documentation .types file.
1378
1379 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1380
1381         * gst/gstmessage.c: (gst_message_new_error),
1382         (gst_message_new_warning), (gst_message_new_info):
1383         * gst/gstmessage.h:
1384         Mark the debug string parameters as const. Fixes bug #533490.
1385
1386 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
1387
1388         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1389         Sort buffer cache list by end offsets. This makes sure that we don't
1390         stop to search for a cached buffer that contains the requested data
1391         too early.
1392         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1393         more efficient. Fixes bug #459862.
1394
1395 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
1396
1397         * gst/gstinfo.c:
1398           Explain why we copy the list.
1399
1400         * gst/gstpipeline.c:
1401           Improve docs.
1402
1403         * gst/gstutils.c:
1404           Add one debug-log statement to help tracing probelms with linking pads.
1405
1406 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
1407
1408         * tests/check/gst/gstinfo.c:
1409         Add a test for removing the default log handler. Seems to fail under
1410         windows.
1411
1412 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1413
1414         * gst/gstpad.c: (gst_pad_peer_accept_caps):
1415         Release pad lock before calling out to avoid a possible deadlock.
1416
1417 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1418
1419         * gst/parse/grammar.y:
1420         Remove unneeded value unset.
1421
1422         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1423         Add unit test for de/serialization of caps.
1424
1425 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1426
1427         * plugins/elements/gstfakesink.c:
1428         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1429         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1430         (gst_fake_src_class_init):
1431         Use custom marshalers that take GstMiniObject as first parameter.
1432         Using OBJECT as parameter while a GstMiniObject is given will lead
1433         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1434
1435 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1436
1437         * plugins/elements/gsttypefindelement.c:
1438         (gst_type_find_element_handle_event),
1439         (gst_type_find_element_send_cached_events),
1440         (gst_type_find_element_change_state):
1441         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1442         immediately.
1443
1444 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1445
1446         * plugins/elements/gsttypefindelement.c:
1447         (gst_type_find_handle_src_query), (stop_typefinding),
1448         (gst_type_find_element_handle_event),
1449         (gst_type_find_element_send_cached_events),
1450         (gst_type_find_element_change_state):
1451         Forward FLUSH_START events immediately and clean up instead of
1452         caching them.
1453
1454 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1455
1456         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1457
1458         * libs/gst/base/gstbasetransform.c:
1459         (gst_base_transform_buffer_alloc):
1460         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1461         fall back to default negotiation in the chain function if the caps
1462         are different from what was requested. Fixes bug #526768.
1463
1464 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1465
1466         * gst/gstsegment.c:
1467         * tests/check/gst/gstsegment.c:
1468           No, let's not use g_slice_{dup|copy} here, since they only exist
1469           since GLib 2.14 and we still depend only on >= 2.12. Also add
1470           unit test for gst_segment_copy().
1471
1472 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1473
1474         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1475           Try to fix 'dereferencing type-punned pointer will break strict
1476           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1477           changed the default GType typedef from gulong to gsize at some point,
1478           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1479           g_once_* functions all take a gsize * though, so work around the type
1480           mismatch for C++ by doing everything in gsize and casting to GType
1481           later.
1482
1483 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
1484
1485         * plugins/elements/gstmultiqueue.c:
1486         Add documentation for the signals to push our core plugin docs
1487         coverage back up to 100%.
1488
1489 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1490
1491         * gst/gstinfo.h (GST_FUNCTION):
1492           Reverted GST_FUNCTION to the old version as we don't want the
1493           full signature in C++ code. Also added support for MSVC.
1494
1495 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1496
1497         * gst/gstutils.h:
1498         Intern the type name string, similar to what G_DEFINE_TYPE does.
1499
1500 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1501
1502         * gst/gstutils.h:
1503         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1504
1505 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1506
1507         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1508
1509         * libs/gst/base/gstbasetransform.c:
1510         (gst_base_transform_buffer_alloc):
1511         Don't passthrough buffer allocation too easily if the caps change.
1512         This breaks when working in passthrough mode and upstream changes
1513         it's caps. Fixes bug #526768.
1514
1515 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1516
1517         * gst/gstinfo.c (gst_debug_log_valist):
1518           Improved the __FILE__ part of debug output for MSVC.
1519
1520 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1521
1522         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1523           Declaration after statement fix for compilers like MSVC.
1524
1525 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1526
1527         * win32/common/config.h.in:
1528           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1529           use the real thing than having "???" unconditionally.
1530
1531 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1532
1533         * gst/gstinfo.h (GST_FUNCTION):
1534           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1535
1536 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1537
1538         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1539         Small code cleanup.
1540
1541         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1542         (gst_base_sink_set_flushing):
1543         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1544         Fix some comments.
1545
1546 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1547
1548         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1549         (gst_fake_src_init), (gst_fake_src_set_property),
1550         (gst_fake_src_get_property), (gst_fake_src_start):
1551         * plugins/elements/gstfakesrc.h:
1552         Added format property to control the format of the newsegment events.
1553         API: GstFakeSrc:format
1554
1555 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1556
1557         * win32/common/libgstreamer.def:
1558         Add gst_pad_has_name() to the exported symbols.
1559
1560 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1561
1562         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1563         * libs/gst/base/gstbasetransform.c:
1564         (gst_base_transform_prepare_output_buffer):
1565         Don't allow negative sizes when allocating new buffers.
1566         Fixes bug #461253.
1567
1568 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1569
1570         Patch by: Sjoerd Simons <sjoerd at luon net>
1571
1572         * gst/gstbus.c: (gst_bus_source_dispatch):
1573           Don't print a warning if the queue is empty when we try to pop
1574           here. That could happen if another thread or callback set the
1575           bus to flushing between the source's check/prepare and the
1576           dispatch being called (#531538).
1577
1578 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1579
1580         * plugins/elements/gstmultiqueue.c:
1581           Small docs fix.
1582         
1583 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1584
1585         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1586         Add unit test for deserializing uint64s and check some really large
1587         numbers in the int64 test.
1588
1589 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1590
1591         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1592         (print_interfaces), (print_element_properties_info),
1593         (print_signal_info):
1594         Use "%s" as format string instead of printing strings directly.
1595
1596 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1597
1598         * gst/gstclock.c: (gst_clock_set_calibration):
1599         Make some checks actually useful.
1600
1601         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1602         Remove some unused code. Unsigned integers tend to be >= 0.
1603
1604 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1605
1606         * gst/gstminiobject.c: (gst_value_get_mini_object):
1607           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1608           function was not in the unscheduled 0.10.19 release.
1609
1610 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1611
1612         * gst/gstregistry.c: (gst_registry_scan_path_level):
1613           Only print one log message per non-plugin file.
1614
1615 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1616
1617         * gst/gstinfo.c: (gst_debug_log_default):
1618           Fix alignment of debug log columns on 64-bit.
1619
1620 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1621
1622         * docs/libs/Makefile.am:
1623         * docs/libs/gstreamer-libs-sections.txt:
1624           Ignore private controller headers for docs.
1625
1626 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1627
1628         * libs/gst/controller/gstcontrollerprivate.h:
1629         * libs/gst/controller/gsthelper.c:
1630         * libs/gst/controller/gstinterpolation.c:
1631         * libs/gst/controller/gstinterpolationcontrolsource.c:
1632         (gst_interpolation_control_source_set_interpolation_mode):
1633         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1634         * libs/gst/controller/lib.c:
1635         Move some private declarations into private headers.
1636
1637 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1638
1639         * gst/gstdebugutils.c: (debug_dump_element_pad):
1640         Remove some code that is unused after Stefan's refactoring and uses
1641         uninitialized variables now, resulting in a compiler warning.
1642
1643 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1644
1645         * gst/gstregistry.c: (gst_registry_scan_path_level):
1646           Run g_str_has_suffix() only on the file name, not the
1647           entire file path.
1648
1649 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1650
1651         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1652           Since we're not called only from the chain function any longer,
1653           we can't assume that there's always data in the queue, so move
1654           the is_full check to the beginning of the loop (otherwise we'd
1655           hit the assert when changing the limit properties while the
1656           queue is empty or not running yet).
1657           Also, only set a discont if items were actually removed from
1658           the queue.
1659
1660         * tests/check/elements/queue.c: (test_leaky_downstream):
1661           Test case for the above.
1662
1663 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1664
1665         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1666
1667         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1668         (gst_queue_chain), (queue_capacity_change),
1669         (gst_queue_set_property):
1670         When changing thr max capacity of a leaky queue, immediatly drop buffers
1671         instead of waiting for a push on the sinkpad. Fixes #530637.
1672
1673 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1674
1675         * gst/gstdebugutils.c:
1676           Refactor code and fix handling of ghostpads and their proxypads.
1677
1678 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1679
1680         * docs/gst/gstreamer-sections.txt:
1681         * gst/gstevent.c: (gst_event_has_name):
1682         * gst/gstevent.h:
1683         * tests/check/gst/gstevent.c: (GST_START_TEST):
1684         Add method to conveniently check the name of a custom event with
1685         gst_event_has_name().
1686         Reformat the event docs so that related methods are put together instead
1687         of the default alphabetical sort.
1688         Update unit test with new method.
1689         API: GstEvent::gst_event_has_name()
1690
1691 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1692
1693         * libs/gst/check/Makefile.am:
1694           Don't add an explicit link to libgstreamer-0.10.la; it's already
1695           included in GST_OBJ_LIBS.
1696
1697 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1698
1699         * gst/gst.c:
1700         Register GstClock type from a type-safe context. Fixes bug #530317.
1701
1702 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1703
1704         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1705         * tools/gst-run.c:
1706           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1707
1708 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1709
1710         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1711         (gst_bin_dispose):
1712         Use the GLib stuff to create a private structure.
1713         Add some locking around some dispose methods to make them a little
1714         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1715
1716 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1717
1718         * libs/gst/base/gstbasesink.h:
1719         * libs/gst/base/gstbasesrc.h:
1720         * libs/gst/base/gstbasetransform.h:
1721         * libs/gst/base/gstcollectpads.h:
1722           Fix doc typos and unify caps a bit.
1723
1724 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1725
1726         * tools/gst-launch.1.in:
1727           Forgot to also add the envvar docs here.
1728
1729 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1730
1731         * gst/gst.c: (init_post), (gst_deinit):
1732         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1733           (test_concurrent_create), (gst_pipeline_suite):
1734           Ref some more classes in gst_init() to work around thread-safety
1735           issues in pre-2.16 GLibs, and add basic unit test.
1736
1737 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1738
1739         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1740         (gst_base_sink_send_event):
1741         Rearrange the latency query code. We always want to do the upstream
1742         query, even if we are not live so that the upstream elements can get the
1743         latency results too. If we fail doing the query and we are live, we
1744         return TRUE afterwards.
1745
1746 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1747
1748         patch by: Jason Zhao <e3423c@motorola.com>
1749
1750         * docs/gst/running.xml:
1751         * gst/gst.c:
1752           Enable/disable scan_and_update_registry() based on commandline switch
1753           or environment variable. Fixes #520468.
1754           
1755         * ChangeLog:
1756           Fix typo in my previous commit.
1757
1758 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1759
1760         * gst/gstregistrybinary.c:
1761           Add a warning if we hit unhandled factories when saving.
1762           More debug logging detail, but move to LOG category.
1763
1764 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1765
1766         * gst/gstregistry.c:
1767           Tell the *truth* when improving the documentation.
1768
1769 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1770
1771         * gst/gstelementfactory.c: (gst_element_factory_make):
1772         Unref the factory after it was used the last time, not before.
1773
1774         * gst/gstindexfactory.c: (gst_index_factory_make):
1775         Improve debugging a bit and don't leak a ref to the index factory with
1776         each call.
1777
1778 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1779
1780         * gst/gstregistry.c:
1781           Improve the documentation.
1782
1783 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1784
1785         * gst/gstsegment.c:
1786           The glib macro seems to be borked. Use g_slice_copy directly and cast
1787           in the hope that this fixes the warning on 64bit.
1788
1789 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1790
1791         * gst/gstsegment.c:
1792           Document the new function. Use g_slice_dup() (no need for
1793           gst_segment_init()).    
1794
1795 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1796
1797         * docs/gst/gstreamer-sections.txt:
1798           Move GParamSepc macros to standart section.
1799   
1800         * gst/gstbin.c:
1801           Dn't document _get_type - its in private section in docs anyway and
1802           this doc-blob was incomplete.
1803
1804         * gst/gstclock.h:
1805           Fix wrong symbol names in docs.
1806
1807         * gst/gstmacros.h:
1808           Add once doc sentence.
1809
1810         * tests/check/gst/.cvsignore:
1811           Ignore more.
1812
1813 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1814
1815         * docs/gst/Makefile.am:
1816           And remove those libs here.
1817
1818 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1819
1820         * docs/libs/Makefile.am:
1821           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1822
1823 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1824
1825         Patch by: Olivier Crete <tester at tester dot ca>
1826
1827         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1828         Add the min-threshold to the min latency if possible. Fixes #529148.
1829
1830 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1831
1832         * docs/gst/gstreamer.types.in:
1833           Stupid editor, I removed that line as it should go in yet.
1834
1835 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1836
1837         * docs/gst/gstreamer.types.in:
1838         * docs/libs/gstreamer-libs.types:
1839           Remove library types fro core docs and have them in libs docs.
1840           Reformat and cleanup. Add comment for miniobject types.
1841
1842 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1843
1844         * gst/gsturi.c: (gst_uri_get_protocol):
1845           Fix leak: g_strdown operates on the string in place, while
1846           g_ascii_strdown() returns a newly-allocated string.
1847
1848 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1849
1850         * tools/gst-inspect.c: (print_uri_handler_info),
1851         (print_element_info):
1852         Print the URI protocols and the URI type supported by the element.
1853
1854 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1855
1856         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1857         Use g_value_take_string() instead of the deprecated
1858         g_value_set_string_take_ownership().
1859
1860 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1861
1862         * gst/gstregistrybinary.c: (_gst_crc32):
1863         Return the old CRC instead of 0 if we give a NULL buffer
1864         or a buffer with a length of 0.
1865
1866 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1867
1868         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1869         (gst_uri_get_protocol), (gst_uri_has_protocol),
1870         (gst_uri_construct), (gst_uri_handler_set_uri):
1871         A valid URI scheme can also include '+', '-' and '.' additional
1872         to alphanumeric characters as per RFC 3986 Section 3.1.
1873
1874         Handle URI schemes case insensitive in all places and convert
1875         to lower-case when constructing an URI or setting an URI with
1876         the GstURIHandler interface. Fixes bug #528868.
1877         All elements can still assume (as before) that they will
1878         get passed URIs with a lower-case URI scheme by the GstURIHandler
1879         interface.
1880
1881 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1882
1883         * gst/gstcaps.c: (gst_static_caps_get):
1884         * gst/gstclock.c: (gst_clock_entry_new):
1885           Don't use g_atomic_set_int where it's not needed.
1886
1887 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1888
1889         * gst/gstvalue.c: (gst_value_deserialize_caps):
1890         * gst/parse/grammar.y:
1891         Fix 2 caps leaks.
1892
1893 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1894
1895         * gst/gstutils.c: (gst_atomic_int_set):
1896         Use g_atomic_int_set() here too instead of assignment +
1897         g_atomic_int_get().
1898
1899 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1900         
1901         * gst/gstutils.c:
1902         * gst/gstutils.h:
1903         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1904         now that we depend on new enough GLib.
1905
1906         * gst/gstcaps.c: (gst_static_caps_get):
1907         * gst/gstclock.c: (gst_clock_entry_new):
1908         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1909         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1910         (gst_debug_category_set_threshold):
1911         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1912         (gst_base_sink_set_qos_enabled):
1913         * libs/gst/net/gstnettimeprovider.c:
1914         (gst_net_time_provider_set_property):
1915         Use g_atomic_int_set() instead of gst_atomic_int_set().
1916
1917 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1918
1919         * gst/gstquery.c:
1920           Also use G_GINT64_CONSTANT for the queries.
1921
1922 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1923
1924         * gst/gstmessage.c:
1925           Use G_GINT64_CONSTANT in varargs function.
1926
1927 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1928
1929         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1930         Initialize the registry magic with zeroes.
1931
1932 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1933
1934         * gst/gstregistrybinary.c: (_gst_crc32),
1935         (gst_registry_binary_write),
1936         (gst_registry_binary_initialize_magic),
1937         (gst_registry_binary_write_cache),
1938         (gst_registry_binary_check_magic),
1939         (gst_registry_binary_read_cache):
1940         * gst/gstregistrybinary.h:
1941         Add crc32 checksum to the binary registry file and check this before
1942         accepting a registry file.
1943
1944         Also free the data list when writing to the registry file fails.
1945
1946 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1947
1948         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1949         (gst_registry_binary_load_feature),
1950         (gst_registry_binary_load_plugin):
1951         If an element supports the Uri interface, returns a valid pointer
1952         to the supported URI protocols but this pointer contains nothing
1953         don't try to save that as it will corrupt the registry.
1954
1955         Don't unref the plugin if we added it to the registry already but
1956         fail to load a feature as gst_registry_add_plugin() takes ownership
1957         of the plugin.
1958
1959         Improve debugging a bit.
1960
1961 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1962
1963         * gst/gsttaglist.h:
1964           Clarify some tag item docs after discussion on irc.
1965
1966 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1967
1968         * docs/gst/gstreamer-docs.sgml:
1969           Remove commented out plugins (they have their own docs). Update
1970           comments.
1971
1972 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1973
1974         * docs/gst/gstreamer-docs.sgml:
1975         * docs/gst/gstreamer-sections.txt:
1976         * gst/gstparamspecs.c:
1977         * gst/gstparamspecs.h:
1978           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1979           docs to own section.
1980
1981         * gst/gstvalue.c:
1982           This now only documents GValue.
1983           
1984         * docs/libs/gstreamer-libs-sections.txt:
1985         * libs/gst/controller/gstcontroller.h:
1986           Remove GST_PARAM_CONTROLLABLE.
1987
1988 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1989
1990         * docs/README:
1991           Correct file path. Tell about how to use -overrides.txt.
1992         * docs/design/draft-tagreading.txt:
1993           Small design update.
1994
1995 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1996
1997         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1998         (gst_registry_binary_load_plugin):
1999         Fix a typo in a debug message and revert change from yesterday as
2000         gst_registry_add_plugin() will only fail if something is really wrong
2001         already and we can't survive it anyway.
2002
2003 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
2004
2005         * gst/gst.c: (init_post), (gst_deinit):
2006           Pre-register GstGError GType from a thread-safe context
2007           (fixes #527967); unref enum type classes in deinit.
2008
2009 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
2010
2011         Patch by: Rene Stadler <mail at renestadler de>
2012
2013         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2014           Merging an empty list with another list in KEEP_ALL mode should
2015           yield an empty list as result and not the second list (#512578).
2016
2017         * tests/check/gst/gsttagsetter.c:
2018           Add unit test for tag merge modes and the aforementioned bug.
2019
2020 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
2021
2022         Patch by: Rene Stadler <mail at renestadler de>
2023
2024         * gst/gsttaglist.h:
2025           Fix description to match the order in the table (#512577).
2026   
2027 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
2028
2029         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
2030
2031         * libs/gst/net/gstnettimepacket.h:
2032         * docs/libs/gstreamer-libs-sections.txt:
2033           Define socklen_t as int if it's not defined yet. Fixes compilation
2034           with MSVC6 and other versions where socklen_t is not defined in
2035           the windows headers (#518022).
2036
2037 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
2038
2039         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2040         If gst_registry_add_plugin() fails our reference to the plugin is
2041         invalid so don't try to use it anymore and instead error out.
2042
2043 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
2044
2045         * tools/gst-xmlinspect.c: (print_element_info), (main):
2046           De-cruft a bit. If no argument is specified, print all elements in
2047           XML syntax rather than a freestyle list of elements like gst-inspect.
2048           Also, don't print XML header chunk unless we actually have something
2049           to print (ie. don't print it before an error message); print error
2050           message to stderr not stdout. Remove support for printing plugin
2051           info (it would just output something freestyle along the lines of
2052           gst-inspect so far), which fixes #514507. Also add license header.
2053
2054 2008-04-11  Julien Moutte  <julien@fluendo.com>
2055
2056         Mac OS X love...
2057         * configure.ac: Merge platform specific defines, introduce a new
2058         define on OS X to remember that forking when updating registry is
2059         unsafe.
2060         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
2061         module.
2062         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
2063         is defined.
2064         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
2065         condition that leads to absolutely no plugins being registered on
2066         OS X.
2067
2068 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
2069
2070         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2071
2072         * gst/gstutils.c: (gst_pad_add_data_probe),
2073           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
2074           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
2075           (gst_pad_add_buffer_probe_full):
2076         * gst/gstutils.h:
2077         * docs/gst/gstreamer-sections.txt:
2078         * win32/common/libgstreamer.def:
2079           Add gst_pad_add_*_probe_full() functions with a notify callback that
2080           lets the caller free the data it passes to the probe functions. This
2081           is useful for bindings such as gst-python or gstreamermm (#526814).
2082           API: gst_pad_add_data_probe_full
2083           API: gst_pad_add_buffer_probe_full
2084           API: gst_pad_add_event_probe_full
2085
2086         * tests/check/gst/gstutils.c:
2087           Add minimal unit test to make sure freeing the data actually works
2088           as expected.
2089
2090         * tests/benchmarks/.cvsignore:
2091           Random cvsignore addendum.
2092
2093 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
2094
2095         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
2096           (GST_DEBUG_BIN_TO_DOT_FILE):
2097           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
2098           to it in the docs (since these are macros the types of the arguments
2099           won't be shown in the docs otherwise).
2100
2101 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
2102
2103         * gst/gstpad.c:
2104           Do not abort on out of memory for pad_alloc_buffer.
2105
2106 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
2107
2108         * libs/gst/check/gstcheck.c:
2109           Remove blank line between symbol name ad parameters to fix gtkdoc
2110           warning.
2111
2112 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2113
2114         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
2115
2116         * docs/gst/gstreamer-sections.txt:
2117         * gst/gstsegment.c:
2118         * gst/gstsegment.h:
2119         * win32/common/libgstreamer.def:
2120           Expose gst_segment_copy() to make things easier for the c++ bindings.
2121           Fixes #518932.
2122           API: gst_segment_copy()
2123
2124 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2125
2126         * gst/gst.c: (gst_init_get_option_group), (init_post):
2127           Fix const position; ref GType classes for enum types to work
2128           around thread-safety issues in GLib versions < 2.16.
2129
2130 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2131
2132         * docs/design/part-buffering.txt:
2133         Fix some typos and set the estimated total for push mode to -1.
2134
2135         * gst/gstquery.c: (gst_query_new_buffering):
2136         Set buffering-left to 0 as we're not buffering by default.
2137
2138         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2139         Implement BUFFERING query.
2140
2141 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2142
2143         Based on patch by: Milosz Derezynski <internalerror gmail com>
2144
2145         * gst/gsterror.c: (_gst_stream_errors_init):
2146         * gst/gsterror.h:
2147           Add two new error codes for encrypted content. Fixes #524659.
2148           API: GST_STREAM_ERROR_DECRYPT
2149           API: GST_STREAM_ERROR_DECRYPT_NOKEY
2150
2151 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2152
2153         * gst/gstquery.h:
2154           Fix typo.
2155
2156         * win32/common/libgstreamer.def:
2157           Add new functions.
2158
2159 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
2160
2161         * plugins/elements/gstidentity.c: (gst_identity_event),
2162         (gst_identity_start):
2163         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
2164         event after processing some data. Fixes bug #526042.
2165
2166 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2167
2168         * docs/gst/gstreamer-sections.txt:
2169         * gst/gstquery.c: (gst_query_parse_latency),
2170         (gst_query_set_buffering_percent),
2171         (gst_query_parse_buffering_percent),
2172         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
2173         * gst/gstquery.h:
2174         Rename _avail -> _range
2175         API: gst_query_set_buffering_range
2176         API: gst_query_parse_buffering_range
2177
2178 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2179
2180         * docs/design/part-buffering.txt:
2181         * gst/gstquark.c:
2182         * gst/gstquark.h:
2183         * gst/gstquery.c: (gst_query_parse_latency),
2184         (gst_query_new_buffering), (gst_query_set_buffering_percent),
2185         (gst_query_parse_buffering_percent):
2186         * gst/gstquery.h:
2187         Add busy field and quark for the buffering query so that the app can
2188         only use the query to see if buffering is in progress.
2189
2190 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2191
2192         * docs/gst/gstreamer-sections.txt:
2193         * gst/gstmessage.c: (gst_message_set_buffering_stats),
2194         (gst_message_parse_buffering_stats):
2195         * gst/gstmessage.h:
2196         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2197         (gst_query_parse_latency), (gst_query_new_buffering),
2198         (gst_query_set_buffering_percent),
2199         (gst_query_parse_buffering_percent),
2200         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
2201         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
2202         * gst/gstquery.h:
2203         Reorder the message docs and headers for clarity.
2204         Add aditional buffering stats API for messages.
2205         Add buffering query.
2206         Convert some leftover queries to use GstQuark.
2207         API: gst_message_set_buffering_stats
2208         API: gst_message_parse_buffering_stats
2209         API: GST_QUERY_BUFFERING
2210         API: GstBufferingMode
2211         API: gst_query_new_buffering
2212         API: gst_query_set_buffering_percent
2213         API: gst_query_parse_buffering_percent
2214         API: gst_query_set_buffering_stats
2215         API: gst_query_parse_buffering_stats
2216
2217 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2218
2219         * gst/gstmessage.c: (gst_message_new_error),
2220         (gst_message_new_warning), (gst_message_new_info),
2221         (gst_message_new_buffering), (gst_message_new_state_changed),
2222         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
2223         (gst_message_new_new_clock), (gst_message_new_segment_start),
2224         (gst_message_new_segment_done), (gst_message_new_duration),
2225         (gst_message_new_async_start), (gst_message_parse_buffering),
2226         (gst_message_parse_state_changed),
2227         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2228         (gst_message_parse_new_clock), (gst_message_parse_error),
2229         (gst_message_parse_warning), (gst_message_parse_info),
2230         (gst_message_parse_segment_start),
2231         (gst_message_parse_segment_done), (gst_message_parse_duration),
2232         (gst_message_parse_async_start):
2233         Use GstQuark for messages.
2234
2235 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2236
2237         * gst/gstquark.c: (_priv_gst_quarks_initialize):
2238         * gst/gstquark.h:
2239         Add some more quarks needed for messages and queries.
2240
2241 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2242
2243         * docs/design/part-buffering.txt:
2244         Remove the "none" buffering mode, STREAM is a good default.
2245         Move estimated-time to the avail query, that's when it will be needed.
2246         Other small typo fixes and updates.
2247
2248 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
2249
2250         * gst/gstindex.c: (gst_index_resolver_get_type):
2251           Don't put descriptions into the nick field of a GEnumValue: it's not
2252           meant for that and some language bindings rely on the nick field to
2253           construct constants and the like. Fixes #526705.
2254
2255 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
2256
2257         * NEWS:
2258         * RELEASE:
2259         * gstreamer.doap:
2260           Merge other changes from 0.10.19 release branch.
2261
2262 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
2263
2264         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2265
2266         * configure.ac:
2267         Actually build dlls when cross-compiling with mingw32.
2268         Fixes bug #526247.
2269
2270 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
2271
2272         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2273
2274         * gst/gstpoll.c:
2275         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
2276
2277 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2278
2279         * docs/design/draft-latency.txt:
2280         Fix typo.
2281
2282         * docs/design/part-buffering.txt:
2283         Update design docs with more buffering ideas.
2284
2285 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
2286
2287         * configure.ac:
2288           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2289
2290 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2291
2292         * configure.ac:
2293           Revert part that belongs to the preset patch.
2294
2295 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2296
2297         * configure.ac:
2298           Add qoutes to the define. Fixes # 525961.
2299
2300 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
2301
2302         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2303         (gst_file_index_load), (gst_file_index_add_id),
2304         (gst_file_index_get_assoc_entry):
2305         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2306         (gst_mem_index_free_id), (gst_mem_index_add_id),
2307         (gst_mem_index_index_format):
2308         Use GSlice when possible.
2309
2310 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
2311
2312         * libs/gst/controller/gstinterpolationcontrolsource.c:
2313         (gst_control_point_free),
2314         (gst_interpolation_control_source_set_internal):
2315         Use GSlice for allocating the control points.
2316
2317 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
2318
2319         * plugins/elements/gsttypefindelement.c:
2320         (gst_type_find_element_class_init),
2321         (gst_type_find_element_set_property),
2322         (gst_type_find_element_get_property),
2323         (gst_type_find_element_activate):
2324         * plugins/elements/gsttypefindelement.h:
2325         Cleanup properties.
2326         Fix pad leak when peer query fails.
2327         We can still typefind when the peer returns -1.
2328         Add property to force caps and bypass typefinding. This will be used in
2329         uridecodebin.
2330         API::force-caps
2331
2332 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2333
2334         * configure.ac:
2335         Require GLib 2.12.
2336
2337         * gst/glib-compat-private.h:
2338         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2339         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2340         Unconditionally use GSlice for allocation.
2341
2342         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2343         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2344         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2345         (gst_structure_free):
2346         Use GSlice for allocation.
2347
2348 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2349
2350         * gst/parse/Makefile.am:
2351         * gst/parse/grammar.tab.pre.c:
2352         * gst/parse/grammar.tab.pre.h:
2353         * gst/parse/lex._gst_parse_yy.pre.c:
2354         Require a new enough flex and bison and remove the parser hacks to use
2355         a pre-regenerated version.
2356
2357 2008-04-01  Julien Moutte  <julien@fluendo.com>
2358
2359         patch by: Jason Zhao <E3423C@motorola.com>
2360
2361         * configure.ac: Add a configure switch to disable option parsing
2362         in gst_init.
2363         Fixes #522882.
2364
2365 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2366
2367         * configure.ac:
2368         * gst/gstregistry.c:
2369           MacOS has plugins under .so or under .dylib. Add detection for MacOS
2370           and handle this case.
2371
2372         * gst/gst.c:
2373           Add a comment here describing, why we stat each plugin and not try to
2374           be smart.
2375
2376 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
2377
2378         * libs/gst/base/gstbasetransform.c:
2379         (gst_base_transform_prepare_output_buffer):
2380         Also unset the GAP flag on buffers if we're working inplace but
2381         the element is not GAP-aware.
2382
2383         Mark a comment as FIXME 0.11.
2384
2385 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2386
2387         * gst/gst.c:
2388           Fix type in log message and add one to ease seeing how long registry
2389           cache verification takes.
2390
2391         * gst/gstregistry.c:
2392           Only test plugin filenames against G_MODULE_SUFFIX.
2393
2394 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2395
2396         * gst/gstdebugutils.c:
2397           Improve handling ghost/proxy pads.
2398
2399 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
2400
2401         * docs/gst/gstreamer-sections.txt:
2402         * gst/gstpad.c:
2403         * gst/gstpad.h:
2404           Expose macro to docs and fix link to it.
2405
2406 2008-03-27  Michael Smith <msmith@fluendo.com>
2407
2408         * libs/gst/dataprotocol/dataprotocol.c:
2409         (gst_dp_packet_from_event_1_0):
2410           When calculating GDP body CRC, use the correct pointer. 
2411           Fixes part of #522401.
2412
2413 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2414
2415         Patch by: Mark Nauwelaerts <manauw at skynet be>
2416
2417         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2418         (gst_identity_init), (gst_identity_prepare_output_buffer):
2419         Identity is not always a passthrough element, it can modify the buffer
2420         timestamps when it has a datarate and operates in single-segment mode.
2421         We therefore make it an in_place filter with a custom buffer prepare
2422         function that conditionally makes the input buffer metadata writable
2423         when needed.  Fixes #523985.
2424
2425 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2426
2427         Patch by: Mark Nauwelaerts <manauw at skynet be>
2428
2429         * gst/gstclock.h:
2430         * libs/gst/base/gstbasesrc.h:
2431         * libs/gst/base/gstbasetransform.c:
2432         * libs/gst/check/gstcheck.c:
2433         Small documentation fixes. Fixes #523978.
2434
2435 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2436
2437         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2438         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2439         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2440
2441 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2442
2443         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2444         (single_queue_underrun_cb):
2445         When trying to make room in the queue, bump the max allowed buffers
2446         bigger than the current amount of buffers in the queue. this fixes some
2447         nasty deadlocks in multiqueue when dynamically changing the limits of
2448         the queue.
2449
2450 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2451
2452         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
2453
2454         * gst/gstcaps.c: (gst_caps_set_simple),
2455         (gst_caps_set_simple_valist), (gst_caps_intersect):
2456         * gst/gstcaps.h:
2457         Constify the field gchar * params in set_simple and friends.
2458         Fixes #522326.
2459
2460 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2461
2462         * gst/gstvalue.c: (gst_value_transform_object_string):
2463         Transform a GstObject to a more meaningfull string that includes the
2464         object type in addition to its name.
2465
2466 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
2467
2468         * ChangeLog:
2469           ChangeLog surgery to add bugnumber to commit.
2470
2471 2008-03-23  Rene Stadler  <mail@renestadler.de>
2472
2473         * libs/gst/base/gstbasetransform.c:
2474         (gst_base_transform_set_gap_aware): Fix confusing documentation.
2475
2476 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2477
2478         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2479         Rename constant everywhere and don't forget one occurence.
2480
2481 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2482
2483         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2484         Align memory to the pointer size even if the architecture allows
2485         unaligned memory access. Unaligned memory access usually comes with
2486         performance penality.
2487
2488 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2489
2490         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2491         (gst_registry_binary_check_magic),
2492         (gst_registry_binary_load_pad_template),
2493         (gst_registry_binary_load_feature),
2494         (gst_registry_binary_load_plugin):
2495         Align memory to the pointer size instead of always 32 bit. Fixes
2496         unaligned memory accesses on ia64 and friends.
2497
2498         * gst/gstregistrybinary.h:
2499         Bump binary registry format version for this as it changes the
2500         format on those architectures that don't have unaligned access
2501         and 64 bit pointers.
2502
2503 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2504
2505         * docs/pwg/advanced-dparams.xml:
2506         * docs/pwg/building-props.xml:
2507         * docs/pwg/other-source.xml:
2508         * gst/glib-compat.h:
2509         * gst/gstbin.c: (gst_bin_class_init):
2510         * gst/gstclock.c: (gst_clock_class_init):
2511         * gst/gstindex.c: (gst_index_class_init):
2512         * gst/gstobject.c: (gst_object_class_init):
2513         * gst/gstpad.c: (gst_pad_class_init):
2514         * gst/gstpipeline.c: (gst_pipeline_class_init):
2515         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2516         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2517         * libs/gst/base/gstbasetransform.c:
2518         (gst_base_transform_class_init):
2519         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2520         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2521         (_gst_check_fault_handler_sighandler),
2522         (_gst_check_fault_handler_setup), (gst_check_init):
2523         * libs/gst/controller/gstcontroller.c:
2524         (_gst_controller_class_init):
2525         * libs/gst/controller/gstlfocontrolsource.c:
2526         (gst_lfo_control_source_class_init):
2527         * libs/gst/net/gstnetclientclock.c:
2528         (gst_net_client_clock_class_init):
2529         * libs/gst/net/gstnettimeprovider.c:
2530         (gst_net_time_provider_class_init):
2531         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2532         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2533         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2534         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2535         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2536         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2537         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2538         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2539         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2540         * plugins/elements/gstqueue.c: (gst_queue_class_init):
2541         * plugins/elements/gsttee.c: (gst_tee_class_init):
2542         * plugins/elements/gsttypefindelement.c:
2543         (gst_type_find_element_class_init):
2544         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2545         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2546         use it everywhere for GParamSpecs that use static strings (i.e. all).
2547         This gives us less memory usage, fewer allocations and thus less
2548         memory defragmentation. Fixes bug #523806.
2549
2550 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2551
2552         * gst/gstminiobject.c: (gst_value_dup_mini_object),
2553         (gst_param_spec_mini_object):
2554         * gst/gstminiobject.h:
2555         * win32/common/libgstreamer.def:
2556         * docs/gst/gstreamer-sections.txt:
2557         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2558         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2559         GstParamSpecMiniObject into a public header for this.
2560
2561         This make GstMiniObject a bit more consistent with GObject and makes
2562         it possible to extend the param specs.
2563
2564         gst_value_dup_mini_object is mainly useful for set_property methods.
2565
2566         Fixes bug #523798.
2567
2568         * tools/gst-inspect.c: (print_element_properties_info):
2569         Print something useful for GstMiniObject properties and not just
2570         "unknown type".
2571
2572 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2573
2574         * docs/gst/gstreamer-sections.txt:
2575         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2576         (gst_registry_binary_check_magic):
2577         * gst/gstregistrybinary.h:
2578         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2579         and add it to the (private part) of the docs to fix the build.
2580
2581 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2582
2583         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2584         (gst_registry_binary_check_magic),
2585         (gst_registry_binary_read_cache):
2586         * gst/gstregistrybinary.h:
2587         Don't use GST_MAJORMINOR for the binary registry version. Instead
2588         hardcode a value that must be changed whenever the format changes
2589         in an incompatible way.
2590         Also don't GST_ERROR when there is a version mismatch, just
2591         regenerate the registry silently.
2592
2593 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2594
2595         * configure.ac:
2596         Back to development - 0.10.18.1
2597
2598 === release 0.10.18 ===
2599
2600 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2601
2602         * configure.ac:
2603           releasing 0.10.18, "So far away"
2604
2605 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2606
2607         * configure.ac:
2608         * win32/common/config.h:
2609         0.10.17.4 pre-release
2610
2611 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2612
2613         Patch by: Ole André Vadla Ravnås
2614             <ole dot andre dot ravnas at tandberg dot com>
2615
2616         * docs/gst/gstreamer-sections.txt:
2617         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2618         (gst_poll_update_winsock_event_mask),
2619         (gst_poll_prepare_winsock_active_sets),
2620         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2621         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2622         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2623         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2624         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2625         * gst/gstpoll.h:
2626         * win32/common/libgstreamer.def:
2627         Add new function gst_poll_fd_ignored() for improved Windows
2628         compatibility.
2629         Various minor fixes and cleanups. See #520808.
2630
2631 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2632
2633         * gst/gstindex.c: (gst_index_entry_free):
2634         * gst/gstindex.h:
2635           Don't free key strings which we don't own. Fixes crash in
2636           gst_index_entry_free() (#522741).
2637
2638         * tests/check/Makefile.am:
2639         * tests/check/gst/.cvsignore:
2640         * tests/check/gst/gstindex.c: (test_index_entries),
2641           (gst_index_suite), (gst_index):
2642           Add unit test for the above.
2643
2644 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2645
2646         * win32/common/libgstreamer.def:
2647         Remove symbols that were removed recently. Fixes bug #521740.
2648
2649 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2650
2651         * configure.ac:
2652         * win32/common/config.h:
2653         0.10.17.3 pre-release
2654
2655 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2656
2657         Patch by: Ole André Vadla Ravnås
2658             <ole dot andre dot ravnas at tandberg dot com>
2659
2660         * docs/gst/gstreamer-sections.txt:
2661         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2662         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2663         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2664         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2665         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2666         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2667         (gst_poll_fd_can_write), (gst_poll_wait),
2668         (gst_poll_set_controllable), (gst_poll_restart),
2669         (gst_poll_set_flushing):
2670         * gst/gstpoll.h:
2671         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2672         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2673         (gst_net_time_provider_new):
2674         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2675         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2676         * tests/benchmarks/gstpollstress.c: (main):
2677         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2678         Remove GstPollMode from the API, it does not make sense to let the
2679         application control this.
2680         Add support for Win32.
2681         Fix the testsuite. Fixes #520671.
2682
2683 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2684
2685         Patch by: Ole André Vadla Ravnås
2686             <ole dot andre dot ravnas at tandberg dot com>
2687
2688         * gst/gstregistrybinary.c:
2689         Include io.h for write() and close() when building with MSVC. Fixes
2690         bug #520877.
2691
2692 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2693
2694         * configure.ac:
2695         * gst/gst_private.h:
2696         * gst/gstconfig.h.in:
2697         * gst/gstregistry.h:
2698         * gst/gstregistrybinary.c:
2699         * win32/common/gstconfig.h:
2700           Move registry backend API to private headers where we can. Add
2701           fixme-0.11 comments for the others. Add stubs for the xml backend when
2702           using the binary to ensure they functions exists (they should not be
2703           used though). Fixes #520756.
2704
2705 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2706
2707         * configure.ac:
2708         * win32/common/config.h:
2709         0.10.17.2 prelease
2710
2711 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2712
2713         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2714         (gst_registry_binary_read_cache):
2715         * gst/gstregistryxml.c: (gst_registry_save):
2716         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2717         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2718         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2719         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2720         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2721         Fixes #520152
2722
2723 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2724
2725         * gst/gstminiobject.c:
2726         Import gst_private.h before any other header that might include other
2727         glib headers. This fixes the build on windows using native compilers.
2728
2729 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2730
2731         * win32/common/gstconfig.h:
2732           Add here too, just for completeness.
2733
2734 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2735
2736         * configure.ac:
2737         * gst/gstconfig.h.in:
2738         * gst/gstregistry.h:
2739           Fix broken use of config.h-defined preprocessor directive in a public
2740           header file. Add a corresponding define to gstconfig.h, since we can't
2741           really remove those function declarations from the header file now
2742           (or can we? and why are they there in the first place?).
2743
2744 2008-03-03  Andy Wingo  <wingo@pobox.com>
2745
2746         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2747         the new warning.
2748
2749         * gst/gststructure.c (gst_structure_from_string): Warn if
2750         structure_from_string didn't consume the whole string, but the
2751         caller did not provide an end pointer.
2752
2753 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2754
2755         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2756
2757         * gst/gstregistryxml.c: (read_string), (load_feature):
2758           Strings allocated by libxml2 should be freed with xmlFree(), not
2759           with g_free(). Fixes issues on windows in certain contexts (#519698).
2760
2761 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2762
2763         * gst/gstinterface.c: (gst_element_implements_interface):
2764           Don't crash if the element supports the interface queried, but does
2765           not implement GstImplementsInterface. Fixes #519584.
2766
2767         * tests/check/Makefile.am:
2768         * tests/check/gst/.cvsignore:
2769         * tests/check/gst/gstinterface.c:
2770           Add unit test for the above.
2771
2772 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2773
2774         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2775         Small doc update.
2776
2777 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2778
2779         * gst/gstsegment.c: (gst_segment_set_seek),
2780         (gst_segment_to_stream_time):
2781         Improve some comment.
2782         Update variables where it makes more sense.
2783
2784 2008-02-29  Rene Stadler  <mail@renestadler.de>
2785
2786         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2787         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2788         URIHandlers implemented using language bindings.
2789
2790 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2791
2792         * gst/gstelementfactory.h:
2793         * tests/check/elements/fakesink.c:
2794         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2795         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2796         * tests/check/elements/filesink.c: (setup_filesink):
2797         * tests/check/elements/filesrc.c: (setup_filesrc):
2798         * tests/check/elements/identity.c: (setup_identity):
2799         * tests/check/elements/tee.c:
2800         * tests/check/generic/sinks.c:
2801         * tests/check/generic/states.c: (setup), (teardown):
2802         * tests/check/gst/gst.c:
2803         * tests/check/gst/gstabi.c:
2804         * tests/check/gst/gstbin.c:
2805         * tests/check/gst/gstbus.c: (pull_messages):
2806         * tests/check/gst/gstcaps.c:
2807         * tests/check/gst/gstelement.c:
2808         * tests/check/gst/gstevent.c:
2809         * tests/check/gst/gstghostpad.c:
2810         * tests/check/gst/gstiterator.c:
2811         * tests/check/gst/gstmessage.c:
2812         * tests/check/gst/gstminiobject.c: (my_foo_init):
2813         * tests/check/gst/gstobject.c: (thread_name_object),
2814         (gst_object_suite):
2815         * tests/check/gst/gstpad.c:
2816         * tests/check/gst/gstplugin.c:
2817         * tests/check/gst/gstpoll.c:
2818         * tests/check/gst/gstquery.c:
2819         * tests/check/gst/gstsegment.c:
2820         * tests/check/gst/gststructure.c:
2821         * tests/check/gst/gstsystemclock.c:
2822         * tests/check/gst/gsttask.c:
2823         * tests/check/gst/gstutils.c:
2824         * tests/check/gst/gstvalue.c:
2825         * tests/check/gst/struct_hppa.h:
2826         * tests/check/gst/struct_i386.h:
2827         * tests/check/gst/struct_ppc32.h:
2828         * tests/check/gst/struct_ppc64.h:
2829         * tests/check/gst/struct_x86_64.h:
2830         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2831         * tests/check/libs/basesrc.c:
2832         * tests/check/libs/controller.c: (GST_START_TEST):
2833         * tests/check/libs/gdp.c:
2834         * tests/check/libs/gstnetclientclock.c:
2835         * tests/check/libs/gstnettimeprovider.c:
2836         * tests/check/libs/libsabi.c:
2837         * tests/check/libs/struct_hppa.h:
2838         * tests/check/libs/struct_i386.h:
2839         * tests/check/libs/struct_ppc32.h:
2840         * tests/check/libs/struct_ppc64.h:
2841         * tests/check/libs/struct_x86_64.h:
2842         * tests/check/pipelines/cleanup.c:
2843         * tests/check/pipelines/simple-launch-lines.c:
2844         * tests/check/pipelines/stress.c:
2845         And correct even more valid sparse warnings.
2846
2847         * win32/common/libgstreamer.def:
2848         Add gst_poll_fd_init to the list of symbols.
2849
2850 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2851
2852         * gst/gstconfig.h.in:
2853         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2854         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2855         (gst_check_log_critical_func), (gst_check_drop_buffers),
2856         (gst_check_element_push_buffer_list):
2857         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2858         (gst_controller_get_type):
2859         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2860         (gst_object_get_controller), (gst_object_get_control_source):
2861         * libs/gst/controller/gstinterpolationcontrolsource.c:
2862         (gst_interpolation_control_source_new):
2863         * libs/gst/controller/gstlfocontrolsource.c:
2864         (gst_lfo_control_source_new):
2865         * libs/gst/dataprotocol/dataprotocol.c:
2866         (gst_dp_event_from_packet_0_2):
2867         * plugins/elements/gstfdsrc.c:
2868         * plugins/elements/gstmultiqueue.c:
2869         * plugins/elements/gsttee.c:
2870         * plugins/elements/gsttypefindelement.c:
2871         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2872         (gst_file_index_add_association):
2873         * plugins/indexers/gstmemindex.c:
2874         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2875         * tests/check/elements/queue.c: (setup_queue):
2876         * tests/check/gst/gstpipeline.c:
2877         * tests/check/libs/collectpads.c: (setup), (teardown),
2878         (gst_collect_pads_suite):
2879         * tests/examples/adapter/adapter_test.c:
2880         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2881         * tests/examples/xml/createxml.c:
2882         * tests/examples/xml/runxml.c:
2883         * tools/gst-inspect.c:
2884         * tools/gst-run.c:
2885         Correct all relevant warnings found by the sparse semantic code
2886         analyzer. This include marking several symbols static, using
2887         NULL instead of 0 for pointers, not using variable sized arrays
2888         on the stack, moving variable declarations to the beginning of
2889         a block and using "foo (void)" instead of "foo ()" for declarations.
2890
2891 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2892
2893         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2894         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2895         Don't reset GstPollFDs, this is not necessary at all.
2896
2897         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2898         (delayed_restart), (delayed_control):
2899         Use GST_POLL_FD_INIT.
2900
2901 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2902
2903         * gst/gstpoll.c: (gst_poll_fd_init):
2904         * gst/gstpoll.h:
2905         Added Since tags.
2906
2907         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2908         Use some more init macros.
2909
2910 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2911
2912         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2913         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2914         Use init macros and functions.
2915
2916 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2917
2918         * docs/gst/gstreamer-sections.txt:
2919         * gst/gstpoll.c: (gst_poll_fd_init):
2920         * gst/gstpoll.h:
2921         Add INIT macro and _init method for initializing the GstPollFD.
2922
2923 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2924
2925         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2926         (gst_fd_sink_update_fd):
2927         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2928         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2929         (delayed_restart), (delayed_control):
2930         Initialize some uninitialized variables as spotted by valgrind.
2931
2932 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2933
2934         * tests/benchmarks/Makefile.am:
2935         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2936         (main):
2937         Add poll stress test.
2938
2939 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2940
2941         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2942
2943         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2944         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2945         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2946         * plugins/elements/gstfdsink.h:
2947         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2948         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2949         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2950         (gst_fd_src_uri_set_uri):
2951         * plugins/elements/gstfdsrc.h:
2952         Port to GstPoll. See #505417.
2953
2954 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2955
2956         * win32/common/libgstreamer.def:
2957         Add new gst_poll_ symbols to win32 defs.
2958
2959 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2960
2961         * docs/libs/gstreamer-libs-sections.txt:
2962         * libs/gst/net/gstnetclientclock.c:
2963         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2964         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2965         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2966         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2967         * libs/gst/net/gstnetclientclock.h:
2968         * libs/gst/net/gstnettimeprovider.c:
2969         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2970         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2971         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2972         (gst_net_time_provider_new):
2973         * libs/gst/net/gstnettimeprovider.h:
2974         Use a private stuct to not break ABI.
2975
2976 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2977
2978         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2979
2980         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2981         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2982         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2983         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2984         * libs/gst/net/gstnetclientclock.h:
2985         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2986         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2987         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2988         (gst_net_time_provider_new):
2989         * libs/gst/net/gstnettimeprovider.h:
2990         Massive code removal and cleanups because of GstPoll.
2991         Fixes #505417.
2992
2993 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2994
2995         * configure.ac:
2996         Add checks for poll, ppoll and pselect.
2997
2998         * docs/gst/gstreamer-docs.sgml:
2999         * docs/gst/gstreamer-sections.txt:
3000         Add docs for GstPoll.
3001
3002         * gst/Makefile.am:
3003         * gst/gst.h:
3004         * gst/gstpoll.c: (find_index), (selectable_fds),
3005         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
3006         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
3007         (gst_poll_set_mode), (gst_poll_get_mode),
3008         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
3009         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3010         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
3011         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
3012         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
3013         (gst_poll_fd_can_write), (gst_poll_wait),
3014         (gst_poll_set_controllable), (gst_poll_restart),
3015         (gst_poll_set_flushing):
3016         * gst/gstpoll.h:
3017         Add generic poll abstraction. We ideally don't want to have this in core
3018         here but in glib intead...
3019         This code will be used in various network elements and ultimately for
3020         the nanosecond precision monotonic clock (that's why it's here in core).
3021         It'll allow us to implement cancelable socket operations for windows too.
3022
3023         * tests/check/Makefile.am:
3024         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3025         (delayed_stop), (delayed_restart), (delayed_flush),
3026         (delayed_control), (gst_poll_suite):
3027         Add GstPoll unit test.
3028
3029 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
3030
3031         * gst/gstfilter.c:
3032           Improve documentation of gst_filter_run(). Fixes #518627.
3033
3034 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3035
3036         * docs/README:
3037           Add a few lines about the new 'check-inspected-versions' target.
3038
3039 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
3040
3041         * tests/check/gst/gstevent.c:
3042           Add qos to the event test. Rename tcase/tsuite; is not only about
3043           custom events.
3044
3045 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
3046
3047         * plugins/elements/gstqueue.c:
3048           Ensure that buffer metadata is writeable, before modifying. Spotted by
3049           Mike.
3050
3051 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
3052
3053         * plugins/elements/gstqueue.c:
3054         * plugins/elements/gstqueue.h:
3055           When dropping buffers in leaky modes, mark next buffers we sent as
3056           DISCONT.
3057
3058 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
3059
3060         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
3061           Also, if mmap() fails that would be a READ error, not OPEN_READ.
3062
3063 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
3064
3065         * plugins/elements/Makefile.am:
3066         * plugins/elements/gstbufferstore.c:
3067         * plugins/elements/gstbufferstore.h:
3068         * plugins/elements/gsttypefindelement.h:
3069           Remove GstBufferStore, no idea why we were still building it.
3070           It's not used anywhere and superseded by GstAdapter.
3071
3072         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3073           (gst_file_src_create_mmap):
3074         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
3075           Printf format fixes for 64-bit integers.
3076
3077 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
3078
3079         * configure.ac:
3080         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
3081         We're not in 0.8 times anymore.
3082
3083 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
3084
3085         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
3086         (gst_check_element_push_buffer_list):
3087         * libs/gst/check/gstcheck.h:
3088         Make the declaration in the header for
3089         gst_check_element_push_buffer_list match the implementation.
3090
3091         Fix up spelling, grammar and wording of the documentation in a few
3092         places, and add the Since keyword to new API functions.
3093         Use g_list_delete_link instead of g_list_remove in
3094         gst_check_drop_buffers, since it's immeasurably more efficient.
3095
3096         * tests/check/elements/fakesrc.c: (GST_START_TEST):
3097         Use new gst_check_drop_buffers function where appropriate.
3098
3099         * win32/common/libgstbase.def:
3100         * win32/common/libgstreamer.def:
3101         Add new symbols gst_collect_pads_take_buffer, 
3102         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
3103         exports
3104
3105         Changelog surgery to add API keyword to new gst_check API.
3106
3107 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
3108
3109         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
3110         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
3111         Update pre-generated flex files with flex 2.3.34.
3112
3113 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
3114
3115         * gst/gstminiobject.c:
3116           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
3117           friendly to subclasses and not require them to know all internals
3118           of their parent class.
3119
3120 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
3121
3122         * docs/libs/gstreamer-libs-sections.txt:
3123         * libs/gst/base/gstcollectpads.c:
3124         * libs/gst/base/gstcollectpads.h:
3125           Add sub-buffer functions to collectpads. Fixes #516187.
3126           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
3127
3128 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
3129
3130         * gst/gstbuffer.c:
3131           Copy selected buffer-flags when creating subbuffers.
3132           Fixes #516395.
3133
3134 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
3135
3136         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
3137         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
3138         * gst/gstmessage.c: (gst_message_class_init),
3139         (gst_message_finalize):
3140         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
3141         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
3142         (gst_mmap_buffer_finalize):
3143         Properly chain up finalize functions to the parent class.
3144
3145 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
3146
3147         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
3148
3149         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
3150         (gst_index_set_resolver_full):
3151         * gst/gstindex.h:
3152         Add new function with option to dispose of user_data in resolver.
3153         Actually call the dispose function when finalizing the object and not
3154         just when changing the resolver/filter.
3155         API: GstIndex::gst_index_set_resolver_full()
3156
3157         * docs/gst/gstreamer-sections.txt:
3158         Add new function to docs. Fixes #515469.
3159
3160 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
3161
3162         * gst/gstindex.c: (gst_index_finalize):
3163         Chain up finalize to the parent class. Fixes leaking the GstObject
3164         name and other things.
3165
3166 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
3167
3168         * configure.ac:
3169         Make DISABLE_DEPRECATED defined *only* during CVS, not during
3170         pre-releases or releases.
3171
3172         * docs/faq/gst-uninstalled:
3173         Add gst-plugins-gl
3174
3175         * docs/random/release:
3176         Change one of the steps - we only upload core & base to Gnome FTP
3177
3178 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
3179
3180         * gst/gstconfig.h.in:
3181           Add 'id' for example.
3182
3183         * gst/gstpad.c:
3184         * gst/gstutils.c:
3185         * plugins/elements/gstfdsink.c:
3186           Link to signals. Doc and comment fixes.
3187
3188 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
3189
3190         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
3191         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
3192           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
3193           unused and unimplemented; finally, it is plugin features, not
3194           plugins, that have ranks.
3195           
3196 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
3197
3198         * gst/gstpluginfeature.h:
3199           Clarify GstRank range docs.
3200
3201 2008-02-05  David Schleef  <ds@schleef.org>
3202
3203         * gst/gst.c: Add a separate gst_deinitialized that prevents
3204           gst_init() from being called after gst_deinit().  Fixes #509559
3205
3206 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3207
3208         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
3209         (gst_bin_class_init):
3210         * gst/gstelement.c: (gst_element_base_class_init),
3211         (gst_element_class_add_pad_template):
3212         * gst/gstpadtemplate.c: (gst_pad_template_init):
3213         * gst/gstpipeline.c: (gst_pipeline_get_type),
3214         (gst_pipeline_base_init), (gst_pipeline_class_init):
3215         * libs/gst/base/gstbasesink.c:
3216         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3217         (gst_base_src_base_init), (gst_base_src_class_init):
3218         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3219         (gst_capsfilter_class_init):
3220         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3221         (gst_fake_sink_class_init):
3222         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3223         (gst_fake_src_class_init):
3224         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3225         (gst_fd_sink_class_init):
3226         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3227         (gst_fd_src_class_init):
3228         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3229         (gst_file_sink_class_init):
3230         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3231         (gst_file_src_class_init):
3232         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3233         (gst_identity_class_init):
3234         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3235         (gst_multi_queue_class_init):
3236         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3237         (gst_queue_class_init):
3238         * plugins/elements/gsttee.c: (gst_tee_base_init),
3239         (gst_tee_class_init):
3240         * plugins/elements/gsttypefindelement.c:
3241         (gst_type_find_element_base_init),
3242         (gst_type_find_element_class_init):
3243         * tests/check/gst/gstelement.c: (gst_element_suite):
3244         Revert previous changes to the behaviour of GstPadTemplates, etc
3245         and the possiblity to call them in class_init as it breaks too
3246         many elements. Reopens bug #491501.
3247
3248         Should be applied again for 0.11, thus added a few FIXME 0.11 at
3249         several places.
3250
3251 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
3252
3253         * tools/gst-launch.c:
3254         Dump one graph per pipeline state-change and state change name
3255         (if GST_DEBUG_DUMP_DOT_DIR is set).
3256
3257 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
3258
3259         * gst/gstpad.c:
3260         * tests/check/gst/gstpad.c:
3261         Be sure that we have a new copy of the caps and not
3262         reffed caps from a template
3263
3264 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3265
3266         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3267         * gst/gstpipeline.c: (gst_pipeline_get_type),
3268         (gst_pipeline_class_init):
3269         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3270         (gst_base_sink_class_init):
3271         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3272         (gst_base_src_class_init):
3273         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3274         (gst_base_transform_class_init):
3275         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3276         (gst_collect_pads_class_init):
3277         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
3278         * libs/gst/net/gstnettimeprovider.c:
3279         (gst_net_time_provider_base_init),
3280         (gst_net_time_provider_class_init):
3281         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3282         (gst_capsfilter_class_init):
3283         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3284         (gst_fake_sink_class_init):
3285         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3286         (gst_fake_src_class_init):
3287         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3288         (gst_fd_sink_class_init):
3289         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3290         (gst_fd_src_class_init):
3291         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3292         (gst_file_sink_class_init):
3293         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3294         (gst_file_src_class_init):
3295         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3296         (gst_identity_class_init):
3297         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3298         (gst_multi_queue_class_init):
3299         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3300         (gst_queue_class_init):
3301         * plugins/elements/gsttee.c: (gst_tee_base_init),
3302         (gst_tee_class_init):
3303         * plugins/elements/gsttypefindelement.c:
3304         (gst_type_find_element_base_init),
3305         (gst_type_find_element_class_init):
3306         Don't use base_init where not absolutely necessary. For example it's
3307         not necessary anymore for adding pad templates or setting element
3308         details.
3309
3310         Leave empty base_init functions in several places as GST_BOILERPLATE
3311         still defines and uses them.
3312
3313 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3314
3315         * gst/gstelement.c: (gst_element_base_class_init),
3316         (gst_element_class_add_pad_template):
3317         * gst/gstpadtemplate.c:
3318         Make it possible (and recommended) to set element details and add
3319         pad templates in the class_init functions by copying the details/pad
3320         templates in GstElement's base_init.
3321
3322         Also make it possible to replace existing pad templates by adding
3323         a new one with the same name. This was done in a hackish fashion
3324         in same elements before already.
3325
3326         Don't reference pad templates that are added a second time. A
3327         new pad template has a refcount of one and is not floating anymore
3328         and to be owned by the element's class. Make this more explicit by
3329         mentioning it in the docs of gst_element_class_add_pad_template().
3330
3331         These changes are backwards compatible. Fixes bug #491501.
3332
3333         * tests/check/gst/gstelement.c:
3334         Add unit test for setting element details, adding pad templates and
3335         replacing them in a subclass.
3336
3337 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
3338
3339         * tools/gst-inspect.c: (print_interfaces),
3340         (print_element_properties_info), (print_pad_info),
3341         (print_signal_info), (print_element_info):
3342         Fix a few memory leaks.
3343
3344 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3345
3346         * docs/libs/gstreamer-libs-sections.txt:
3347         * libs/gst/check/gstcheck.c:
3348         * libs/gst/check/gstcheck.h:
3349         Add more functions for unit testing: gst_check_drop_buffers,
3350         gst_check_caps_equal, gst_check_element_push_buffer_list,
3351         gst_check_element_push_buffer
3352         API: gst_check_drop_buffers
3353         API: gst_check_caps_equal
3354         API: gst_check_element_push_buffer_list
3355         API: gst_check_element_push_buffer
3356
3357 2008-02-01  Julien Moutte  <julien@fluendo.com>
3358
3359         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3360         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3361         (gst_index_finalize), (gst_index_entry_free),
3362         (gst_index_add_association): Fix memory leaks.
3363         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3364         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3365         (gst_mem_index_free_format), (gst_mem_index_free_id),
3366         (gst_mem_index_finalize): Fix memory leaks.
3367         * win32/common/config.h: Updated to CVS HEAD.
3368
3369 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3370
3371         * docs/README:
3372           Some more details about how the plugin docs works.
3373
3374         * docs/plugins/gstreamer-plugins-sections.txt:
3375           Whitespace cleanup.
3376
3377 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3378
3379         * gst/parse/grammar.tab.pre.c:
3380         * gst/parse/grammar.tab.pre.h:
3381         * gst/parse/grammar.y:
3382         * gst/parse/lex._gst_parse_yy.pre.c:
3383           Add delayed set-property. This allows to set properties on dynamicaly
3384           created objects (pads in videomxer). Fixes #509391.
3385
3386 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3387
3388         * gst/gstutils.c:
3389         Check if caps are not NULL (fix bug #510194)
3390
3391 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3392
3393         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3394         (gst_base_sink_get_position_paused):
3395         Add fixme regarding EOS in pull mode.
3396         Fix position reporting in PAUSED for negative rates.
3397
3398 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3399
3400         * gst/gstminiobject.c: (gst_mini_object_replace):
3401         When replacing a miniobject, do a quick equality check first so that we
3402         can avoid a ref/unref pair.
3403
3404 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3405
3406         * docs/design/part-synchronisation.txt:
3407         Update some docs.
3408
3409         * docs/plugins/Makefile.am:
3410         * docs/plugins/gstreamer-plugins-docs.sgml:
3411         * docs/plugins/gstreamer-plugins-sections.txt:
3412         * plugins/elements/gstmultiqueue.c:
3413         Add multiqueue to the docs.
3414
3415 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3416
3417         * configure.ac:
3418           Back to CVS
3419
3420 === release 0.10.17 ===
3421
3422 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
3423
3424         * configure.ac:
3425           releasing 0.10.17, "Due Negligence"
3426
3427 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3428
3429         * gst/gstutils.c:
3430         Revert caps != NULL check temporarily for 0.10.17 release.
3431
3432 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3433
3434         * gst/gstutils.c:
3435         Check if caps are not NULL (fix bug #510194)
3436
3437 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3438
3439         * gst/gstutils.c:
3440         Fix compilation on systems that have posix timers but no
3441         monotonic clock.
3442         Fixes: #512715
3443         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3444         dot net>
3445
3446 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3447
3448         * tools/gst-inspect.c:
3449         Revert previous commit in preparation for an impromptu 0.10.17 release
3450
3451 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
3452
3453         * tools/gst-inspect.c: (print_interfaces),
3454         (print_element_properties_info), (print_pad_info),
3455         (print_signal_info), (print_element_info):
3456         Fix a few memory leaks.
3457
3458 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
3459
3460         * configure.ac:
3461         Back to CVS
3462
3463 === release 0.10.16 ===
3464
3465 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
3466
3467         * configure.ac:
3468           releasing 0.10.16, "Special Dispensation"
3469
3470 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
3471
3472         * configure.ac:
3473           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3474           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3475           not fail when trying to crosscompile on OpenEmbedded (#511750).
3476
3477 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
3478
3479         * docs/manuals.mak:
3480         Use $(MAKE) instead of make to fix the build if GNU make is
3481         called different. Fixes bug #510747.
3482
3483 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3484
3485         * gst/gstplugin.c: (_gst_plugin_initialize):
3486           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3487           again, which I broke two commits ago when changing the API
3488           of gst_plugin_register_static(): the g_list_foreach() in
3489           _gst_plugin_register_static still assumed the old function
3490           signature and would therefore fail (re-fixes #510187).
3491
3492         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3493           (_gst_plugin_register_static), (gst_plugin_register_static):
3494           Revert the (technically correct) change to call g_thread_init() from
3495           the pre-main() constructor. This will break programs which call
3496           g_thread_init() without an if (!g_thread_supported()) guard in their
3497           main function. We could just blame it on GLib or the application, but
3498           it's probably best to just avoid this altogether and simply not use
3499           any GLib functions here and use plain old malloc() with a simple
3500           array to store the plugins to register later when gst_init() is
3501           finally called (re-fixes #510187).
3502
3503         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3504           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3505           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3506           (GST_START_TEST), (gst_plugin_suite):
3507           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3508           works.
3509
3510 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3511
3512         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3513           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3514           This makes gtk-doc complain, but results in slightly better
3515           compiler errors. The old _gst_plugin_register_static() is
3516           still guarded, so there'll be a compiler warning about that
3517           instead. Fixes #510187 too.
3518
3519 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3520
3521         * gst/gst.c: (init_post):
3522         * gst/gstplugin.c: (_gst_plugin_register_static),
3523           (gst_plugin_register_static), (_gst_plugin_initialize):
3524         * gst/gstplugin.h: (GstPluginFilter):
3525           Change API of gst_plugin_register_static() to not take
3526           a GstPluginDesc, but rather just take all the arguments
3527           in a GstPluginDesc directly. This is more intuitive and
3528           avoids certain mistakes when porting code from
3529           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3530           Fixes #510187.
3531
3532         * tests/check/gst/gstplugin.c:
3533           Fix up for changed API.
3534
3535 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3536
3537         * docs/faq/legal.xml:
3538           Update FAQ, Totem actually has an exception these days.
3539
3540 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
3541
3542         * win32/common/libgstreamer.def:
3543         Add new API declarations
3544
3545 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3546
3547         * gst/gstminiobject.c:
3548           Spelling fixes for the API docs.
3549
3550 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3551
3552         * libs/gst/base/gstbasetransform.c:
3553           Fix long property description for QoS.
3554
3555 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
3556
3557         * gst/gst.c:
3558         _gst_trace_on is already provided by gsttrace.h, no need to declare
3559         it ourselves.
3560
3561         * docs/libs/gstreamer-libs-sections.txt:
3562         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3563         and remove strange tcase_add_test which is outputting a warning.
3564
3565         * libs/gst/check/gstcheck.c:
3566         * libs/gst/check/gstcheck.h:
3567         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3568         and define them in gstcheck.c instead of having every .c file whcih
3569         includes gstcheck.h be defining its own copy and relying on symbol
3570         interposing to marry them all, which doesn't work on Solaris.
3571
3572         * tests/check/elements/identity.c: (GST_START_TEST):
3573         Don't define 'buffers' locally, it comes from libgstcheck.
3574
3575         * tests/check/generic/sinks.c: (send_buffer):
3576         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3577
3578         * tests/check/gst/gststructure.c: (GST_START_TEST):
3579         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3580         * tests/check/gst/gstutils.c: (GST_START_TEST):
3581         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3582         Add a bunch of casts to make various constants fit the types
3583         they're being assigned to.
3584
3585 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3586
3587         * gst/gstchildproxy.c:
3588           Improve docs and add some ideas for making this more general-purpose.
3589
3590 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3591
3592         * gst/gst_private.h: (GST_CAT_TYPES):
3593           Add GST_CAT_TYPES, for consistency, and so that the other
3594           debug categories don't make fun of it. Spotted by Saur on IRC.
3595
3596 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3597
3598         * gst/parse/Makefile.am:
3599           Move types.h from EXTRA_DIST to noinst_HEADERS.
3600
3601 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3602
3603         * autogen.sh:
3604           Add -Wno-portability to the automake parameters to stop warnings
3605           about GNU make extensions being used. We require GNU make in almost
3606           every Makefile anyway.
3607
3608         * configure.ac:
3609           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3610           at the same time is required for per target flags.
3611
3612 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3613
3614         * gst/gstmacros.h:
3615           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3616           __GNUC__ is defined before using it.
3617
3618 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3619
3620         * docs/gst/gstreamer-sections.txt:
3621         * gst/gst.c: (init_post):
3622         * gst/gstplugin.c: (_gst_plugin_register_static),
3623           (gst_plugin_register_static), (_gst_plugin_initialize),
3624           (gst_plugin_register_func):
3625         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3626           API: add gst_plugin_register_static() and deprecate
3627           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3628           (#498924).
3629           Also, in _gst_plugin_register_static(), make sure to call
3630           g_thread_init() before calling GLib functions such as
3631           g_list_append() if we're not initialised yet, since that
3632           may lead to random crashes with older GSlice/GLib versions.
3633
3634         * tests/check/gst/gstplugin.c:
3635           Adapt unit test to above changes.
3636
3637 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3638
3639         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3640         * gst/gstcaps.c: (gst_caps_to_string):
3641         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3642           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3643           Yet another gratuitous GString micro-optimisation: add a (private)
3644           function that serialises a structure appending to an existing
3645           GString, so that when we serialise caps we don't need to alloc+free
3646           a throwaway GString for each structure (each of which also entailing
3647           multiple reallocs on the way); also use g_string_sized_new() in
3648           various places with an approximate string length to avoid reallocs
3649           within GString. See #500143.
3650
3651 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3652
3653         * gst/gststructure.c: (gst_structure_id_set_value):
3654           Always check UTF-8 conformance of structure strings and not only
3655           if the debugging system is enabled; reasoning: the behaviour of
3656           the actual code shouldn't really change depending on whether the
3657           debugging system is enabled or not (#508291).
3658
3659 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3660
3661         * Makefile.am:
3662           Remove old coverage target in favour of "make lcov".
3663
3664 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3665
3666         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3667         (gst_base_src_loop):
3668         The start segment for reverse playback goes from start to last_stop.
3669
3670 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3671
3672         Patch by: Peter Kjellerstedt <pkj axis com>
3673
3674         * gst/gstclock.h:
3675         Cast the results from the timeval/spec_to_time macros to what the
3676         docs say it casts to, a GstClockTime. fixes #508175.
3677
3678 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3679
3680         * gst/gstbuffer.c:
3681         Update some comments.
3682
3683         * tools/gst-inspect.c: (print_element_properties_info):
3684         Improve printing of flags.
3685
3686 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3687
3688         * libs/gst/base/gstbasetransform.c:
3689           (gst_base_transform_transform_size):
3690           Print element name with g_warning() if there's a problem
3691           with the unit size.
3692
3693 2008-01-07  David Schleef  <ds@schleef.org>
3694
3695         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3696
3697         * libs/gst/controller/gstcontroller.h:
3698         * libs/gst/controller/gstcontrolsource.h:
3699         * libs/gst/controller/gstinterpolationcontrolsource.h:
3700         * libs/gst/controller/gstlfocontrolsource.h:
3701         * libs/gst/dataprotocol/dataprotocol.h:
3702           Fix empty prototypes.  Fixes bug #507957.
3703
3704 2008-01-07  David Schleef  <ds@schleef.org>
3705
3706         * docs/faq/dependencies.xml: Fix typo.
3707
3708 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3709
3710         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3711         (gst_base_src_loop):
3712         Don't update the last_stop position in do_seek, that's the position we
3713         did a seek to.
3714         Read backwards when we have a negative rate.
3715
3716         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3717         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3718         (filesrc_suite):
3719         Add check for reverse reading.
3720
3721 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3722
3723         Patch by: Alexis Ballier <aballier at gentoo org>
3724
3725         * tests/check/gst/gstabi.c:
3726         * tests/check/gst/struct_ppc64.h:
3727         * tests/check/libs/libsabi.c:
3728         * tests/check/libs/struct_ppc64.h:
3729           Decide which header to include based on the userland ABI target
3730           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3731           for 64-bit userland (#503590).  Might need something similar for
3732           x86 too.
3733
3734 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3735
3736         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3737           Log the reason why fopen fails in addition to the fact that it failed.
3738           
3739 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3740
3741         * gst/parse/parse.l:
3742         Use "%option never-interactive" to prevent useless calls to isatty()
3743         on every input when parsing. Also use "%option noinput" to not define
3744         the static input/yyinput functions which we don't use anyway. This
3745         removes a compiler warning with gcc 4.3 and saves some bytes in the
3746         library.
3747         
3748         * gst/parse/lex._gst_parse_yy.pre.c:
3749         Regenerated for the above change.
3750
3751 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3752
3753         * gst/gstpad.c: (fixate_value):
3754         Don't crash when trying to fixate and empty list.
3755         Fixes #506643.
3756
3757 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3758
3759         * docs/faq/gst-uninstalled:
3760         Clarify the comments to make the usage of this script and what it
3761         does easier to understand.
3762
3763 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3764
3765         * tools/gst-plot-timeline.py:
3766         Add more options to gst-plot-timeline
3767
3768 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3769
3770         * docs/design/part-synchronisation.txt:
3771         Some more info on how the stream_time in GstBaseSink is done.
3772
3773 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3774
3775         * tests/check/generic/sinks.c: (gst_sinks_suite):
3776           Put back the tcase_set_timeout(), apparently it's needed after
3777           all; fix it up in a way that makes things work with valgrind too.
3778
3779 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3780
3781         * gst/gstdebugutils.c:
3782           Add warning when failed to open file for writing.
3783
3784 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3785
3786         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3787
3788         * gst/gstvalue.c: (gst_value_is_fixed):
3789           Optimisation: bail out of the loop as early as possible (#500143).
3790
3791 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3792
3793         * gst/gstcaps.c: (gst_caps_to_string):
3794         * gst/gstinfo.c: (gst_debug_construct_term_color):
3795         * gst/gstparse.c: (gst_parse_launchv):
3796         * gst/gstutils.c: (gst_util_dump_mem):
3797         * gst/gstvalue.c: (gst_value_serialize_any_list),
3798           (gst_value_transform_any_list_string):
3799           Bunch of gratuitous nano-optimisations.
3800
3801 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3802
3803         * tests/check/generic/sinks.c: (async_done_func),
3804           (async_done_eos_func):
3805           Fix leak in unit test (bus sync handler must unref the message
3806           if it returns GST_BUS_DROP). Don't fiddle with the default test
3807           timeout, this is smaller than the current preconfigured value
3808           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3809           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3810
3811 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3812
3813         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3814
3815         * configure.ac:
3816         Check for stdio_ext.h for the filesink changes.
3817
3818         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3819         (gst_file_sink_class_init), (gst_file_sink_init),
3820         (gst_file_sink_dispose), (gst_file_sink_set_property),
3821         (gst_file_sink_get_property), (gst_file_sink_open_file),
3822         (gst_file_sink_close_file):
3823         * plugins/elements/gstfilesink.h:
3824         Add two properties to control the buffering mode and size.
3825         API: GstFileSink::buffer-mode
3826         API: GstFileSink::buffer-size
3827         Fixes #500150.
3828
3829 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3830
3831         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3832         Add some more docs to explain why a FIXME was wrongly added. 
3833
3834 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3835
3836         * gst/gstobject.c:
3837           Fix typo in the gst_object_{ref,unref} documentation.
3838
3839 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3840
3841         * tests/check/libs/controller.c:
3842         * tests/check/libs/typefindhelper.c:
3843         * tests/check/pipelines/parse-launch.c:
3844           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3845           going to be deprecated (see #498924).
3846
3847 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3848
3849         * gst/gsttypefind.c: (gst_type_find_register):
3850           Make gst_type_find_register work for static typefind functions,
3851           ie. allow passing plugin == NULL (prerequisite for #498924).
3852
3853         * gst/gstelementfactory.c: (gst_element_register):
3854           Small docs addition.
3855
3856 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3857
3858         * gst/gstpad.c: (gst_pad_dispose):
3859         Really unlink the peer pad instead of setting the peer pointer to NULL
3860         when we dispose the pad.
3861         This correctly calls the unlink functions and makes sure that the peer
3862         does not have a handle to invalid memory. See #504671.
3863
3864         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3865         Add testsuite for above case.
3866
3867 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3868
3869         Patch by: Peter Kjellerstedt <pkj axis com>
3870
3871         * libs/gst/check/gstcheck.h:
3872           Fix detection of the check version we're compiling against (would
3873           otherwise break if check goes v0.10.0); correctly report the
3874           name of the failed test again in case of failure, instead of
3875           just 'tf' (fixes #504499).
3876
3877 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3878
3879         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3880         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3881         (gst_base_src_loop), (gst_base_src_set_flushing),
3882         (gst_base_src_change_state):
3883         Allow sending EOS to the source to make it send out an EOS event from
3884         the streaming thread.
3885         Update docs and deprecate the old NULL/READY shutdown method.
3886
3887         * tests/check/libs/basesrc.c: (GST_START_TEST),
3888         (gst_basesrc_suite):
3889         Add unit test for controlled shutdown.
3890
3891 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3892
3893         * docs/design/part-synchronisation.txt:
3894         Small updates.
3895
3896         * gst/gstsegment.c: (gst_segment_set_seek),
3897         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3898         (gst_segment_to_running_time):
3899         The seek format can be different from the segment format when the start
3900         and stop values are not to be updated, when we only do a rate change for
3901         example.
3902
3903         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3904         (gst_segment_suite):
3905         Add a testcase for the rate-only seeks, checking that the format is
3906         correctly ignored when start and stop are not updated.
3907
3908 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3909
3910         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3911
3912         * win32/vs8/grammar.vcproj:
3913         * win32/vs8/libgstcontroller.vcproj:
3914         * win32/vs8/libgstreamer.vcproj:
3915         Fix compilation with VS8 and include some missing files.
3916
3917 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3918
3919         * gst/gsttaglist.c:
3920           Small docs addition: mention that the strings returned by
3921           gst_tag_list_get_string*() are in UTF-8 encoding.
3922
3923 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3924
3925         * Makefile.am:
3926           The check-exports stuff moved to common/win32.mak, so include that.
3927
3928 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3929
3930         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3931         (gst_base_src_perform_seek), (gst_base_src_get_range),
3932         (gst_base_src_set_playing), (gst_base_src_change_state):
3933         Make _wait_playing() not check any variables so that we can call this
3934         function from subclasses. Move the checks elsewhere similar to
3935         _wait_preroll() in basesink.
3936         Add some debugging.
3937         Only signal the LIVE cond when we are going back to PLAYING.
3938
3939 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3940
3941         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3942           Use g_remove() and g_rename(). Check result of g_rename(), and
3943           don't leak the open file descriptor if we error out when writing.
3944
3945         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3946           Must check the return value of close() after writing out the new
3947           registry file.  Sometimes write problems such as out-of-diskspace
3948           are only reported when the file is closed and not already during
3949           the write.  This may have caused partial/broken registry files in
3950           some rare circumstances. Should fix #503675.
3951
3952 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3953
3954         * docs/gst/.cvsignore:
3955         * docs/libs/.cvsignore:
3956         * docs/plugins/.cvsignore:
3957         Ignore files generated by new common/* modifications
3958
3959 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3960
3961         * win32/common/libgstbase.def:
3962           Yes, you can also have a <TAB> if you want.
3963
3964 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3965
3966         * win32/common/libgstbase.def:
3967           Add new basetransform API to win export file.
3968
3969 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3970
3971         * tests/check/gst/gstbin.c:
3972           Adjust the test to the refcount change two days ago.
3973
3974 2007-12-14  David Schleef  <ds@schleef.org>
3975
3976         * docs/faq/getting.xml: Fix typo.
3977
3978 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3979
3980         * docs/libs/gstreamer-libs-sections.txt:
3981         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3982           (gst_base_transform_prepare_output_buffer),
3983           (gst_base_transform_set_gap_aware):
3984         * libs/gst/base/gstbasetransform.h:
3985           API: Add gst_base_transform_set_gap_aware() to control whether
3986           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3987           get buffers with this flag at all. Fixes #503231.
3988
3989 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3990
3991         * libs/gst/base/gstbasesink.c:
3992         * libs/gst/base/gstbasesrc.c:
3993         * libs/gst/base/gstbasetransform.c:
3994           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3995           thread. Correct log message in gstbasesrc.c.
3996
3997 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3998
3999         * gst/gstutils.c: (element_find_unconnected_pad):
4000           Fix possible compiler warning (#503417).
4001
4002 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
4003
4004         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
4005           Don't use GST_CAT_EVENT here for logging, it makes no sense.
4006
4007 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
4008
4009         * tools/gst-inspect.c: (print_element_properties_info):
4010           Add support for GstFraction properties.
4011
4012 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4013
4014         * Makefile.am:
4015           Add check-exports target and run it as part of 'make check'
4016           (see #499140 and #493983).
4017
4018         * gst/gst_private.h:
4019         * gst/gstelementfactory.h:
4020         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
4021         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
4022           (_priv_gst_in_valgrind):
4023         * gst/gstinfo.h: (GstLogFunction):
4024         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
4025           (gst_type_find_register):
4026         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
4027           (gst_type_find_factory_get_type):
4028         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
4029           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
4030           (gst_controller_new_valist), (gst_controller_new_list),
4031           (_gst_controller_dispose), (_gst_controller_class_init):
4032         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
4033         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
4034           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
4035           (gst_object_get_controller), (gst_object_set_controller),
4036           (gst_object_suggest_next_sync), (gst_object_sync_values),
4037           (gst_object_set_control_source), (gst_object_get_control_source),
4038           (gst_object_get_value_arrays), (gst_object_get_value_array),
4039           (gst_object_get_control_rate), (gst_object_set_control_rate):
4040         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
4041         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
4042           Make some functions that should be static static; rename some
4043           private symbols so that they don't get exported; add some FIXME
4044           comments so we can move accidentally exported functions into
4045           our private section in 0.11.
4046
4047         * win32/common/libgstreamer.def:
4048           Add gst_utils_get_timestamp().
4049
4050 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
4051
4052         * gst/gstvalue.c:
4053         * gst/gstvalue.h:
4054           Add more missing "Since:" tags to docs.
4055
4056 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
4057
4058         * gst/gstutils.c:
4059           Add mising "Since:" to docs.
4060
4061 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4062
4063         * gst/gstplugin.c:
4064           Include "glib-compat-private.h" to fix the build on system with
4065           glib < 2.10. Fixes #503131.
4066
4067 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4068
4069         * gst/gstutils.c:
4070         * gst/gstutils.h:
4071           Actually its not PURE as it gets the time from elsewhere.
4072
4073 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4074
4075         * docs/gst/gstreamer-sections.txt:
4076         * gst/gstclock.h:
4077         * gst/gstdebugutils.c:
4078         * gst/gstinfo.c:
4079         * gst/gstutils.c:
4080         * gst/gstutils.h:
4081         * libs/gst/base/gstbasesink.c:
4082         * tools/gst-launch.c:
4083           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
4084           uses as we don't have HAVE_POSIX_TIMERS in public headers.
4085           Thanks Tim for spotting.
4086           API: gst_util_get_timestamp
4087
4088 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
4089
4090         * configure.ac:
4091           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
4092
4093 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
4094
4095         * gst/gststructure.c: (gst_structure_validate_name),
4096           (gst_structure_new_valist), (gst_structure_parse_value),
4097           (gst_structure_from_string):
4098           Don't crash in _from_string() if the structure name is not valid
4099           (fixes #501560).  Allow structure names to start with a number
4100           again (this apparently broke the ubuntu codec installer).
4101
4102         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
4103           (GST_START_TEST):
4104           Add unit test for the crash; update unit tests for new behaviour.
4105
4106 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
4107
4108         * gst/gstutils.c:
4109         Clarify gst_element_get_compatible_pad() documentation.
4110         Fixes #500919.
4111
4112 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
4113
4114         * tests/check/Makefile.am:
4115           Don't forget to dist {gst,libs}/struct_hppa.h.
4116
4117 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4118
4119         * libs/gst/base/gstbasesink.c:
4120           Use new API to get elapsed time.
4121
4122 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4123
4124         * gst/gstdebugutils.c:
4125         * gst/gstinfo.c:
4126           Fix wrong order of args in GST_CLOCK_DIFF() usage.
4127
4128         * tools/gst-launch.c:
4129           Use new API to get elapsed time.
4130
4131 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4132
4133         * docs/gst/gstreamer-sections.txt:
4134         * gst/gstclock.h:
4135         * gst/gstdebugutils.c:
4136         * gst/gstinfo.c:
4137           Rename new API + ChangeLog surgery to remove old name from last entry..
4138
4139 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4140
4141         * docs/gst/gstreamer-sections.txt:
4142         * gst/gstclock.h:
4143         * gst/gstdebugutils.c:
4144         * gst/gstinfo.c:
4145           Now hide the different clock stuff behind a macro.
4146
4147 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4148
4149         * configure.ac:
4150         * gst/gstdebugutils.c:
4151         * gst/gstinfo.c:
4152           Apply the posix-timer check from #361155. Conditionally use the posix
4153           timer for logging. This gives better timestamp precission, less
4154           overhead and no ntp jitter.
4155
4156 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
4157
4158         * gst/gstminiobject.c: (gst_mini_object_get_type),
4159         (gst_mini_object_class_init), (gst_mini_object_copy_default),
4160         (gst_mini_object_finalize), (gst_mini_object_copy),
4161         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
4162         (gst_mini_object_replace), (param_mini_object_validate),
4163         (gst_param_spec_mini_object_get_type):
4164         Some cleanup and checking against invalid function parameters.
4165
4166 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
4167
4168         * docs/gst/gstreamer-sections.txt:
4169         * gst/gstclock.h:
4170         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4171         (gst_systemclock_suite):
4172         Start merging in the easy bits of #361155, the monotonic clock patch.
4173         This one adds a few handy macros with docs and a testsuite.
4174
4175 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
4176
4177         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
4178         Be a bit smarter when seeking, like, don't try to do a seek when it's
4179         not needed. This avoids errors when the file is not seekable.
4180         Fixes #499771.
4181
4182 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
4183
4184         * docs/gst/gstreamer-docs.sgml:
4185         * docs/gst/gstreamer-sections.txt:
4186         * docs/gst/gstreamer.types.in:
4187         * gst/Makefile.am:
4188         * gst/gst.h:
4189         * gst/gstpreset.c:
4190         * gst/gstpreset.h:
4191         * plugins/elements/gstqueue.c:
4192           Due to popular request remove preset interface again. :-(.
4193
4194 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4195
4196         * tools/gst-inspect.c:
4197           Print 'default value' for enums and flags too.
4198
4199 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4200
4201         * docs/random/ensonic/profiling.txt:
4202           More ideas.
4203
4204         * gst/gstbin.c:
4205           Fix typo and give better log output.
4206
4207         * gst/gstdebugutils.c:
4208         * gst/gstdebugutils.h:
4209           More ideas, make graphs a bit smaller and fix param name in macro.
4210
4211 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4212
4213         * gst/gstpreset.c:
4214           Try harder to use the return value from fgets().
4215
4216 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
4217
4218         * gst/gstpreset.c:
4219           For theses two fgets we handle the error below.
4220
4221 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
4222
4223         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
4224         Only send upstream events upstream. Fixes #498746.
4225
4226 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
4227
4228         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4229
4230         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4231         (gst_identity_init), (gst_identity_transform_ip),
4232         (gst_identity_set_property), (gst_identity_get_property):
4233         * plugins/elements/gstidentity.h:
4234         Add property to disable handoff signal emission. Fixes #498694.
4235         API: GstIdentity::signal-handoffs
4236
4237 2007-11-21  Julien Moutte  <julien@fluendo.com>
4238
4239         * docs/faq/gst-uninstalled: Yet another missing library for the
4240         uninstalled script (fft)
4241
4242 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
4243
4244         * docs/faq/developing.xml:
4245         Add a question about how to submit new translations.
4246
4247         * docs/random/release:
4248         Update the contact email address for the Translation Project
4249
4250         * plugins/elements/gstfdsrc.c:
4251         The parent_class for fdsrc is pushsrc, not GstElement.
4252
4253 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
4254
4255         * gst/gstpreset.c:
4256           Plug a leak and fix saving.
4257
4258 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
4259
4260         * docs/gst/gstreamer-sections.txt:
4261         Add new gst_preset__get_property_names() function to the docs
4262         to fix the build.
4263
4264 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
4265
4266         * gst/gstpreset.c:
4267         * gst/gstpreset.h:
4268           Change _get_preset_names API to return a strv with copies. Add
4269           _get_property_names to allow implementations to filter and provide
4270           good default implementation.
4271
4272 2007-11-20  Julien MOUTTE  <julien@moutte.net>
4273
4274         * docs/faq/gst-uninstalled: Add another library to the uninstalled
4275         script (sdp).
4276
4277 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4278
4279         * gst/gstpreset.c:
4280           More cleanups, docs, and TODOs from comments that now slowly come in.
4281
4282 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4283
4284         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
4285         search path.
4286
4287 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4288
4289         * gst/gstpreset.c:
4290           Fix bogus warning and make the property type specific code more
4291           similar.
4292
4293 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4294
4295         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4296         it build on OS X.
4297
4298 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
4299
4300         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4301         (gst_bin_add_func), (gst_bin_remove_func),
4302         (gst_bin_change_state_func), (gst_bin_continue_func):
4303         Change email, cleanups add some more debug and comments.
4304         Also set bus and clock on new elements when the pipeline was in error.
4305
4306 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
4307
4308         * gst/gstbin.c:
4309         * gst/gstdebugutils.c:
4310           Fix build with --disable-gst-debug. Fixes #497859.
4311           Spotted by Sameer Naik.
4312
4313 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4314
4315         * gst/gstevent.c:
4316           Little documentation improvment.
4317
4318         * gst/gstpreset.c:
4319           More TODO cleanups. Remove c++ comments.
4320
4321         * libs/gst/controller/gstcontroller.c:
4322           Add TODO and use quark from static string.
4323
4324         * tests/check/gst/gstmessage.c:
4325         * tests/check/gst/gststructure.c:
4326           Use quark from static string.
4327
4328 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4329
4330         * gst/gstpreset.c:
4331           Add some comments and TODOs.
4332
4333         * gst/gstpreset.h:
4334           Add padding for future changes.
4335
4336         * plugins/elements/gstqueue.c:
4337           Implement the iface.    
4338
4339 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4340
4341         * docs/gst/gstreamer-docs.sgml:
4342         * docs/gst/gstreamer-sections.txt:
4343         * docs/gst/gstreamer.types.in:
4344         * gst/Makefile.am:
4345         * gst/gst.h:
4346         * gst/gstpreset.c:
4347         * gst/gstpreset.h:
4348           Add the preset interface (Fixes #396779). Do some doc cleanups along.
4349
4350 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
4351
4352         * configure.ac:
4353
4354         Back to CVS
4355
4356 === release 0.10.15 ===
4357
4358 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
4359
4360         * configure.ac:
4361           releasing 0.10.15, "October"
4362
4363 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
4364
4365         * win32/vs6/libgstreamer.dsp:
4366         Convert line endings back to DOS.
4367
4368 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
4369
4370         * docs/design/draft-tagreading.txt:
4371         * docs/random/ensonic/profiling.txt:
4372         Update fast tagreading draft and performance profiling ideas.
4373
4374 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4375
4376         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4377         Don't hold the object lock when unreffing a buffer because it could
4378         cause a deadlock when the finalize function wants to grab the object
4379         lock too. Fixes #495133.
4380
4381 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4382
4383         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4384         (gst_segment_to_stream_time), (gst_segment_to_running_time):
4385         Also accumulate time correctly when doing reverse playback. Fixes
4386         #488201,
4387         When converting to running and stream time, use default values for
4388         start/stop/time/accum when comparing different formats. Fixes #494245.
4389
4390         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4391         Do running/stream time in TIME format.
4392
4393         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4394         (gst_segment_suite):
4395         2 new unit tests for segment accumulation.
4396
4397 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4398
4399         * gst/gst.c: (init_pre):
4400         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4401           (_gst_debug_bin_to_dot_file):
4402           Move getenv() back into gst_init, so everyone can live happily
4403           ever after. Make sure the symbol isn't exported though.
4404
4405 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4406
4407         Patch by: Sebastien Moutte  <sebastien moutte net>
4408
4409         * win32/common/gstenumtypes.c:
4410         * win32/common/gstenumtypes.h:
4411           Update enum types.
4412
4413         * win32/vs6/libgstreamer.dsp:
4414           Update vs6 project files (#494343).
4415
4416 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4417
4418         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4419         (gst_base_src_perform_seek), (gst_base_src_default_event),
4420         (gst_base_src_set_flushing), (gst_base_src_activate_push),
4421         (gst_base_src_activate_pull):
4422         Unify flushing code, remove some old unlock code that is no longer used.
4423         Take the streaming lock when seeking to avoid races. Fixes #492729.
4424         Added some more comments.
4425
4426 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4427
4428         * gst/gst.c: (_gst_disable_segtrap):
4429           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
4430           we can use gst_segtrap_is_enabled() there now that we have that API.
4431           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4432           to do the getenv here (and export the variable).
4433
4434         * gst/gstdebugutils.c: (debug_dump_element),
4435           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4436           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4437
4438         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4439           (gst_debug_log_default):
4440           Rename _gst_info_start_time to priv_gst_info_start_time so it
4441           doesn't get exported (was never in any header).
4442
4443         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4444           (gst_plugin_loading_mutex):
4445           Make static mutex gst_plugin_loading_mutex really static (was never
4446           in any header), and use gst_segtrap_is_enabled() instead of
4447           _gst_disable_segtrap.
4448
4449         * gst/gsttrace.c: (_gst_trace_default):
4450           Make local _gst_trace_default static (was never in any header).
4451
4452 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4453
4454         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4455
4456         * win32/common/libgstbase.def:
4457         * win32/common/libgstcontroller.def:
4458         * win32/common/libgstdataprotocol.def:
4459         * win32/common/libgstnet.def:
4460         * win32/common/libgstreamer.def:
4461           Add more missing symbols, remove some duplicates, and sort
4462           as the 'sort' command sorts it (partially fixes #493983).
4463
4464 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4465
4466         * gst/gstelement.c: (gst_element_set_state_func):
4467         Only change the state cookie if a different state was set on the
4468         element. See #492729.
4469
4470 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4471
4472         * gst/gstvalue.c:
4473           Remove unused and uninitialised type variables that were still
4474           exported for some reason (they were never in any header files
4475           though).
4476
4477 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4478
4479         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4480         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4481         (gst_base_sink_event), (gst_base_sink_get_position_last),
4482         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4483         (gst_base_sink_change_state):
4484         Don't try to report a 0 position when we don't know, return -1 and FALSE
4485         instead. This mostly happens when we are prerolling.
4486         Make sure we can report the right position before we post the ASYNC_DONE
4487         message so that a message handler can query position without races.
4488
4489         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4490         (async_done_handoff), (async_done_func), (send_buffer),
4491         (async_done_eos_func), (gst_sinks_suite):
4492         Add two tests for the above.
4493
4494 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4495
4496         * MAINTAINERS:
4497         Update with new email address.
4498
4499         * docs/design/part-TODO.txt:
4500         Add some more info about future pad-block and negotiation changes.
4501
4502         * docs/design/part-buffering.txt:
4503         Add some ideas about buffering reporting.
4504
4505 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
4506
4507         * tests/check/gst/gstobject.c:
4508         Disable silly racy test that always fails on this combination of CPU
4509         and kernel.
4510
4511 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4512
4513         Patch by: Murray Cumming  <murrayc@murrayc.com>
4514
4515         * gst/gstobject.c:
4516           Corrected the registration of the parent-set and parent-unset
4517           signals: The parameter is a GstObject, not a GObject (#493134).
4518
4519 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4520
4521         * gst/gst_private.h:
4522         * gst/gstbuffer.h:
4523         * gst/gstevent.h:
4524         * gst/gstformat.h:
4525         * gst/gstmessage.h:
4526         * gst/gstplugin.h:
4527         * gst/gstquery.h:
4528         * gst/gsttaglist.h:
4529         * gst/gstvalue.h:
4530           Move declaration of private _gst_foo_initialize() functions into
4531           our private header file where they should have been all along.
4532
4533 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4534
4535         * docs/plugins/gstreamer-plugins-sections.txt:
4536         * gst/gstdebugutils.h:
4537         * gst/gstxml.h:
4538         * plugins/elements/gstqueue.c:
4539           gtk-doc fixes; trailing-comma-in-enum fix.
4540
4541 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4542
4543         * gst/gst.c: (gst_deinit):
4544           Clean up on deinit (not the external ones though, doesn't seem to be
4545           needed for some reason).
4546
4547 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4548
4549         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4550           Remove __declspec(dllimport) for MSVC that was copied over into core
4551           from a plugin, obviously without ever having been tested (note the
4552           single underscore in _declspec in the initial commit), and that doesn't
4553           really make sense.  See #492077.
4554
4555 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4556
4557         * gst/gst.c: (init_post):
4558         * gst/gstevent.c: (_gst_event_initialize):
4559         * gst/gstquery.c: (_gst_query_initialize):
4560         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4561           g_type_class_ref() other types as well, see #349410 and #64764.
4562
4563         * gst/gstbuffer.c: (_gst_buffer_initialize):
4564         * gst/gstmessage.c: (_gst_message_initialize):
4565           Simplify existing g_type_class_ref().
4566
4567 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4568
4569         * gst/gstformat.c: (_gst_format_initialize):
4570           g_type_class_ref() our GstFormat type to make sure we avoid the
4571           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4572           bug #64764. Should fix intermittent tee unit test failures (#474823).
4573
4574 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4575
4576         * tests/check/elements/tee.c: (test_num_buffers):
4577           Simplify, simplify, simplify - or not.  Rewrite unit test
4578           not to use gst_parse_launch(); allow N sub-streams. Increasing
4579           the number of sub-streams seems to reproduce #474823 more easily.
4580
4581 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4582
4583         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4584
4585         * gst/gsttrace.c:
4586         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4587         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4588         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4589           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4590           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4591           so use _pipe() directly (#492077).
4592
4593         * win32/common/dirent.c: (_treaddir):
4594           Add a couple of casts to make it build without warnings with MSVC.
4595
4596         * win32/common/libgstreamer.def:
4597           Add some more symbols that need to be exported.
4598
4599 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4600
4601         * tests/examples/metadata/read-metadata.c: (message_loop):
4602           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4603           arriving in a second or third tag message are added to
4604           the tag list as well.
4605
4606 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4607
4608         * libs/gst/base/gstbasesrc.c:
4609           Its "Since:" and not "@Since:". And remove an superflous cast.
4610
4611 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4612
4613         * docs/libs/gstreamer-libs-sections.txt:
4614         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4615         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4616         (gst_base_sink_get_property), (gst_base_sink_render_object),
4617         (gst_base_sink_preroll_object),
4618         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4619         (gst_base_sink_change_state):
4620         * libs/gst/base/gstbasesink.h:
4621         Add a new last-buffer property that contains the last buffer used in
4622         basesink for preroll or rendering. useful for making snapshots.
4623         API: gst_base_sink_get_last_buffer()
4624         API: GstBaseSink::last-buffer
4625
4626 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4627
4628         * docs/gst/running.xml:
4629         * gst/gst.c:
4630         * gst/gstdebugutils.c:
4631         * gst/gstdebugutils.h:
4632         * tools/gst-launch.c:
4633           Improve bin graph dumping, by using the envvar to specify a path.
4634           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4635
4636 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4637
4638         * plugins/elements/gsttypefindelement.c:
4639           (gst_type_find_element_handle_event),
4640           (gst_type_find_element_activate):
4641           Post special error message if we can't determine the type of a stream
4642           because it's empty.
4643
4644 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4645
4646         * docs/gst/running.xml:
4647         * gst/gstdebugutils.c:
4648           Document new env-var. Add one log-line after dumpng a graph.
4649
4650 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4651
4652         * configure.ac:
4653           Ugly hack to put the (recently removed and non-portable, apparently)
4654           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4655           GNU ld, because without that 'make check' fails miserably on my debian
4656           stable box.  Someone with more knowledge of linker intricacies and
4657           portability issues than me fix this properly please.
4658
4659 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4660
4661         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4662         Reset last seen position after flushing so that we don't report the old
4663         position anymore.
4664
4665 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4666
4667         * gst/gstelementfactory.c: (gst_element_register):
4668         * gst/gsturi.h:
4669         Patch from Alessandro Decina adding get_type_full and
4670         get_protocols_full private vfuncs to the URIHandler interface
4671         to allow bindings to support creating URI handlers. 
4672         Partially fixes: #339279
4673         API: GstURIHandlerInterface::get_type_full
4674         API: GstURIHandlerInterface::get_protocols_full
4675
4676 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4677
4678         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4679         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4680         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4681         Make it so that pads are considered linked until a buffer is pushed
4682         and discovered otherwise. This avoids problems with decodebin2 hanging
4683         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4684         case.
4685
4686         Make sure we lock the multiqueue when updating the max-size properties.
4687         
4688         Fix a crash on Solaris in a debug statement in get_request_pad that
4689         passes a NULL string to GST_DEBUG. 
4690
4691         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4692         (run_output_order_test):
4693         Fix the test to allow the first buffer on not-linked pads to come out
4694         of sequence while multiqueue discovers that they are not-linked.
4695
4696 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4697
4698         * configure.ac:
4699         * libs/gst/check/Makefile.am:
4700         Use a custom export symbol regex for libgstcheck, as it needs
4701         to export symbols that don't match the standard GStreamer gst_*
4702         pattern, and  --export-dynamic is not portable (only works on 
4703         GNU ld)
4704
4705         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4706         (gst_check_setup_sink_pad):
4707         Make sure to pass a message parameter to the fail_* macros.
4708
4709         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4710         Fix some compiler warnings.
4711
4712 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4713
4714         * tests/check/gst/gststructure.c: (test_to_string):
4715           Disable test that checks that white spaces are not allowed
4716           in structure names or field names, since we need to
4717           support that for now for backwards compatibility reasons.
4718
4719 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4720
4721         * docs/gst/gstreamer-sections.txt:
4722         * gst/gsttaglist.c:
4723         * gst/gsttaglist.h:
4724           API: add GST_TAG_ARTIST_SORTNAME
4725           API: add GST_TAG_ALBUM_SORTNAME
4726           API: add GST_TAG_TITLE_SORTNAME
4727           Add tag variants for sorting (#414539).
4728
4729 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4730
4731         * gst/gststructure.c:
4732           Also allow white space for names so we don't break
4733           backwards compatibility.
4734
4735 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4736
4737         * docs/design/part-TODO.txt:
4738         * docs/design/part-segments.txt:
4739         * docs/design/part-streams.txt:
4740         Small updates.
4741
4742 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4743
4744         * docs/gst/gstreamer-sections.txt:
4745          Fixed documentation from my previous commit (added new API add
4746          gst_value_set_structure(), add gst_value_get_structure() and
4747          GST_VALUE_HOLDS_STRUCTURE).
4748
4749 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4750
4751         * gst/gstdebugutils.c:
4752           Reflow code to fix uninitialized variable warning.
4753
4754 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4755
4756         * gst/gstcaps.c: (gst_caps_to_string),
4757         (gst_caps_from_string_inplace):
4758         * gst/gststructure.c: (gst_structure_get_abbrs),
4759         (gst_structure_to_string), (gst_structure_from_string):
4760         * gst/gstvalue.c: (gst_value_set_structure),
4761         (gst_value_get_structure), (gst_value_serialize_structure),
4762         (gst_value_deserialize_structure), (_gst_value_initialize):
4763         * gst/gstvalue.h:
4764         * tests/check/gst/gststructure.c: (GST_START_TEST),
4765         (gst_structure_suite):
4766         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4767          Added GstStructure to gst_value_table and its related functions.
4768          Changed gst_structure_to_string to print ';' in the end.
4769          Changed gst_caps_to_string to not print ';' beteween its
4770          fields (structures) anymore and remove the lastes ';' from latest
4771          structure. Now it is possible to have nested structures.
4772          In addition, backward compatibilty is assured by accepting '\0' as
4773          end delimiter. Fixes: #487969.
4774          API: add gst_value_set_structure()
4775          API: add gst_value_get_structure()
4776          API: add GST_VALUE_HOLDS_STRUCTURE
4777
4778 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4779
4780         * gst/gstbus.c:
4781           When no GSource callback has been set up, tell developer
4782           to use a function that actually exists.
4783
4784 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4785
4786         * docs/gst/gstreamer-sections.txt:
4787         * gst/Makefile.am:
4788         * gst/gst.c:
4789         * gst/gst.h:
4790         * gst/gstdebugutils.c:
4791         * gst/gstdebugutils.h:
4792         * gst/gstinfo.c:
4793         * gst/gstinfo.h:
4794         * tools/gst-launch.c:
4795           Allow dumping pipelines as dot graphs. Fixes #456573.
4796
4797 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4798
4799         * gst/gststructure.c:
4800           Allow '+' as well, it can be part of media or mime types
4801           such as image/svg+xml.
4802
4803 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4804
4805         * docs/gst/gstreamer-sections.txt:
4806         * gst/gstbus.c:
4807         * gst/gstbus.h:
4808           API: add gst_bus_pop_filtered
4809           API: add gst_bus_timed_pop_filtered
4810           Two new functions for waiting for specific message types on the
4811           bus for a specified amount of time without iterating any main
4812           loops or main contexts.
4813
4814         * tests/check/gst/gstbus.c:
4815           Some tests for the new functions.
4816
4817 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4818
4819         * docs/libs/gstreamer-libs-sections.txt:
4820           Make gtk-doc ignore stuff it should ignore.
4821
4822 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4823
4824         * libs/gst/check/gstcheck.c:
4825         * libs/gst/check/gstcheck.h:
4826           Allow runtime selection of unit tests to run via the GST_CHECKS
4827           environment variable (test case function names, comma-separated).
4828
4829 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4830
4831         * gst/gststructure.c:
4832         * tests/check/gst/gststructure.c:
4833           Revert serialisation change and constrain structure-names after
4834           consensus on irc. Update api documentation to reflect the change.
4835
4836 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4837
4838         * gst/gststructure.c:
4839           Improve serialization and fix tests.
4840
4841         * tests/check/gst/gststructure.c:
4842           Add another test that covers why I actually did the previous structure
4843           change.
4844
4845 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4846
4847         * tools/gst-inspect.c: (print_element_info):
4848         Don't crash when inspecting an element.
4849
4850 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4851
4852         * tests/check/gst/gststructure.c:
4853           Add unit test for escaping of structure name when serialising
4854           and deserialising to/from strings.
4855
4856 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4857
4858         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4859         (gst_single_queue_new):
4860         * plugins/elements/gstqueue.c: (gst_queue_init),
4861         (gst_queue_push_one):
4862         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4863         upstream is tricked into thinking it can suggest a format downstream
4864         while downstream does not support that format. The real problem is that
4865         core calls acceptcaps when pushing a buffer with new caps, for which we
4866         do a little workaround by setting the caps on the srcpad ourselves
4867         before pushing the buffer (until this is figured out). Fixes #486758.
4868
4869 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4870
4871         * gst/gststructure.c:
4872         * gst/gstvalue.c:
4873           Add some more comments and debug output. Quote structure name to fix
4874           deserialisation of some strings.
4875
4876 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4877
4878         * gst/gstbuffer.h:
4879           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4880           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4881
4882 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4883
4884         * tools/gst-inspect.c:
4885           Save approx. 400 1 byte allocs when printing. Use API to acces element
4886           details.
4887
4888         * tools/gst-run.c:
4889           Avoid a strdup.
4890
4891         * tools/gst-xmlinspect.c:
4892           Use API to acces element details.
4893
4894 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4895
4896         * gst/gstinfo.c:
4897           Fix some spelling errors.
4898
4899 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4900
4901         * gst/gstbin.c: (bin_handle_async_done):
4902         Correctly set the next state if all of our async children commited their
4903         state. This makes sure we can actually cancel the state change in
4904         progress. Fixes a regression in Rhythmbox when seeking.
4905
4906 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4907
4908         * gst/gstbin.c:
4909           Don't shadow local variable.
4910
4911         * gst/gstinfo.c:
4912           Don't shadow global function name.
4913
4914 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4915
4916         * gst/gstelementfactory.c:
4917         * gst/gstpluginfeature.c:
4918         * gst/gstpluginfeature.h:
4919         * gst/gstregistrybinary.c:
4920         * gst/gstregistryxml.c:
4921         * gst/gsttypefind.c:
4922           Use already-interned string for the private GstPluginFeature
4923           plugin_name field.
4924
4925 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4926
4927         * docs/libs/gstreamer-libs-sections.txt:
4928           Add new API to docs; fixes the build.
4929
4930 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4931         
4932         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4933
4934         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4935         (gst_base_sink_event):
4936         * libs/gst/base/gstbasesink.h:
4937         Add function to wait for EOS, subclasses can use this to correctly wait
4938         for devices to drain before performing the EOS logic. Fixes #485343.
4939         API: gst_base_sink_wait_eos()
4940
4941 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4942
4943         * gst/gstplugin.h:
4944           Cast description string constants in GST_PLUGIN_DEFINE macros
4945           to a (gchar*) to make C++ code using these macros compile
4946           without warning with g++-4.2 (see #462737).  Even if slightly
4947           ugly, this seems preferable to putting the description strings
4948           into the GLib quark table or making the structure member a
4949           const gchar * and doing casts in core code that allocs and
4950           frees these strings, or requiring a cast in the C++ code.
4951
4952 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4953
4954         * gst/gstinfo.h:
4955           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4956           to print the entire class/function signature into the log
4957           file for C++ code.  This only affects C++ code, for C code
4958           everything remains the same.
4959
4960 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4961
4962         * gst/gstbin.c: (remove_from_queue):
4963         Work around a problem with pipelines containing (semi)loops until a
4964         proper, more complicated solution is ready. See #475455.
4965
4966 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4967
4968         * gst/gstplugin.c:
4969         * gst/gstplugin.h:
4970         * gst/gstregistrybinary.c:
4971         * gst/gstregistryxml.c:
4972           Put more strings into the GLib quark table. No need to keep
4973           a hundred-something copies of identical version strings,
4974           license strings, package name strings and package origin
4975           strings around. 
4976
4977 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4978
4979         * docs/manual/advanced-dataaccess.xml:
4980           Don't imply that it's okay to unconditionally change
4981           buffer data or buffer metadata in a pad probe callback,
4982           and a bunch of other comments. Fixes #430031.
4983
4984 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4985
4986         * win32/common/gstenumtypes.c:
4987         * win32/common/gstenumtypes.h:
4988         * win32/common/gstversion.h:
4989           Update generated files.
4990
4991 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4992
4993         * docs/manual/advanced-autoplugging.xml:
4994           Prefix section with broken code with a warning (see #342432).
4995
4996 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4997
4998         * docs/manual/appendix-integration.xml:
4999         * docs/manual/basics-init.xml:
5000           Call g_thread_init() before g_option_context_new() to
5001           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
5002
5003 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
5004
5005         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5006         (gst_base_sink_queue_object_unlocked),
5007         (gst_base_sink_queue_object), (gst_base_sink_event),
5008         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
5009         When we received EOS and are waiting for when to post the EOS message,
5010         our state is prerolled and we should not return ASYNC.
5011         Reorganize some code paths to implement this behavior.
5012
5013         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5014         (gst_sinks_suite):
5015         Add unit test to verify above EOS fix.
5016
5017 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
5018
5019         * plugins/elements/gsttypefindelement.c:
5020         (gst_type_find_element_have_type), (gst_type_find_element_init),
5021         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
5022         Move detecting the input caps of the sinkpad to the setcaps function.
5023         This allows us to update the output caps when we receive new input caps
5024         instead of always using the first detected caps.
5025
5026 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
5027
5028         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5029         (gst_base_sink_get_position):
5030         Don't try to preroll non-async elements after a flush.
5031         Subtract latency form clock times when reporting position.
5032
5033 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
5034
5035         * gst/gstpad.c: (gst_pad_pause_task):
5036         * gst/gstutils.c:
5037         Small comment and documentation update.
5038
5039 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
5040
5041         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5042         (gst_base_src_set_live), (gst_base_src_is_live),
5043         (gst_base_src_query_latency), (gst_base_src_perform_seek),
5044         (gst_base_src_default_event), (gst_base_src_wait),
5045         (gst_base_src_do_sync), (gst_base_src_get_range),
5046         (gst_base_src_pad_get_range), (gst_base_src_loop),
5047         (gst_base_src_unlock), (gst_base_src_unlock_stop),
5048         (gst_base_src_set_flushing), (gst_base_src_set_playing),
5049         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5050         (gst_base_src_change_state):
5051         Rework the locking of basesrc in a similar fashion to basesink. We
5052         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
5053         us to handle live sources and semi live ones much better.
5054         Simplify flushing.
5055         Fix unlocking when seeking, shutting down and pausing in live sources.
5056
5057 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
5058
5059         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
5060         Fix compilation again.
5061
5062 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5063
5064         * gst/gstelement.c:
5065           Use meaningful categories for the logs to clean the default one.
5066
5067 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5068
5069         * tests/check/pipelines/cleanup.c:
5070           Print message name and not just number.
5071
5072 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5073
5074         * docs/design/draft-tagreading.txt:
5075           Add some more thoughts.
5076
5077 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5078
5079         * tests/check/pipelines/simple-launch-lines.c:
5080           Print message name and not just number.
5081
5082 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5083
5084         * libs/gst/base/gsttypefindhelper.c:
5085           Speedup typefinding. This is work in progress (see #459862).
5086
5087 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5088
5089         * gst/gstplugin.c:
5090           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
5091           Spotted by Josep Torra Valles <josep@fluendo.com>.
5092
5093 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
5094
5095         * gst/gstclock.h:
5096           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
5097           field has moved to GstObject.
5098
5099 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
5100
5101         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
5102         (gst_base_src_get_range), (gst_base_src_change_state):
5103         Call unlock for live sources so that they can't get stuck in _create and
5104         produce a buffer before they are set back to PLAYING.
5105
5106 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
5107
5108         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5109         (gst_queue_locked_dequeue):
5110         Comment the segment-related code... in the PROPER function.
5111         See #482147 and my commit from yesterday.
5112
5113 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
5114
5115         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5116         Also initialize the counter that calculates the first timestamp on a
5117         buffer correctly for non-live sources.
5118
5119 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
5120
5121         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
5122         Disable code that's breaking the current-time-level reporting.
5123         See #482147
5124
5125 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
5126
5127         * docs/gst/gstreamer-sections.txt:
5128         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
5129         as they shouldn't show up. Fixes the docs build.
5130
5131 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
5132         
5133         * gst/gstinfo.h:
5134         Add an explicit variable importation needed on VS6 (only for MSC_VER)
5135         Define M_PI which is used in files which are including gstinfo.h. 
5136         VS6 includes doesn't define it.
5137         * win32/common/libgstbase.def:
5138         * win32/common/libgstcontroller.def:
5139         * win32/common/libgstreamer.def:
5140         Add new exported functions and variables.
5141         * win32/vs6/libgstcontroller.dsp:
5142         * win32/vs6/libgstreamer.dsp:
5143         Update the list of files to build.
5144         
5145 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
5146
5147         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5148
5149         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
5150         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
5151         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
5152         Improve debugging. Fixes #480858.
5153
5154 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
5155
5156         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5157
5158         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5159         First patch of code cleanups, use the macros and right arguments in the
5160         macros to signal and lock the queue. See #480858.
5161
5162 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
5163
5164         * gst/gstbus.c: (poll_func):
5165         Improve debugging when dealing with _poll().
5166
5167 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5168
5169         * gst/gstregistryxml.c:
5170           Fix memory leak I introduced a few days ago.
5171
5172 2007-09-26  Michael Smith <msmith@fluendo.com>
5173
5174         * gst/gstbuffer.c: (gst_buffer_finalize):
5175           Make it once again possible to free GstBuffers in the default
5176           build.
5177           The poisoning scribbles on parts of the miniobject we need in
5178           order to free it.
5179           Fixes #480341
5180
5181 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5182
5183         * docs/gst/gstreamer-sections.txt:
5184         * gst/gsttaglist.c:
5185         * gst/gsttaglist.h:
5186         API: add GST_TAG_COMPOSER, fixes #459809.
5187
5188 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
5189
5190         * gst/gstplugin.c:
5191         * gst/gstplugin.h:
5192         Add the 3-clause BSD license and the MIT/X11 license to the license
5193         list. Fixes #479784.
5194
5195 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5196
5197         * docs/faq/getting.xml:
5198           Add Q+A about different GStreamer versions (#364056).
5199
5200 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5201
5202         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5203         (gst_base_sink_event), (gst_base_sink_change_state):
5204         Return correct gboolean from query function.
5205
5206 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5207
5208         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5209         (gst_base_sink_event), (gst_base_sink_query),
5210         (gst_base_sink_change_state):
5211         Simplify latency query.
5212         When not synchronizing, we can report latency without querying the peer
5213         element.
5214
5215 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5216
5217         * gst/gstobject.h:
5218         * gst/gstvalue.c:
5219         Fix small typos in the docs.
5220
5221 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5222
5223         * docs/design/draft-latency.txt:
5224         * docs/design/draft-push-pull.txt:
5225         * docs/design/draft-tagreading.txt:
5226         * docs/design/part-MT-refcounting.txt:
5227         * docs/design/part-activation.txt:
5228         * docs/design/part-block.txt:
5229         * docs/design/part-element-source.txt:
5230         * docs/design/part-events.txt:
5231         * docs/design/part-gstbin.txt:
5232         * docs/design/part-gstelement.txt:
5233         * docs/design/part-gstobject.txt:
5234         * docs/design/part-gstpipeline.txt:
5235         * docs/design/part-messages.txt:
5236         * docs/design/part-preroll.txt:
5237         * docs/design/part-push-pull.txt:
5238         * docs/design/part-qos.txt:
5239         * docs/design/part-query.txt:
5240         * docs/design/part-scheduling.txt:
5241         * docs/design/part-seeking.txt:
5242         * docs/design/part-segments.txt:
5243         * docs/design/part-states.txt:
5244         Documentation updates and typo fixes.
5245
5246 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5247
5248         * plugins/elements/gstfakesink.c:
5249           Add some debug text to error message to indicate that
5250           we errored out on request.
5251
5252         * tools/gst-launch.c:
5253           When the state change to PLAYING fails, check for an
5254           error message on the bus and print it.
5255
5256 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5257
5258         translated by: Jorge González González <aloriel@gmail.com>
5259
5260         * po/LINGUAS:
5261         * po/es.po:
5262           Added Spanish translation.
5263
5264 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
5265
5266         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5267         Fix printf arguments.
5268
5269 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
5270
5271         * tests/check/generic/states.c:
5272           Improved state change unit test.
5273
5274 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
5275
5276         * gst/gstbin.h:
5277           Move priv to the right place.
5278
5279         * gst/gstsystemclock.c:
5280           Add FIXME: and improve log.
5281
5282         * tests/check/Makefile.am:
5283         * tests/examples/manual/Makefile.am:
5284           Work with all types of registries.
5285
5286 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
5287
5288         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5289         Don't unref the event after pushing it. Fixes #478401.
5290
5291 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5292
5293         * .cvsignore:
5294         * tests/examples/manual/.cvsignore:
5295           Ignore registries in any format.
5296
5297 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5298
5299         * gst/glib-compat-private.h:
5300           Add compatibility macro for g_intern_string() for
5301           GLib-2.8 (any reason we can't just bump the
5302           requirement to at least 2.10?)
5303
5304         * gst/gstpadtemplate.h:
5305         * gst/gstelementfactory.c:
5306         * gst/gstregistryxml.c:
5307         * gst/gstregistrybinary.c:
5308           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5309           up the internal code accordingly.  This shouldn't be a problem, since
5310           there is no reason external code could ever assume the string in such
5311           a structure is dynamically allocated unless it did that itself;  the
5312           use of g_strdup() is private to element factories.  The new code also
5313           saves some memory by putting pad template name strings into the GLib
5314           quark table instead of allocating them dynamically.
5315           Declaring this field constant fixes warnings with g++-4.2 when using
5316           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5317
5318 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5319
5320         * gst/gstelementfactory.c:
5321           Release static caps. Fixes #475723.
5322
5323 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
5324
5325         * gst/gstinfo.c:
5326         * gst/gstinfo.h:
5327           Make some internal API take const gchar * instead of just
5328           gchar * to avoid compiler warnings with g++-4.2.2 when
5329           passing string constants (partially fixes #478092).
5330
5331 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5332
5333         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5334         A latency query fails when one of the sinks fail.
5335
5336         * gst/gstelement.c: (gst_element_set_base_time):
5337         Improve debugging.
5338
5339 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5340
5341         * gst/gstbin.c: (gst_bin_continue_func):
5342         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5343         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5344         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5345
5346         Fix minor compilation warnings shown with Forte.
5347
5348 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5349
5350         * plugins/elements/gstqueue.c: (apply_buffer),
5351         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5352         Measure queue level based on the diff between head and tail timestamps
5353         even when pushing the first buffer.
5354
5355 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5356
5357         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5358         (gst_base_sink_event), (gst_base_sink_change_state):
5359         Sinks that don't preroll can always be queried for the latency.
5360         Don't post ASYNC start when we are not async.
5361
5362 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5363
5364         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5365         (gst_queue_handle_sink_event), (gst_queue_chain),
5366         (gst_queue_push_one), (gst_queue_handle_src_query),
5367         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5368         * plugins/elements/gstqueue.h:
5369         When downstream returns UNEXPECTED from pushing a buffer, don't try to
5370         push more buffers but allow pushing of EOS and NEWSEGMENT.
5371         Add some more debug info here and there. Fixes #476514.
5372
5373 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5374
5375         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5376         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5377         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5378         (gst_base_sink_set_flushing), (gst_base_sink_query),
5379         (gst_base_sink_change_state):
5380         Latency query is allowed after we are prerolled. Introduce a new flag
5381         for this and stop abusing other variables.
5382
5383 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5384
5385         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5386         Push OOB events downstream when we get them in send_event. This allows
5387         the application to insert events in the pipeline.
5388         Add some more comments.
5389
5390 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5391
5392         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5393         (do_bin_latency), (gst_bin_change_state_func):
5394         * gst/gstpipeline.c: (gst_pipeline_change_state):
5395         Move latency query from GstPipeline to GstBin so that we can also
5396         use it when async-handling is enabled on bins.
5397
5398 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5399
5400         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5401         (gst_base_src_do_sync), (gst_base_src_change_state):
5402         Update docs.
5403         Clean up the timestamping and syncing code for pseudo live sources.
5404
5405 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
5406
5407         Patch by: Steve Fink  <sphink gmail com>
5408
5409         * docs/manual/appendix-checklist.xml:
5410           Mention less -R switch in the section about debug output (#474055).
5411
5412 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5413
5414         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5415         Queue can latency to the pipeline up to the configured max size in time.
5416         Report this fact in the latency query.
5417
5418 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5419
5420         Patch by: Sebastien Moutte <sebastien at moutte dot net>
5421
5422         * libs/gst/controller/gstinterpolation.c:
5423         * libs/gst/controller/gstlfocontrolsource.c:
5424         Use gst_guint64_to_gdouble() when converting from a uint64 or
5425         GstClockTime to double to fix the build on win32. Fixes #474371.
5426
5427 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5428
5429         * gst/gstbuffer.c: (gst_buffer_finalize):
5430         Implement poisoning for GstBuffer if --enable-poisoning is specified.
5431         When finalizing a buffer the complete struct is filled with 0xff,
5432         thus making a use of the buffer after the final unref impossible.
5433
5434 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5435
5436         * tests/check/libs/controller.c: (GST_START_TEST):
5437         Use fail_unless_equals_int(a, b) instead of
5438         fail_unless_equals (a == b) to get better output on failures.
5439
5440 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5441
5442         * tests/check/gst/gsturi.c:
5443           Also check for the other file URI variant on win32.
5444
5445 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5446
5447         * gst/gsturi.c: (gst_uri_get_location):
5448           If there's no hostname, we want to return 'c:/foo/bar.txt'
5449           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5450
5451         * tests/check/gst/gsturi.c:
5452           Unit test for the above and a few more things.
5453
5454 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5455
5456         * docs/design/part-live-source.txt:
5457         Add docs on how live sources should timestamp.
5458
5459         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5460         Add some more debug info.
5461         For subclasses that are live and like to sync, add aditional startup
5462         latency to sync time and timestamps so that we timstamp according to the
5463         design doc.
5464
5465 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5466
5467         * gst/gstbuffer.c:
5468           Also do a g_type_class_ref() for the subbuffer type in
5469           the init function.
5470
5471 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5472
5473         * docs/gst/gstreamer-sections.txt:
5474         * gst/gstpad.c: (gst_pad_peer_query):
5475         * gst/gstpad.h:
5476         Add function to perform a query on the peer of a pad.
5477         API: gst_pad_peer_query()
5478
5479 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
5480
5481         * tests/check/gst/gstsystemclock.c:
5482           Cleanup the test a little (use gst-logging and not g_message). Improve
5483           test to check if a wait reached the target.
5484
5485 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5486
5487         * docs/libs/gstreamer-libs-sections.txt:
5488           Add new API to docs and fix the build.
5489
5490 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
5491
5492         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5493         (gst_base_src_init), (gst_base_src_set_do_timestamp),
5494         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5495         (gst_base_src_get_property), (gst_base_src_do_sync):
5496         * libs/gst/base/gstbasesrc.h:
5497         Add property to make the basesrc timestamp buffers based on the current
5498         running time.
5499         API: GstBaseSrc::do-timestamp
5500         API: gst_base_src_set_do_timestamp()
5501         API: gst_base_src_get_do_timestamp()
5502
5503 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
5504
5505         * docs/random/release:
5506           Really make sure translations are up-to-date before
5507           a release (#465010).
5508
5509 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
5510
5511         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5512         Always destroy the timer, also in error cases.
5513
5514 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5515
5516         * docs/manual/highlevel-xml.xml:
5517         Fix XML example code. Fixes #472714.
5518
5519 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5520
5521         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5522         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5523         (gst_base_sink_query):
5524         Protect eos and have_preroll with the OBJECT lock so we don't need to
5525         take the PREROLL lock when querying the latency. Fixes #473846.
5526
5527 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
5528
5529         * gst/gstelement.c:
5530           Give some log-messages a category.
5531
5532 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
5533
5534         * gst/gststructure.c:
5535         (gst_structure_fixate_field_nearest_fraction):
5536         Fix fraction list fixation code. Take the fraction with the smallest
5537         difference with the target instead of the first one in the list.
5538
5539         * tests/check/gst/gststructure.c: (GST_START_TEST),
5540         (gst_structure_suite):
5541         Added test to verify correct fraction list fixation behaviour.
5542
5543 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
5544
5545         * win32/common/libgstreamer.def:
5546           Export gst_bus_add_signal_watch too.
5547
5548 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
5549
5550         * docs/libs/gstreamer-libs-sections.txt:
5551         Add new methods to docs.
5552
5553         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5554         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5555         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5556         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5557         * libs/gst/base/gstbasesink.h:
5558         Add ts-offset property to fine-tune the synchronisation.
5559         API: GstBaseSink::ts-offset property
5560         API: gst_base_sink_set_ts_offset()
5561         API: gst_base_sink_get_ts_offset()
5562
5563 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
5564
5565         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5566         (gst_base_sink_init), (gst_base_sink_set_sync),
5567         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5568         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5569         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5570         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5571         (gst_base_sink_get_property), (gst_base_sink_change_state):
5572         * libs/gst/base/gstbasesink.h:
5573         Add async property to instruct the sink never to inform the parent about
5574         ASYNC state changes, update docs.
5575         Check argument with g_return_* for the public functions.
5576         API: GstBaseSink::async property
5577         API: gst_base_sink_set_async_enabled()
5578         API: gst_base_sink_is_async_enabled()
5579
5580 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5581
5582         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5583         Improve debugging.
5584
5585         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5586         (gst_base_src_default_query), (gst_base_src_wait),
5587         (gst_base_src_do_sync), (gst_base_src_change_state):
5588         Rearrange some code so that we can add support for measuring the 
5589         startup latency.
5590
5591 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5592
5593         * docs/random/ensonic/dynlink.txt:
5594           More thoughs on this.
5595
5596         * plugins/elements/gstcapsfilter.c:
5597           Add bugzilla ticket number to FIXME comment.
5598
5599 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5600
5601         * docs/design/part-TODO.txt:
5602         * docs/design/part-block.txt:
5603         Update some docs.
5604
5605 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5606
5607         * gst/Makefile.am:
5608           Revert patch which uses $(gst_headers) instead of $^ because it
5609           breaks make dist.
5610
5611 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5612
5613         * tests/check/gst/gstbin.c: (GST_START_TEST):
5614           Fix leaks in the new unit test.
5615
5616 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5617
5618         * gst/gst.c:
5619           Don't use GST_INFO before the debug system is actually initialised
5620           (shouldn't do any harm, but won't print anything either, so we can
5621           just as well remove it).
5622
5623         * gst/gstinfo.h:
5624           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5625           compilers that don't support variadic macros (such as MSVC), should
5626           check for debug_level <= __gst_debug_min as well, since that's the
5627           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5628           inline helper functions. Should improve performance a bit, but also
5629           makes sure uses of GST_INFO et.al are ignored if the debugging
5630           system isn't initialised yet (instead of printing an assertion
5631           failure).
5632
5633 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5634
5635         patch by: David Nečas <yeti@physics.muni.cz>
5636
5637         * gst/Makefile.am:
5638           Replace some non portable makefile constructs.
5639
5640 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5641
5642         * common/gtk-doc-plugins.mak:
5643           Grrrrr. Don't remove the types file on make clean.
5644
5645 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5646
5647         * tools/gst-launch.1.in:
5648         Add colorspace to example pipeline. Fixes #458274.
5649
5650 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5651
5652         * docs/random/release:
5653           The release manager should run 'make download-po' before making a
5654           release to make sure translations are up-to-date.
5655
5656         * po/LINGUAS:
5657         * po/be.po:
5658         * po/pl.po:
5659         * po/rw.po:
5660           Add some new translations.
5661
5662 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5663
5664         * tools/gst-launch.c: (event_loop), (main):
5665         Don´t try to do any state management when a live pipeline posts
5666         buffering messages.
5667         Also make the buffering string translatable.
5668
5669 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5670
5671         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5672         (bin_handle_async_start), (gst_bin_handle_message_func):
5673         Improve debugging.
5674         When adding elements, insert messages into the bus of the newly added
5675         element and make sure the element is the source of the message. This
5676         allows the parent bin to intercept the message and do the
5677         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5678         messages to the app (which is not allowed).
5679         Update some docs.
5680
5681         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5682         Fix testsuite so that is does not work around messages that should not
5683         have been posted in the first place.
5684
5685 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5686
5687         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5688         (update_degree), (gst_bin_sort_iterator_next):
5689         Fix annoying bug in the sorted iterator where a sink that is not really
5690         a sink (when it has downstream links) screwed up the iterator.
5691
5692         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5693         Unit test to verify the fix.
5694
5695 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5696
5697         * gst/gstmessage.h:
5698         Add some more docs for the messages.
5699
5700         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5701         (gst_base_sink_query):
5702         Add some more debugging.
5703
5704         * tools/gst-launch.c: (event_loop):
5705         When interrupting, don't try to set pipeline to PAUSED twice.
5706
5707 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5708
5709         
5710         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5711         (bin_handle_async_start), (gst_bin_handle_message_func):
5712         Move ASYNC_START message posting to where it belongs, similar to
5713         async_done. 
5714         Don't post ASYNC_START when we are in error. 
5715         Post ASYNC_START when we added an async element to a bin.
5716
5717 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5718
5719         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5720         generation from vargs. Fixes #466595.
5721
5722 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5723
5724         * gst/gstbin.c: (gst_bin_element_set_state):
5725         Always change the state of a NO_PREROLL element even if it has ASYNC
5726         elements inside (in case of a bin).
5727
5728         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5729         Unit test for this case.
5730
5731 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5732
5733         * libs/gst/check/gstbufferstraw.c:
5734         * libs/gst/check/gstcheck.h:
5735         * libs/gst/controller/gstcontroller.c:
5736         * libs/gst/controller/gstcontrolsource.h:
5737         * libs/gst/controller/gstlfocontrolsource.h:
5738         * plugins/elements/gstcapsfilter.h:
5739         * plugins/elements/gstfdsink.h:
5740         * plugins/elements/gstfdsrc.h:
5741           Add more missing docs.
5742
5743 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5744
5745         * gst/gststructure.c:
5746         Add Since tag to docs.
5747
5748 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5749
5750         * docs/gst/gstreamer-sections.txt:
5751         * gst/gststructure.c: (gst_structure_get_uint):
5752         * gst/gststructure.h:
5753         Add function to get uint from a structure.
5754         API: gst_structure_get_uint()
5755
5756 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5757
5758         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5759         (gst_caps_intersect):
5760         Fix proper check for simple caps.
5761
5762 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5763
5764         * docs/gst/Makefile.am:
5765         * docs/libs/Makefile.am:
5766           Remove cruft and do some cleanups.
5767
5768         * docs/gst/gstreamer-docs.sgml:
5769         * docs/libs/gstreamer-libs-docs.sgml:
5770           Prepare for comming gtkdoc features (rebase against online docs).
5771
5772 2007-08-10  Michael Smith <msmith@fluendo.com>
5773
5774         * docs/gst/gstreamer-sections.txt:
5775           Add gst_registry_add_path to docs.
5776
5777 2007-08-10  Michael Smith <msmith@fluendo.com>
5778
5779         * gst/gstregistry.h:
5780           Add gst_registry_add_path, which was missing from this header.
5781
5782 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5783
5784         * libs/gst/controller/gstlfocontrolsource.c:
5785           Printf format fix.
5786
5787 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5788
5789         * libs/gst/base/gstbasesink.c:
5790           Don't send an async_start message during downwards state change if 
5791           target state is less than READY
5792
5793 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5794
5795         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5796
5797         * po/LINGUAS:
5798         * po/hu.po:
5799           Added Hungarian translation.
5800
5801 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5802
5803         * po/fi.po:
5804         * po/it.po:
5805         * po/nl.po:
5806         * po/sv.po:
5807         * po/uk.po:
5808           Updated translations.
5809
5810 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5811
5812         * libs/gst/controller/Makefile.am:
5813         Dist gstlfocontrolsourceprivate.h
5814
5815 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5816
5817         * docs/libs/gstreamer-libs.types:
5818         Don't register the enum type gst_lfo_waveform_get_type() in the
5819         .types file - only GObject derived types belong.
5820
5821 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5822
5823         Patch by: <arenevier at fdn dot fr>
5824
5825         * gst/gstbuffer.h:
5826         Remove comma from last element in enum to avoid compile errors when
5827         using -pendantic. Fixes #464366.
5828
5829 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5830
5831         * docs/design/part-TODO.txt:
5832         Add some more TODO items
5833
5834         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5835         Improve debugging.
5836
5837         * gst/gstcaps.c: (gst_caps_intersect):
5838         Optimize trivial intersection case between identical caps pointers.
5839
5840         * gst/gstelement.c: (gst_element_continue_state),
5841         (gst_element_set_state_func):
5842         * gst/gstpad.c:
5843         Fix spelling and grammar mistakes.
5844
5845 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5846
5847         * po/POTFILES.in:
5848         * po/POTFILES.skip:
5849           Update POTFILES. Fixes #461599.
5850
5851 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5852
5853         * gst/gst.c:
5854         Fix confusing typo in debug output.
5855
5856 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5857
5858         reviewed by: Stefan Kost <ensonic@users.sf.net>
5859
5860         * libs/gst/controller/Makefile.am:
5861         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5862         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5863         (gst_lfo_control_source_new),
5864         (gst_lfo_control_source_set_waveform),
5865         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5866         (gst_lfo_control_source_finalize),
5867         (gst_lfo_control_source_dispose),
5868         (gst_lfo_control_source_set_property),
5869         (gst_lfo_control_source_get_property),
5870         (gst_lfo_control_source_class_init):
5871         * libs/gst/controller/gstlfocontrolsource.h:
5872         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5873         API: Add GstLFOControlSource, a control source that gives values
5874         for specific timestamps based on several periodic waveforms.
5875         Fixes #459717.
5876
5877         * tests/check/libs/controller.c: (GST_START_TEST),
5878         (gst_controller_suite):
5879         * docs/libs/gstreamer-libs-docs.sgml:
5880         * docs/libs/gstreamer-libs-sections.txt:
5881         * docs/libs/gstreamer-libs.types:
5882         Add documentation and unit tests for GstLFOControlSource.
5883
5884 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5885
5886         * configure.ac:
5887         Back to CVS
5888
5889 === release 0.10.14 ===
5890
5891 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5892
5893         * configure.ac:
5894           releasing 0.10.14, "Breathing Vacuum"
5895
5896 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5897
5898         * gst/gstelement.c: (gst_element_class_set_details_simple):
5899         * gst/gstelement.h:
5900           Make strings passed to gst_element_class_set_details_simple()
5901           constant, as they should be (#462752).
5902
5903 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5904
5905         * gst/gstbin.c: (gst_bin_change_state_func),
5906         (bin_handle_async_done), (gst_bin_handle_message_func):
5907         Don't forget about the fact that some element went ASYNC even after a
5908         resync. This makes us post the ASYNC_DONE message correctly.
5909         Fixes #462558.
5910
5911 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5912
5913         * gst/gstregistry.c: (gst_registry_add_feature):
5914         When replacing an existing feature in the registry, make sure to
5915         continue holding a reference until we've replaced the name string
5916         within our feature hash table. Make sure to use g_hash_table_replace
5917         instead of g_hash_table_insert to ensure the new name string is used
5918         as a key instead of the old one that we're about to free.
5919         Fixes: #462085
5920
5921 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5922
5923         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5924         (gst_plugin_feature_set_name):
5925         Revert patch from #459466 until after the release and we can work
5926         out exactly what the problem is (if any).
5927
5928 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5929
5930         * docs/gst/gstreamer-sections.txt:
5931         * gst/gsttaglist.c:
5932         * gst/gsttaglist.h:
5933           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5934
5935 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5936
5937         * docs/libs/Makefile.am:
5938         Include our build-prefix libs and includes before the generic ones to
5939         avoid linking against the installed libs when we want the build-tree
5940         ones.
5941
5942 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5943
5944         Patch by: Steve Fink  <sphink gmail com>
5945
5946         * docs/pwg/building-testapp.xml:
5947           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5948           if people try to build or install the example from the plugin
5949           template against a GStreamer from package using the configure
5950           defaults.
5951
5952 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5953
5954         Patch by: Steve Fink  <sphink gmail com>
5955
5956         * tools/gst-inspect.1.in:
5957           Document --print-all and --print-plugin-auto-install-info command
5958           line options in man page.
5959
5960 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5961
5962         * docs/gst/gstreamer-sections.txt:
5963         Add docs for new api function.
5964
5965 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5966
5967         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5968         * gst/gstelementfactory.h:
5969         API: gst_element_factory_has_interface()
5970         Added method to check if an element factory implements a named
5971         interface.
5972
5973 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5974
5975         * configure.ac:
5976         * docs/gst/gstreamer.types.in:
5977           Another conditional doc check.
5978
5979         * gst/gstmessage.c:
5980         * gst/gstparamspecs.h:
5981         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5982         * gst/gstvalue.c:
5983         * gst/gstxml.h:
5984           API-doc fixes.
5985
5986 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5987
5988         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5989         (gst_registry_binary_load_feature),
5990         (gst_registry_binary_load_plugin),
5991         (gst_registry_binary_read_cache):
5992           Print error just once and with additional info.
5993
5994 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5995
5996         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5997         (helper_find_suggest), (helper_find_get_length),
5998         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5999         (gst_type_find_helper_for_buffer):
6000           Cleanup the typefindhelper code and add private doc comments.
6001
6002 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
6003
6004         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6005         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
6006         Fix capsfilter for cases where the caps set on capsfilter will provide
6007         additional information.
6008         Fixes #449197
6009
6010 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
6011
6012         * gst/gsttypefindfactory.c:
6013           Fix docs that recommened wrong function to use.
6014
6015 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
6016
6017         * tools/gst-inspect.c: (print_plugin_features):
6018           Also give media-type for typefinders in element output.
6019
6020 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
6021
6022         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
6023         (gst_registry_remove_features_for_plugin_unlocked),
6024         (gst_registry_add_feature), (gst_registry_remove_feature),
6025         (gst_registry_lookup_feature_locked):
6026         * gst/gstregistry.h:
6027           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
6028           Fixes #459501.
6029
6030 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
6031
6032         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6033         (gst_plugin_feature_set_name):
6034           Avoid double memory usage for pluginfeature names. Fixes #459466.
6035
6036 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
6037
6038         * gst/gstpad.h:
6039           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
6040           driving the pipeline may need to explicitly check for NOT_LINKED as
6041           well, since IS_FATAL doesn't cover that.
6042
6043 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
6044
6045         * docs/pwg/advanced-types.xml:
6046           Fix typo and duplicate entry in video formats list.
6047
6048 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
6049
6050         * libs/gst/controller/gstinterpolation.c:
6051         Also round to the nearest int when using cubic interpolation.
6052
6053 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
6054
6055         * libs/gst/controller/gstinterpolation.c:
6056         When linearly interpolating integer types, round to the nearest int
6057         by adding 0.5. Don't do it for float/double types.
6058         Fixes the failing controller test on my machine, which is somehow
6059         rounding differently than on the buildbots.
6060
6061 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
6062
6063         * tools/gst-plot-timeline.py:
6064           Better log parsing (categories can have -). Adjust text vs. lines, so
6065           that they span the same y-range.        
6066
6067 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
6068
6069         * docs/random/ensonic/audiobaseclasses.txt:
6070         * docs/random/ensonic/dynlink.txt:
6071         * docs/random/ensonic/profiling.txt:
6072           Save my thoughts.
6073
6074         * docs/random/moving-plugins:
6075           Add note to use g_assert type macros.
6076
6077 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
6078
6079         * configure.ac:
6080         * libs/gst/check/Makefile.am:
6081           Add libm check as we use in for plugins.
6082
6083 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
6084
6085         * gst/gstbin.c: (gst_bin_continue_func):
6086         Check that the state_cookie hasn't changed since the continue_func
6087         was scheduled. Avoids problems where the state changes back to
6088         something it shouldn't be because it was changed in the meantime.
6089
6090 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
6091
6092         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
6093         (gst_registry_binary_save_string),
6094         (gst_registry_binary_save_pad_template),
6095         (gst_registry_binary_save_feature),
6096         (gst_registry_binary_save_plugin),
6097         (gst_registry_binary_load_feature),
6098         (gst_registry_binary_load_plugin),
6099         (gst_registry_binary_read_cache):
6100           Fix memory leak. Be less verbose in the log.
6101
6102 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6103
6104         * tests/check/elements/.cvsignore:
6105         Add file to cvsignore as commanded.
6106
6107 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6108
6109         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6110         (mq_dummypad_event), (run_output_order_test):
6111         Use a GStaticMutex to protect all cases where libcheck
6112         fail_if/fail_unless macros might be called from multiple threads
6113         simultaneously to avoid errors like:
6114           "check_pack.c:107: :-1081725400:Bad message type arg"
6115
6116 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6117
6118         * tests/check/pipelines/stress.c: (GST_START_TEST):
6119         Make sure we set the pipeline back to the NULL state before
6120         dropping our final reference.
6121
6122 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6123
6124         * tests/check/elements/tee.c: (GST_START_TEST):
6125         Make the tee stress-test a little less stressful so it doesn't just
6126         time out on slow-machines, and remove a small race when it's starting 
6127         up by adding a get_state() call.
6128
6129 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
6130
6131         * gst/gst.c:
6132           Avoid reading registry twice on startup. Fixes #457322.
6133
6134 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
6135
6136         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6137         * pkgconfig/gstreamer-check.pc.in:
6138         Substitute the CFLAGS for libcheck into our .pc file too so that
6139         dependent modules will pick it up properly if libcheck is installed
6140         into some other prefix.
6141
6142 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
6143
6144         * configure.ac:
6145         Revert the pkg-config check for libcheck, since it pulls in the
6146         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
6147         a proper solution, either from the check project, or something else.
6148
6149 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
6150
6151         * configure.ac:
6152           Use pkg-config to locate check.
6153
6154 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
6155
6156         * gst/gsttaglist.c:
6157           Fix doc syntax.
6158
6159         * gst/gstutils.c:
6160         * gst/gstutils.h:
6161           Add deprecation guards.
6162
6163         * libs/gst/base/gstcollectpads.h:
6164           Don't document object (this is implicitly private).
6165
6166 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
6167
6168         * gst/gststructure.c: (gst_structure_parse_value):
6169           When deserialising foo=bar without a type cast, check if it's a
6170           boolean before falling back to a string type, otherwise things like
6171           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
6172           because the filtercaps end up having a signed=(string)true field,
6173           which causes problems later when intersection caps.
6174
6175         * tests/check/gst/gststructure.c: (GST_START_TEST):
6176           Add a unit test for this.
6177
6178 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
6179
6180         Reviewed by: Stefan Kost <ensonic@users.sf.net>
6181
6182         * libs/gst/controller/Makefile.am:
6183         * libs/gst/controller/gstcontroller.c:
6184         (gst_controlled_property_add_interpolation_control_source),
6185         (gst_controlled_property_new), (gst_controlled_property_free),
6186         (gst_controller_find_controlled_property),
6187         (gst_controller_new_valist), (gst_controller_new_list),
6188         (gst_controller_new), (gst_controller_remove_properties_valist),
6189         (gst_controller_remove_properties_list),
6190         (gst_controller_remove_properties),
6191         (gst_controller_set_property_disabled),
6192         (gst_controller_set_disabled), (gst_controller_set_control_source),
6193         (gst_controller_get_control_source), (gst_controller_get),
6194         (gst_controller_sync_values), (gst_controller_get_value_array),
6195         (_gst_controller_dispose), (gst_controller_get_type),
6196         (gst_controlled_property_set_interpolation_mode),
6197         (gst_controller_set), (gst_controller_set_from_list),
6198         (gst_controller_unset), (gst_controller_unset_all),
6199         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
6200         * libs/gst/controller/gstcontroller.h:
6201         * libs/gst/controller/gstcontrollerprivate.h:
6202         * libs/gst/controller/gstcontrolsource.c:
6203         (gst_control_source_class_init), (gst_control_source_init),
6204         (gst_control_source_get_value),
6205         (gst_control_source_get_value_array), (gst_control_source_bind):
6206         * libs/gst/controller/gstcontrolsource.h:
6207         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
6208         (gst_object_get_control_source):
6209         * libs/gst/controller/gstinterpolation.c:
6210         (gst_interpolation_control_source_find_control_point_node),
6211         (gst_interpolation_control_source_get_first_value),
6212         (_interpolate_none_get), (interpolate_none_get),
6213         (interpolate_none_get_boolean_value_array),
6214         (interpolate_none_get_enum_value_array),
6215         (interpolate_none_get_string_value_array),
6216         (_interpolate_trigger_get), (interpolate_trigger_get),
6217         (interpolate_trigger_get_boolean_value_array),
6218         (interpolate_trigger_get_enum_value_array),
6219         (interpolate_trigger_get_string_value_array):
6220         * libs/gst/controller/gstinterpolationcontrolsource.c:
6221         (gst_control_point_free), (gst_interpolation_control_source_reset),
6222         (gst_interpolation_control_source_new),
6223         (gst_interpolation_control_source_set_interpolation_mode),
6224         (gst_interpolation_control_source_bind),
6225         (gst_control_point_compare), (gst_control_point_find),
6226         (gst_interpolation_control_source_set_internal),
6227         (gst_interpolation_control_source_set),
6228         (gst_interpolation_control_source_set_from_list),
6229         (gst_interpolation_control_source_unset),
6230         (gst_interpolation_control_source_unset_all),
6231         (gst_interpolation_control_source_get_all),
6232         (gst_interpolation_control_source_get_count),
6233         (gst_interpolation_control_source_init),
6234         (gst_interpolation_control_source_finalize),
6235         (gst_interpolation_control_source_dispose),
6236         (gst_interpolation_control_source_class_init):
6237         * libs/gst/controller/gstinterpolationcontrolsource.h:
6238         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
6239         API: Refactor GstController into the core controller which can take
6240         a GstControlSource for providing actual values for timestamps.
6241         Implement a interpolation control source and use this for backward
6242         compatibility, deprecate a bunch of functions that are now handled
6243         by GstControlSource or GstInterpolationControlSource.
6244         Make it possible to disable the controller completely or only for
6245         specific properties. Fixes #450711.
6246         * docs/libs/gstreamer-libs-docs.sgml:
6247         * docs/libs/gstreamer-libs-sections.txt:
6248         * docs/libs/gstreamer-libs.types:
6249         Add new functions and classes to the docs.
6250         * tests/check/libs/controller.c: (GST_START_TEST),
6251         (gst_controller_suite):
6252         * tests/examples/controller/audio-example.c: (main):
6253         Port unit test and example to the new API and add some new
6254         unit tests.
6255
6256 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
6257
6258         Patch by: Mark Nauwelaerts <manauw at skynet be>
6259
6260         * plugins/elements/gstmultiqueue.c:
6261         (gst_multi_queue_get_internal_links), (apply_buffer),
6262         (single_queue_overrun_cb), (gst_single_queue_new):
6263         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
6264         the pipeline layout can be tracked correctly. Fixes #453732.
6265
6266 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
6267
6268         * docs/gst/Makefile.am:
6269         * docs/libs/Makefile.am:
6270         * docs/plugins/Makefile.am:
6271           Simplify --extra-dir as gtkdoc scans recursively.
6272
6273 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6274
6275         * tools/gst-launch.c: (main):
6276         When we got an error, there is no point in waiting for preroll when
6277         shutting down.
6278
6279 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6280
6281         * plugins/elements/gsttee.c: (gst_tee_base_init),
6282         (gst_tee_request_new_pad), (gst_tee_release_pad),
6283         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6284         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6285         (gst_tee_chain):
6286         Be a lot smarter when deciding what srcpad to use for proxying
6287         the buffer_alloc. Also handle pad added/removed when doing so.
6288         Fixes #357959.
6289         Keep track of what pads we already pushed on in case we have pads
6290         added/removed while pushing. Fixes #374639 
6291
6292         * tests/check/Makefile.am:
6293         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6294         (tee_suite):
6295         Added unit test for pad resync.
6296
6297 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6298
6299         * po/nl.po:
6300         * po/sv.po:
6301           Updated translations.
6302
6303 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6304
6305         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6306
6307         * po/LINGUAS:
6308         * po/fi.po:
6309           Added new Finnish translation.
6310
6311 2007-06-28  Wim Taymans  <wim@fluendo.com>
6312
6313         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6314         (single_queue_overrun_cb):
6315         When figuring out when a queue is filled, use our internal time estimate
6316         based on segments, just like check_full does.
6317
6318 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6319
6320         * gst/gstminiobject.c: (gst_mini_object_get_type):
6321           Remove 3 do-nothing methods.
6322
6323 2007-06-27  Wim Taymans  <wim@fluendo.com>
6324
6325         Patch by: Tim Angus <tim at ngus dot net>
6326
6327         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6328         (gst_capsfilter_set_property):
6329         Take a reference instead of a copy when setting "caps".
6330         Fix documentation to clarify this behaviour. Fixes #449414.
6331
6332 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6333
6334         * gst/gstindexfactory.c: (gst_index_factory_get_type):
6335         * gst/gstplugin.c: (gst_plugin_init):
6336         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6337         * gst/gstquery.c: (gst_query_get_type):
6338         * gst/gstregistry.c: (gst_registry_init):
6339         * gst/gsturi.c: (gst_uri_handler_base_init):
6340           Remove empty instance_init() functions to save relocs and lessen the
6341           noise. Remove some of the function prototypes that are doubled by
6342           G_DEFINE_TYPE.
6343           
6344 2007-06-27  Wim Taymans  <wim@fluendo.com>
6345
6346         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6347
6348         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6349         Add peer and direction in the XML serialisation of ghostpads.
6350         Fixes #449226.
6351
6352 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6353
6354         * configure.ac:
6355           Preserve useful information, thanks Tim.
6356
6357 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
6358
6359         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6360         (gst_single_queue_flush), (apply_segment), (apply_buffer),
6361         (gst_single_queue_push_one), (gst_multi_queue_loop),
6362         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6363         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6364         (compute_high_id), (gst_single_queue_new):
6365         * plugins/elements/gstmultiqueue.h:
6366         Take the multiqueue lock when updating the fill level so we don't get
6367         confused. 
6368
6369         After applying a buffer or event on the src pad segment, make sure to
6370         call gst_data_queue_limits_changed() to get the data queue to unblock
6371         and check the filled state again.
6372         
6373         Rework the not-linked pad handling so the logic is that not-linked 
6374         pads can push as fast as they like, but only so they never get 
6375         ahead of any linked pads.
6376
6377         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6378         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6379         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6380
6381         Add a test to check that not-linked pads always stay behind
6382         linked pads.
6383
6384         Fixes: #430682
6385
6386 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
6387
6388         * docs/random/release:
6389           Some updates to the release procedure.
6390
6391 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6392
6393         * gst/gstelementfactory.c: (__gst_element_details_clear):
6394           Microoptimization that saves stunning 80 bytes.
6395
6396 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
6397
6398         * docs/plugins/gstreamer-plugins.args:
6399         * docs/plugins/inspect/plugin-coreelements.xml:
6400         * docs/plugins/inspect/plugin-coreindexers.xml:
6401           Update docs with caps info.
6402
6403 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6404
6405         * po/it.po:
6406           Updated Italian translation.
6407
6408 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6409
6410         * ChangeLog:
6411         * po/vi.po:
6412           Update Vietnamese translations.
6413
6414 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6415
6416         * libs/gst/base/gstbasesink.c:
6417           Remove unused signal enum.
6418
6419 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6420
6421         * docs/gst/gstreamer-sections.txt:
6422         * gst/gstelement.c:
6423         * gst/gstutils.c: (gst_type_register_static_full):
6424         Beef up and include the docs for gst_type_register_static_full and
6425         gst_element_class_set_details_simple and add the API keyword
6426         in the ChangeLog.
6427
6428 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6429
6430         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6431         (update_time_level), (gst_single_queue_push_one),
6432         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6433         (single_queue_overrun_cb), (single_queue_underrun_cb),
6434         (single_queue_check_full):
6435         Fix setting max-* properties after adding queues.
6436         Use IS_FILLED for checking visible items.
6437         Signal overrun if multiple queues overrun.
6438         Add extra debug output.
6439         Patch by: Wim Taymans <wim@fluendo.com>
6440
6441 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
6442
6443         * gst/gstelement.c: (gst_element_class_set_details_simple):
6444         * gst/gstelement.h:
6445         * gst/gstutils.c: (gst_type_register_static_full):
6446         * gst/gstutils.h:
6447         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6448         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6449         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6450         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6451         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6452         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6453         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6454         * plugins/elements/gstidentity.c: (gst_identity_base_init):
6455         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6456         * plugins/elements/gstqueue.c: (gst_queue_base_init),
6457         (apply_buffer), (gst_queue_chain):
6458         * plugins/elements/gsttee.c: (gst_tee_base_init):
6459         * plugins/elements/gsttypefindelement.c:
6460         (gst_type_find_element_base_init),
6461         (gst_type_find_element_class_init):
6462           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6463           API: add gst_type_register_static_full
6464           API: add gst_element_class_set_details_simple
6465
6466 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6467
6468         * docs/pwg/advanced-types.xml:
6469           Fix typo in iana.org URI.
6470
6471 2007-06-19  Andy Wingo  <wingo@pobox.com>
6472
6473         * tests/check/pipelines/simple-launch-lines.c
6474         (test_state_change_returns): Enable pull-mode tests now that
6475         basesink has been fixed.
6476
6477         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6478         Changed from gst_base_sink_is_prerolled, reversing the sense of
6479         the return value. Returns FALSE also if the sink is in pull mode,
6480         in which case it needs no preroll.
6481         (gst_base_sink_query, gst_base_sink_change_state): Update for
6482         needs_preroll change.
6483         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6484         chaining up, in which we return SUCCESS directly if we activated
6485         in pull mode instead of ASYNC. Involves countering an async_start
6486         message sent before chaining up; not sure if this is correct, in
6487         an ideal world we only send async-start when activating in push
6488         mode.
6489
6490         * tests/check/pipelines/simple-launch-lines.c
6491         (test_state_change_returns): New test, partially disabled until
6492         basesink is fixed.
6493
6494 2007-06-19  Wim Taymans  <wim@fluendo.com>
6495
6496         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6497         (gst_multi_queue_sink_event):
6498         Fix event leak.
6499
6500 2007-06-19  Wim Taymans  <wim@fluendo.com>
6501
6502         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6503         (gst_bin_change_state_func), (bin_push_state_continue),
6504         (bin_handle_async_start), (bin_handle_async_done),
6505         (gst_bin_handle_message_func):
6506         Move the common code for posting state-change messages into
6507         one function.
6508         Broadcast the state signal after we posted the messages.
6509         Mark the bin as busy when it's doing a state-change.
6510         Make sure async-start/done messages don't interfere with the bin's
6511         state when it's busy.
6512         After the state change, let the bin check which elements completed the
6513         state change while it was busy so that it can update its state.
6514
6515 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
6516
6517         * docs/random/release:
6518         Add a note about updating the doap file to the release checklist
6519
6520 2007-06-18  Wim Taymans  <wim@fluendo.com>
6521
6522         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6523         (gst_single_queue_push_one), (gst_multi_queue_chain),
6524         (gst_multi_queue_sink_event):
6525         Make sure we don't reference the buffer/event after we have given away
6526         ownership in the queue.
6527
6528 2007-06-18  Wim Taymans  <wim@fluendo.com>
6529
6530         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6531         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6532         Update queue state _after_ adding the item in the queue because else we
6533         could end up being full without the element added yet.
6534
6535 2007-06-18  Wim Taymans  <wim@fluendo.com>
6536
6537         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6538         (gst_bin_remove_func), (gst_bin_get_state_func),
6539         (gst_bin_element_set_state), (gst_bin_continue_func),
6540         (bin_push_state_continue), (bin_handle_async_start),
6541         (bin_handle_async_done), (gst_bin_handle_message_func):
6542         * gst/gstbin.h:
6543         Immediatly commit the toplevel bin state when receiving an async-done
6544         message. This enables us to avoid spawning a thread to commit the state
6545         in some common cases and it also avoids some races.
6546         Avoid spawning a state thread when adding/removing async elements to a
6547         toplevel bin. Instead we immediatly update the bin state.
6548         Get rid of iterating all the children when getting the state in the bin
6549         because it is now always up-to-date.
6550         Fix bug where locked elements would always return _SUCCESS even it they
6551         returned NO_PREROLL before being locked.
6552         Fix the order of the state_change, async-start/done messages that was
6553         sometimes incorrect.
6554         Mark the state_dirty field as deprecated, we don't need it anymore as we
6555         are always up-to-date.
6556
6557         * gst/gstelement.c: (gst_element_get_state_func),
6558         (gst_element_continue_state):
6559         Small debug inprovements.
6560         Return the previous element state return when nothing is pending instead
6561         of blindly returning SUCCESS.
6562
6563         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6564         (gst_sinks_suite):
6565         Add a whole bunch of new testcases.
6566
6567 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6568
6569         * po/uk.po:
6570         * po/vi.po:
6571           Update translations.
6572
6573 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
6574
6575         * gst/gstpad.c:
6576         Fix typo in the docs.
6577
6578 2007-06-15  Wim Taymans  <wim@fluendo.com>
6579
6580         * docs/libs/gstreamer-libs-sections.txt:
6581         Add docs for new methods.
6582
6583 2007-06-15  Wim Taymans  <wim@fluendo.com>
6584
6585         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6586         (gst_multi_queue_item_new):
6587         Don't use GSlice because we don't depend on >= 2.10 yet.
6588
6589 2007-06-15  Wim Taymans  <wim@fluendo.com>
6590
6591         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6592         (update_time_level), (apply_segment), (apply_buffer),
6593         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6594         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6595         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6596         (single_queue_underrun_cb), (single_queue_check_full):
6597         Remove debug printf.
6598
6599 2007-06-15  Wim Taymans  <wim@fluendo.com>
6600
6601         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6602         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6603         (gst_data_queue_set_flushing), (gst_data_queue_push),
6604         (gst_data_queue_pop), (gst_data_queue_drop_head),
6605         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6606         * libs/gst/base/gstdataqueue.h:
6607         Various cleanups.
6608         Added methods to get the current levels and to inform the queue that the
6609         'full' limits changed.
6610
6611         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6612         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6613         (gst_single_queue_flush), (update_time_level), (apply_segment),
6614         (apply_buffer), (gst_single_queue_push_one),
6615         (gst_multi_queue_item_steal_object),
6616         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6617         (gst_multi_queue_loop), (gst_multi_queue_chain),
6618         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6619         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6620         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6621         (single_queue_underrun_cb), (single_queue_check_full),
6622         (gst_single_queue_new):
6623         Keep track of time in the queue by measuring the difference between
6624         running_time on input and output. This gives more accurate results and
6625         can compensate for segments correctly.
6626         Make a queue by default only 5 buffers deep. We will now increase the
6627         buffer size depending on the filledness of the other queues.
6628         Factor out commong flush code.
6629         Make sure we don't add additional refcounts to buffers when we can avoid
6630         it.
6631         Propagate GstFlowReturn differently.
6632         Use GSlice for intermediate GstMultiQueueItems.
6633         Keep track of EOS.
6634         Resize queues on over and underruns based on filled level of other
6635         queues.
6636         When checking if the queue is filled, prefer to measure in time if we
6637         can and fall back to bytes when no time is known.
6638
6639         * plugins/elements/gstqueue.c:
6640         Fix return value.
6641
6642 2007-06-15  Wim Taymans  <wim@fluendo.com>
6643
6644         * libs/gst/base/gstbasetransform.c:
6645         (gst_base_transform_sink_event):
6646         Work around the brokenness of the event vmethod in basetransform. Prefer
6647         to return TRUE when the subclass returned FALSE (meaning don't forward
6648         the event). 
6649
6650         * libs/gst/base/gstbasetransform.h:
6651         Clarify the docs.
6652
6653 2007-06-15  Wim Taymans  <wim@fluendo.com>
6654
6655         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6656         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6657         (gst_base_src_default_query), (gst_base_src_get_range),
6658         (gst_base_src_start):
6659         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6660         Improve debugging.
6661
6662 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6663
6664         * docs/pwg/advanced-types.xml:
6665           Added more formats to caps table.
6666
6667 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6668
6669         * tools/gst-launch.c: (main):
6670           Remove crufy code. GOption does not need this workaround.
6671
6672 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6673
6674         * libs/gst/controller/gstcontroller.c:
6675         (gst_controlled_property_set_interpolation_mode):
6676           Fix wrong getter for enums in controller.
6677
6678 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6679
6680         * libs/gst/check/gstcheck.c: (gst_check_init):
6681           Intercept criticals and warnings in the Gst-Phonon log domain, so
6682           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6683           well.
6684         
6685 2007-06-14  Edward Hervey  <edward@fluendo.com>
6686
6687         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6688         Since this file doesn't include "gst.h" it will not go through the
6689         macros that disable GST_LOG if debugging was disabled.
6690
6691 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6692
6693         * libs/gst/check/Makefile.am:
6694         * libs/gst/check/gstcheck.h:
6695         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6696         * pkgconfig/gstreamer-check.pc.in:
6697           Ugly 'fix' for the controller unit test on the p5 bot: in
6698           fail_unless_equals_float() check whether the values are 'almost
6699           equal' by allowing a small absolute error, which should be good
6700           enough for our use cases (normal numbers and values close to 0).
6701           Proper fixage left to floating point arithmetic aficionados.
6702
6703 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6704
6705         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6706         (gst_base_sink_render_object), (gst_base_sink_get_position):
6707           Add two breaks thats where missing.
6708
6709 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6710
6711         * docs/libs/gstreamer-libs-sections.txt:
6712         * libs/gst/check/gstcheck.h:
6713           API: add fail_unless_equals_float() and assert_equals_float().
6714           Add documentation for some of the macros.
6715
6716         * tests/check/libs/controller.c: (GST_START_TEST):
6717           Use newly-added asserts.
6718
6719 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6720
6721         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6722           Show the caps change in the log to help spotting the case of not
6723           exactly matching caps.
6724
6725 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6726
6727         * docs/pwg/building-boiler.xml:
6728           Fix typos, spotted by Thijs Vermeir (#447190).
6729
6730 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6731
6732         * docs/plugins/tmpl/.cvsignore:
6733         Ignore file to keep the buildbots happy
6734
6735 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6736
6737         * docs/plugins/Makefile.am:
6738         * docs/plugins/gstreamer-plugins-docs.sgml:
6739         * docs/plugins/gstreamer-plugins-sections.txt:
6740         Pull fdsink into the docs too.
6741
6742 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6743
6744         * libs/gst/controller/gstinterpolation.c:
6745         Actually use the new functions with min/max checks for the trigger and
6746         none interpolation modes for get() and get_value_array() instead of
6747         just the latter.
6748
6749 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6750
6751         * libs/gst/controller/gstcontroller.c:
6752         (gst_controlled_property_free):
6753         Unset the minimum and maximum GValues when freeing the corresponding
6754         GstControllerProperty struct.
6755
6756 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6757
6758         * libs/gst/controller/gstcontroller.c:
6759         (gst_controlled_property_new):
6760         * libs/gst/controller/gstcontrollerprivate.h:
6761         * libs/gst/controller/gstinterpolation.c:
6762         (gst_controlled_property_find_control_point_node),
6763         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6764         (interpolate_none_get_string_value_array),
6765         (interpolate_trigger_get),
6766         (interpolate_trigger_get_enum_value_array),
6767         (interpolate_trigger_get_string_value_array):
6768         Protect against values larger or smaller than the minimum or maximum
6769         allowed value for the property when using values that can be compared.
6770
6771         Optimize trigger interpolator a bit by taking the last requested value
6772         into account instead of always looping through the complete list.
6773
6774         Fix coding style a bit, everywhere else we use "return foo" instead
6775         of "return (foo)".
6776         
6777         * tests/check/libs/controller.c: (GST_START_TEST),
6778         (gst_controller_suite):
6779         Add unit test for the protection against too large or too small
6780         values.
6781
6782 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6783
6784         * docs/random/slomo/controller.txt:
6785         Add some thoughts about the future of the controller.
6786
6787 2007-06-08  Wim Taymans  <wim@fluendo.com>
6788
6789         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6790         Don't overflow in retimestamping code.
6791
6792 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6793
6794         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6795         Use gst_util_guint64_to_gdouble for conversions.
6796         * win32/common/libgstreamer.def:
6797         Add new exported functions.
6798
6799 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6800
6801         * gst/gstutils.c:
6802           Small docs addition.
6803
6804 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6805
6806         * README:
6807           Remove that test line again.
6808
6809 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6810
6811         * README:
6812           Test commit mail sending.
6813
6814 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6815
6816         * configure.ac:
6817           Fix typo and test commit mail sending.
6818
6819 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6820
6821         * tests/examples/controller/audio-example.c:
6822           Improve comment and test commit mail sending.
6823
6824 2007-06-07  Wim Taymans  <wim@fluendo.com>
6825
6826         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6827         (gst_bin_remove_func), (gst_bin_element_set_state),
6828         (bin_handle_async_start), (bin_handle_async_done),
6829         (gst_bin_handle_message_func):
6830         Add helper function to find messages.
6831         Generate the async-done messages together with the state change
6832         messages.
6833         Small cleanups in handling toplevel bins.
6834
6835 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6836
6837         * libs/gst/base/gstdataqueue.c:
6838         * libs/gst/base/gstdataqueue.h:
6839         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6840         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6841         (gst_multi_queue_sink_event):
6842         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6843           Fix multiqueue leaking buffers and events when downstream or the
6844           queue are flushing. Make refcounting assumptions explicit and
6845           document them (shouldn't break existing code that uses it other than
6846           maybe leak miniobjects, but that already happens anyway). Add unit
6847           test for the most common flushing case. Fixes #423700.
6848           
6849 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6850
6851         * libs/gst/controller/gstcontroller.c:
6852         Clarify docs: The get_all, get_value_array(s) functions
6853         don't modify the GObject properties.
6854
6855 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6856
6857         * libs/gst/controller/gstcontroller.c:
6858         (gst_controlled_property_set_interpolation_mode),
6859         (gst_controlled_property_prepend_default),
6860         (gst_controlled_property_new), (gst_controller_set_unlocked),
6861         (gst_controller_set), (gst_controller_set_from_list),
6862         (gst_controller_unset), (gst_controller_unset_all):
6863         * libs/gst/controller/gstcontrollerprivate.h:
6864         * libs/gst/controller/gstinterpolation.c:
6865         Factor out the 'set' logic into gst_controller_set_unlocked for the
6866         gst_controller_set and gst_controller_set_from_list functions.
6867
6868         To make life of the interpolators easier always add a control point
6869         at timestamp zero with the default value.
6870
6871         In the linear interpolator make things more obvious by better variable
6872         naming (slope).
6873
6874         Implement cubic interpolation mode (by using a natural cubic spline)
6875         and map the quadratic interpolation mode to this too (as quadratic
6876         doesn't make much sense, see discussion on the list).
6877
6878         * tests/check/libs/controller.c: (GST_START_TEST),
6879         (gst_controller_suite):
6880         Add unit test for the cubic interpolation mode and check everywhere
6881         if the interpolation mode could be set as expected.
6882
6883 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6884
6885         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6886           Don't use GLib-2.10 functions, we still depend on
6887           GLib-how-old-is-it-again-2.8.
6888
6889 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6890
6891         * docs/gst/gstreamer-sections.txt:
6892         * gst/Makefile.am:
6893         * gst/gst.c:
6894         * gst/gst.h:
6895         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6896         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6897         (_gst_param_fraction_values_cmp),
6898         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6899         * gst/gstparamspecs.h:
6900         * gst/gstvalue.c:
6901         * tests/check/Makefile.am:
6902         * tests/check/gst/.cvsignore:
6903         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6904         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6905         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6906         (GST_START_TEST), (gst_param_spec_suite):
6907           API: add GstParamSpecFraction, so elements can have fraction
6908           properties without lots of painful string parsing (#444648).
6909
6910 2007-06-05  Wim Taymans  <wim@fluendo.com>
6911
6912         * gst/gstobject.c: (gst_object_class_init):
6913         Fix signal signature.
6914
6915         * gst/gstsegment.c:
6916         Add small clarification in the api docs.
6917
6918         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6919         States are protected with object lock.
6920
6921 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6922
6923         * AUTHORS:
6924         I should probably be listed as an author by now.
6925
6926         * docs/random/release:
6927         Update the release doc
6928
6929 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6930
6931         * gst/gstvalue.c:
6932           Make docs for gst_value_compare() mention return enums that
6933           actually exist.
6934
6935 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6936
6937         * configure.ac:
6938           Back to CVS
6939
6940 === release 0.10.13 ===
6941
6942 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6943
6944         * configure.ac:
6945           releasing 0.10.13, "With or without you"
6946
6947 2007-05-25  Wim Taymans  <wim@fluendo.com>
6948
6949         * gst/gstbin.c: (bin_handle_async_done):
6950         Make sure that the child bin stops after completing the async state
6951         change so that the parent can continue the state change to PLAYING.
6952         Fixes #441159.
6953
6954 2007-05-25  Wim Taymans  <wim@fluendo.com>
6955
6956         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6957         (unref_data), (gst_collect_pads_remove_pad),
6958         (gst_collect_pads_check_pads):
6959         Use additional refcounting to avoid crashes when dynamically adding and
6960         removing pads. Fixes #420206.
6961
6962 2007-05-24  Wim Taymans  <wim@fluendo.com>
6963
6964         * tools/gst-launch.c: (event_loop):
6965         When buffering goes from a two digit to a single digit number, make sure
6966         to remove the old second digit by writing a blank over it.
6967
6968 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6969
6970         * libs/gst/base/gstdataqueue.c:
6971           Eliminate tabs and trailing comma in enum list; fix some typos.
6972
6973 2007-05-24  Wim Taymans  <wim@fluendo.com>
6974
6975         * tests/check/gst/gstbin.c: (GST_START_TEST):
6976         Allow refcount of 3 and 4 because some state thread might still be busy
6977         with it.
6978
6979 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6980
6981         * plugins/elements/Makefile.am:
6982         * plugins/elements/gstmultiqueue.h:
6983         * plugins/elements/gstqueue.h:
6984           These are not installed headers, no need for padding.
6985
6986 2007-05-24  Wim Taymans  <wim@fluendo.com>
6987
6988         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6989         (gst_bin_continue_func):
6990         Enable latency for next release.
6991         Restore STATE_LOCK around recalc_state that was left out during the
6992         rewrite and could result in racy behaviour when _get_state and
6993         recalc_state are run concurrently. See #440463.
6994
6995 2007-05-23  Wim Taymans  <wim@fluendo.com>
6996
6997         * tests/check/gst/gstsystemclock.c: (store_callback),
6998         (GST_START_TEST):
6999         Improve test_async_order to also work when both timers are already
7000         expired when we get scheduled to check it.
7001
7002 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
7003
7004         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
7005         (gst_bin_set_property), (gst_bin_get_property),
7006         (gst_bin_remove_func), (gst_bin_handle_message_func):
7007         * gst/gstbin.h:
7008           'private' is a c++ keyword, let's not use that in header files,
7009           otherwise c++ compilers will throw a tantrum.
7010
7011 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
7012
7013         * plugins/elements/gstelements.c:
7014         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
7015         (gst_file_sink_get_current_offset):
7016         * plugins/indexers/gstindexers.c: (plugin_init):
7017           Use #ifdef for HAVE_XYZ for consistency.
7018
7019         * tests/check/Makefile.am:
7020         * tests/check/elements/.cvsignore:
7021         * tests/check/elements/filesink.c: (setup_filesink),
7022         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
7023           Add some unit tests for filesink.
7024
7025 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
7026
7027         Patch by: Mark Nauwelaerts <manauw at skynet be>
7028
7029         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7030         (gst_file_sink_query), (gst_file_sink_do_seek),
7031         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7032         * plugins/elements/gstfilesink.h:
7033           Fix position reporting; rename data_written member to current_pos to
7034           reflect its real meaning (fixes #412648).
7035
7036 2007-05-22  Edward Hervey  <edward@fluendo.com>
7037
7038         * docs/gst/gstreamer-sections.txt:
7039         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7040         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
7041         (gst_bin_remove_func), (gst_bin_handle_message_func):
7042         * gst/gstbin.h:
7043         Add a property for bins that handle the state change of their childs.
7044         Fixes #435880
7045
7046 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
7047
7048         * libs/gst/controller/gstinterpolation.c:
7049         Use an array of the correct type when using _get_value_array with
7050         linear interpolation.
7051
7052 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
7053
7054         * gst/gstelement.c (gst_element_requires_clock,
7055           gst_element_provides_clock, gst_element_request_pad,
7056           gst_element_class_set_details, gst_element_class_set_details_simple,
7057           gst_element_default_send_event, gst_element_abort_state,
7058           gst_element_continue_state, gst_element_set_state,
7059           gst_element_set_state_func, iterator_activate_fold_with_resync):
7060         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
7061           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
7062           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
7063           gst_pad_get_range, gst_pad_pull_range):
7064         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
7065           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
7066           GstPadActivateModeFunction, GstPadChainFunction,
7067           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
7068           GstPadFixateCapsFunction, GstPadTemplate):
7069         * gst/gstpipeline.c (gst_pipeline_change_state,
7070           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
7071           gst_pipeline_set_clock, gst_pipeline_auto_clock,
7072           gst_pipeline_get_delay):
7073           Whitespace and docs fixes.
7074
7075 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
7076
7077         * libs/gst/controller/gstinterpolation.c:
7078         (interpolate_trigger_get_enum_value_array),
7079         (interpolate_trigger_get_string_value_array):
7080         Add support for retrieving value arrays when using the trigger
7081         interpolation mode. 
7082
7083 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
7084
7085         * libs/gst/controller/gstcontroller.c:
7086         (gst_controller_get_value_array):
7087         * libs/gst/controller/gstcontroller.h:
7088         Clarify the docs of gst_controller_get_value_array(): The array where
7089         the values should be written to must be allocated as there seems to be
7090         no way to get the size of a random GType. This doesn't change any
7091         behaviour. Also fix some typos all over the place and remove an unused,
7092         commented function that is not necessary as g_object_set() could be
7093         used instead.
7094         * tests/check/libs/controller.c: (GST_START_TEST),
7095         (gst_controller_suite):
7096         Add unit test for gst_controller_get_value_array().
7097
7098 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
7099
7100         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7101
7102         Disable part of the gst_buffer_try_new_and_alloc test, because
7103         it can happily succeed on 64-bit systems where there's more address
7104         space available.
7105
7106 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
7107
7108         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7109         Add unit test for the improved caps checking from bug #421543.
7110
7111 2007-05-21  Wim Taymans  <wim@fluendo.com>
7112
7113         * docs/design/part-synchronisation.txt:
7114         Small addition.
7115
7116         * gst/gstbin.c: (gst_bin_query):
7117         * plugins/elements/gstqueue.c: (apply_segment):
7118         Improve debugging.
7119
7120         * gst/gstmessage.h:
7121         Improve docs.
7122
7123 2007-05-21  Wim Taymans  <wim@fluendo.com>
7124
7125         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7126         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
7127         (gst_pad_configure_src):
7128         Added simple version of improved caps checking. It was previously
7129         assumed that a setcaps function would check the validity of the caps but
7130         people prefer us to check caps against the template automatically. 
7131         Fixes #421543.
7132
7133 2007-05-21  Wim Taymans  <wim@fluendo.com>
7134
7135         * libs/gst/base/gstbasetransform.h:
7136         Fix macro for locking/unlocking the transform lock.
7137
7138 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7139
7140         * docs/plugins/tmpl/.cvsignore:
7141           Ignore more.
7142
7143 2007-05-18  Edward Hervey  <edward@fluendo.com>
7144
7145         * plugins/elements/gstqueue.c: (gst_queue_loop):
7146         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
7147         for the subtle art of warning a potentially blocking thread that it
7148         should check the source pad return value, and relay the information
7149         upstream.
7150
7151 2007-05-18  Edward Hervey  <edward@fluendo.com>
7152
7153         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7154         Release the queue lock !
7155
7156 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7157
7158         * docs/libs/gstreamer-libs-sections.txt:
7159         Add the two new controller functions to the appropiate places.
7160
7161 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7162
7163         reviewed by: Stefan Kost <ensonic@users.sf.net>
7164
7165         * libs/gst/controller/gstcontroller.c:
7166         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
7167         (_gst_controller_get_property), (_gst_controller_set_property),
7168         (_gst_controller_init), (_gst_controller_class_init):
7169         * libs/gst/controller/gstcontroller.h:
7170         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
7171         (gst_object_get_control_rate), (gst_object_set_control_rate):
7172         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
7173         Add API that provides sync suggestion timestamps for elements that
7174         call gst_object_sync_values() from which those elements can subdivide
7175         their processing loop to get the best results for the controlled
7176         properties. For now it just suggests last_sync + control_rate as
7177         new timestamp but this will be improved in the future.
7178
7179         While doing that change the control-rate property to a GstClockTime
7180         from guint and change it's meaning from samples to nanoseconds as
7181         the GstController doesn't know anything about sampling rate. Strictly
7182         speaking this breaks ABI but as the control-rate property didn't do
7183         anything in the past and as such couldn't be used this should be no
7184         problem.        
7185
7186 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7187
7188         reviewed by: Stefan Kost <ensonic@users.sf.net>
7189
7190         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7191         (gst_controller_unset_all):
7192         * libs/gst/controller/gstcontrollerprivate.h:
7193         * libs/gst/controller/gstinterpolation.c:
7194         (gst_controlled_property_find_control_point_node):
7195         Save last synced value from the list to continue searching from there
7196         in future syncs. This speeds everything up a bit.
7197         
7198 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7199
7200         reviewed by: Stefan Kost <ensonic@users.sf.net>
7201
7202         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
7203         (gst_control_point_find), (gst_controlled_property_new),
7204         (gst_control_point_free), (gst_controlled_property_free),
7205         (gst_controller_set), (gst_controller_set_from_list),
7206         (gst_controller_unset), (gst_controller_unset_all),
7207         (gst_controller_sync_values):
7208         * libs/gst/controller/gstcontroller.h:
7209         * libs/gst/controller/gstcontrollerprivate.h:
7210         * libs/gst/controller/gstinterpolation.c:
7211         (gst_controlled_property_find_control_point_node),
7212         (interpolate_none_get), (interpolate_trigger_get):
7213         Add a new private GstControlPoint struct which "inherits" from
7214         GstTimedValue to allow different interpolators to store internal
7215         values next to each control point. From the outside everything is
7216         still a GstControlPoint so we don't loose binary compatibility.
7217         Also fixup all the GValue handling to not leak GValues or list nodes.
7218         * tests/check/libs/controller.c: (GST_START_TEST):
7219         Free the list nodes and GValues in the controller_misc test.
7220
7221 2007-05-17  Edward Hervey  <edward@fluendo.com>
7222
7223         * gst/gstsegment.c:
7224         Small doc fix.
7225
7226 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
7227
7228         * gst/gstplugin.c: (gst_plugin_load_file):
7229           If we fail to load a plugin because of unresolved symbols or missing
7230           libraries and spew a warning to stderr, we may just as well mention
7231           which plugin it was that failed to load.
7232
7233 2007-05-13  David Schleef  <ds@schleef.org>
7234
7235         * docs/Makefile.am: the gtk-doc makefile snippet correctly
7236           handles the case when ENABLE_GTK_DOC is false, and installs
7237           the prebuilt documentation.  So gtk-doc subdirs are 
7238           unconditionally enabled.  Fixes: #349099.
7239
7240 2007-05-13  David Schleef  <ds@schleef.org>
7241
7242         * gst/gstutils.h: Reword some documentation.
7243
7244 2007-05-12  David Schleef  <ds@schleef.org>
7245
7246         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
7247           do anything with the passed "module" parameter, so remove it.
7248           Allows removal of additional vestigal code.
7249
7250 2007-05-12  David Schleef  <ds@schleef.org>
7251
7252         * gst/gstplugin.c:
7253           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
7254           Switch to using g_stat() because it's more portable.
7255
7256 2007-05-12  David Schleef  <ds@schleef.org>
7257
7258         * gst/gst.c:
7259           Add GST_DISABLE_OPTION_PARSING, in order to disable option
7260           parsing for embedded systems.
7261         * gst/gstelementfactory.c:
7262           Allow gst_element_register() to be called with plugin==NULL.
7263           Did nobody notice that static elements were broken?
7264
7265 2007-05-12  Wim Taymans  <wim@fluendo.com>
7266
7267         * tools/gst-launch.c: (event_loop):
7268         Give more interesting info when buffering starts and stops.
7269         Fix case where buffering starts but we fail to update the buffering flag
7270         because the target state is not PLAYING.
7271
7272 2007-05-12  Wim Taymans  <wim@fluendo.com>
7273
7274         * plugins/elements/gstqueue.c: (gst_queue_init),
7275         (gst_queue_finalize), (update_time_level), (apply_segment),
7276         (apply_buffer), (gst_queue_locked_flush),
7277         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
7278         (gst_queue_handle_sink_event), (gst_queue_chain),
7279         (gst_queue_push_one), (gst_queue_loop):
7280         * plugins/elements/gstqueue.h:
7281         Refactor an cleanup queue a bit.
7282         Do better time level calculations that also work when the srcpad is not
7283         yet running.
7284         Remove some unneeded debug lines.
7285
7286         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7287         Added testcase for time level measurement.
7288         Try to make some stuff more racefree.
7289
7290 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7291
7292         * gst/gsturi.c: (gst_element_make_from_uri):
7293           Don't leak plugin feature.
7294
7295         * tests/check/Makefile.am:
7296         * tests/check/gst/.cvsignore:
7297         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7298           Add brain-dead unit test.
7299
7300 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7301
7302         Patch by: Jeroen Wouters <woutersj at gmail com>
7303
7304         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7305           Treat protocol strings in a case-insensitive way (#437563).
7306
7307 2007-05-11  Michael Smith <msmith@fluendo.com>
7308
7309         * gst/gstplugin.c: (gst_plugin_load_file):
7310         * gst/gstregistry.c: (gst_registry_scan_path_level):
7311           Don't print a g_warning for any failure to load a shared object.
7312           Instead, push this down into gstplugin.c, and warn _only_ if we
7313           failed to open the module (i.e. failure to link).
7314           Avoids warnings on normal, working, non-plugin .so files.
7315
7316 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
7317
7318         * gst/gstplugin.c (gst_plugin_load_file):
7319         * gst/gstregistry.c (GST_CAT_DEFAULT,
7320           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7321           Print a g_warning if there was an error when loading a plugins during
7322           registry scan. The shuld help beginners starting with gst-plugin
7323           template.
7324
7325 2007-05-10  Wim Taymans  <wim@fluendo.com>
7326
7327         * plugins/elements/gstqueue.c: (gst_queue_class_init),
7328         (update_time_level), (gst_queue_locked_flush),
7329         (gst_queue_handle_sink_event), (gst_queue_chain),
7330         (gst_queue_push_one), (gst_queue_loop):
7331         * plugins/elements/gstqueue.h:
7332         Be smarter when calculating the current amount of data in the queue by
7333         measuring the difference between start and end timestamps (in running
7334         time) inside the queue. Fixes #432876.
7335         API: GstQueue::pushing to notify elements that we are pushing data again
7336         since the running signal is rather broken for this purpose.
7337
7338 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
7339
7340         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7341           gst_queue_base_init, gst_queue_init):
7342           use GST_BOILERPLATE
7343
7344 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
7345
7346         * win32/common/libgstreamer.def:
7347         Add new exported functions.
7348         * win32/vs6/grammar.dsp:
7349         Use grammar pre-generated files.
7350
7351 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7352
7353         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
7354
7355         * gst/Makefile.am:
7356         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7357         * gst/gstparse.h:
7358         * gst/gstutils.c: (gst_parse_bin_from_description):
7359         * gst/gstutils.h:
7360           Maintain API and ABI when --disable-parse is used. Now that
7361           we have an appropriate error code, we can just return NULL and the
7362           appropriate error when gst_parse_launch() is used despite it having
7363           been disabled (#342564).
7364
7365         * tests/check/Makefile.am:
7366         * tests/check/pipelines/.cvsignore:
7367         * tests/check/pipelines/parse-disabled.c:
7368           Make sure these functions exist and return NULL plus a GError when
7369           --disable-parse is used.
7370
7371 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7372
7373         * tests/benchmarks/complexity.c: (main):
7374         * tests/benchmarks/mass-elements.c: (main):
7375           Set a good example and don't leak messages.
7376
7377 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
7378
7379         * docs/gst/Makefile.am:
7380         * docs/libs/Makefile.am:
7381           Correct fixxrefs options.
7382
7383         * docs/plugins/Makefile.am:
7384         * docs/plugins/gstreamer-plugins-docs.sgml:
7385         * docs/plugins/gstreamer-plugins-sections.txt:
7386         * plugins/elements/Makefile.am:
7387         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7388         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7389           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7390           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7391           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7392           _GstCapsFilterClass, trans_class):
7393         * plugins/elements/gstelements.c (name, rank, type, _elements):
7394         * plugins/elements/gstidentity.c
7395           (gst_identity_check_imperfect_timestamp,
7396           gst_identity_check_imperfect_offset):
7397           Document capsfilter and add doc-blurb to identity.
7398
7399 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
7400
7401         * libs/gst/controller/gstcontroller.c:
7402         (gst_controlled_property_set_interpolation_mode):
7403         * libs/gst/controller/gstinterpolation.c:
7404           Don't crash if someone tries to set an interpolation mode that
7405           is invalid or that isn't supported yet. Fixes #422295.
7406
7407         * tests/check/libs/controller.c: (GST_START_TEST),
7408         (gst_controller_suite):
7409           Add a test case for the above.
7410
7411 2007-05-03  Edward Hervey  <edward@fluendo.com>
7412
7413         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7414         Properly set the last_stop position on GstSegment. This will only happen
7415         if there is a buffer to push out.
7416
7417 2007-05-03  Wim Taymans  <wim@fluendo.com>
7418
7419         * libs/gst/base/gstbasetransform.c:
7420         (gst_base_transform_buffer_alloc):
7421         always_in_place does not mean that the sink and source caps are the
7422         same! Make sure we don't blindly proxy the buffer_alloc in this case.
7423
7424 2007-05-03  Wim Taymans  <wim@fluendo.com>
7425
7426         * docs/libs/gstreamer-libs-sections.txt:
7427         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7428         (gst_base_src_default_query), (gst_base_src_get_range):
7429         * libs/gst/base/gstbasesrc.h:
7430         API: gst_base_src_query_latency(). Added method so that subclasses can
7431         easily get the latency values of the base source class.
7432
7433 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
7434
7435         * tools/gst-inspect.c (print_implementation_info):
7436         Remove 0.8 cruft.
7437
7438 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
7439
7440         * tools/Makefile.am:
7441         * tools/gst-launch.1.in:
7442           Don't create a customised man page based on the host architecture,
7443           describe the default registry path generically. That way the man
7444           page is the same for all architectures and packagers have one
7445           multilib issue less to deal with. Fixes #434926.
7446
7447 2007-05-02  Wim Taymans  <wim@fluendo.com>
7448
7449         * gst/gstpad.c:
7450         Fix documentation as spotted by rg on IRC. 
7451
7452 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
7453
7454         * gst/gstutils.c:
7455           Improve docs for gst_element_{link,unlink}.
7456
7457 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
7458
7459         * docs/design/part-events.txt:
7460         * docs/design/part-overview.txt:
7461         * gst/gstevent.c:
7462         * gst/gsturi.c:
7463         * gst/gsturi.h:
7464         * libs/gst/base/gstbasesink.c:
7465           Typo fixes; minor docs addition.
7466
7467 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7468
7469         * docs/gst/gstreamer-sections.txt:
7470         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7471         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7472         * gst/gsturi.h:
7473         API: Add gst_uri_protocol_is_supported(), which checks if a sink
7474         or src that supports a given URI protocol exists.
7475
7476 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7477
7478         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7479         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7480         Set the location to NULL if "file://" is set as URI. Otherwise
7481         some random previous URI would still be set if "file://" is
7482         set on an already used filesink/filesrc.
7483
7484 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7485
7486         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7487         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7488         Special case the "file://" URI as as this is used by some
7489         applications to test with gst_element_make_from_uri if there's
7490         an element that supports the URI protocol.
7491         Also move the g_path_is_absolute() check for the location part
7492         of the URI to also check this for "file://localhost/bla" URIs.
7493
7494 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
7495
7496         * docs/gst/gstreamer-sections.txt:
7497         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7498         * gst/gstbuffer.h:
7499         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7500         (gst_buffer_suite):
7501           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7502
7503 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
7504
7505         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7506         (gst_registry_binary_load_pad_template),
7507         (gst_registry_binary_load_plugin),
7508         (gst_registry_binary_read_cache):
7509         * gst/gstregistrybinary.h:
7510           Implement no-mmap alternative for registry reading. Do code cleanups.
7511           Add more comments about avoiding strdups for all text data. Comments
7512           welcome.
7513
7514 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7515
7516         * gst/gstregistrybinary.h (GstBinaryPluginElement,
7517           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7518           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7519           Comment structs and reformat to fix the build (that stuff should go
7520           into a priv. header).
7521
7522 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7523
7524         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7525         (gst_registry_binary_load_feature):
7526         * gst/gstregistrybinary.h:
7527           Refactor so that we can implement multiple features. Add support for
7528           TypeFindFactory features.
7529
7530 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
7531
7532         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7533
7534         * configure.ac:
7535           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7536
7537 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
7538
7539         * gst/gstbin.c: (gst_bin_element_set_state),
7540         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7541         (bin_handle_async_done), (gst_bin_handle_message_func):
7542           Fix build with --gst-disable-gst-debug
7543
7544 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
7545
7546         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7547           Make sure streaming has finished before calling the ::stop() vfunc,
7548           since that vfunc might clear state which is being used in the
7549           streaming thread. This fixes a race that caused crashes in
7550           audioresample when shutting down a pipeline (#420106).
7551
7552 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7553
7554         * docs/gst/gstreamer-sections.txt:
7555           That was one byte missing.
7556
7557 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7558
7559         * configure.ac:
7560         * docs/gst/gstreamer-sections.txt:
7561         * gst/Makefile.am:
7562         * gst/gstconfig.h.in:
7563         * gst/gstobject.c: (gst_object_class_init),
7564         (gst_signal_object_class_init):
7565         * gst/gstobject.h:
7566           2nd attempt to have a xml-less build as a joined effort of #413123
7567           and #421480.
7568
7569 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7570
7571         * docs/design/draft-tagreading.txt:
7572           Added open issues/thoughts to draft.
7573
7574 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7575
7576         * gst/parse/grammar.tab.pre.c:
7577         * gst/parse/grammar.tab.pre.h:
7578         * gst/parse/lex._gst_parse_yy.pre.c:
7579         Update the prebuild parser sources.
7580
7581 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7582
7583         * gst/parse/Makefile.am:
7584         And now fix the building of the flex sources. Now everything should
7585         work as expected.
7586
7587 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7588
7589         * gst/parse/Makefile.am:
7590         Now hopefully fix the build failures by setting proper rule
7591         dependencies and moving instead of copying.
7592
7593 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7594
7595         * tests/benchmarks/complexity.gnuplot:
7596         * tests/benchmarks/complexity.scm:
7597         * tests/benchmarks/mass-elements.gnuplot:
7598         * tests/benchmarks/mass-elements.scm:
7599           Total licensification.
7600
7601 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7602
7603         * gst/parse/Makefile.am:
7604           Fix the build by correcting the rule that gave wrong files to flex.
7605
7606 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7607
7608         * tests/benchmarks/complexity.c:
7609         * tests/benchmarks/mass-elements.c:
7610           Change licence to LGPL as granted by Benjamin and Andy.
7611
7612 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7613
7614         * gst/parse/Makefile.am:
7615         Add correct grammar.tab.h dependency if compiling without new enough
7616         flex. Fixes #431150.
7617
7618 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7619
7620         * gst/parse/Makefile.am:
7621         Fix typo and use outdated sources if the flex/bison sources are newer
7622         than the pregenerated ones but flex is too old. Print a warning in
7623         that case. This should fix the build on the build bot.
7624
7625 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7626
7627         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7628         * gst/parse/Makefile.am:
7629         * gst/parse/grammar.y:
7630         * gst/parse/parse.l:
7631         Make the parser reentrant and recursively callable. This requires flex
7632         >= 2.5.31, for older versions pregenerated sources are used as we
7633         can't bump the build dependency. Finally fixes #349180.
7634
7635         * gst/gstparse.c: (gst_parse_launch):
7636         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7637         now anyway.
7638
7639         * docs/gst/Makefile.am:
7640         * docs/gst/Makefile.am:
7641         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7642         (__gst_parse_strfree), (__gst_parse_link_new),
7643         (__gst_parse_link_free), (__gst_parse_chain_new),
7644         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7645         (gst_parse_element_set), (gst_parse_free_link),
7646         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7647         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7648         (_gst_parse_launch):
7649         * gst/parse/grammar.tab.pre.h:
7650         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7651         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7652         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7653         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7654         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7655         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7656         (_gst_parse_yypop_buffer_state),
7657         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7658         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7659         (yy_fatal_error), (_gst_parse_yyget_extra),
7660         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7661         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7662         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7663         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7664         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7665         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7666         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7667         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7668         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7669         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7670         (_gst_parse_yyfree):
7671         If the installed flex version is too old use pre-generated parser
7672         sources. These pre-generated parser sources are always updated when
7673         the actual flex/bison sources change but require everybody who wants
7674         to change something in the parser to have flex >= 2.5.31 installed.
7675
7676 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7677
7678         * common/m4/gst-gettext.m4:
7679         * gst/gst-i18n-lib.h:
7680           Make --disable-nls to work
7681
7682 2007-04-17  Wim Taymans  <wim@fluendo.com>
7683
7684         * gst/gstconfig.h.in:
7685         Revert previous change that broke the build.
7686
7687 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7688
7689         * configure.ac:
7690         * gst/Makefile.am:
7691         * gst/gstconfig.h.in:
7692           Drop libxml2 dependency when building with 
7693           --enable-binary-registry --disable-loadsave
7694
7695 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7696
7697         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7698         (gst_registry_binary_read_cache):
7699         * gst/gstregistrybinary.h:
7700           Remove unnecessary <sys/mman.h> include which broke the win32 build
7701           with MingW; move includes from header file to .c file, even if the
7702           header file isn't installed; use g_strerror() where UTF-8 strings
7703           are expected, such as in GST_DEBUG messages.
7704
7705 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7706
7707         * docs/libs/gstreamer-libs-sections.txt:
7708         Remove bogus addition for API I didn't end up keeping.
7709
7710         * libs/gst/base/gstbasesrc.h:
7711         Mention Since: 0.10.13 in the documentation.
7712
7713         Add the API keyword to the previous ChangeLog entry.
7714
7715 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7716
7717         * docs/libs/gstreamer-libs-sections.txt:
7718         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7719         (gst_base_src_default_prepare_seek_segment),
7720         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7721         * libs/gst/base/gstbasesrc.h:
7722         Allow basesrc derived classes to execute seeks in other formats
7723         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7724         to prepare the GstSegment in any format that their perform_seek method
7725         will be able to understand. The default implementation provides the
7726         old behaviour of attempting to convert the seek offsets to the 
7727         configured native format.
7728
7729         API: basesrc::prepare_seek_segment vmethod.
7730
7731 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7732
7733         * gst/gstelement.c: (gst_element_get_state_func):
7734         Don't output the same debug statement twice.
7735
7736         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7737         (gst_adapter_peek), (gst_adapter_take_buffer):
7738         Optimise the case where we have buffers at the head of the queue that
7739         can be joined quickly (because they're contiguous sub-buffers) by
7740         merging them together rather than copying data out into new memory.
7741
7742         * gst/parse/grammar.y:
7743         * tests/check/pipelines/parse-launch.c:
7744         Fix a leak in an error path for parse_launch, and add a check 
7745         for it to the testsuite.
7746
7747 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7748
7749         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7750           Don't deadlock when releasing a pad - gst_pad_set_active may try
7751           and take the multiqueue lock too.
7752
7753 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7754
7755         * gst/gsterror.c: (_gst_core_errors_init):
7756         * gst/gsterror.h:
7757           API: add GST_CORE_ERROR_DISABLED (#392804).
7758
7759 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7760
7761         * docs/faq/gst-uninstalled:
7762           don't get empty paths on the PATH variables
7763         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7764           Don't format for the uncommon terminal width of 84 characters.
7765
7766 2007-04-06  Wim Taymans  <wim@fluendo.com>
7767
7768         * gst/gstpipeline.c: (reset_stream_time),
7769         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7770         Only try to select a different pipeline clock when we went back to
7771         PAUSED and not when we merely got flushed.
7772
7773 2007-04-05  Michael Smith  <msmith@fluendo.com>
7774
7775         * tools/gst-launch.1.in:
7776           fractions are better supported in gstreamer than ractions, so
7777           suggest using those.
7778
7779 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7780
7781         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7782
7783         * po/LINGUAS:
7784         * po/da.po:
7785           Added Danish translation.
7786
7787 2007-04-05  Wim Taymans  <wim@fluendo.com>
7788
7789         * libs/gst/base/gstbasesink.c:
7790         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7791         Fix leak caused when refusing newsegment after EOS.
7792
7793         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7794         (gst_fake_sink_init), (gst_fake_sink_set_property),
7795         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7796         (gst_fake_sink_render), (gst_fake_sink_change_state):
7797         * plugins/elements/gstfakesink.h:
7798         Add num-buffers property to make the element generate EOS after a
7799         configurable amount of buffers.
7800         API: fakesink::num-buffers property.
7801
7802         * tests/check/elements/fakesink.c: (GST_START_TEST),
7803         (fakesink_suite):
7804         Fix GstBus leak in test.
7805         Test for fakesink num-buffers.
7806
7807 2007-04-05  Wim Taymans  <wim@fluendo.com>
7808
7809         * libs/gst/base/gstbasesink.c:
7810         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7811         (gst_base_sink_change_state):
7812         Don't accept anything after an EOS, return UNEXPECTED instead.
7813
7814         * tests/check/elements/fakesink.c: (GST_START_TEST),
7815         (fakesink_suite):
7816         Unit test for new EOS behaviour.
7817
7818 2007-04-05  Wim Taymans  <wim@fluendo.com>
7819
7820         * gst/gstelement.c: (gst_element_get_request_pad):
7821         Make padtemplates also work when they don't contain %s or %d.
7822
7823 2007-04-05  Wim Taymans  <wim@fluendo.com>
7824
7825         * docs/gst/gstreamer-sections.txt:
7826         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7827         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7828         * gst/gstclock.h:
7829         Improve _adjust_unlocked() so that it overflows less.
7830         Add gst_clock_unadjust_unlocked to convert from external time to
7831         internal time based on calibration.
7832         Add some more debug.
7833         API: GstClock::gst_clock_unadjust_unlocked()
7834
7835 2007-04-03  Wim Taymans  <wim@fluendo.com>
7836
7837         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7838
7839         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7840         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7841         when releasing sink pad. Fixes #425400.
7842
7843 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7844
7845         * docs/random/ensonic/dynlink.txt:
7846           More work on proposal for new core api.
7847
7848         * docs/libs/gstreamer-libs-sections.txt:
7849         * libs/gst/base/gstbasetransform.h:
7850           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7851           
7852         * libs/gst/controller/gstcontroller.c:
7853         (on_object_controlled_property_changed),
7854         (gst_controller_sync_values),
7855         (gst_controller_set_interpolation_mode):
7856         * libs/gst/controller/gstcontroller.h:
7857           Less verbose logging add docs for unimplemented parts and correctly
7858           return when using unavailable parts.
7859
7860 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7861
7862         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7863         Move all the debug to the CLOCK category, and associate it with
7864         the clock object.
7865
7866 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7867
7868         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7869         Make take_buffer a bit quicker by removing redundant checks
7870         caused by calling gst_adapter_take.
7871
7872 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7873
7874         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7875           Don't leak GCond.
7876
7877         * tests/check/Makefile.am:
7878         * tests/check/elements/.cvsignore:
7879         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7880         (GST_START_TEST), (multiqueue_suite):
7881           Add some dead simple unit tests for the 'multiqueue' element
7882           (some bits don't work yet and are disabled for now).
7883
7884 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7885
7886         * gst/gstelement.c: (gst_element_get_request_pad),
7887         (gst_element_class_get_request_pad_template):
7888           Make gst_element_get_request_pad() create request pads only for
7889           request pad templates and not for, say, sometimes pad templates.
7890
7891 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7892
7893         * docs/design/draft-klass.txt:
7894           Add example that needs more thinking.
7895         
7896         * docs/design/draft-missing-plugins.txt:
7897           More thoughts about wrapper plugins.
7898         
7899         * docs/random/ensonic/embedded.txt:
7900         * docs/random/ensonic/profiling.txt:
7901           More design work.
7902
7903 2007-03-25  Wim Taymans  <wim@fluendo.com>
7904
7905         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7906         (gst_base_src_loop):
7907         Only push the segment events in the PLAYING state for live sources.
7908
7909 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7910
7911         * gst/gstpipeline.c: (gst_pipeline_change_state):
7912         Modify the clock distribution path in PAUSED->PLAYING so that we 
7913         never attempt to choose a new clock unless we're actually leaving
7914         the PAUSED state for the first time. This prevents choosing a
7915         different clock when the state_change gets called for a 2nd time due
7916         to some element doing an async state change.
7917
7918 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7919
7920         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7921         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7922         (gst_pad_chain_unchecked), (gst_pad_push):
7923         Revert last commit. This needs some more thoughts.
7924
7925 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7926
7927         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7928         (gst_pad_chain_unchecked), (gst_pad_push):
7929         Check in set_caps if the caps are compatible with the pad and remove
7930         two functions that are redundant now. Fixes #421543.
7931
7932 2007-03-22  Wim Taymans  <wim@fluendo.com>
7933
7934         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7935         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7936         Unref some more to make valgrind happy.
7937
7938 2007-03-22  Wim Taymans  <wim@fluendo.com>
7939
7940         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7941         (gst_system_clock_id_wait_jitter),
7942         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7943         Fix anoying regression that survived a few releases. When adding an
7944         async entry while blocking on a sync entry, the sync entry will unblock
7945         but still be busy, so it should continue to wait instead of returning
7946         _BUSY to the app.
7947         Add some comments here and there.
7948
7949         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7950         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7951         Add testcase for this.
7952
7953 2007-03-22  Wim Taymans  <wim@fluendo.com>
7954
7955         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7956         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7957         WRONG_STATE and can silently pause the task. All other cases should
7958         error out.
7959
7960 2007-03-22  Wim Taymans  <wim@fluendo.com>
7961
7962         Patch by: Ville Syrjala <syrjala at sci dot fi>
7963
7964         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7965         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7966         Improve debugging.
7967
7968 2007-03-21  Michael Smith  <msmith@fluendo.com>
7969
7970         * docs/pwg/advanced-types.xml:
7971           Fix some errors in the typefinding docs pointed out on irc.
7972
7973 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7974
7975         * libs/gst/base/gstbasesrc.c:
7976         Clarify FIXME comment in the face of having added unlock_stop()
7977
7978 2007-03-21  Wim Taymans  <wim@fluendo.com>
7979
7980         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7981         Prepare for release where we warn against possible app breakage in the
7982         case of live pipelines along with an env var to enable/disable live
7983         preroll mode (GST_COMPAT=[no-]live-preroll).
7984
7985 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7986
7987         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7988         So we should use correct constants for checking for None offset.
7989
7990 2007-03-20  Wim Taymans  <wim@fluendo.com>
7991
7992         * docs/design/part-block.txt:
7993         Mention the fact that the newly switched element should be set to at
7994         least PAUSED.
7995
7996 2007-03-20  Wim Taymans  <wim@fluendo.com>
7997
7998         * gst/gst.c:
7999         Fix compilation with registry disabled as spotted by Saur.
8000
8001 2007-03-20  Wim Taymans  <wim@fluendo.com>
8002
8003         Patch by: Olivier Crete <tester at tester dot ca>
8004
8005         * gst/gstelement.c: (gst_element_sync_state_with_parent):
8006         Look at the pending state too when syncing the element state to the
8007         parent. Fixes #420133.
8008
8009 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
8010
8011         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8012         (gst_base_sink_change_state):
8013         * libs/gst/base/gstbasesink.h:
8014         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8015         (gst_base_src_default_event), (gst_base_src_unlock_stop),
8016         (gst_base_src_deactivate):
8017         * libs/gst/base/gstbasesrc.h:
8018         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
8019         for sub-classes to correctly clear any state they set trying to
8020         unlock, such as clearing out unlock commands from a command fd.
8021         API: basesrc::unlock_stop
8022         API: basesink::unlock_stop
8023
8024         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
8025         (gst_fd_sink_render), (gst_fd_sink_unlock),
8026         (gst_fd_sink_unlock_stop):
8027         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
8028         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
8029         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
8030
8031         Implement unlock_stop in fdsrc and fdsink.
8032         Implement seeking in fdsrc when a seekable fd is passed, as in
8033         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
8034
8035 2007-03-19  Wim Taymans  <wim@fluendo.com>
8036
8037         Patch by: Evan Nemerson <evan at coeus dash group dot com>
8038
8039         * gst/gstelement.c: (gst_element_class_init):
8040         Fix pad-added and pad-removed signal signatures so that the pad type is
8041         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
8042
8043 2007-03-19  Wim Taymans  <wim@fluendo.com>
8044
8045         * docs/gst/gstreamer-sections.txt:
8046         Add new element field and method.
8047
8048         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8049         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
8050         (gst_bin_recalc_state), (gst_bin_get_state_func),
8051         (gst_bin_element_set_state), (gst_bin_change_state_func),
8052         (gst_bin_continue_func), (bin_bus_handler),
8053         (bin_push_state_continue), (bin_handle_async_start),
8054         (bin_handle_async_done), (gst_bin_handle_message_func):
8055         Make async state changes a bit smarter by using new ASYNC_START and
8056         ASYNC_DONE messages. This reduces the number of times we run the state
8057         recalculation thread.
8058         Don't change state of element with a pending ASYNC_START message.
8059         Deprecate STATE_DIRTY messages.
8060         
8061         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
8062         (gst_element_get_state_func), (gst_element_continue_state),
8063         (gst_element_lost_state), (gst_element_set_state_func),
8064         (gst_element_change_state):
8065         * gst/gstelement.h:
8066         Keep the state that was last set by the app in a new element field.
8067         Don't allow state changes when handling an element event.
8068         Post ASYNC_START and ASYNC_DONE messages.
8069         Change lost_state so that we go to PAUSED and wait for the parent to set
8070         us to PLAYING again (so latency calculation can be performed)
8071         Export gst_element_change_state() method so that subclasses can use it.
8072         API: gst_element_change_state()
8073         API: GST_STATE_TARGET
8074
8075         * gst/gstpipeline.c: (gst_pipeline_class_init),
8076         (reset_stream_time), (gst_pipeline_change_state),
8077         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
8078         Using the new ASYNC_START message we can reset the base_time when
8079         needed. This can then be used to implement base_time redistribution in
8080         flushing seeks so that we can remove the explicit seek handling.
8081         Perform latency query and configuration when going to PLAYING.
8082
8083         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8084         (gst_base_sink_query), (gst_base_sink_change_state):
8085         Post new ASYNC_START/ASYNC_DONE messages.
8086
8087         * tests/check/generic/sinks.c: (GST_START_TEST):
8088         Fix test because the bin will not set the async element to PLAYING right
8089         away.
8090
8091         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
8092         Make the message check a little stronger.
8093         Handle ASYNC messages.
8094
8095         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
8096         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
8097         Expect ASYNC_DONE messages.
8098
8099 2007-03-19  Wim Taymans  <wim@fluendo.com>
8100
8101         * docs/gst/gstreamer-sections.txt:
8102         * gst/gstmessage.c: (gst_message_new_async_start),
8103         (gst_message_new_async_done), (gst_message_parse_info),
8104         (gst_message_parse_async_start):
8105         * gst/gstmessage.h:
8106         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
8107         support.
8108
8109 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
8110
8111         * tools/gst-inspect.c:
8112         (print_plugin_automatic_install_info_codecs):
8113           Now that we don't check for the 'Codec' keyword any longer in the
8114           klass, we shouldn't spew a warning if the klass isn't a decoder or
8115           encoder (since it might be a Source/Network, for example).
8116
8117 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
8118
8119         * tools/gst-inspect.c:
8120         (print_plugin_automatic_install_info_codecs):
8121           Don't require decoder/demuxer/depayloader elements or
8122           encoder/muxer/paylader elements to have 'Codec' as part of their
8123           factory class string when introspecting a plugin's capabilities.
8124           draft-klass.txt mentions that it might be removed in future, and
8125           flump3dec doesn't have it as part of its class string, so chances
8126           are others might also not have it.
8127
8128 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8129
8130         * po/af.po:
8131         * po/az.po:
8132         * po/bg.po:
8133         * po/ca.po:
8134         * po/cs.po:
8135         * po/de.po:
8136         * po/en_GB.po:
8137         * po/fr.po:
8138         * po/it.po:
8139         * po/nb.po:
8140         * po/nl.po:
8141         * po/ru.po:
8142         * po/sq.po:
8143         * po/sr.po:
8144         * po/sv.po:
8145         * po/tr.po:
8146         * po/uk.po:
8147         * po/vi.po:
8148         * po/zh_CN.po:
8149         * po/zh_TW.po:
8150           Update translations from translation project
8151
8152 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
8153
8154         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
8155         (gst_child_proxy_set_property):
8156           Invert precondition check to be alike the ones in the mimiced gobject
8157           api.
8158
8159 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
8160
8161         * docs/design/draft-tagreading.txt:
8162         * docs/random/ensonic/audiobaseclasses.txt:
8163           Do some Architect work.
8164
8165         * gst/gstobject.c: (gst_object_set_name):
8166           Add a WARNING.
8167
8168         * gst/gstpad.c:
8169           Add docs that point from gst_pad_get_range to gst_pad_pull_range
8170
8171 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
8172
8173         * gst/gstsystemclock.c: (gst_system_clock_init),
8174         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
8175         Defer starting the async system clock thread until the first async
8176         wait is scheduled. Fixes #414986.
8177
8178 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
8179
8180         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
8181         (gst_single_queue_free):
8182           Fix small leak (free GstSingleQueue structure too, not only contents).
8183
8184 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
8185
8186         * gst/gstbin.c:(gst_bin_add):
8187         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
8188         * win32/common/libgstbase.def:
8189         * win32/common/libgstreamer.def:
8190         Add new exported functions.
8191
8192 2007-03-09  Wim Taymans  <wim@fluendo.com>
8193
8194         * docs/plugins/gstreamer-plugins-sections.txt:
8195         Fix GstTee docs.
8196
8197 2007-03-09  Wim Taymans  <wim@fluendo.com>
8198
8199         * docs/gst/gstreamer-sections.txt:
8200         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
8201         * gst/gstbuffer.h:
8202         Add metadata copy functions. Fixes #393099.
8203         API: gst_buffer_copy_metadata()
8204
8205         * gst/gstutils.c: (gst_buffer_stamp):
8206         * libs/gst/base/gstbasetransform.c:
8207         (gst_base_transform_prepare_output_buffer):
8208         Use new metadata copy functions.
8209
8210 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8211
8212         * plugins/elements/gstidentity.c: (gst_identity_class_init),
8213         (gst_identity_init), (gst_identity_check_perfect),
8214         (gst_identity_check_imperfect_timestamp),
8215         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
8216         (gst_identity_set_property), (gst_identity_get_property):
8217         * plugins/elements/gstidentity.h:
8218         Separate out check-imperfect-timestamp and check-imperfect-offset.
8219         Put back check-perfect as it was to keep compatibility.
8220
8221 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
8222
8223         * gst/gstelement.c: (gst_element_dispose):
8224         There's no need to warn if VOID_PENDING is not NONE here, as
8225         long as the state is NULL it's ok, and that's checked immediately
8226         above.
8227
8228 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8229
8230         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8231         Fix check for perfect stream to ignore buffers with -1 
8232         offsets/offset ends when checking data contiguity.
8233
8234 2007-03-08  Wim Taymans  <wim@fluendo.com>
8235
8236         * tools/gst-launch.c: (event_loop):
8237         Print INFO messages.
8238
8239 2007-03-08  Wim Taymans  <wim@fluendo.com>
8240
8241         * libs/gst/base/gstbasetransform.c:
8242         (gst_base_transform_sink_eventfunc),
8243         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8244         (gst_base_transform_activate):
8245         * libs/gst/base/gstbasetransform.h:
8246         Add support for dropping buffers with custom GstFlowReturn.
8247         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
8248         buffers or dropped buffers.
8249
8250         * docs/libs/gstreamer-libs-sections.txt:
8251         docs for new custom return code.
8252
8253         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8254         Use drop support in base class to implement drop-probability.
8255
8256 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
8257
8258         * gst/gst.c: (load_plugin_func):
8259         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
8260         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8261         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8262           Remove newlines at end of debug log strings.
8263
8264 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8265
8266         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8267         Only post bus message at max, once per buffer received.
8268
8269 2007-03-07  Wim Taymans  <wim@fluendo.com>
8270
8271         * docs/design/Makefile.am:
8272         * docs/design/part-synchronisation.txt:
8273         Add doc about synchronisation
8274
8275         * docs/design/draft-latency.txt:
8276         * docs/design/part-TODO.txt:
8277         * docs/design/part-clocks.txt:
8278         * docs/design/part-events.txt:
8279         * docs/design/part-gstbus.txt:
8280         * docs/design/part-gstpipeline.txt:
8281         * docs/design/part-live-source.txt:
8282         * docs/design/part-messages.txt:
8283         * docs/design/part-overview.txt:
8284         * docs/design/part-streams.txt:
8285         * docs/design/part-trickmodes.txt:
8286         Documentation updates.
8287
8288 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8289
8290         * gstreamer.doap:
8291         Update the doap file.
8292
8293 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8294
8295         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8296         Rename non-perfect to imperfect for Mike and for the sanctity of the
8297         language.
8298         Also make sure bus message gets emitted for data-incontiguities.
8299
8300 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8301
8302         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8303         (gst_identity_start):
8304         * plugins/elements/gstidentity.h:
8305         Emit bus message if check-perfect is true and we encounter a
8306         non-perfect stream between 2 consecutive buffers.
8307         Fixes #415394.
8308
8309 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8310
8311         * configure.ac:
8312         Back to CVS
8313
8314 === release 0.10.12 ===
8315
8316 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
8317
8318         * configure.ac:
8319           releasing 0.10.12, "Inevitable Demise"
8320
8321 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
8322
8323         * configure.ac:
8324          Version 0.10.11.2 (0.10.12 pre-release)
8325          Bump libtool versioning.
8326
8327 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
8328
8329         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8330           Log flow-names and not numbers.
8331
8332 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8333
8334         * configure.ac:
8335           Convert to new AG_GST style.
8336
8337 2007-02-28  Wim Taymans  <wim@fluendo.com>
8338
8339         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8340         Don't unref query twice.
8341
8342 2007-02-28  Wim Taymans  <wim@fluendo.com>
8343
8344         * gst/gstvalue.c: (gst_value_transform_object_string),
8345         (_gst_value_initialize):
8346         Implement GstObject -> string transform so we print object names
8347         when serializing GValues containing GstObjects.
8348
8349 2007-02-28  Wim Taymans  <wim@fluendo.com>
8350
8351         * docs/gst/gstreamer-sections.txt:
8352         Add new stuff to docs.
8353
8354 2007-02-28  Wim Taymans  <wim@fluendo.com>
8355
8356         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8357         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8358         (gst_base_sink_change_state):
8359         Improve latency query code.
8360         Don't leak latency events.
8361
8362         * tests/check/gst/gstbin.c: (GST_START_TEST):
8363         Improve debugging.
8364
8365 2007-02-28  Wim Taymans  <wim@fluendo.com>
8366
8367         * gst/gstelement.c: (gst_element_message_full),
8368         (gst_element_get_state_func):
8369         * gst/gstelement.h:
8370         Improve docs a little. Added Since: for new macro.
8371
8372         * gst/gstobject.c: (gst_object_sink):
8373         * gst/gstpipeline.c: (gst_pipeline_change_state),
8374         (gst_pipeline_set_new_stream_time):
8375         * gst/gstpipeline.h:
8376         Improve debugging and docs.
8377
8378         * gst/gstutils.c: (gst_element_state_change_return_get_name):
8379         Improve debugging.
8380
8381 2007-02-28  Wim Taymans  <wim@fluendo.com>
8382
8383         * gst/gstelement.c: (gst_element_message_full),
8384         (gst_element_set_locked_state), (gst_element_get_state_func),
8385         (gst_element_change_state):
8386         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8387         Documentation updates.
8388         Small code cleanups.
8389
8390         * gst/gstmessage.c: (gst_message_new_info),
8391         (gst_message_parse_info):
8392         * gst/gstmessage.h:
8393         API: gst_message_new_info()
8394         API: gst_message_parse_info()
8395         Add INFO message create and parse code.
8396
8397 2007-02-28  Wim Taymans  <wim@fluendo.com>
8398
8399         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8400         (bin_query_latency_done):
8401         Also report the live parameter of a latency query.
8402
8403 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8404
8405         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8406           Copy the current generic/states example from -base and adapt so
8407           we can use the exact same code everywhere.
8408           Check a STATES_IGNORE_ELEMENTS env var which can be used
8409           to ignore certain element factories for this test, which is
8410           what is being done in -base
8411         * tests/check/Makefile.am:
8412           Mention this environment variable.
8413
8414 2007-02-27  Wim Taymans  <wim@fluendo.com>
8415
8416         * docs/gst/gstreamer-sections.txt:
8417         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8418         (gst_bus_timed_pop), (gst_bus_pop):
8419         * gst/gstbus.h:
8420         API: gst_bus_timed_pop()
8421         Implement gst_bus_timed_pop() to do a blocking timed wait for a
8422         message to arrive on the bus.
8423
8424         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8425         (gst_bus_suite):
8426         Two unit tests for new _timed_pop() function.
8427
8428 2007-02-23  Wim Taymans  <wim@fluendo.com>
8429
8430         * gst/gstpipeline.c: (gst_pipeline_change_state),
8431         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8432         Don't ref a NULL clock in _provide_clock_func().
8433         Don't allow an INVALID delay.
8434         Don't try to calculate base_time with an invalid start_time.
8435         Also distribute and notify a NULL clock when it was selected.
8436
8437         * tools/gst-launch.c: (event_loop):
8438         Don't crash when a NULL clock was selected in the pipeline.
8439
8440 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8441
8442         * docs/design/Makefile.am:
8443         * docs/design/draft-missing-plugins.txt:
8444         * docs/random/draft-missing-plugins.txt:
8445           Some small updates: update plugin system identifier prefix
8446           ('gstreamer.net' to 'gstreamer'), mention our new install
8447           API in libgstbaseutils rather than libgimme-codec, add
8448           reference to the online docs.
8449
8450 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8451
8452         * win32/common/config.h:
8453           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
8454           use moap cl ci to only check in what is mentioned in the ChangeLog.
8455
8456 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8457
8458         * docs/gst/gstreamer-sections.txt:
8459         * gst/gstelement.h:
8460           Fix up documentation to link to the correct GstGError section.
8461           Add GST_ELEMENT_INFO macro since someone else added a Info message.
8462
8463 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8464
8465         * tools/gst-launch.c: (event_loop):
8466           Make sure that we actually show the important message part of a
8467           warning message.
8468           No need to check if the gerror is not NULL to free; first of all
8469           g_free accepts NULL; and second the default error handler would
8470           segfault if gerror was NULL.
8471
8472 2007-02-21  Wim Taymans  <wim@fluendo.com>
8473
8474         * docs/gst/gstreamer-sections.txt:
8475         Removed docs as well.
8476
8477 2007-02-21  Wim Taymans  <wim@fluendo.com>
8478
8479         * gst/gstmessage.c: (gst_message_parse_duration):
8480         * gst/gstmessage.h:
8481         Remove new messages for release.
8482
8483 2007-02-20  Wim Taymans  <wim@fluendo.com>
8484
8485         * docs/design/part-gstghostpad.txt:
8486         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8487         (gst_ghost_pad_new_full):
8488         Make the ghostpad a parent of the internal pad again for better backward
8489         compatibility. Don't write code that relies on this however.
8490
8491         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8492         (gst_pad_link_check_hierarchy):
8493         Require that parents should be GstElements in the hierarchy check.
8494
8495 2007-02-20  Wim Taymans  <wim@fluendo.com>
8496
8497         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8498         (gst_bin_change_state_func), (bin_query_min_max_init),
8499         (bin_query_latency_fold), (bin_query_latency_done),
8500         (gst_bin_query):
8501         Improve debug info.
8502         Implement latency query.
8503
8504 2007-02-20  Wim Taymans  <wim@fluendo.com>
8505
8506         * docs/design/part-gstghostpad.txt:
8507         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8508         (gst_ghost_pad_internal_do_activate_push),
8509         (gst_ghost_pad_internal_do_activate_pull),
8510         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8511         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8512         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8513         Do not set the internal pad as a parent anymore so we can avoid
8514         hierarchy linking errors when the ghostpad has no parent yet. This also
8515         fixes failed activation because of unlinked internal pads, which in
8516         turn fixes the impossible case where you have to activate a pad before
8517         you can add it to a running element.
8518         Also fix the docs.
8519
8520         * gst/gstpad.c: (pre_activate), (post_activate),
8521         (gst_pad_set_active), (gst_pad_activate_pull),
8522         (gst_pad_activate_push), (gst_pad_check_pull_range):
8523         Add some more debug info.
8524         Mark activation mode in pre_activate so that we don't try to activate in
8525         endless loops. Fixes #385084.
8526
8527 2007-02-19  Wim Taymans  <wim@fluendo.com>
8528
8529         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8530         (gst_base_transform_check_get_range):
8531         Implement a checkgetrange function instead of relying on the default
8532         core behaviour that assumes we can operate in pull mode if we have a
8533         getrange function. First step at fixing #385084.
8534
8535 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
8536
8537         * gst/gstchildproxy.h:
8538         * libs/gst/base/gstbasesink.h:
8539         * libs/gst/base/gstbasesrc.h:
8540         * libs/gst/base/gstbasetransform.h:
8541         More docs coverage and some ChangeLog surgery (add missing names)
8542
8543 2007-02-15  Wim Taymans  <wim@fluendo.com>
8544
8545         * docs/design/part-TODO.txt:
8546         * docs/design/part-activation.txt:
8547         * docs/design/part-block.txt:
8548         * docs/design/part-buffering.txt:
8549         * docs/design/part-clocks.txt:
8550         * docs/design/part-element-source.txt:
8551         * docs/design/part-events.txt:
8552         * docs/design/part-gstbin.txt:
8553         * docs/design/part-gstbus.txt:
8554         * docs/design/part-gstpipeline.txt:
8555         * docs/design/part-live-source.txt:
8556         * docs/design/part-messages.txt:
8557         * docs/design/part-overview.txt:
8558         * docs/design/part-qos.txt:
8559         * docs/design/part-query.txt:
8560         * docs/design/part-states.txt:
8561         * docs/design/part-trickmodes.txt:
8562         Some doc updates. Start renaming from stream_time to running_time where
8563         it was used wrongly.
8564
8565 2007-02-15  Wim Taymans  <wim@fluendo.com>
8566
8567         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8568         Answer LATENCY query.
8569
8570 2007-02-15  Wim Taymans  <wim@fluendo.com>
8571
8572         * tests/check/gst/gstevent.c: (event_probe), (test_event),
8573         (GST_START_TEST):
8574         Improve debugging.
8575
8576 2007-02-15  Wim Taymans  <wim@fluendo.com>
8577
8578         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8579         (gst_pad_dispatcher):
8580         Improve debugging of default pad dispatcher and query functions.
8581
8582 2007-02-15  Wim Taymans  <wim@fluendo.com>
8583
8584         * docs/gst/gstreamer-sections.txt:
8585         Remove old unused method.
8586
8587 2007-02-13  Wim Taymans  <wim@fluendo.com>
8588
8589         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8590         Fix check
8591
8592 2007-02-13  Wim Taymans  <wim@fluendo.com>
8593
8594         * docs/design/part-seeking.txt:
8595         Some small update.
8596
8597         * gst/gstsegment.c: (gst_segment_set_seek):
8598         Revert old bogus change that should make seeking work again.
8599
8600 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8601
8602         * docs/random/ensonic/dynlink.txt:
8603         * docs/random/ensonic/interfaces.txt:
8604         * docs/random/ensonic/receipies.txt:
8605           Possible dynamic reconnection api, plus some type fixes the other two
8606           docs.
8607
8608 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8609
8610         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8611         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8612         Also check for an absolute path following file:// in the filesrc
8613         element. Remove redundant check and call g_path_is_absolute() on the
8614         unescaped location.
8615
8616 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8617
8618         * docs/design/draft-klass.txt:
8619           Add existing category analysis.
8620           
8621         * gst/gstcaps.c:
8622           Fix doc example, framerate is a fraction.
8623
8624 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8625
8626         * configure.ac:
8627         * docs/gst/Makefile.am:
8628         * docs/gst/gstreamer-sections.txt:
8629         * docs/libs/Makefile.am:
8630           Erm, forgot a bunch of --extra-dir.
8631
8632 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8633
8634         * configure.ac:
8635         * docs/gst/Makefile.am:
8636         * docs/libs/Makefile.am:
8637         * docs/plugins/Makefile.am:
8638           Add crossreferences to glib/gobject docs.
8639
8640 2007-02-12  Wim Taymans  <wim@fluendo.com>
8641
8642         * docs/design/draft-latency.txt:
8643         Small update.
8644
8645         * docs/libs/gstreamer-libs-sections.txt:
8646         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8647         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8648         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8649         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8650         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8651         (gst_base_sink_get_position), (gst_base_sink_query),
8652         (gst_base_sink_change_state):
8653         * libs/gst/base/gstbasesink.h:
8654         API: gst_base_sink_query_latency() to let subclasses query the upstream
8655         latency.
8656         API: gst_base_sink_get_latency() to let subclasses query the configured
8657         latency in the sink.
8658         Implement query and set latency.
8659         Update some docs.
8660         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8661         don't continue preroll when we are flushing. Fixes #405284.
8662
8663         * tests/check/pipelines/stress.c: (change_state_timeout),
8664         (quit_timeout), (GST_START_TEST), (stress_suite):
8665         Test for #405284.
8666
8667 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8668
8669         Patch by: René Stadler <mail at renestadler de>
8670
8671         * docs/gst/gstreamer-sections.txt:
8672         * gst/gsttaglist.c: (_gst_tag_initialize):
8673         * gst/gsttaglist.h:
8674           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8675
8676 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8677
8678         * docs/libs/Makefile.am:
8679           Fix path to core docs.
8680
8681         * gst/gstbin.c: (gst_bin_get_by_interface),
8682         (gst_bin_iterate_all_by_interface):
8683           Refix docs by also renaming 'interface' to 'iface' in implementation.
8684
8685         * docs/gst/gstreamer-sections.txt:
8686         * gst/gstcaps.c:
8687         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8688         * gst/gstchildproxy.h:
8689         * gst/gstelementfactory.c:
8690         * gst/gstpadtemplate.h:
8691         * libs/gst/controller/gstcontroller.c:
8692         (gst_controlled_property_new):
8693           Document more.
8694
8695 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8696
8697         * gst/gstbin.h:(gst_bin_get_by_interface),
8698         (gst_bin_iterate_all_by_interface):
8699         Replace interface parameter name by iface as interface is 
8700         a reserved keyword in Visual Studio for C++ projects so it removes
8701         a build error for application developpers using VS.
8702         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8703         Fix a bug on Windows in uri format check. Now the prefix checked
8704         is file:// and next we check if the path after file:// is absolute.
8705         * win32/common/libgstbase.def:
8706         * win32/common/libgstdataprotocol.def:
8707         * win32/common/libgstgstreamer.def:
8708         Add new exported functions.
8709
8710 2007-02-09  Andy Wingo  <wingo@pobox.com>
8711
8712         * tests/check/pipelines/simple-launch-lines.c
8713         (simple_launch_lines_suite, test_tee): Disable tee test until I
8714         have time to fix it :-(
8715
8716         * tests/check/Makefile.am (noinst_HEADERS): 
8717         * tests/check/libs/libsabi.c: 
8718         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8719         * tests/check/gst/gstabi.c: 
8720         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8721
8722         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8723         tests for push and pull tee behavior.
8724
8725         * plugins/elements/gsttee.h: 
8726         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8727         mark as deprecated as well as unimplemented. It was a crack idea.
8728         Add support for tee operating in pull mode, off by default.
8729
8730         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8731         normal-case logs down to LOG, raise errors to WARNING.
8732         (gst_registry_xml_read_cache): Don't log before calling a function
8733         that logs.
8734
8735         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8736         exit (registry finalize).
8737         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8738         DEBUG log when we emit signals that people don't even have the
8739         chance to connect to.
8740         (gst_registry_scan_path_level): Less logging in the normal case.
8741
8742 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8743
8744         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8745
8746         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8747         Correctly generate EOS for non-seekable files. We don't have a total
8748         length for them and would get an unexpected end of file if we only
8749         special-cased for regular files. (Fixes: #404569)
8750
8751 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8752
8753         * tests/check/elements/filesrc.c: (GST_START_TEST),
8754         (filesrc_suite):
8755         Add unit test for the GstURIHandler interface in filesrc. This also
8756         tests the newly added file://localhost/foo/bar support.
8757
8758 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8759
8760         * gst/gstelementfactory.h:
8761           The klass string is not a hierarchy. Add reference to the design doc
8762           for more information and common types.
8763
8764 2007-02-02  Wim Taymans  <wim@fluendo.com>
8765
8766         * gst/gstquery.c: (gst_query_new_latency):
8767         Remove old structure field.
8768
8769 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8770
8771         * tools/gst-launch.1.in:
8772           Give example for network streaming (#351998)
8773
8774 2007-02-02  Wim Taymans  <wim@fluendo.com>
8775
8776         * docs/gst/gstreamer-sections.txt:
8777         Add docs for new methods.
8778
8779         * gst/gstevent.c: (gst_event_new_latency),
8780         (gst_event_parse_latency):
8781         * gst/gstevent.h:
8782         Add new LATENCY event to configure latency in a pipeline.
8783         API: gst_event_new_latency
8784         API: gst_event_parse_latency
8785
8786         * gst/gstmessage.c: (gst_message_new_buffering),
8787         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8788         (gst_message_new_latency), (gst_message_parse_buffering),
8789         (gst_message_parse_lost_preroll):
8790         * gst/gstmessage.h:
8791         Added messages used in draft-latency.
8792         API: gst_message_new_lost_preroll
8793         API: gst_message_parse_lost_preroll
8794         API: gst_message_new_prerolled
8795         API: gst_message_new_latency
8796
8797         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8798         (gst_query_parse_latency):
8799         * gst/gstquery.h:
8800         Implemented new latency query as in design doc.
8801         API: gst_query_new_latency
8802         API: gst_query_set_latency
8803         API: gst_query_parse_latency
8804
8805 2007-02-02  Wim Taymans  <wim@fluendo.com>
8806
8807         * docs/design/draft-latency.txt:
8808         Slight redesign to allow for dynamic latency adjustments.
8809
8810         * docs/design/part-negotiation.txt:
8811         Fix some typos.
8812
8813 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8814
8815         reviewed by: Wim Taymans <wim@fluendo.com>
8816
8817         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8818         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8819         Allow file://localhost/foo/bar URLs and correctly fail for every other
8820         hostname that one sets. This was gnomevfssrc is linked for those if
8821         installed as it can handle it (#403172)
8822
8823 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8824
8825         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8826
8827         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8828         (unref_data), (gst_collect_pads_add_pad_full):
8829         * libs/gst/base/gstcollectpads.h:
8830         Don't put the previously added destroy notify in the GstCollectData
8831         struct as all it's padding is already used and we don't want to break
8832         ABI. Instead put in the pad's GObject data for now. This should be
8833         cleaned up for 0.11 (#402393).
8834
8835 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8836
8837         reviewed by: Wim Taymans <wim@fluendo.com>
8838
8839         * docs/libs/gstreamer-libs-sections.txt:
8840         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8841         (unref_data), (gst_collect_pads_add_pad),
8842         (gst_collect_pads_add_pad_full):
8843         * libs/gst/base/gstcollectpads.h:
8844         API: Add function to specify a destroy notification for custom
8845         GstCollectData when adding new pads in GstCollectPads (#402393).
8846
8847 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8848
8849         * po/sv.po:
8850           Update Swedish translation (#378255).
8851
8852 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8853
8854         * docs/design/draft-klass.txt:
8855           Fix the previous change, this is a list of categories and not a hierarchy.
8856
8857 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8858
8859         * docs/design/draft-klass.txt:
8860           Add info about how to get a list of used classes.
8861
8862 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8863
8864         * plugins/elements/gsttypefindelement.c:
8865         (gst_type_find_element_chain_do_typefinding),
8866         (gst_type_find_element_change_state):
8867           Don't leak found caps in chain function (no idea why that never
8868           showed up as a leak anywhere).
8869
8870 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8871
8872         * gst/gstplugin.h:
8873           Fix and expand GstPluginDesc API docs.
8874
8875 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8876
8877         * gst/gstcaps.c:
8878         * gst/gstelementfactory.c:
8879         * gst/gstpadtemplate.h:
8880           api doc fixes
8881
8882         * libs/gst/controller/gstcontroller.c:
8883         (gst_controlled_property_new):
8884         * tests/examples/controller/audio-example.c:
8885           comment fixes
8886
8887 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8888
8889         * configure.ac:
8890           comment about refining the xml deps
8891
8892         * docs/manuals.mak:
8893           comments about moving away from jade for docs
8894         
8895         * gst/gst.c:
8896           recommit the ifdefs to use the binary registry
8897         
8898         * gst/gstbin.c: (gst_bin_change_state_func):
8899           this break is obsolete
8900
8901         * gst/gstelementfactory.h:
8902           better GST_ELEMENT_DETAILS docs, add comment about translation
8903
8904         * gst/gstinfo.h:
8905           remove eol slash
8906
8907         * gst/gstobject.c: (gst_signal_object_get_type):
8908           add G_UNLIKELY as usual
8909
8910         * gst/gstpad.c: (gst_pad_event_default):
8911           add fall trhu comment
8912
8913         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8914         (gst_registry_binary_initialize_magic),
8915         (gst_registry_binary_save_string),
8916         (gst_registry_binary_save_pad_template),
8917         (gst_registry_binary_save_feature),
8918         (gst_registry_binary_save_plugin),
8919         (gst_registry_binary_write_cache),
8920         (gst_registry_binary_check_magic),
8921         (gst_registry_binary_load_pad_template),
8922         (gst_registry_binary_load_feature),
8923         (gst_registry_binary_load_plugin),
8924         (gst_registry_binary_read_cache):
8925           comment typo and formatting
8926
8927         * gst/gstutils.c: (gst_element_state_get_name),
8928         (gst_element_state_change_return_get_name):
8929           remove obsolete breaks
8930
8931         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8932           add FIXME 0.11 and remove cpp comment
8933
8934 2007-01-29  Edward Hervey  <edward@fluendo.com>
8935
8936         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8937         Fix print statement in an even more portable way.
8938
8939 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8940
8941         * docs/gst/gstreamer-sections.txt:
8942         * gst/gstutils.h:
8943           API: add GST_ROUND_DOWN_* macros (#401781).
8944
8945 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8946
8947         * docs/gst/gstreamer.types.in:
8948         * gst/gstregistry.c: (gst_registry_class_init):
8949           Document registry signals and make gtk-doc pick them up (#401381).
8950
8951 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8952
8953         * docs/pwg/building-testapp.xml:
8954           Add some audioconverts and audioresample to the pipeline, and some
8955           more comments and error handling.
8956
8957 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8958
8959         * docs/manual/manual.xml:
8960         * docs/pwg/pwg.xml:
8961           Fix typo (#400987).
8962
8963 2007-01-26  Wim Taymans  <wim@fluendo.com>
8964
8965         * gst/gstcaps.c: (gst_static_caps_get):
8966         Init caps flags too.
8967
8968 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8969
8970         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8971
8972         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8973         If not using mmap'ed files try to seek to the end instead of the
8974         start to determine whether we can seek at all. This fixes the case
8975         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8976         seeks for everything afterwards fail. Fixes #400656
8977
8978 2007-01-25  Wim Taymans  <wim@fluendo.com>
8979
8980         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8981         Add some refcount debugging.
8982         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8983         in multiple streaming threads.
8984
8985 2007-01-25  Wim Taymans  <wim@fluendo.com>
8986
8987         Patch by: David Schleef <ds at schleef dot org>
8988
8989         * docs/libs/gstreamer-libs-sections.txt:
8990         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8991         * libs/gst/base/gstadapter.h:
8992         API: gst_adapter_copy() that can reduce the amount of memcpy when
8993         getting data from the adapter. Fixes #388201.
8994
8995 2007-01-25  Edward Hervey  <edward@fluendo.com>
8996
8997         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8998         In print statements, "%x" is for guint. Fixes build on macosx.
8999
9000 2007-01-24  Edward Hervey  <edward@fluendo.com>
9001
9002         * plugins/elements/gstmultiqueue.c:
9003         (gst_multi_queue_loop):
9004         Small fix.
9005         (single_queue_overrun_cb), (single_queue_underrun_cb),
9006         (single_queue_check_full), (gst_single_queue_new):
9007         Implement single queue growth system.
9008         This uses the extra-size properties, and will grow single queues by
9009         that much if one goes full whereas there are others empty. This is
9010         called extra-mode in the code.
9011         When a single queue's levels go back below the initial max-size
9012         limits, it is no longer in extra-mode. This is to ensure we don't
9013         consume too much memory.
9014         Fixes #399875
9015
9016 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
9017
9018         * gst/gst.c: (gst_init_get_option_group):
9019           Make warning about late g_thread_init() calls a bit more explicit,
9020           so that it's more obvious to application developers what they need
9021           to do if a user files a bug against their application.
9022
9023 2007-01-22  Edward Hervey  <edward@fluendo.com>
9024
9025         * plugins/elements/gstmultiqueue.c:
9026         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
9027         Remove previous hack of unsetting the flushing flag for the source pad
9028         instead of activating it. Instead, fix the source pad activate function
9029         so that it no longer depends on having a parent set or not.
9030
9031 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
9032
9033         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
9034
9035         * docs/manual/basics-bus.xml:
9036           Fix example code, gst_element_unref() doesn't exist any longer.
9037
9038 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
9039
9040         Patch by: Mark Nauwelaerts <manauw at skynet be>
9041
9042         * gst/gstpad.c:
9043           Fix two docs typoes (#399094).
9044
9045 2007-01-19  Edward Hervey  <edward@fluendo.com>
9046
9047         * docs/faq/gst-uninstalled:
9048         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
9049         depending on libgstbaseutils can work in uninstalled environment.
9050
9051 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
9052
9053         * gst/gsttaglist.h:
9054         * gst/gsttagsetter.c:
9055         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
9056         statement for new tag.
9057
9058 2007-01-17  Edward Hervey  <edward@fluendo.com>
9059
9060         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
9061         When dynamically creating single queues, activate sinkpad before adding
9062         it.
9063         We should be doing the same thing for the source pad, but we can't
9064         since it would call a method which needs the parent to be set in order
9065         to work propertly. Instead of activating the source pad, we just unset
9066         the flushing flag, which is the minimal requirement for adding a pad
9067         to an element in a state greater than READY.
9068
9069 2007-01-17  Edward Hervey  <edward@fluendo.com>
9070
9071         * docs/faq/gst-uninstalled:
9072         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
9073         Mac OS X.
9074
9075 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
9076
9077         * tests/check/gst/gstabi.c:
9078         * tests/check/gst/struct_hppa.h:
9079         * tests/check/libs/libsabi.c:
9080         * tests/check/libs/struct_hppa.h:
9081           Add ABI structs for HPPA (see #393796).
9082
9083 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
9084
9085         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9086           Actually write ABI structs to the file specified in the GST_ABI
9087           environment variable, as the message we print claims we would.
9088
9089 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9090
9091         * tests/check/gst/gsttask.c:
9092           Fix header comment.
9093
9094 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9095
9096         * gst/gsttaglist.c: (_gst_tag_initialize):
9097           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
9098           previous two entries.
9099
9100 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9101
9102         * docs/gst/gstreamer-sections.txt:
9103         * gst/gsttaglist.c: (_gst_tag_initialize):
9104         * gst/gsttaglist.h:
9105           Add tag support for beat-per-minute.
9106
9107 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9108
9109         * gst/gstregistrybinary.c: (gst_registry_binary_write),
9110         (gst_registry_binary_initialize_magic),
9111         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
9112         (gst_registry_binary_save_pad_template),
9113         (gst_registry_binary_save_feature),
9114         (gst_registry_binary_save_plugin),
9115         (gst_registry_binary_write_cache),
9116         (gst_registry_binary_check_magic),
9117         (gst_registry_binary_load_pad_template),
9118         (gst_registry_binary_load_feature),
9119         (gst_registry_binary_load_plugin),
9120         (gst_registry_binary_read_cache):
9121         * gst/gstregistrybinary.h:
9122           Use glib types, cleanup comments, impement interfaces and uri-types.
9123
9124 2007-01-13  Andy Wingo  <wingo@pobox.com>
9125
9126         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
9127         getrange() to return buffers with other caps, while we fix
9128         demuxers and typefind, or otherwise change part-negotiation.txt.
9129
9130 2007-01-12  Andy Wingo  <wingo@pobox.com>
9131
9132         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
9133         Factor start/stop into this private function instead of partially
9134         in activate functions and partially in the change_state function.
9135         Fixes setup before the element has changed from READY->PAUSED, as
9136         is the case in pull-mode pipelines.
9137         (gst_base_transform_sink_activate_push)
9138         (gst_base_transform_src_activate_pull): Refactor to use
9139         gst_base_transform_activate().
9140         (gst_base_transform_change_state): Removed, not needed any more.
9141
9142         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9143         Truncate before fixating.
9144         
9145         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9146         Don't set_caps() if the result of fixating is ANY, as it's not
9147         supported, and not necessary in the case of a link with no
9148         template caps on either side. Fixes tests/check/libs/basesrc in
9149         some pull-mode tests.
9150
9151         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
9152         (gst_base_transform_init, gst_base_transform_sink_activate_push)
9153         (gst_base_transform_src_activate_pull): 
9154         Track the activation mode.
9155         (gst_base_transform_setcaps): In pull mode, when activating the
9156         src pad, after activating the sink pad, activate the sink pad's
9157         peer, as discussed in part-negotiation.txt.
9158
9159         * libs/gst/base/gstbasesrc.h: 
9160         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
9161         vmethod, as in basesink.
9162
9163         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
9164
9165         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
9166         mode, first proxy the setcaps to the peer pad.
9167         (gst_base_sink_pad_fixate): Add a fixate function that calls the
9168         new fixate vmethod.
9169         (gst_base_sink_default_activate_pull): Rename from
9170         gst_base_sink_activate_pull.
9171         (gst_base_sink_negotiate_pull): New function, performs negotiation
9172         in pull mode before calling ::activate_pull().
9173         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
9174         vmethod instead of the default implementation. I have no idea how
9175         this worked before. Negotiate before calling activate_pull.
9176
9177         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
9178         sink pads in pull mode. In addition to being correct, fixes
9179         filesrc ! decodebin ! identity ! fakesink.
9180         (gst_pad_get_range, gst_pad_pull_range): Don't call
9181         gst_pad_set_caps() if the caps changes; instead error out with
9182         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
9183
9184 2007-01-12  Andy Wingo  <wingo@pobox.com>
9185
9186         * docs/design/part-negotiation.txt: Update with more policy.
9187
9188 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9189
9190         * libs/gst/check/gstbufferstraw.h:
9191         * libs/gst/check/gstcheck.h:
9192           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
9193           belongs.
9194
9195 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9196
9197         * tests/check/Makefile.am:
9198         * tests/check/gst/.cvsignore:
9199         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
9200         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
9201         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
9202         (GST_START_TEST), (gst_tag_setter_suite):
9203           Add minimal unit test for beforementioned GstTagSetter bug.
9204
9205 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9206
9207         Patch by: René Stadler <mail at renestadler dot de>
9208
9209         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
9210           gst_tag_list_merge() returns a new list, so it's not the best idea
9211           to ingore its return value. Effectively meant that tags could only
9212           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
9213           Also add function guard to require a non-NULL taglist as input (has
9214           always been so due to gst_tag_list_copy(), just making it explicit).
9215
9216 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9217
9218         * docs/random/draft-missing-plugins.txt:
9219           Some additions: mention new API that is supposed to be used at the
9220           various stages; short blob about new gst-inspect introspection
9221           option; mention potential future problem with plugins that have
9222           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
9223
9224 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9225
9226         * tools/gst-inspect.c:
9227         (print_plugin_automatic_install_info_codecs),
9228         (print_plugin_automatic_install_info_protocols),
9229         (print_plugin_automatic_install_info), (main):
9230         Add --print-plugin-auto-install-info option to gst-inspect, so we can
9231         introspect plugin files and get machine-parsable output that corresponds
9232         to the last bit of the missing-plugin installer string (small gotcha:
9233         doesn't take into account ranks).
9234
9235 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
9236
9237         * configure.ac:
9238         * docs/gst/gstreamer-sections.txt:
9239         * gst/Makefile.am:
9240         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
9241         (gst_registry_lookup_locked):
9242         * gst/gstregistry.h:
9243         * gst/gstregistrybinary.c: (gst_registry_binary_write),
9244         (gst_registry_binary_initialize_magic),
9245         (gst_registry_binary_save_string),
9246         (gst_registry_binary_save_pad_template),
9247         (gst_registry_binary_save_feature),
9248         (gst_registry_binary_save_plugin),
9249         (gst_registry_binary_write_cache),
9250         (gst_registry_binary_check_magic),
9251         (gst_registry_binary_load_pad_template),
9252         (gst_registry_binary_load_feature),
9253         (gst_registry_binary_load_plugin),
9254         (gst_registry_binary_read_cache):
9255         * gst/gstregistrybinary.h:
9256         * gst/gstregistryxml.c: (load_feature),
9257         (gst_registry_xml_read_cache):
9258           commit binary registry (disabled by default, see #359653)
9259
9260 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9261
9262         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
9263           Fix 'make check' too.
9264
9265 2007-01-10  Andy Wingo  <wingo@pobox.com>
9266
9267         * docs/design/part-negotiation.txt: Fix a typo, add a couple
9268         notes.
9269         
9270         * docs/design/part-negotiation.txt: Update with, um, one way that
9271         pull-mode negotiation might work?
9272
9273         * gst/gstpad.h: 
9274         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
9275         that the pad must be a src pad; makes sense to call it the other
9276         way in pull mode, and the logic is symmetric anyway.
9277
9278 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
9279
9280         * plugins/elements/gstfilesink.c:
9281           Include <stdio.h> for fseeko().
9282
9283 2007-01-10  Wim Taymans  <wim@fluendo.com>
9284
9285         * gst/gstevent.c:
9286         * gst/gstevent.h:
9287         Reserve LATENCY event.
9288
9289 2007-01-09  Wim Taymans  <wim@fluendo.com>
9290
9291         * docs/design/draft-latency.txt:
9292         Updates.
9293
9294 2007-01-09  Wim Taymans  <wim@fluendo.com>
9295
9296         * docs/design/draft-latency.txt:
9297         Updates.
9298
9299         * gst/gstelement.h:
9300         * gst/gststructure.c:
9301         * gst/gsttrace.c:
9302         Small typo fixes.
9303
9304 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9305
9306         * tests/check/.cvsignore:
9307           Ignore test-registry.xml as well.
9308
9309 2007-01-09  Wim Taymans  <wim@fluendo.com>
9310
9311         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9312         unref data at the end when we are done with the pad.
9313
9314 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9315
9316         * docs/gst/gstreamer-sections.txt:
9317         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9318         (init_post), (gst_deinit), (gst_update_registry):
9319         * gst/gst.h:
9320           API: add gst_update_registry() (#391296).
9321
9322         * tests/check/Makefile.am:
9323         * tests/check/gst/gstregistry.c:
9324         * tests/check/gst/.cvsignore:
9325           Simple unit test for the above.
9326
9327 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9328
9329         * gst/gstregistry.c: (gst_registry_scan_path_level):
9330           Plugin extension on HP-UX is .sl, add that to the list of approved
9331           plugin extensions (see #393796).
9332
9333         * tests/check/gst/gstpad.c: (GST_START_TEST):
9334           ulong => gulong. Fixes compilation with HP-UX compiler.
9335
9336         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9337           Fix compilation if valgrind headers are not available.
9338
9339 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
9340
9341         * win32/common/libgstreamer.def: 
9342           Add new exported function.
9343         * win32/vs6/libgstbase.dsp: 
9344           Add gstdataqueue.c to the build.
9345         * win32/vs6/libgstcoreelements.dsp:
9346           Add gstmultiqueue.c to the build.
9347         
9348 2007-01-06  Andy Wingo  <wingo@pobox.com>
9349
9350         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9351         activate_pull(), providing for a way to specialize the process of
9352         spawning a thread to pull on the sink pad. There is a default
9353         implementation.
9354
9355         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9356         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9357         (gst_base_sink_init): Renamed pad activation functions (inserting
9358         "_pad" in their names). Refactor to use the new activate_pull
9359         vmethod, as appropriate.
9360         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9361         default activate_pull function to start a task pulling from the
9362         sink pad, as before.
9363
9364         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9365         on the pads if necessary, as in push()/chain(). Update docs.
9366         Shouldn't affect existing pull() usage as it is currently only
9367         being used on buffers without caps.
9368
9369 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9370
9371         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9372         (init_pre):
9373           Call g_thread_init() first thing in gst_init() / gst_check_init().
9374           When initialisation is done via gst_init_get_option_group() and
9375           GOption parsing, issue a warning if the GLib thread system has not
9376           been initialised yet by the time gst_init_get_option_group() is
9377           called, as it's quite likely other GLib functions such as
9378           g_option_context_new() have been called already then, and
9379           g_thread_init() must be called before any other GLib function. The
9380           application in question must be fixed in that case, since memory
9381           corruption might happen otherwise.
9382           We issue the warning because even if the GLib folks decide to work
9383           around the problem on their end in future, this is still an issue
9384           with all GLib versions >= 2.10.0, so we should warn until we depend
9385           on a GLib version we know to be safe.
9386           Update documentation as well.
9387           Closes bug #391278.
9388
9389 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9390
9391         * tools/gst-inspect.c: (main):
9392         * tools/gst-launch.c: (main):
9393         * tools/gst-typefind.c: (main):
9394         * tools/gst-xmlinspect.c: (main):
9395           Call g_thread_init() really really early, before any other GLib
9396           function (see #342564 and recent discussion on gtk-devel-list).
9397
9398 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9399
9400         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
9401
9402         * gst/gst_private.h:
9403         * gst/gstconfig.h.in:
9404         * gst/gstinfo.h:
9405           On win32, all the __declspec stuff for symbol exporting is
9406           apparently only needed with MSVC, but doesn't work with MingW.
9407           Fixes compilation with MingW and #391909.
9408
9409 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9410
9411         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9412           Change some GST_ERROR_OBJECT that aren't really errors to
9413           GST_WARNING_OBJECT in order to reduce terminal spam.
9414
9415 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9416
9417         * tests/check/Makefile.am:
9418           disable test again, as there seem to be still race problems
9419
9420 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9421
9422         * tests/check/Makefile.am:
9423         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9424         (GST_START_TEST), (queue_suite):
9425           enable queue test again, add tests for the leaky behaviour
9426
9427 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
9428
9429         * configure.ac:
9430         * tests/examples/Makefile.am:
9431           Compile adapter test/example only if the required headers are
9432           available (fixes #391915).
9433
9434 2007-01-01  David Schleef  <ds@schleef.org>
9435
9436         * gst/gstplugin.c:
9437           Restore the previous signal handler for SIGSEGV instead of
9438           setting to default, since we may have stolen it away from
9439           someone.  (i.e., Mono)
9440
9441 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9442
9443         * docs/random/draft-missing-plugins.txt:
9444           Some small additions and clarifications.
9445
9446 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9447
9448         * gst/gstregistryxml.c: (gst_registry_save_escaped):
9449           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9450           since that can lead to random memory corruptions and crashes
9451           (may or may not be related to #383244, #386711, and #386711).
9452
9453 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9454
9455         * tests/check/.cvsignore:
9456         * tests/check/Makefile.am:
9457           sync .cvsignome and CLEANFILES
9458
9459 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9460
9461         * tests/check/Makefile.am:
9462           fix distcheck
9463
9464 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9465
9466         * docs/design/part-states.txt:
9467           two tiny additional comments
9468         
9469         * gst/gststructure.c:
9470           doc fixing
9471
9472         * tests/check/Makefile.am:
9473         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9474         (GST_START_TEST):
9475           disable test for now, unless it gets fixed
9476
9477 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9478
9479         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9480         (GST_START_TEST):
9481           fix race in underrun test
9482
9483 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9484
9485         * tests/check/elements/.cvsignore:
9486           ignore more
9487
9488         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9489         (GST_START_TEST):
9490           try to narrow test failure
9491
9492 2006-12-21  David Schleef  <ds@schleef.org>
9493
9494         * plugins/elements/gstfakesrc.c:
9495           Use g_random_int_range(), since it produces better random
9496           numbers in a range than almost-correct floating point code.
9497
9498 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9499
9500         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9501         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9502         (gst_check_teardown_sink_pad):
9503           do not automatically (de)activate pads
9504
9505         * tests/check/Makefile.am:
9506         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9507         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9508           add new, yet simple tests for queue
9509
9510         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9511         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9512         * tests/check/elements/filesrc.c: (cleanup_filesrc),
9513         (GST_START_TEST):
9514         * tests/check/elements/identity.c: (cleanup_identity):
9515           consistent pad (de)activation
9516
9517 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
9518
9519         Patch by: Sebastian Dröge  <slomo ubuntu com>
9520
9521         * libs/gst/base/gstcollectpads.c:
9522           Fix two doc typos (#387866).
9523
9524 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9525
9526         * docs/manual/advanced-dparams.xml:
9527           Fix typo (g_object_control_properties() doesn't exist).
9528
9529 2006-12-19  Edward Hervey  <edward@fluendo.com>
9530
9531         * gst/gstsegment.c: (gst_segment_set_seek):
9532         Fine tune the cases where the segment start/stop values are really
9533         updated.
9534         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9535         Add tests for the return values of gst_segment_set_seek().
9536
9537 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9538
9539         * gst/gst.c:
9540           Docs typo fix.
9541
9542         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9543         (gst_queue_init):
9544           Fix incorrect documentation and flesh it out a bit more.
9545           Set default values for the max properties on the GParamSpec as well,
9546           so it shows up correctly in gst-inspect.
9547
9548 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
9549
9550         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9551           Correct docs of queue, add more detail and crosslink it more.
9552
9553 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9554
9555         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9556           Print additional debug info when the stream isn't perfectly
9557           timestamped; don't try to use invalid durations.
9558
9559 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9560
9561         * docs/design/Makefile.am:
9562           Dist new design docs.
9563
9564 2006-12-16  Wim Taymans  <wim@fluendo.com>
9565
9566         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9567
9568         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9569         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9570         (gst_collect_pads_stop), (gst_collect_pads_event),
9571         (gst_collect_pads_chain):
9572         * libs/gst/base/gstcollectpads.h:
9573         Add refcounting to the collectpads data so we can track when it's safe
9574         to free the data. Fixes #383382.
9575
9576 2006-12-15  Wim Taymans  <wim@fluendo.com>
9577
9578         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9579         (gst_collect_pads_remove_pad):
9580         Automatically activate/deactivate pads when they are added to a
9581         started/stoped collectpads.
9582
9583 2006-12-15  Wim Taymans  <wim@fluendo.com>
9584
9585         * gst/gstelement.c: (gst_element_add_pad):
9586         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9587         * gst/gstpad.c: (gst_pad_init):
9588         Set pads to FLUSHING when they are created. Check, warn and fix when a
9589         demuxer adds an inactive pad to itself when running. Fixes #339326.
9590
9591 2006-12-15  Wim Taymans  <wim@fluendo.com>
9592
9593         * gst/gstelement.c: (gst_element_class_init),
9594         (gst_element_default_send_event), (gst_element_send_event),
9595         (gst_element_default_query), (gst_element_query):
9596         Expose default element send_event and query handling as vmethods that
9597         subclasses can chain up to.
9598
9599 2006-12-15  Wim Taymans  <wim@fluendo.com>
9600
9601         * gst/gstelement.c: (gst_element_set_state_func):
9602         Small documentation fixes.
9603
9604 2006-12-15  Wim Taymans  <wim@fluendo.com>
9605
9606         * docs/design/draft-latency.txt:
9607         Checked in draft for handling latency in pipelines.
9608
9609 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9610
9611         * Makefile.am:
9612         * gstreamer.doap:
9613         * gstreamer.spec.in:
9614           adding .doap file
9615
9616 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9617
9618         * gst/gst.c: (init_pre), (init_post):
9619           init_pre() and init_post() might be called via our GOptionGroup or
9620           from gst_init(), and we should skip both of them if we've already
9621           been initialised, otherwise we will init some things twice or add
9622           two default log functions.
9623
9624 2006-12-13  Edward Hervey  <edward@fluendo.com>
9625
9626         * docs/manual/basics-bus.xml:
9627         No, gst_main_loop does not exist. Its g_main_loop.
9628         Discovered by somebody who abused the copy-paste technique of coding :)
9629
9630 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9631
9632         * gst/gstghostpad.c:
9633           Log ghostpad debug stuff to the GST_PADS category as well rather
9634           than just to the default category.
9635
9636 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9637
9638         * configure.ac:
9639         * gst/gst.c: (init_pre):
9640           Add some basic system details such as OS and architecture
9641           to the debug output if possible, courtesy of uname().
9642
9643 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9644
9645         * docs/gst/running.xml:
9646           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9647           environment variables.
9648
9649 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9650
9651         * tests/check/gst/gstbin.c: (GST_START_TEST):
9652         It is acceptable to have a refcount of 2 or 3 at this point in the
9653         test, because the pipeline might be just posting its state_change
9654         message. The next line then waits for that message to appear using
9655         bus_poll, so that should be fine too.
9656
9657 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9658
9659         * gst/gst.c: (ensure_current_registry_forking):
9660         Ignore EINTR when reading from the child registry pipe.
9661         Explicitly ignore the return value from close, since it makes no
9662         difference.
9663
9664         * gst/gstminiobject.c: (gst_mini_object_ref),
9665         (gst_mini_object_unref):
9666         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9667
9668         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9669         When removing cached plugins, remove their features too, so they're
9670         not visible after they've disappeared.
9671
9672         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9673         In the unlikely case that we are linking pads with no parents, don't
9674         crash trying to get the non-existent parent bin.
9675
9676         * gst/parse/grammar.y:
9677         Output debug in the PIPELINE category
9678
9679 2005-03-08  Wim Taymans  <wim@fluendo.com>
9680
9681         Patch by: René Stadler <mail at renestadler dot de>
9682
9683         * gst/gstclock.c: (gst_clock_new_periodic_id):
9684         Reject invalid clock times for interval of periodic ids.
9685         Fixes ##383506.
9686
9687 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9688
9689         * gst/gstelementfactory.c: (gst_element_factory_create):
9690         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9691         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9692         * tools/gst-inspect.c: (print_element_info):
9693         Fix refcounting of gst_plugin_feature_load to match the docs. 
9694         Fixes: #380129
9695
9696 2006-12-07  Wim Taymans  <wim@fluendo.com>
9697
9698         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9699         (gst_base_sink_get_position):
9700         Improve debugging of events.
9701
9702 2006-12-07  Wim Taymans  <wim@fluendo.com>
9703
9704         Patch by: René Stadler <mail at renestadler dot de>
9705
9706         * gst/gstclock.c: (gst_clock_id_wait):
9707         Make period ids add the interval to the origial requested time instead
9708         of the possibly updated time which can be wrong when there are multiple
9709         waiters for the same id. Fixes #382592.
9710
9711         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9712         (gst_system_clock_id_wait_jitter_unlocked),
9713         (gst_system_clock_id_wait_jitter):
9714         Fix restart in the async notify thread when an async entry is added to
9715         the front of the list. Fixes #381492. 
9716
9717         * tests/check/gst/gstsystemclock.c: (store_callback),
9718         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9719         Added test for multiple async waits.
9720         Added test for async wait order.
9721
9722 2006-12-07  Wim Taymans  <wim@fluendo.com>
9723
9724         * gst/gstbin.c: (gst_bin_query):
9725         Add some more docs about the POSITION query.
9726
9727 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9728
9729         * configure.ac:
9730         Bump version nano - back to CVS.
9731
9732 === release 0.10.11 ===
9733
9734 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9735
9736         * configure.ac:
9737           releasing 0.10.11, "Love never runs on time"
9738
9739 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9740
9741         * win32/common/libgstbase.def:
9742         * win32/common/libgstreamer.def:
9743         * win32/vs8/libgstbase.vcproj:
9744         * win32/vs8/libgstcoreelements.vcproj:
9745         * win32/vs8/libgstreamer.vcproj:
9746         Fix compilation on win32 under VS8
9747         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9748         Partially fixes #381175
9749
9750 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9751
9752         * gst/gstvalue.c: (gst_value_compare_fraction):
9753         If someone is foolish enough to compare 2 fractions with denominator =
9754         0, return UNORDERED rather than aborting.
9755
9756 2006-11-28  Edward Hervey  <edward@fluendo.com>
9757
9758         * libs/gst/base/Makefile.am:
9759         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9760         (gst_data_queue_base_init), (gst_data_queue_class_init),
9761         (gst_data_queue_init), (gst_data_queue_new),
9762         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9763         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9764         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9765         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9766         (gst_data_queue_set_flushing), (gst_data_queue_push),
9767         (gst_data_queue_pop), (gst_data_queue_drop_head),
9768         (gst_data_queue_set_property), (gst_data_queue_get_property):
9769         * libs/gst/base/gstdataqueue.h:
9770         New GstDataQueue object for threadsafe queueing. Most useful for
9771         elements that need some queueing functionnality.
9772         * docs/libs/gstreamer-libs-docs.sgml:
9773         * docs/libs/gstreamer-libs-sections.txt:
9774         Insert documentation for GstDataQueue
9775         * plugins/elements/Makefile.am:
9776         * plugins/elements/gstelements.c:
9777         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9778         (gst_multi_queue_class_init), (gst_multi_queue_init),
9779         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9780         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9781         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9782         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9783         (gst_multi_queue_loop), (gst_multi_queue_chain),
9784         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9785         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9786         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9787         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9788         (wake_up_next_non_linked), (compute_next_non_linked),
9789         (single_queue_overrun_cb), (single_queue_underrun_cb),
9790         (single_queue_check_full), (gst_single_queue_new):
9791         * plugins/elements/gstmultiqueue.h:
9792         New multiqueue element, using GstDataQueue. Used for queuing multiple
9793         streams.
9794         Closes #344639 and #347785
9795
9796 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9797
9798         * docs/pwg/advanced-types.xml:
9799           add more missing type details
9800
9801         * tools/gst-run.c: (main):
9802           remove unused variable
9803
9804 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9805
9806         * docs/libs/Makefile.am:
9807         * docs/libs/gstreamer-libs.types:
9808           add types of base classes to enable gobject specific stuff in the docs
9809
9810         * docs/random/ensonic/embedded.txt:
9811           more ideas about isolating platform specific things
9812
9813 2006-11-20  Wim Taymans  <wim@fluendo.com>
9814
9815         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9816
9817         * libs/gst/check/gstcheck.h:
9818         Fix compilation and running against 0.9.4. Fixes #377332.
9819
9820 2006-11-20  Wim Taymans  <wim@fluendo.com>
9821
9822         * gst/gstsegment.c: (gst_segment_set_seek),
9823         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9824         (gst_segment_to_running_time):
9825         Fix boundary checking in to_running_time() and to_stream_time().
9826         Fixes #377183.
9827
9828         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9829         stream and running time can now be calculated for the complete
9830         clipped segment.
9831
9832 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9833
9834         * gst/gstpad.c: (gst_pad_push_event):
9835           Can't access event structure after giving away ownership of
9836           the event.
9837
9838 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9839
9840         * docs/random/ensonic/embedded.txt:
9841         * docs/random/ensonic/profiling.txt:
9842         * docs/random/ensonic/receipies.txt:
9843           more thinking
9844
9845 2006-11-13  Wim Taymans  <wim@fluendo.com>
9846
9847         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9848
9849         * gst/gstpad.c:
9850         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9851
9852 2006-11-13  Wim Taymans  <wim@fluendo.com>
9853
9854         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9855
9856         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9857         Store new length in segment duration so we don't keep on calling the
9858         potentially expensize get_size() call. Fixes #370865.
9859
9860 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9861
9862         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9863
9864         * win32/common/libgstreamer.def:
9865           Add two missing symbols (#366492).
9866
9867 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9868
9869         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9870         (gst_adapter_take_buffer):
9871         Fix format string to use all its arguments.
9872         Remove useless >= check on a guint
9873
9874 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9875
9876         * tests/examples/adapter/.cvsignore:
9877         Ignore build file as commanded by the build-bot
9878
9879 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9880
9881         * tests/examples/adapter/Makefile.am:
9882         * tests/examples/adapter/adapter_test.c: (run_test_take),
9883         (run_test_take_buffer), (run_tests), (main):
9884
9885         Add new files from the previous commit
9886
9887 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9888
9889         * Makefile.am:
9890         * configure.ac:
9891         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9892         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9893         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9894         * libs/gst/base/gstadapter.h:
9895         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9896         (GST_START_TEST), (gst_adapter_suite):
9897         * tests/examples/Makefile.am:
9898         Do some optimisation work in GstAdapter to avoid copies in more cases.
9899         It could still do slightly better by merging buffers when
9900         gst_buffer_is_span_fast is true, but is already faster. 
9901
9902         Also, avoid traversing a single-linked list to append each incoming 
9903         buffer inside the adapter.
9904
9905         Add simple test app that times the adapter behaviour in different
9906         situations, and extend the unit test to check that bytes enter and
9907         exit the adapter in their original order.
9908
9909 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9910
9911         * docs/random/draft-missing-plugins.txt:
9912           Update: use element message instead of adding a new message
9913           type to the core; don't provide GStreamer API to initiate the
9914           plugin download, just provide API to compose the strings needed
9915           and let an external libgimmestuff handle the rest.
9916
9917 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9918
9919         * tools/gst-inspect.c: (print_element_properties_info):
9920         Print a string instead of 'unknown type' for GValueArray properties
9921
9922 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9923
9924         * docs/random/draft-missing-plugins.txt:
9925         More small fixes.
9926
9927 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9928
9929         * tests/examples/typefind/typefind.c: (type_found), (main):
9930           Make typefind element example work again (#371894); add a
9931           license header.
9932
9933 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9934
9935         * docs/random/draft-missing-plugins.txt:
9936           Commit initial draft about how to deal with missing plugins,
9937           needs work (API too).
9938
9939 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9940
9941         * docs/pwg/advanced-types.xml:
9942           documents the new caps elements (see #363118)
9943
9944 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9945
9946         * gst/gstplugin.c: (gst_plugin_load_file):
9947         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9948         (gst_file_src_map_region), (gst_file_src_start):
9949         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9950         (gst_file_index_commit):
9951           Use g_strerror() instead of strerror() - we want UTF-8.
9952
9953 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9954
9955         Patch by: Peter Kjellerstedt <pkj at axis com>
9956
9957         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9958           Another printf fix (#371493).
9959
9960 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9961
9962         * tests/check/gst/gsttag.c:
9963           relicence (okay with author=company)
9964
9965 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9966
9967         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9968         (gst_pad_push_event):
9969           Enhance debug and improve docs
9970         
9971         * gst/gsturi.c:
9972           Fix docs
9973
9974 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9975
9976         * docs/random/ensonic/distributed.txt:
9977         * docs/random/ensonic/profiling.txt:
9978           more ideas
9979
9980 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9981
9982         * docs/gst/gstreamer-sections.txt:
9983           add new API and fix the build
9984           
9985         * gst/gstbin.c: (gst_bin_recalc_state):
9986         * gst/gstelement.c: (gst_element_message_full),
9987         (gst_element_get_state_func), (gst_element_set_state_func):
9988           use new API and improve logging
9989         
9990         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9991         * gst/gstutils.h:
9992           API: add function to get StateChangereturn names to improve logs 
9993
9994 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9995
9996         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9997           I'm considering shooting the next person to put strerror stuff
9998           in the translateable part of the message.
9999
10000 2006-11-03  Wim Taymans  <wim@fluendo.com>
10001
10002         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10003         Get the type and printf conversion specifiers right.
10004
10005 2006-11-03  Wim Taymans  <wim@fluendo.com>
10006
10007         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10008
10009         * gst/gstpad.c: (gst_pad_init), (pre_activate),
10010         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
10011         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
10012         Some small cleanups. Improve debugging.
10013         * gst/gstpad.h:
10014         Signal all waiting threads with a broadcast instead of just one.
10015         Fixes #369942.
10016
10017 2006-11-03  Wim Taymans  <wim@fluendo.com>
10018
10019         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
10020         (gst_fd_src_create):
10021         Add some debugging. 
10022         Only update fd when it's different from the old.
10023
10024 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10025
10026         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
10027           Printf fixes for PPC/OSX, take two (#369366).
10028
10029 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10030
10031         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
10032
10033         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10034         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10035         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
10036           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
10037           don't cast to long long for portability reasons, but use
10038           GLib's types instead.
10039
10040 2006-10-30  Michael Smith  <msmith@fluendo.com>
10041
10042         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10043           Get the arguments to lseek() the right way around.
10044           Fixes 367677.
10045
10046 2006-10-30  Wim Taymans  <wim@fluendo.com>
10047
10048         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
10049
10050         * gst/gstinfo.h:
10051         _declspec should be __declspec (two underscores, not one). Fixes 366572.
10052
10053 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
10054
10055         Patch by: Kjartan Maraas  <kmaraas at gnome org>
10056
10057         * docs/design/part-MT-refcounting.txt:
10058         * docs/random/wtay/capsnego2-docs:
10059         * gst/gstclock.c:
10060         * gst/gstxml.c:
10061           Typo fixes (#366212).
10062
10063 2006-10-28  Wim Taymans  <wim@fluendo.com>
10064
10065         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10066
10067         * gst/gst.c:
10068         * win32/common/libgstbase.def:
10069         * win32/common/libgstreamer.def:
10070         * win32/vs8/libgstbase.vcproj:
10071         * win32/vs8/libgstcontroller.vcproj:
10072         Add needed entries in .def files.
10073         Use HAVE_UNISTD_H.
10074         Rearrange def files in vs8 solutions. Fixes #366286.
10075
10076 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
10077
10078         * win32/common/gstconfig.h:
10079           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
10080           hand-made win32 gstconfig.h. Fixes #366321.
10081
10082 2006-10-27  Wim Taymans  <wim@fluendo.com>
10083
10084         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
10085         (gst_ghost_pad_new_full):
10086         Make acceptcaps return TRUE when we don't have a target, just like
10087         setcaps does.
10088
10089 2006-10-27  Wim Taymans  <wim@fluendo.com>
10090
10091         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10092         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
10093
10094 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
10095
10096         * gst/gststructure.c: (gst_structure_id_set_value):
10097           If someone tries to set a non-UTF8 string field on a structure,
10098           don't just print a warning, but also ignore the request and do
10099           not change/add that field to the structure.
10100
10101         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10102           Test for the above.
10103
10104 2006-10-25  David Schleef  <ds@schleef.org>
10105
10106         * gst/gstinfo.c:
10107           g_hash_table_insert() needs a cast to a non-const pointer duh.
10108
10109 2006-10-25  David Schleef  <ds@schleef.org>
10110
10111         * gst/gstinfo.c:
10112         * gst/gstinfo.h:
10113           Change name parameter of _gst_debug_register_funcptr to const
10114           to reflect the constness of its use in the function as well
10115           as to quiet a gcc warning.
10116
10117 2006-10-25  Edward Hervey  <edward@fluendo.com>
10118
10119         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10120         Don't push the buffer if it's empty.
10121         Closes #363095
10122
10123 2006-10-24  Wim Taymans  <wim@fluendo.com>
10124
10125         * gst/gstevent.h:
10126         Add small comment.
10127
10128         * libs/gst/base/gstbasetransform.c:
10129         (gst_base_transform_sink_eventfunc):
10130         Debug segment values *after* updating them as this is more
10131         interesting.
10132
10133 2006-10-23  Wim Taymans  <wim@fluendo.com>
10134
10135         * docs/design/part-events.txt:
10136         Update some docs.
10137
10138         * docs/design/part-block.txt:
10139         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10140         (gst_pad_push_event):
10141         Revert BLOCKING patch, it tries to be smart without really having a
10142         clear idea what or how. So, now we discard all FLUSHING events again on
10143         a blocking pad. Should fix gnonlin again.
10144
10145 2006-10-23  Wim Taymans  <wim@fluendo.com>
10146
10147         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10148
10149         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10150         (gst_base_src_start), (gst_base_src_activate_push):
10151         Make sure size is always initialized. Fixes #364388.
10152
10153 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
10154
10155         * docs/random/ensonic/distributed.txt:
10156           add some ideas about doing distributed processing
10157
10158         * docs/random/ensonic/profiling.txt:
10159           get_rusage look promising
10160
10161 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
10162
10163         * docs/manual/basics-helloworld.xml:
10164           Add a cast in example to fix compile warning
10165
10166 2006-10-18  Wim Taymans  <wim@fluendo.com>
10167
10168         * gst/gstsegment.c: (gst_segment_set_last_stop),
10169         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10170         Relax arg checking again, -1 is allowed.
10171
10172 2006-10-18  Wim Taymans  <wim@fluendo.com>
10173
10174         * gst/gstsegment.c: (gst_segment_set_last_stop),
10175         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10176         _set_last_stop() must be with a value != -1
10177         A _TYPE_SET to -1 means seek to 0.
10178         Calc last_stop correctly for negative rates.
10179         Make sure we work with positive durations when updating a segment.
10180
10181 2006-10-18  Wim Taymans  <wim@fluendo.com>
10182
10183         * docs/design/part-live-source.txt:
10184         * gst/gstclock.h:
10185         Small docs fixes.
10186
10187 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
10188
10189         * gst/gstbuffer.h:
10190           Add an explicit cast to GstBuffer** to keep old code that added an
10191           explicit cast to GstMiniObject** for gst_mini_object_replace()
10192           compiling without warning.
10193
10194 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
10195
10196         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
10197           check for validity of dates
10198
10199 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10200
10201         * docs/gst/gstreamer-sections.txt:
10202           Forgot this one, makes gtk-doc shut up.
10203
10204 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10205
10206         Patch by: Peter Kjellerstedt <pkj at axis com>
10207
10208         * gst/gstobject.h:
10209           Don't define xmlNodePtr to gpointer if the core was built with
10210           --disable-loadsave and --disable-registry, this will break
10211           applications that want to use libxml2 but are buildling against a
10212           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
10213           instead so we don't have to mess with the libxml2 namespace
10214           (#361675).
10215
10216 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10217
10218         * gst/gstbuffer.h:
10219           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
10220           type-punned pointer warnings.
10221
10222 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
10223
10224         * gst/gstelement.h:
10225           Add casts to the correct return type to state <=> state transition
10226           macros.
10227
10228 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
10229
10230         * docs/design/part-live-source.txt:
10231           describe howto handle latency
10232         
10233         * docs/random/ensonic/profiling.txt:
10234           more ideas
10235
10236         * tools/gst-plot-timeline.py:
10237           fix log parsing for solaris, remove unused function
10238
10239 2006-10-16  Wim Taymans  <wim@fluendo.com>
10240
10241         * docs/design/part-trickmodes.txt:
10242         * gst/gstevent.c:
10243         Update some docs regarding reverse playback.
10244
10245 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10246
10247         Patch by: Marcus Granado  <mrc dot gran at gmail com>
10248
10249         * win32/vs8/grammar.vcproj:
10250           Error out with a warning if glib-genmarshal.exe is not in path,
10251           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
10252
10253 2006-10-13  Wim Taymans  <wim@fluendo.com>
10254
10255         * gst/gstsegment.c: (gst_segment_set_seek):
10256         When seeking to stop -1, set last_stop (current position) to the
10257         duration of the segment.
10258
10259 2006-10-13  Wim Taymans  <wim@fluendo.com>
10260
10261         * gst/gstelement.h:
10262         Clarify _NO_PREROLL a bit more.
10263
10264         * gst/gstevent.c:
10265         Fix docs.
10266
10267         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10268         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
10269         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
10270         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
10271         due to wrong locking order. Fixes #361769.
10272         Remove some redundant/misplaced checks in pad_block.
10273
10274         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10275         For negative rates, count backwards from the duration.
10276
10277 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10278
10279         * gst/gsterror.c: (_gst_library_errors_init):
10280           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10281           up with something better).
10282
10283 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10284
10285         * win32/vs6/libgstreamer.dsp:
10286         * win32/vs7/libgstreamer.vcproj:
10287         * win32/vs8/libgstreamer.vcproj:
10288           Don't reference glib-compat.c which is currently not used and not
10289           disted; add gstquark.c which was recently added. Fixes #361730.
10290
10291 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10292
10293         * win32/common/libgstbase.def:
10294         * win32/common/libgstcontroller.def:
10295         * win32/common/libgstreamer.def:
10296           Add gst_caps_merge() and a bunch of other recently-added functions.
10297           Fixes #361732.
10298
10299 2006-10-11  Wim Taymans  <wim@fluendo.com>
10300
10301         * docs/plugins/gstreamer-plugins.args:
10302         * docs/plugins/inspect/plugin-coreelements.xml:
10303         * docs/plugins/inspect/plugin-coreindexers.xml:
10304         Update element args.
10305
10306         * gst/gstsystemclock.c:
10307         Small comment update.
10308
10309         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10310         (gst_tee_request_new_pad), (gst_tee_release_pad),
10311         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10312         (gst_tee_sink_activate_pull):
10313         * plugins/elements/gsttee.h:
10314         Some tee loving:
10315         Add default property defines.
10316         Implement release pad function.
10317         Give properties better blubs etc.
10318         Activate pads before adding them to a running tee.
10319         Do simple buffer_alloc on the first requested pad.
10320         Post error when activation fails.
10321
10322 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10323
10324         * gst/gst.c: (ensure_current_registry_forking):
10325           Check return value of write() to make compiler happy.
10326
10327 2006-10-11  Wim Taymans  <wim@fluendo.com>
10328
10329         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10330
10331         * plugins/elements/gstqueue.c: (gst_queue_chain):
10332         Recheck queue filledness after signalling the overrun when we're about
10333         to leak downstream because we released the lock when emitting the signal
10334         and the queue could be empty again. Fixes #352345.
10335
10336 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10337
10338         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10339           Fix refcounting here too, just like we did for _new_valist() a few
10340           days ago (#357180) (thanks to René Stadler). Also remove all those
10341           'Since: 0.9' from the gtk-doc blobs.
10342
10343         * tests/check/libs/controller.c: (controller_refcount_new_list),
10344         (gst_controller_suite):
10345           Unit test for the above.
10346
10347 2006-10-10  Wim Taymans  <wim@fluendo.com>
10348
10349         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10350
10351         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10352         (gst_pad_save_thyself):
10353         Update some docs.
10354         Write pad direction in XML output. Fixes #345496.
10355
10356 2006-10-10  Wim Taymans  <wim@fluendo.com>
10357
10358         Patch by: René Stadler <mail at renestadler dot de>
10359
10360         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10361         (gst_controller_new_list), (_gst_controller_dispose),
10362         (_gst_controller_finalize), (_gst_controller_class_init):
10363         Take ref to controlled object so that it cannot disappear. 
10364         Fixes #357432.
10365
10366 2006-10-10  Wim Taymans  <wim@fluendo.com>
10367
10368         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10369         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10370         (gst_check_teardown_sink_pad):
10371         Activate/deactivate pads in setup/teardown respectively.
10372
10373 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10374
10375         Patch by: Josep Torra Valles <josep@fluendo.com>
10376
10377         * gst/Makefile.am:
10378         Cast values when making gstenumtypes.h.  This pacifies Forte
10379         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10380         in the enumeration.
10381
10382 2006-10-09  Wim Taymans  <wim@fluendo.com>
10383
10384         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10385         Rename some more @cur to @start to fix docs. 
10386
10387         * gst/gstsegment.c: (gst_segment_set_seek):
10388         Fix typo.
10389         time and start must always stay in sync as defined in design doc.
10390
10391         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10392         Rename param to fix docs.
10393
10394         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10395         Check that start and time are in sync.
10396
10397         * tests/check/pipelines/parse-launch.c:
10398         (gst_parse_test_element_change_state):
10399         Activate pad before adding to the element.
10400
10401 2006-10-09  Wim Taymans  <wim@fluendo.com>
10402
10403         * docs/design/part-qos.txt:
10404         Fix typo.
10405
10406         * gst/gstevent.c:
10407         * gst/gstevent.h:
10408         Update seek event docs regarding negative rates.
10409         Rename @cur to @start. 
10410
10411         * gst/gstsegment.c: (gst_segment_set_seek):
10412         * gst/gstsegment.h:
10413         Update set_seek docs regarding negative rates.
10414         Correctly update last_stop to @stop when dealing with negative
10415         rates.
10416         Rename @cur to @start. 
10417
10418         * tests/check/gst/gstpad.c: (GST_START_TEST):
10419         Activate pads before trying to use them.
10420
10421         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10422         (gst_segment_suite):
10423         Add simple check for segments and negative rates.
10424
10425 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
10426
10427         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10428         * gst/gsttaglist.h:
10429         * docs/gst/gstreamer-sections.txt:
10430           API: add gst_tag_list_is_empty() (#360467).
10431
10432         * tests/check/gst/gsttag.c: (GST_START_TEST):
10433           And a test case.
10434
10435 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10436
10437         * gst/gstmessage.h:
10438         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10439         a value that doesn't fit on enumeration.
10440
10441 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10442
10443         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10444         Remove local debugging system and use Gstreamer's instead.
10445
10446 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10447
10448         Patch by: Josep Torra Valles <josep@fluendo.com>
10449
10450         * common/m4/gst-error.m4:
10451         Disable warning of statement not reached on Forte.
10452         * gst/gstmessage.h:
10453         Fix warning on Forte (value doesn't fit on enumeration).
10454         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10455         Fix warning on Forte (value doesn't fit on enumeration).
10456         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10457         DEBUG macro says it takes minimum of 2 args and so Forte
10458         complains about the use with just 1 arg.
10459         * plugins/elements/gstfdsink.c:
10460         * plugins/elements/gstfdsrc.c:
10461         * plugins/elements/gstfilesink.c:
10462         * plugins/elements/gstfilesrc.c:
10463         Use correct return type for the uri handler implementations.
10464
10465         All these fix warnings in Forte.  Fixes bug #360860.
10466
10467 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
10468
10469         * gst/gstelement.h:
10470           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10471           format string, so don't use G_GNUC_PRINTF for those versions.
10472
10473 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10474
10475         * gst/gsttaglist.c: (gst_is_tag_list):
10476         * gst/gsttaglist.h:
10477           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10478
10479         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10480           Small test for the above.
10481
10482 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10483
10484         * gst/gsttaglist.h:
10485           Less tabs, more spaces.
10486
10487 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
10488
10489         * gst/gstinfo.h:
10490           Those two function declarations do actually belong there, revert
10491           commit from yesterday that turned them intro macros.
10492
10493 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10494
10495         Patch by: Josep Torra Valles <josep@fluendo.com>
10496
10497         * gst/gst.c: (gst_init_get_option_group):
10498         Fix empty declaration and type mismatch.
10499         * gst/gstbin.c: (gst_bin_change_state_func):
10500         Fix type mismatch.
10501         * gst/gstelement.c: (gst_element_continue_state),
10502         (gst_element_set_state_func), (gst_element_change_state),
10503         (gst_element_change_state_func):
10504         Fix type mismatches.
10505         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10506         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10507         Cast as appropriate.
10508         * gst/gstobject.c: (gst_class_signal_connect):
10509         Cast as appropriate.  The function pointer parameter really
10510         has the wrong type but would break API if we change it.
10511         * gst/gstquery.c:
10512         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10513         order of including string.h.
10514         * gst/gstutils.c: (gst_element_state_get_name):
10515         Remove unreachable line.
10516         * gst/gstxml.c: (gst_xml_parse_doc):
10517         Fix type mismatch.
10518         All these caught by Forte.
10519
10520 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10521
10522         Patch by: Josep Torra Valles <josep@fluendo.com>
10523
10524         * common/m4/gst-error.m4:
10525         Fixed bug #360151.
10526         We need to disable warnings on Forte for empty declarations
10527         due to gst-indent adding ;s to lines that just use macros
10528         where the macro actually doesn't need a ; at end to end
10529         statement.
10530
10531 2006-10-06  Wim Taymans  <wim@fluendo.com>
10532
10533         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10534         (gst_file_sink_close_file), (gst_file_sink_event),
10535         (gst_file_sink_render):
10536         Add some FIXME for the NEWSEGMENT handling.
10537
10538 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10539
10540         * gst/parse/grammar.y:
10541         Remove static function gst_parse_element_lock as all it does
10542         is return.  Looks like cruft from 0.8.
10543
10544 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10545
10546         Patch by: Josep Torra Valles <josep@fluendo.com>
10547
10548         * common/m4/gst-error.m4:
10549         * configure.ac:
10550         * libs/gst/net/Makefile.am:
10551         Fix a compilation issue with Forte on Solaris.  inet_aton is in
10552         libresolv.
10553
10554 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10555
10556         * gst/gstpad.c: (pre_activate):
10557         * gst/gstregistry.c: (gst_registry_scan_path_level):
10558         * gst/gstregistryxml.c: (load_plugin):
10559         * libs/gst/controller/gstcontroller.c:
10560         (gst_controlled_property_set_interpolation_mode):
10561         * libs/gst/dataprotocol/dataprotocol.c:
10562         (gst_dp_packet_from_event_1_0):
10563         * libs/gst/net/gstnetclientclock.c:
10564         (gst_net_client_clock_observe_times):
10565         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10566           Printf fixes.
10567
10568 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10569
10570         * configure.ac:
10571         * docs/gst/gstreamer-sections.txt:
10572         * gst/gstconfig.h.in:
10573         * gst/gstelement.h:
10574         * gst/gstinfo.h:
10575           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10576           whether we can use G_GNUC_PRINTF in other header files and at
10577           least check the printf format/arguments of debug messages and
10578           GST_ELEMENT_ERROR messages when the printf extension is not
10579           being used.
10580           Replace more tabs with spaces in gstinfo.h and remove two spurious
10581           function declarations in GST_DISABLE_DEBUG part with macros.
10582
10583 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10584
10585         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10586           More docs for the sync-message signal (mention that it is not
10587           emitted by default); log message structures of messages posted on
10588           the bus as well.
10589
10590 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10591
10592         * gst/gst.c: (ensure_current_registry_forking):
10593         Use a pipe pair to receive status results from the forked child, and
10594         ignore the result from waitpid. Fixes #355499
10595
10596 2006-10-02  Wim Taymans  <wim@fluendo.com>
10597
10598         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10599         (gst_ghost_pad_suite):
10600         Fix leak in check.
10601
10602 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10603
10604         * gst/gstpad.c:
10605           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10606
10607 2006-10-02  Edward Hervey  <edward@fluendo.com>
10608
10609         * docs/design/part-block.txt:
10610         Further explain the use of flushing on blocked pads.
10611         * docs/gst/gstreamer-sections.txt:
10612         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10613         (gst_pad_push_event):
10614         * gst/gstpad.h:
10615         Added new GstPadFlag : GST_PAD_BLOCKING.
10616         Adds the notion of pads really blocking, which enables to properly
10617         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10618         Fixes #358999
10619         API: gst_pad_is_blocking()
10620         API: GST_PAD_IS_BLOCKING() macro
10621         API: GST_PAD_BLOCKING GstPadFlag
10622         
10623 2006-10-02  Wim Taymans  <wim@fluendo.com>
10624
10625         Patch by: mrcgran <mrc.gran at gmail dot com>
10626
10627         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10628         Filter the proxied caps against the padtemplate if we have one.
10629
10630         * gst/gstquery.c: (gst_query_new_segment):
10631         Add include for gstinfo.h so that compilation with
10632         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10633
10634 2006-10-02  Wim Taymans  <wim@fluendo.com>
10635
10636         Patch by: Alessandro Decina  <alessandro at nnva org>
10637
10638         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10639         (gst_file_sink_set_location), (gst_file_sink_open_file),
10640         (gst_file_sink_close_file), (gst_file_sink_event),
10641         (gst_file_sink_render):
10642         Set file to NULL when closing filesink so that we can set a new filename
10643         in READY. Fixes #358613.
10644
10645 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10646
10647         Patch by: Alessandro Decina  <alessandro at nnva org>
10648
10649         * gst/gstevent.c: (_gst_event_copy):
10650           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10651           with event structures by setting the parent refcount address of the
10652           copied structure to the address of the refcount member of the newly
10653           copied event rather than the address of the refcount member of the
10654           original event. Fixes #358737.
10655
10656         * tests/check/gst/gstevent.c: (GST_START_TEST):
10657           Unit test for the above.
10658
10659 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10660
10661         * docs/design/Makefile.am:
10662           Dist some more files.
10663
10664 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10665
10666         * tests/check/libs/controller.c: (GST_START_TEST),
10667         (gst_controller_suite):
10668           Add test for the previous fix; add some more tests
10669           for correct refcounting behaviour; fix a few leaks
10670           in test cases; call gst_controller_init() at start
10671           of all tests.
10672
10673 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10674
10675         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10676         (gst_controller_set_from_list):
10677           Don't g_return_val_if_fail() on timed values with invalid timestamps
10678           inside a critical section without unlocking the mutex. Spotted by
10679           René Stadler. (#357617)
10680           Also, fix up refcounting properly: when returning an existing
10681           controller, we should increase the reference only once and not
10682           once per property and when trying to control a property again
10683           we should also increase the refcount.
10684
10685 2006-09-29  Wim Taymans  <wim@fluendo.com>
10686
10687         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10688         * libs/gst/net/gstnettimeprovider.c:
10689         (gst_net_time_provider_thread):
10690         Stop reading commands when EOF as well.
10691
10692         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10693         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10694         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10695         Unify description of the dump property.
10696
10697 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10698
10699         * tests/examples/manual/.cvsignore:
10700         OK, so it's actually cvsignore that needs changing. Stop laughing.
10701
10702 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10703
10704         * tests/examples/manual/Makefile.am:
10705         Gah, declare vars *before* using them
10706
10707 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10708
10709         * gst/gst.c: (init_pre), (scan_and_update_registry),
10710         (ensure_current_registry_nonforking),
10711         (ensure_current_registry_forking), (ensure_current_registry),
10712         (init_post), (gst_debug_help), (gst_deinit):
10713         * gst/gst_private.h:
10714         * gst/gstregistry.c: (gst_registry_finalize),
10715         (gst_registry_remove_features_for_plugin_unlocked),
10716         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10717         (gst_registry_scan_path),
10718         (_priv_gst_registry_remove_cache_plugins),
10719         (_priv_gst_registry_cleanup):
10720         * gst/gstregistry.h:
10721         Re-commit the registry changes, along with an extra fix:
10722           When a cached plugin is encountered at a different file path,
10723           update the stored path in the registry cache so that the parent
10724           process knows where it actually is now when it re-reads the registry
10725           cache. Fixes the thing that broke distcheck with the previous commit.
10726
10727         * tests/check/Makefile.am:
10728         Clean up files named 'core' too when running make clean.
10729
10730         * tests/examples/manual/Makefile.am:
10731         Set up a registry path for running these tests, and clean it properly
10732         for distcheck.
10733
10734 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10735
10736         * configure.ac:
10737         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10738         want gmodule-no-export-2.0.pc instead so that we don't drag in
10739         --export-dynamic on every project that links to GStreamer.
10740
10741         Also, make our export regex only match the start of symbols, rather 
10742         than any symbol that contains '_gst' somewhere.
10743
10744         * libs/gst/check/Makefile.am:
10745         The libgstcheck we build does however need export-dynamic, as it
10746         produces some symbols that don't match our _gst... style regex.
10747         Fixes: #318031
10748
10749 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10750
10751         * gst/gst.c: (init_pre), (scan_and_update_registry),
10752         (ensure_current_registry_nonforking),
10753         (ensure_current_registry_forking), (ensure_current_registry),
10754         (init_post), (gst_debug_help), (gst_deinit):
10755         * gst/gst_private.h:
10756         * gst/gstregistry.c: (gst_registry_finalize),
10757         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10758         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10759         (_gst_registry_cleanup):
10760         * gst/gstregistry.h:
10761           Revert previous change until I figure out why it breaks distcheck.
10762
10763 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10764
10765         * gst/gst.c: (init_pre), (scan_and_update_registry),
10766         (ensure_current_registry_nonforking),
10767         (ensure_current_registry_forking), (ensure_current_registry),
10768         (init_post), (gst_debug_help), (gst_deinit):
10769
10770           Make init_pre and init_post take the full complement of GOptionFunc
10771           args so they can return useful GErrors. Make the registry updating
10772           functions do so.
10773
10774           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10775           ensure that the registry we're about to write out doesn't contain
10776           stale information about old-deleted plugin files.
10777
10778           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10779           that deletion of plugin files is considered a registry change.
10780
10781         * gst/gst_private.h:
10782         * gst/gstregistry.c: (gst_registry_finalize),
10783         (gst_registry_remove_features_for_plugin_unlocked),
10784         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10785         (gst_registry_scan_path),
10786         (_priv_gst_registry_remove_cache_plugins),
10787         (_priv_gst_registry_cleanup):
10788         * gst/gstregistry.h:
10789         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10790         by adding _priv prefix, so that they won't appear in the global
10791         symbol table. They still do atm though because of #318031. Move the
10792         prototypes to gst_private.h
10793
10794         When removing a plugin, remove all features for that plugin too. 
10795         Fixes #340878.
10796
10797 2006-09-27  Wim Taymans  <wim@fluendo.com>
10798
10799         * docs/random/moving-plugins:
10800         Make it clear that the "compiled-in descriptions" really mean
10801         the element details.
10802
10803         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10804         (gst_base_sink_wait_preroll):
10805         Update docs.
10806
10807         * docs/libs/gstreamer-libs-sections.txt:
10808         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10809         (gst_base_src_get_range), (gst_base_src_activate_push):
10810         * libs/gst/base/gstbasesrc.h:
10811         Added function to block while waiting for PLAYING, this function
10812         is used by live sources that block on the clock.
10813         API: gst_base_src_wait_playing()
10814
10815 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10816
10817         Patch by: Peter Kjellerstedt <pkj at axis com>
10818
10819         * Makefile.am:
10820           gst-element-check.m4 is generated and should therefore be
10821           copied from the build dir rather than the source dir (#357593).
10822           'make distcheck' hasn't noticed this because we were disting
10823           the file as well, so stop doing that.
10824
10825 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10826
10827         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10828           Add some tests for gst_caps_intersect().
10829
10830         * tools/gst-launch.c: (event_loop):
10831           Print all buffering percentages we get, even the 100% one.
10832
10833 2006-09-26  Wim Taymans  <wim@fluendo.com>
10834
10835         * tools/gst-inspect.c: (print_element_properties_info),
10836         (print_signal_info):
10837         Fix printing of flags to match the look of enums.
10838
10839 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10840
10841         * gst/gstelementfactory.c:
10842           Fix typo in docs blurb.
10843
10844 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10845
10846         * gst/gsturi.c: (search_by_entry):
10847           Don't assert/crash here if a uri handler doesn't return any
10848           supported protocols. The list of protocols could be generated
10849           dynamically at runtime or at plugin registration, and an error
10850           in the underlying library shouldn't be fatal (#353301).
10851
10852 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10853
10854         * gst/gstinfo.c:
10855           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10856           (spotted by Peter Kjellerstedt).
10857
10858 2006-09-23  Wim Taymans  <wim@fluendo.com>
10859
10860         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10861
10862         * libs/gst/base/gstbasesrc.c:
10863         (gst_base_src_default_check_get_range), (gst_base_src_start),
10864         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10865         (gst_base_src_change_state):
10866         Match _start/_stop calls in the activate functions. Remove redundant
10867         _stop call from the state change function. Fixes #356910.
10868         Turn failure DEBUG into ERROR. 
10869
10870 2006-09-22  Wim Taymans  <wim@fluendo.com>
10871
10872         * docs/design/part-buffering.txt:
10873         * gst/gstmessage.c: (gst_message_new_buffering),
10874         (gst_message_parse_buffering):
10875         Update docs about buffering.
10876
10877         * docs/design/part-trickmodes.txt:
10878         Fix typo.
10879
10880 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10881
10882         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10883         (gst_controller_new_list):
10884           Ref instances when returning them again (fixes #357180)
10885
10886 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10887
10888         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10889           Don't forget to release proxy lock when there's an error.
10890
10891 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10892
10893         * gst/gstcaps.h:
10894           Add extra initialisers for Caps things, to fix some plugin warnings
10895           when using -Wextra
10896
10897 2006-09-18  Wim Taymans  <wim@fluendo.com>
10898
10899         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10900           Also set template on the internal pad so that a getcaps from the 
10901           target pad returns the template caps.
10902
10903 2006-09-18  Wim Taymans  <wim@fluendo.com>
10904
10905         * gst/gstelement.c: (gst_element_post_message),
10906         (gst_element_dispose):
10907         Use _DEBUG_OBJECT some more.
10908
10909         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10910         Avoid typechecks.
10911
10912         * tools/gst-launch.c: (main):
10913         If the toplevel element is not a GstPipeline, it must be put in a
10914         pipeline so that a bus and clock is selected.
10915
10916 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10917
10918         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10919           JITTER, RATE, and LATENCY query should be handled by the
10920           default case and not by the CONVERT query code.
10921
10922 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10923
10924         * gst/gstformat.c: (gst_format_register):
10925           Fix locking order (must take lock before using n_values).
10926
10927         * gst/gstvalue.c: (gst_value_serialize_enum),
10928         (gst_value_deserialize_enum_iter_cmp),
10929         (gst_value_deserialize_enum):
10930           Fix serialisation/deserialisation of custom registered GstFormats.
10931
10932         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10933           Unit test for custom format serialisation/deserialisation.
10934
10935 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10936
10937         * docs/pwg/building-boiler.xml:
10938         * plugins/elements/gstcapsfilter.c:
10939         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10940         section.
10941
10942 2006-09-16  Edward Hervey  <edward@fluendo.com>
10943
10944         * libs/gst/base/gstbasetransform.c:
10945         (gst_base_transform_buffer_alloc):
10946         Check if requested caps are the same as the sinks caps IF
10947         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10948         is FALSE.
10949         This fixes the renegotiation issues stated in #352827.
10950
10951 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10952
10953         * configure.ac:
10954         * docs/manual/advanced-autoplugging.xml:
10955         * tests/examples/Makefile.am:
10956         * tests/examples/manual/.cvsignore:
10957         * tests/examples/manual/Makefile.am:
10958         * tests/examples/manual/extract.pl:
10959           Extract the manual examples again like we used to do.
10960           Fix one of them.
10961
10962 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10963
10964         * win32/common/config.h:
10965           update for version
10966
10967 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10968
10969         * gst/gsterror.c:
10970           Documents how to receive errors.
10971
10972 2006-09-15  Wim Taymans  <wim@fluendo.com>
10973
10974         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10975         (event_loop), (main):
10976         Added some comments here and there.
10977         Post an application message when an interrupt is caught instead of doing
10978         an uncontrolled state change.
10979         Clean up the event loop.
10980         Handle buffering messages, pause/resume the pipeline.
10981         Make shutdown because of an interrupt more reliable.
10982
10983 2006-09-15  Wim Taymans  <wim@fluendo.com>
10984
10985         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10986         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10987         (gst_base_sink_preroll_object):
10988         Make sure that our internal state is correct when we commit our state
10989         asynchronously. This solves a race where a state change to PLAYING
10990         could cause the sink to remain blocked in preroll in some situations.
10991
10992 2006-09-15  Wim Taymans  <wim@fluendo.com>
10993
10994         * tools/gst-inspect.c: (print_element_properties_info),
10995         (print_signal_info):
10996         List flags as hex so it's easier to deal with.
10997
10998 2006-09-15  Wim Taymans  <wim@fluendo.com>
10999
11000         * docs/libs/gstreamer-libs-sections.txt:
11001         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
11002         (gst_base_sink_do_sync):
11003         * libs/gst/base/gstbasesink.h:
11004         Expose logic to wait for preroll so that subclasses such as audiosink
11005         can also use this method.
11006         API: gst_base_sink_wait_preroll()
11007
11008 2006-09-15  Wim Taymans  <wim@fluendo.com>
11009
11010         * gst/gstobject.c: (gst_object_set_parent):
11011         * gst/gstpipeline.c: (do_pipeline_seek):
11012         Small cleanups in docs and code.
11013
11014         * gst/gstsegment.c: (gst_segment_clip):
11015         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11016         if stop == start and start is in the segment, no clipping should be
11017         done. Also add a test for this.
11018
11019 2006-09-15  Wim Taymans  <wim@fluendo.com>
11020
11021         * docs/design/part-buffering.txt:
11022         * docs/gst/gstreamer-sections.txt:
11023         * gst/gstmessage.c: (gst_message_new_buffering),
11024         (gst_message_parse_buffering):
11025         * gst/gstmessage.h:
11026         Added methods to create and parse BUFFERING messages.
11027         Added preliminary docs about buffering.
11028         API: gst_message_new_buffering
11029         API: gst_message_parse_buffering
11030
11031 2006-09-06  Wim Taymans  <wim@fluendo.com>
11032
11033         * gst/gstbin.c:
11034         Update documentation.
11035
11036         * gst/gstelement.c: (gst_element_class_init),
11037         (gst_element_release_request_pad), (gst_element_set_clock),
11038         (gst_element_get_index), (gst_element_add_pad),
11039         (gst_element_remove_pad), (gst_element_get_random_pad),
11040         (gst_element_send_event), (gst_element_get_query_types),
11041         (gst_element_query), (gst_element_post_message),
11042         (gst_element_message_full), (gst_element_continue_state),
11043         (gst_element_lost_state), (gst_element_save_thyself),
11044         (gst_element_restore_thyself):
11045         Documentation updates.
11046         Rename last bit of the new-pad -> pad-added signal rename.
11047         Fix the case where an element query would only work if the source
11048         pad was linked.
11049         Avoid some useless type checking in message handling.
11050
11051         * gst/gstevent.c:
11052         * gst/gstevent.h:
11053         * gst/gstutils.c:
11054         Documentation updates.
11055
11056 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11057
11058         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11059           add an INFO line for when we actually update the fd
11060
11061 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11062
11063         * configure.ac:
11064           back to TRUNK
11065
11066 === release 0.10.10 ===
11067
11068 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
11069
11070         * configure.ac:
11071           releasing 0.10.10, "Pais"
11072
11073 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
11074
11075         * docs/manual/advanced-position.xml:
11076           Fix typo in sample code.
11077
11078 2006-09-05  Wim Taymans  <wim@fluendo.com>
11079
11080         * libs/gst/net/gstnetclientclock.c: (inet_aton),
11081         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11082         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
11083         * libs/gst/net/gstnetclientclock.h:
11084         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11085         * libs/gst/net/gstnettimepacket.h:
11086         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
11087         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
11088         (gst_net_time_provider_thread), (gst_net_time_provider_new):
11089         * libs/gst/net/gstnettimeprovider.h:
11090         Make stuff compile on windows. Fixes #345295.
11091
11092 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11093
11094         * gst/gst.c: (ensure_current_registry_forking):
11095           Print better details when child was terminated by signal.
11096
11097 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11098
11099         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
11100           Print a warning rather than g_assert() if a plugin feature
11101           is a URI handler but returns no protocols (#353976).
11102
11103 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
11104
11105         * docs/random/moving-plugins:
11106         Fix two typos.         
11107
11108 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
11109
11110         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
11111           Fix locking order, handle NULL function values properly.
11112
11113         * gst/gstinfo.h:
11114           Fix docs.
11115
11116         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
11117           Initialise variable before using it and fix debug statement to
11118           print the address of the function rather than the address of the
11119           variable on the stack holding the address of the function.
11120
11121 2006-09-01  Wim Taymans  <wim@fluendo.com>
11122
11123         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
11124         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
11125         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
11126         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
11127         (gst_ghost_pad_parent_unset),
11128         (gst_ghost_pad_internal_do_activate_push),
11129         (gst_ghost_pad_internal_do_activate_pull),
11130         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11131         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11132         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11133         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
11134         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
11135         (gst_ghost_pad_new_no_target_from_template),
11136         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
11137         More cleanups.
11138         Avoid needless typechecking in macros.
11139         Since the internal pad is always present and never changes, there is
11140         no need to locking or ref when retrieving it.
11141         Improve debugging a bit.
11142         Handle link errors when setting the target. Fixes #341029.
11143
11144 2006-09-01  Wim Taymans  <wim@fluendo.com>
11145
11146         * docs/libs/gstreamer-libs-sections.txt:
11147         * docs/plugins/gstreamer-plugins-sections.txt:
11148         Fix docs some more.
11149
11150         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11151         (gst_collect_pads_event):
11152         * libs/gst/base/gstcollectpads.h:
11153         Documentation updates.
11154         Free queued buffer when removing a pad.
11155
11156 2006-08-31  Michael Smith  <msmith@fluendo.com>
11157
11158         * gst/gstutils.c: (gst_element_link_pads),
11159         (gst_element_link_pads_filtered):
11160           Ensure that we set a capsfilter to NULL if we failed to link it
11161           when doing filtered linking, to avoid criticals.
11162
11163           No need to check for unreffing srcpad, which is explicly NULLed
11164           above (a trivial code cleanup).
11165
11166 2006-08-31  Wim Taymans  <wim@fluendo.com>
11167
11168         * docs/design/part-gstghostpad.txt:
11169         Update ascii art in documentation.
11170
11171         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
11172         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
11173         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11174         (gst_ghost_pad_internal_do_activate_push),
11175         (gst_ghost_pad_internal_do_activate_pull),
11176         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11177         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11178         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
11179         (gst_ghost_pad_set_target):
11180         Small cleanups and leak fixes.
11181         Remove some checks now that the internal pad is never NULL.
11182         Fix the case where linking pads without a target would create nasty
11183         criticals. Fixes #341029.
11184         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
11185         value of _set_target().
11186
11187         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11188         (gst_ghost_pad_suite):
11189         Some more tests for creating and linking untargeted ghostpads.
11190
11191 2006-08-31  Edward Hervey  <edward@fluendo.com>
11192
11193         * docs/gst/gstreamer-sections.txt:
11194         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
11195         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11196         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
11197         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
11198         (gst_ghost_pad_new_from_template),
11199         (gst_ghost_pad_new_no_target_from_template):
11200         * gst/gstghostpad.h:
11201         Refactored *_new() functions.
11202         Templates are now used as a g_object_new() parameter.
11203         Use template in _do_getcaps() if we don't have a target.
11204         Small documentation cleanups.
11205         Added two new constructors:
11206         gst_ghost_pad_new_from_template()
11207         gst_ghost_pad_new_no_target_from_template()
11208         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11209         (gst_ghost_pad_suite):
11210         Added tests for new ghostpad instanciation functions.
11211
11212         API additions: gst_ghost_pad_new_from_template,
11213         gst_ghost_pad_new_no_target_from_template
11214
11215 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
11216
11217         * docs/random/ensonic/profiling.txt:
11218           Ideas about qos profiling.
11219
11220 2006-08-29  Wim Taymans  <wim@fluendo.com>
11221
11222         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
11223         Code cleanups.
11224         Fix memleak.
11225
11226 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
11227
11228         * gst/gstxml.c:
11229           Improve and detypofy docs.
11230
11231         * tests/check/Makefile.am:
11232         * tests/check/gst/.cvsignore:
11233         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
11234           Add a basic test suite for GstXML.
11235
11236 2006-08-29  Wim Taymans  <wim@fluendo.com>
11237
11238         * gst/gstelement.c: (activate_pads), (clear_caps),
11239         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11240         Clear the pad caps when the element shut down all of the pads and
11241         is not streaming data that could modify the caps. 
11242         Fixes #352958.
11243
11244 2006-08-28  Michael Smith  <msmith@fluendo.com>
11245
11246         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11247           Revert previous change; I misunderstood single-segment mode.
11248
11249 2006-08-28  Michael Smith  <msmith@fluendo.com>
11250
11251         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11252           Unset DISCONT on buffers when using single-segment mode.
11253
11254 2006-08-28  Wim Taymans  <wim@fluendo.com>
11255
11256         * gst/gstcaps.c: (gst_caps_merge_structure):
11257         * gst/gstcaps.h:
11258         Fix docs and indentation again.
11259
11260         * tests/check/gst/gstquery.c: (GST_START_TEST):
11261         Fix leak in tests and add some more tests.
11262
11263 2006-08-28  Edward Hervey  <edward@fluendo.com>
11264
11265         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11266         Inform GstSegment of the last stop position in order for the current
11267         segment to have a proper duration if it doesn't have a specific stop
11268         position from which a duration could be calculated.
11269         This bug was noticeable when a non-flushing, non-update new segment was
11270         followed by another segment (all buffers from the new segment were being
11271         dropped).
11272
11273 2006-08-28  Wim Taymans  <wim@fluendo.com>
11274
11275         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11276         Small comment update.
11277
11278         * plugins/elements/gstidentity.c: (gst_identity_class_init),
11279         (gst_identity_transform_ip):
11280         Drop-probability is broken, mention this in the code with a 
11281         FIXME and also in the property description.
11282         Make silent also be silent about the drop messages.
11283
11284 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
11285
11286         * docs/manual/appendix-win32.xml:
11287           Remove mention of popt, we don't depend on that any
11288           longer (#353136). Add some comments pointing out that
11289           this section is slightly outdated.
11290
11291 2006-08-28  Wim Taymans  <wim@fluendo.com>
11292
11293         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11294
11295         * gst/gstquery.c: (gst_query_new_segment):
11296         * tests/check/gst/gstquery.c: (GST_START_TEST):
11297         Initialize variables when creating a new segment query.
11298         Fixes #353121.
11299
11300 2006-08-28  Wim Taymans  <wim@fluendo.com>
11301
11302         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11303
11304         * gst/gstelement.c: (gst_element_get_bus):
11305         * tests/check/gst/gstelement.c: (GST_START_TEST):
11306         Check for NULL before _reffing the bus. Fixes #353122.
11307
11308 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
11309
11310         * docs/manual/basics-bus.xml:
11311           Docs update: fix wrong callback return value explanation; add
11312           some lines about the implicit relationship between main loop
11313           and main context; remove duplicate main loop variable declaration.
11314
11315 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
11316
11317         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11318           Don't leak caps in unit test; add a few more simple
11319           checks. 
11320
11321 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
11322
11323         * docs/gst/gstreamer-sections.txt:
11324         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11325         (gst_caps_structure_is_subset), (gst_caps_merge),
11326         (gst_caps_merge_structure):
11327         * gst/gstcaps.h:
11328         * libs/gst/base/gstbasetransform.c:
11329         (gst_base_transform_transform_caps):
11330         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11331           implement caps merging (fixes #352580)
11332
11333 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
11334
11335         * tools/Makefile.am:
11336         * tools/gst-plot-timeline.py:
11337           add debug-log plotting developer tool (#340674)
11338
11339 2006-08-23  Wim Taymans  <wim@fluendo.com>
11340
11341         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11342         (gst_pad_stop_task):
11343         Improve debugging for task functions.
11344
11345         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11346         (gst_task_start), (gst_task_pause), (gst_task_join):
11347         Make sure that the task function started and finished after a 
11348         join(). 
11349         Don't try to push the task function on the threadpool multiple
11350         times.
11351         Improve the g_warning message with some useful suggestions
11352         about how to fix the problem. 
11353
11354 2006-08-23  Wim Taymans  <wim@fluendo.com>
11355
11356         * gst/gstutils.c: (gst_pad_proxy_getcaps):
11357         Handle RESYNC correctly in _proxy_getcaps.
11358
11359 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
11360
11361         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11362         (gst_xml_parse_memory), (gst_xml_get_element):
11363           Chain up to parent class in dispose function and also
11364           unref the elements in the toplevel_elements GList.
11365           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11366           Always return a reference in gst_xml_get_element() rather
11367           than only sometimes.
11368
11369         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11370           Don't leak GstXml object.
11371
11372 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
11373
11374         * docs/gst/gstreamer-sections.txt:
11375         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11376         (gst_caps_merge):
11377         * gst/gstcaps.h:
11378         * libs/gst/base/gstbasetransform.c:
11379         (gst_base_transform_transform_caps):
11380           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11381           in a better way
11382
11383 2006-08-21  Edward Hervey  <edward@fluendo.com>
11384
11385         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11386         Implement GObject::dispose virtual method in GstXML so we can free the
11387         top_elements GList.
11388
11389 2006-08-21  Wim Taymans  <wim@fluendo.com>
11390
11391         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11392         (gst_buffer_create_sub):
11393         Copy duration/offset_end/caps when creating a subbuffer of the
11394         complete parent.
11395         Make the subbuffer read-only when we make the metadata writable for
11396         now. Fixes #351768.
11397
11398         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11399         Added check for metadata copy when creating subbuffers.
11400
11401 2006-08-21  Edward Hervey  <edward@fluendo.com>
11402
11403         * libs/gst/base/gstbasetransform.c:
11404         (gst_base_transform_buffer_alloc):
11405         Only call downstream buffer_alloc if transform element is passthrough
11406         or always_in_place. Closes #350449.
11407
11408 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11409
11410         * ChangeLog:
11411           ChangeLog surgery to add comments to previous changes
11412
11413 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11414
11415         * gst/gst.c:
11416           Add comments
11417
11418         * gst/gstpad.c: (gst_pad_set_active):
11419           Be more verbose in the log
11420
11421         * libs/gst/base/gstbasetransform.c:
11422         (gst_base_transform_transform_caps):
11423           Simplify caps to get rid of duplicates, fixes #345444
11424
11425 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11426
11427         * gst/gstvalue.c:
11428         * gst/gstvalue.h:
11429           Use these optimizations only internally.
11430
11431 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11432
11433         * gst/gstvalue.c: (gst_value_compare_list),
11434         (gst_value_compare_fraction_range),
11435         (gst_value_intersect_fraction_fraction_range),
11436         (gst_value_intersect_fraction_range_fraction_range),
11437         (gst_value_subtract_fraction_fraction_range),
11438         (gst_value_subtract_fraction_range_fraction_range),
11439         (gst_value_get_compare_func), (gst_value_compare),
11440         (gst_value_compare_with_func):
11441         * gst/gstvalue.h:
11442           Saves the expensive lookup of the compare function in many cases
11443          (#345444)
11444
11445 2006-08-18  Edward Hervey  <edward@fluendo.com>
11446
11447         * tests/check/gst/gstinfo.c: (gst_info_suite):
11448         Disable test that require gstdebug if it wasn't built in core.
11449
11450 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11451
11452         * docs/random/ensonic/logging.txt:
11453           update ideas
11454           
11455         * gst/gstinfo.c: (gst_debug_log_default):
11456           reorder fields, save some columns, add optional color codes for log
11457           levels
11458
11459 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11460
11461         * docs/random/ensonic/logging.txt:
11462           add ideas about making the logs a bit more useful
11463
11464 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11465
11466         * docs/pwg/advanced-events.xml:
11467         * docs/pwg/titlepage.xml:
11468           Update for 0.10 API (#340627). Add myself
11469           to authors list.
11470
11471 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11472
11473         * docs/libs/gstreamer-libs-docs.sgml:
11474         * docs/libs/gstreamer-libs-sections.txt:
11475         * libs/gst/check/gstbufferstraw.c:
11476           Make gstcheck stuff show up in docs (still needs to
11477           be documented properly though).
11478
11479 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
11480
11481         * docs/gst/gstreamer-sections.txt:
11482         * gst/Makefile.am:
11483         * gst/gst.c: (init_post):
11484         * gst/gst_private.h:
11485         * gst/gstquark.c: (_priv_gst_quarks_initialize):
11486         * gst/gstquark.h:
11487         * gst/gstquery.c: (gst_query_new_position),
11488         (gst_query_set_position), (gst_query_parse_position),
11489         (gst_query_new_duration), (gst_query_set_duration),
11490         (gst_query_parse_duration), (gst_query_new_convert),
11491         (gst_query_set_convert), (gst_query_parse_convert),
11492         (gst_query_new_segment), (gst_query_set_segment),
11493         (gst_query_parse_segment), (gst_query_new_seeking),
11494         (gst_query_set_seeking), (gst_query_parse_seeking):
11495         Add internal helpers for pre-registering quarks from static strings
11496         and using the quark values directly instead of looking them up when
11497         creating and parsing queries. Can be used for event construction too.
11498         Closes #350432.
11499
11500 2006-08-16  Wim Taymans  <wim@fluendo.com>
11501
11502         * gst/gstbin.c:
11503         Fix bogus docs.
11504
11505 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11506
11507         * gst/gstutils.c: (gst_util_set_value_from_string):
11508           Fix memleak (#351502).
11509
11510         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11511           Add unit test for most of gst_util_set_value_from_string()
11512           (not that one would want to encourage use of this function).
11513
11514 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11515
11516         * libs/gst/check/gstcheck.h:
11517           Use const gchar * variables in fail_unless_equals_string
11518           macro to avoid compiler warnings (and don't use tabs for
11519           indenting).
11520
11521 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11522
11523         * tools/gst-launch.c: (print_tag):
11524           More space on the left for the tag names, to cater
11525           for the 'extended comment' tag (not touching the
11526           string for the first line since it's translated).
11527
11528 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11529
11530         * libs/gst/check/gstcheck.h:
11531           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11532           print something when they fail.
11533
11534 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11535
11536         * docs/gst/gstreamer-sections.txt:
11537         * gst/gsttaglist.c: (_gst_tag_initialize):
11538         * gst/gsttaglist.h:
11539           API: add GST_TAG_EXTENDED_COMMENT (#350935).
11540           Also change merge function for GST_TAG_COMMENT to
11541           use_first.
11542
11543 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11544
11545         * gst/gstinfo.c: (gst_debug_print_object):
11546           Make GST_PTR_FORMAT print messages as well.
11547
11548         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11549         (GST_START_TEST), (gst_info_suite):
11550           More tests.
11551
11552 2006-08-14  Edward Hervey  <edward@fluendo.com>
11553
11554         * gst/gstelementfactory.c: (gst_element_register):
11555         If the GstElementClass doesn't have a GstElementDetails with all fields
11556         filled up correctly (longname, description AND author), then error out
11557         nicely instead of crashing.
11558
11559 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11560
11561         * gst/gststructure.c:
11562           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11563
11564         * gst/gstvalue.h:
11565           Expand on the difference between arrays and lists as we use them.
11566           
11567 2006-08-14  Wim Taymans  <wim@fluendo.com>
11568
11569         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11570         If the parent state change function failed, don't assume we can safely
11571         stop the source, this will be done when the pads are deactivated.
11572
11573 2006-08-14  Wim Taymans  <wim@fluendo.com>
11574
11575         * gst/gstbuffer.c:
11576         * gst/gsttask.c: (gst_task_join):
11577         Small doc updates.
11578
11579         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11580         (gst_pad_stop_task):
11581         When pad (de)activation failed for some reason, restore the old
11582         activation mode and set the pad to flushing instead of assuming the
11583         pad is deactivated.
11584         If the _task_join() failed, reinstall the task on the pad so that it can
11585         be stopped later and return an error.
11586
11587 2006-08-11  Andy Wingo  <wingo@pobox.com>
11588
11589         * configure.ac:
11590         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11591         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11592         is only for users of API that don't want to see deprecated
11593         functions in the headers; people that want to compile out
11594         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11595         CFLAGS. Fixes the build of multifdsink, or will soon..
11596
11597 2006-08-11  Wim Taymans  <wim@fluendo.com>
11598
11599         * docs/gst/gstreamer-sections.txt:
11600         Add GstClockClass vmethod docs.
11601
11602         * gst/gstcaps.h:
11603         Mark #endif with comment for associated #if
11604
11605         * gst/gstclock.c: (gst_clock_id_wait):
11606         * gst/gstclock.h:
11607         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11608         most clock implementations.
11609         Document vmethods.
11610         Flesh out docs about resolution methods.
11611         API: GstClockClass::wait_jitter
11612
11613         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11614         (gst_system_clock_async_thread),
11615         (gst_system_clock_id_wait_jitter_unlocked),
11616         (gst_system_clock_id_wait_jitter):
11617         Use base class wait_jitter variant for improved performance
11618         due to less clock polling.
11619
11620 2006-08-11  Edward Hervey  <edward@fluendo.com>
11621
11622         * gst/gst.c: (gst_init_check), (init_post):
11623         Set gst as being initialized before scanning/updating the registry,
11624         since there might be my python plugin loader that calls gst_init() and
11625         we don't want to loop back in.
11626         Closes #350879
11627
11628 2006-08-11  Wim Taymans  <wim@fluendo.com>
11629
11630         * docs/design/part-qos.txt:
11631         Bring docs in line with the code. Mostly the sign of the jitter was
11632         wrong in the docs. Fixes #349943.
11633
11634         * gst/gstclock.c:
11635         Fix the docs for the jitter.
11636
11637         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11638         (gst_event_parse_tag), (gst_event_new_buffer_size),
11639         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11640         (gst_event_new_seek), (gst_event_parse_seek),
11641         (gst_event_new_navigation):
11642         Make sure the GstStructure has no parent when creating custom
11643         events.
11644         Add some more argument checking so that we avoid 0.0 rates.
11645         Flesh out the docs for the QoS event some more.
11646
11647 2006-08-11  Wim Taymans  <wim@fluendo.com>
11648
11649         * docs/gst/gstreamer-sections.txt:
11650         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11651         (ensure_current_registry_forking), (ensure_current_registry),
11652         (parse_one_option), (parse_goption_arg), (gst_deinit),
11653         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11654         * gst/gst.h:
11655         Doc updates.
11656         Added API and command line option to disable registry forking in
11657         addition to the environment variable.
11658         Constify some static arrays.
11659         Added some more debug.
11660         Don't deinit twice.
11661         API: gst_registry_fork_is_enabled()
11662         API: gst_registry_fork_set_enabled()
11663         API: --gst-disable-registry-fork command line option
11664         Fixes #348918.
11665
11666 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11667
11668         * gst/gst.c: (gst_init):
11669           Fix typo in error message.
11670
11671 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11672
11673         * libs/gst/controller/gstcontroller.h:
11674           fix ABI size-correction
11675
11676         * tests/check/libs/gdp.c: (gst_dp_suite):
11677           make tests that use deprecated API conditional
11678
11679 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11680
11681         * docs/libs/gstreamer-libs-sections.txt:
11682         * libs/gst/controller/gstcontroller.c:
11683         (_gst_controller_get_property), (_gst_controller_set_property),
11684         (_gst_controller_init), (_gst_controller_class_init):
11685         * libs/gst/controller/gstcontroller.h:
11686         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11687         (gst_object_set_control_rate):
11688           API: add gst_object_{s,g}et_control_rate(), add private data section,
11689           fix docs
11690
11691         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11692         * libs/gst/dataprotocol/dataprotocol.h:
11693           add deprecation guards to make gtk-doc happy and allow disabling cruft
11694
11695 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11696
11697         * tests/check/Makefile.am:
11698         * tests/check/gst/.cvsignore:
11699           Let's enable the new unit test as well.
11700
11701 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11702
11703         * configure.ac:
11704         * docs/gst/gstreamer-sections.txt:
11705         * gst/gstconfig.h.in:
11706         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11707         (_gst_info_printf_extension_ptr),
11708         (_gst_info_printf_extension_segment):
11709           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11710           register that lets us easily dump GstSegments into debug
11711           logs (#350419).
11712
11713         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11714         (info_segment_format_printf_extension), (gst_info_suite):
11715           Add simple unit test that logs a bunch of different segments (not
11716           valgrinded at the moment because of leaks in
11717           gst_debug_add_log_function).
11718
11719 2006-08-09  Edward Hervey  <edward@fluendo.com>
11720
11721         * libs/gst/base/gstbasetransform.c:
11722         (gst_base_transform_buffer_alloc):
11723         Even if we can't figure out the proper format to request downstream,
11724         call buffer_alloc() downstream with the input parameters without setting
11725         the caps on the srcpad. This will force negotiation in the chain
11726         function.
11727         Closes #350449
11728
11729 2006-08-08  Edward Hervey  <edward@fluendo.com>
11730
11731         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11732         Unlinking from a pad without a target is now a perfectly valid case
11733         which should NOT raise an assertion.
11734         This case would happen if a linked ghostpad its target set to NULL after
11735         it was previously linked.
11736
11737 2006-08-08  Edward Hervey  <edward@fluendo.com>
11738
11739         * tests/check/libs/gdp.c:
11740         Also comment out the test (see below).
11741
11742 2006-08-08  Edward Hervey  <edward@fluendo.com>
11743
11744         * tests/check/libs/gdp.c: (gst_dp_suite):
11745         Use the architecture information from config.h and not gcc macros
11746         in order to properly disable a test that fails on PPC64.
11747
11748 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11749
11750         * gst/gstelement.c: (gst_element_remove_pad):
11751           Don't crash printing the warning if the pad has no parent.
11752
11753 2006-08-02  Wim Taymans  <wim@fluendo.com>
11754
11755         * libs/gst/dataprotocol/dataprotocol.c:
11756         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11757         (gst_dp_crc), (gst_dp_header_payload_length),
11758         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11759         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11760         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11761         (gst_dp_event_from_packet), (gst_dp_validate_header),
11762         (gst_dp_validate_payload):
11763         Make debug category static
11764         Constify the crc table.
11765         Do some more arg checking in public functions.
11766         Fix some docs and do some small cleanups.
11767
11768         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11769         Add some more checks to see if GDP deals with bogus input.
11770
11771 2006-07-31  Wim Taymans  <wim@fluendo.com>
11772
11773         * gst/gstvalue.c: (gst_value_compare_list):
11774         Fix GstValueList comparison code. Fixes #347293.
11775
11776         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11777         Check to test GstValueList comparison.
11778
11779 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11780
11781         * gst/gstelementfactory.c: (gst_element_factory_create):
11782         Remove unnecessary ref/unref pair
11783
11784         * gst/parse/grammar.y:
11785         Make sure to free the parse buffer on all code paths.
11786         Move a g_free up to the error handler where it's easier to see.
11787
11788         * tests/check/gst/gstevent.c: (test_event):
11789         Extending timeout for downstream travelling events to 10 seconds to
11790         hopefully avoid intermittent failure on the buildbots.
11791
11792         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11793         Don't manually set the state of the src element - it will happen as a
11794         natural consequence of the pipeline changing state, and that way it
11795         will do it in the right order too.
11796
11797 2006-07-31  Wim Taymans  <wim@fluendo.com>
11798
11799         * libs/gst/base/gstbasetransform.c:
11800         (gst_base_transform_buffer_alloc):
11801         Use OBJECT_LOCK and refcounting to get the pad caps in the
11802         buffer_alloc function because the caps could change while we are
11803         busy with them. Fixes #349105
11804
11805 2006-07-31  Wim Taymans  <wim@fluendo.com>
11806
11807         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11808         Protect _PAD_CAPS with OBJECT_LOCK.
11809
11810 2006-07-31  Wim Taymans  <wim@fluendo.com>
11811
11812         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11813         (gst_pad_get_property), (gst_pad_activate_pull),
11814         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11815         (gst_pad_set_activate_function),
11816         (gst_pad_set_activatepull_function),
11817         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11818         (gst_pad_set_getrange_function),
11819         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11820         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11821         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11822         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11823         (gst_pad_set_acceptcaps_function),
11824         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11825         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11826         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11827         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11828         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11829         (gst_pad_configure_sink), (gst_pad_configure_src),
11830         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11831         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11832         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11833         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11834         (gst_pad_send_event):
11835         Use _DEBUG_OBJECT when it makes sense.
11836         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11837         Small cleanups and code reflows.
11838         Avoid caps refcounting in _accept_caps.
11839         Refactor alloc_buffer so that the code performed on the peer is in a
11840         separate function. Also if the pad does not implement a buffer alloc
11841         function, we should still check if the pad is flushing before falling
11842         back to the default allocator.
11843
11844 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11845
11846         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11847         Make all uses of identity and fakesink have silent=true to avoid
11848         serialising every passing data structure, which is breaking tests
11849         on FC4 for some unknown reason.
11850
11851 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11852
11853         * gst/parse/Makefile.am:
11854         * gst/parse/grammar.y:
11855         * gst/parse/parse.l:
11856           Reverted previous patch as it required to bump the flex dependency to
11857           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11858
11859 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11860
11861         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11862
11863         * gst/parse/Makefile.am:
11864         * gst/parse/grammar.y:
11865         * gst/parse/parse.l:
11866           push & pop the state of the lexer for reentrant use case
11867           Fixes #349180
11868
11869 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11870
11871         * libs/gst/base/gstbasesrc.h:
11872           Note in the docs that the ::newsegment vfunc is not actually used by
11873           GstBaseSrc.
11874
11875 2006-07-28  Wim Taymans  <wim@fluendo.com>
11876
11877         * libs/gst/base/gstcollectpads.c:
11878         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11879         (gst_collect_pads_clear), (gst_collect_pads_flush),
11880         (gst_collect_pads_event), (gst_collect_pads_chain):
11881         When flushing a pad, also clear the queued buffer so that we don't
11882         accidentally use it when we shouldn't.
11883         Fix leaks by inreffing incomming buffer.
11884         Flush out queued buffers in case of errors.
11885         Fixes #347452.
11886
11887 2006-07-28  Wim Taymans  <wim@fluendo.com>
11888
11889         * docs/random/phonon-gst:
11890         Random notes about a Phonon backend.
11891
11892 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11893
11894         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11895         Extra debug output
11896         * tests/check/libs/gdp.c: (gst_dp_suite):
11897         Take a whack at fixing the ppc compile using a different define to
11898         disable the broken test.
11899
11900         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11901         Remove excess g_print()
11902
11903 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11904
11905         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11906         Oops, meant to uncomment this line too to dampen the noise a bit.
11907
11908 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11909
11910         * gst/parse/grammar.y:
11911         * gst/parse/parse.l:
11912         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11913         (GST_START_TEST), (parse_suite):
11914         Fix some of the leaks exposed by extending the parse-launch testsuite,
11915         and move the 3 I can't figure out into a separate test that won't run
11916         the pipelines unless the appropriate line is uncommented.
11917
11918 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11919
11920         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11921           Requesting 0 bytes before the end of the file should result in
11922           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11923           unit test.
11924
11925 2006-07-27  Wim Taymans  <wim@fluendo.com>
11926
11927         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11928         Fix useless assert, a uint is always positive.
11929
11930         * gst/gststructure.c: (gst_structure_nth_field_name),
11931         (gst_structure_foreach), (gst_structure_map_in_place):
11932         Check input arguments for public functions to avoid obvious crashes.
11933
11934         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11935         * plugins/elements/gstfakesink.h:
11936         Do less useless typechecking.
11937
11938 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11939
11940         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11941           Do not use mmap() by default since there are a number of error
11942           conditions that we would like to handle in a non-fatal way that
11943           will result in a SIGBUS if we use mmap(). Examples: external
11944           devices (USB harddrive, portable music player) being unplugged
11945           while in use; file on mounted CD/DVD that can't be read because
11946           the medium is partly damaged. Fixes #348455 and #348475.
11947
11948 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11949
11950         * gst/gstquery.h:
11951         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11952         rates are a gdouble
11953
11954 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11955
11956         * gst/gstregistry.c:
11957           Move big documentation comment into class section header, so that it
11958           appears in the API docs.
11959
11960 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11961
11962         * docs/gst/gstreamer-sections.txt:
11963         Oops. Commit the docs additions too for new API.
11964         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11965
11966 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11967
11968         * gst/gststructure.c: (gst_structure_id_set),
11969         (gst_structure_id_set_valist):
11970         * gst/gststructure.h:
11971         Add API for setting values into structures without performing
11972         a quark lookup, if the appropriate quark is already known.
11973
11974         API: gst_structure_id_set
11975         API: gst_structure_id_set_valist
11976
11977         * gst/parse/grammar.y:
11978         * gst/parse/parse.l:
11979         Remove some dead code shown by the coverage information.
11980         Don't throw a critical g_warning when encountering a syntax error,
11981         just warn and let the normal error path handle it.
11982
11983         * plugins/elements/gstelements.c:
11984         Bump the rank of filesink up to PRIMARY so that it is preferred over
11985         gnomevfssink for file:// sink uri's
11986
11987         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11988         (GST_START_TEST), (run_delayed_test),
11989         (gst_parse_test_element_base_init),
11990         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11991         (gst_parse_test_element_change_state),
11992         (gst_register_parse_element), (parse_suite):
11993         Beef up the tests for parse syntax to check that more error cases
11994         fail as they are supposed to. Increases the test coverage a bit.
11995
11996 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11997
11998         * docs/manual/basics-elements.xml:
11999           Fix gst_element_link() example.
12000
12001         * gst/gstutils.c:
12002           Mention in API docs that one should usually gst_bin_add()
12003           elements to a bin or pipeline before doing the linking.
12004           
12005 2006-07-26  Wim Taymans  <wim@fluendo.com>
12006
12007         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
12008         (gst_subbuffer_get_type), (gst_buffer_create_sub):
12009         Avoid function call for known types by keeping the buffer and
12010         subbuffer GType global.
12011
12012         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12013         Random silly optimisations in read() path.
12014
12015 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
12016
12017         * tools/gst-launch.c: (main):
12018           If the top-level of the parse is a normal bin, it doesn't do the
12019           right logic to run as a top-level element, so place it inside a
12020           pipeline.
12021
12022 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
12023
12024         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
12025           Remove superfluous g_object_notify() calls, GObject does
12026           that for us automatically.
12027
12028 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
12029
12030         * gst/gstinfo.h:
12031           on Win32, use dllspec to export the debug category symbols
12032
12033 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
12034
12035         * gst/gsttaglist.c: (_gst_tag_initialize):
12036           Allow more than one GST_TAG_IMAGE per taglist.
12037
12038 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12039
12040         * gst/gstminiobject.c:
12041           update docs
12042         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
12043         (gst_fd_src_create):
12044           log recurring events at LOG level
12045           add more debug for when the fd gets set
12046
12047 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
12048
12049         * gst/gstparse.c: (gst_parse_launch):
12050           Also remove reentrance checks if flex is MT safe (#348179)
12051          Fix my empty ChangeLog entry below
12052
12053 2006-07-21  Andy Wingo  <wingo@pobox.com>
12054
12055         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
12056
12057         * libs/gst/check/Makefile.am
12058         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
12059         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
12060         * libs/gst/check/gstbufferstraw.h:
12061         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
12062         functions, thus proving I am still a GStreamer haxor. OK I wrote
12063         them a long time ago, but anyways.
12064
12065 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
12066
12067         * configure.ac:
12068         * gst/gstparse.c: (gst_parse_launch):
12069           Check for flex version and omit mutex if we have a MT save flex
12070           (fixes #348179)
12071
12072 2006-07-21  Wim Taymans  <wim@fluendo.com>
12073
12074         * gst/gstparse.c: (gst_parse_launch):
12075         Protect recursive calls to _parse with a recursive mutex
12076         and busy flag.
12077
12078 2006-07-21  Wim Taymans  <wim@fluendo.com>
12079
12080         * tests/check/gst/gstpad.c: (GST_START_TEST):
12081         Fix leak in test.
12082
12083 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
12084
12085         * gst/gstparse.c: (gst_parse_launch):
12086           Do not hang on recursive usage of gst_parse_launch()
12087
12088 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
12089
12090         * gst/gsttaglist.c:
12091           Add some more docs, comments and FIXME 0.11s here and there
12092           and also fix some typos.
12093
12094 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
12095
12096         * gst/gstsegment.h:
12097           Convert tabs to spaces for better readability. 
12098
12099 2006-07-20  Edward Hervey  <edward@fluendo.com>
12100
12101         * tests/check/libs/gdp.c: (gst_dp_suite):
12102         the test_buffer test fails at line 140 on ppc64 at the following
12103         check:
12104         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
12105                 GST_BUFFER_FLAG_IN_CAPS),
12106                 "GST_BUFFER_IN_CAPS flag should have been copied !");
12107         See bug #348114 for more details.
12108
12109 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
12110
12111         * docs/pwg/advanced-scheduling.xml:
12112         * gst/gstpad.c:
12113           Fix typos (#348000).
12114
12115 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
12116
12117         * docs/pwg/intro-basics.xml:
12118           Fix wrong links (#347927).
12119
12120 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
12121
12122         * gst/gstregistry.h:
12123         * gst/gstregistryxml.c: (load_feature),
12124         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
12125         * win32/common/config.h:
12126           make --disable-index work (#342564)
12127
12128 2006-07-18  Wim Taymans  <wim@fluendo.com>
12129
12130         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12131
12132         * gst/Makefile.am:
12133         * gst/gsttrace.h:
12134         The attached patch adds two missing defines to gsttrace.h when tracing
12135         is disabled.  It also corrects one existing define.
12136         Fixes #347756.
12137
12138 2006-07-17  Wim Taymans  <wim@fluendo.com>
12139
12140         * docs/gst/gstreamer-sections.txt:
12141         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
12142         * gst/gst.h:
12143         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
12144         Add two functions to check and change the SIGSEGV behaviour
12145         when loading plugins.
12146         Don't mess with the SIGSEGV handler when we were told not to.
12147         Fixes #347794.
12148         API: gst_segtrap_is_enabled
12149         API: gst_segtrap_set_enabled
12150
12151 2006-07-14  Wim Taymans  <wim@fluendo.com>
12152
12153         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12154         * tests/check/elements/filesrc.c: (GST_START_TEST):
12155         Revert fix for regression in #347408 after release.
12156
12157 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
12158
12159         Patch by: Antoine Tremblay <hexa00 at gmail com>
12160
12161         * gst/gstutils.c: (gst_element_unlink):
12162           Free iterator when done (#347311).
12163
12164         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12165           And add a test case for this.
12166
12167 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
12168
12169         * configure.ac:
12170         Bump nano back to CVS
12171
12172 === release 0.10.9 ===
12173
12174 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
12175
12176         * configure.ac:
12177           releasing 0.10.9, "On the road again"
12178
12179 2006-07-13  Wim Taymans  <wim@fluendo.com>
12180
12181         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12182         * tests/check/elements/filesrc.c: (GST_START_TEST):
12183         Revert pull-0 fix for release. Disable check. Fixes #347408.
12184
12185 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12186
12187         * libs/gst/dataprotocol/dataprotocol.c:
12188         (gst_dp_event_from_packet_1_0):
12189           Fixes #347337: failure to deserialize event packets with
12190           empty payload (only event type)
12191
12192 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12193
12194         * gst/Makefile.am:
12195           do not install a .c file in the header directory
12196
12197 2006-07-13  Edward Hervey  <edward@fluendo.com>
12198
12199         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12200         GhostPad no longer implicitely use the padtemplates of the targets.
12201         Fixes #347384
12202
12203 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
12204
12205         * gst/gstvalue.c: (gst_value_compare_list),
12206         (gst_value_compare_array), (_gst_value_initialize):
12207         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12208         Make GstValueArray comparison be order dependent as designed.
12209         Add checks for value lists and value array comparisons.
12210         Fixes #347221
12211
12212 2006-07-11  Edward Hervey  <edward@fluendo.com>
12213
12214         * gst/gstbin.c: (activate_pads),
12215         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
12216         (gst_bin_change_state_func):
12217         (de)activate src pads before calling state_change on the childs.
12218         This is to avoid the case where a src ghostpad is blocked (holding the
12219         stream lock), which would block the deactivation of the ghostpad's
12220         target pad.
12221         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
12222         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
12223         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
12224         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12225         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12226         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12227         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12228         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
12229         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
12230         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12231         (gst_ghost_pad_class_init),
12232         (gst_ghost_pad_internal_do_activate_push),
12233         (gst_ghost_pad_internal_do_activate_pull),
12234         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12235         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12236         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
12237         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
12238         GhostPads now create their internal GstProxyPad at creation (and not
12239         when they're linked, as it was being done previously).
12240         The internal and target pads are linked straight away.
12241         The data will also travel through the other pad in order to make
12242         pad blocking and probes non-hackish (the probe/block now really happens
12243         on the GhostPad and not on the target).
12244         * gst/gstpad.c: (gst_pad_set_blocked_async),
12245         (gst_pad_link_prepare), (gst_pad_push_event):
12246         Remove previous ghostpad cruft.
12247         * gst/gstutils.c: (gst_pad_add_data_probe),
12248         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12249         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12250         (gst_pad_remove_buffer_probe):
12251         Remove previous ghost pad cruft.
12252         Added more detailed debug statements.
12253         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12254         Fix the testsuite for refcounting changes.
12255         The comments about who has references were correct, but the refcount
12256         being checked wasn't the same (!?!).
12257
12258         Fixes #341029
12259
12260 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
12261
12262         * docs/gst/gstreamer-sections.txt:
12263         * gst/gstconfig.h.in:
12264         More docs for configuration options, add docs to gtk-doc.
12265
12266 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
12267
12268         * gst/Makefile.am:
12269         * gst/gstconfig.h.in:
12270         * win32/common/config.h:
12271         Fix build when disabling tracing (fixes #344016). Also start to document
12272         the defines that disable the sub-systems.
12273
12274 2006-07-10  Edward Hervey  <edward@fluendo.com>
12275
12276         * gst/gst.c: (ensure_current_registry_forking):
12277         let's make valgrind happy...
12278
12279 2006-07-09  Wim Taymans  <wim@fluendo.com>
12280
12281         * gst/gstelement.c: (activate_pads),
12282         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12283         Better pad activation code: Reset the collect value too on resync.
12284         Add some comments.
12285
12286 2006-07-09  Wim Taymans  <wim@fluendo.com>
12287
12288         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12289         (gst_pad_activate_push):
12290         Use some more macros where it makes sense.
12291         Allow pad mode switching instead of asserting. When a pad
12292         is activated in one mode and we activate it in another, 
12293         deactivate it first before activating it in a different mode.
12294         Fixes #329198.
12295
12296 2006-07-08  Andy Wingo  <wingo@pobox.com>
12297
12298         * tools/gst-launch.c (main): Handle err == NULL.
12299
12300         * gst/gst.c (init_post, ensure_current_registry)
12301         (ensure_current_registry_forking)
12302         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12303         factoring out the registry scanning into separate functions. Don't
12304         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12305         Better environment var name/interface suggestions accepted.
12306
12307 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12308
12309         * gst/gstobject.c: (gst_object_set_name_default),
12310         (gst_object_set_name):
12311           Random micro-optimisation: don't use a hash table
12312           with strings as keys and the usual strdup/strcmp
12313           involved, but rather just use the GQuark of the
12314           type name as key, since it needs to be looked up
12315           anyway to get the type name string.
12316
12317         * tests/check/gst/gstobject.c: (GST_START_TEST):
12318           Fix various leaks.
12319
12320 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12321
12322         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12323         (gst_bin_iterate_all_by_interface):
12324           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12325           GTypes are gulongs and thus the top 4 bytes might be cut
12326           off on some platforms when doing GPOINTER_TO_INT, leading
12327           to invalid GTypes and bad things happening (see RH bug #179654).
12328           Also add a check to make sure the type passed in is really
12329           an interface type.
12330
12331 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12332
12333         * .cvsignore:
12334           Ignore more.
12335
12336 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12337
12338         * Makefile.am:
12339         * configure.ac:
12340         * gst-element-check.m4:
12341         * gst-element-check.m4.in:
12342           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12343           instead of the unversioned gst-inspect (#324176, #168659).
12344
12345 2006-07-06  Wim Taymans  <wim@fluendo.com>
12346
12347         * gst/gstmessage.h:
12348         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12349         warnings.
12350
12351 2006-07-06  Wim Taymans  <wim@fluendo.com>
12352
12353         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12354         (gst_base_src_wait), (gst_base_src_update_length),
12355         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12356         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12357         (gst_base_src_loop), (gst_base_src_start),
12358         (gst_base_src_activate_pull):
12359         Update docs.
12360         blocksize == 0 now means the default blocksize when working in push
12361         based mode.
12362         Remove some pointless asserts in _wait function.
12363         Fix offset/length calculations and EOS handling. We can now pull 0
12364         bytes as well, which is allowed.
12365         use _check_get_range() to decide if we can operate in _pull based
12366         mode.
12367         Fix refcounting leak when check_get_range function was not 
12368         implemented.
12369         API GstBaseSrc::blocksize range can be 0 too now (default)
12370
12371         * tests/check/elements/filesrc.c: (GST_START_TEST),
12372         (filesrc_suite):
12373         Added check to test _get_range() behaviour.
12374
12375 2006-07-06  Wim Taymans  <wim@fluendo.com>
12376
12377         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12378         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12379         (gst_pad_pull_range):
12380         * gst/gstpad.h:
12381         Lots of comments and docs added to the pad functions.
12382         Flesh out the expected behaviour of the get_range() functions.
12383
12384 2006-07-06  Wim Taymans  <wim@fluendo.com>
12385
12386         * gst/gstbus.h:
12387         * gst/gstclock.h:
12388         * gst/gstevent.h:
12389         * gst/gstiterator.h:
12390         * gst/gstpad.h:
12391         * gst/gstplugin.h:
12392         * gst/gsttask.h:
12393         Remove comma at end of enumerator list. 
12394
12395 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
12396
12397         * win32/common/libgstbase.def:
12398         * win32/common/libgstdataprotocol.def:
12399         * win32/common/libsgtreamer.def:
12400         Add new exported functions.
12401
12402 2006-07-05  Wim Taymans  <wim@fluendo.com>
12403
12404         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12405         Add some more docs here and there.
12406
12407 2006-07-05  Wim Taymans  <wim@fluendo.com>
12408
12409         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12410         (gst_base_sink_loop), (gst_base_sink_get_position):
12411         When operating in pull mode update the offset so that we
12412         read sequentially.
12413
12414 2006-07-05  Wim Taymans  <wim@fluendo.com>
12415
12416         * gst/gstregistryxml.c: (read_string):
12417         Avoid strdup. (will happen in libxml, but hey!)
12418
12419         * gst/gsturi.c:
12420         Add some more docs.
12421
12422 2006-07-05  Wim Taymans  <wim@fluendo.com>
12423
12424         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12425         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12426         (gst_buffer_suite):
12427         No point in checking if the size of the subbuffer > 0, the
12428         code handles it correclty as demonstrated by unit test.
12429         Also add a unit test for the zero sized _new_and_alloc and
12430         _copy. Fixes #346663.
12431
12432 2006-07-05  Wim Taymans  <wim@fluendo.com>
12433
12434         * libs/gst/base/gstbasetransform.c:
12435         (gst_base_transform_prepare_output_buffer),
12436         (gst_base_transform_buffer_alloc),
12437         (gst_base_transform_handle_buffer):
12438         Make sure the buffer we pass to transform_ip has a refcount of
12439         1 and thus is writable. Fixes #343196
12440
12441 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
12442
12443         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12444         (gst_file_src_init), (gst_file_src_set_property),
12445         (gst_file_src_get_property), (gst_file_src_map_region):
12446         * plugins/elements/gstfilesrc.h:
12447         Add "sequential" property, off by default, to use madvise and hint
12448         to the kernel that sequential access is desired.
12449         Touch all retrieved pages by default to ensure they are pulled
12450         into memory. (Closes #345720)
12451
12452 2006-07-03  Wim Taymans  <wim@fluendo.com>
12453
12454         * docs/design/part-block.txt:
12455         * docs/design/part-dynamic.txt:
12456         Small docs updates.
12457
12458 2006-07-03  Wim Taymans  <wim@fluendo.com>
12459
12460         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12461         (gst_caps_unref), (gst_static_caps_get),
12462         (gst_caps_append_structure):
12463         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12464         Use GSlice when the glib we build against is >= 2.10
12465
12466 2006-07-03  Wim Taymans  <wim@fluendo.com>
12467
12468         * gst/gstelement.c: (gst_element_pads_activate):
12469         Small cleanup in pad activation code.
12470
12471 2006-07-03  Wim Taymans  <wim@fluendo.com>
12472
12473         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12474
12475         * gst/gst-i18n-app.h:
12476         * gst/gst-i18n-lib.h:
12477         * tools/gst-inspect.c: (print_signal_info):
12478         The attached patch will make the inclusion of gettext.h unconditional in
12479         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12480         libintl.h in tools/gst-inspect.c.
12481         This allows use of --disable-nls again and fixes #344642.
12482
12483 2006-07-03  Edward Hervey  <edward@fluendo.com>
12484
12485         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12486         Implement pad blocking on events according to part-block.txt.
12487         More comments on behaviour.
12488         * tests/check/gst/gstevent.c: (test_event):
12489         Send event to peer pad of blocked pad (else it will block).
12490
12491 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12492
12493         * libs/gst/check/gstcheck.c: (gst_check_message_error),
12494         (gst_check_run_suite):
12495           if we get the wrong message, give us the types as string
12496         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12497           Fix a translatable
12498         * tests/check/elements/filesrc.c: (GST_START_TEST):
12499           add a test for trying to open a non-existing file
12500
12501 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12502
12503         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12504           add a test for adding self
12505
12506 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12507
12508         * libs/gst/check/gstcheck.h:
12509           add some assert_ as alias for fail_unless_*
12510         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12511           increase test coverage
12512
12513 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12514
12515         * Makefile.am:
12516           include lcov.mak for lcov coverage generation
12517         * tools/Makefile.am:
12518           add to CLEANFILES
12519
12520 2006-07-02  Edward Hervey  <edward@fluendo.com>
12521
12522         * tests/check/elements/.cvsignore:
12523         moaping
12524
12525 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12526
12527         * configure.ac:
12528           don't set CFLAGS and friends for gcov, done from GST_GCOV now
12529         * tests/check/Makefile.am:
12530           clean up gcov files
12531
12532 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12533
12534         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12535           remove gst_caps_simplify; it was not declared and not used
12536           and deprecated in 0.8
12537
12538 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12539
12540         * docs/faq/gst-uninstalled:
12541           don't put empty paths on PYTHONPATH
12542         * docs/gst/gstreamer-sections.txt:
12543           remove some symbols that are not there
12544
12545 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12546
12547         * gst/gstcaps.c: (gst_caps_compare_structures):
12548           whitespace fixes
12549         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12550         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12551           add more tests
12552
12553 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12554
12555         * libs/gst/dataprotocol/Makefile.am:
12556           build dataprotocol test by linking to the lib, instead of
12557           compiling the source, so we get coverage
12558         * tests/check/Makefile.am:
12559         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12560         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12561           add a test for filesrc
12562
12563 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12564
12565         * tests/check/gst/gststructure.c: (GST_START_TEST),
12566         (gst_structure_suite):
12567           Push coverage from 59.04% to 70.00%
12568
12569 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12570
12571         * tests/check/Makefile.am:
12572           gst-inspect every element; this makes sure that we also get
12573           coverage on element's get/set functions
12574
12575 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12576
12577         * configure.ac:
12578           set CFLAGS and friends to -O0 if gcov is being used
12579           add GCOV LIBS
12580         * gst/Makefile.am:
12581         * libs/gst/base/Makefile.am:
12582         * libs/gst/check/Makefile.am:
12583         * libs/gst/controller/Makefile.am:
12584         * libs/gst/dataprotocol/Makefile.am:
12585         * libs/gst/net/Makefile.am:
12586         * plugins/elements/Makefile.am:
12587         * plugins/indexers/Makefile.am:
12588           add makefile rules to generate gcov data and clean up
12589         * tests/check/Makefile.am:
12590           add a coverage target that generates an html overview
12591           of coverage data
12592
12593 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12594
12595         * tests/check/elements/fakesink.c:
12596         * tests/check/elements/fakesrc.c:
12597         * tests/check/elements/fdsrc.c:
12598         * tests/check/elements/identity.c:
12599         * tests/check/generic/sinks.c: (gst_sinks_suite):
12600         * tests/check/generic/states.c:
12601         * tests/check/gst/gst.c:
12602         * tests/check/gst/gstabi.c:
12603         * tests/check/gst/gstbin.c:
12604         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12605         * tests/check/gst/gstbus.c: (gst_bus_suite):
12606         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12607         * tests/check/gst/gstelement.c:
12608         * tests/check/gst/gstevent.c: (gst_event_suite):
12609         * tests/check/gst/gstghostpad.c:
12610         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12611         * tests/check/gst/gstmessage.c: (gst_message_suite):
12612         * tests/check/gst/gstminiobject.c:
12613         * tests/check/gst/gstobject.c:
12614         * tests/check/gst/gstpad.c:
12615         * tests/check/gst/gstpipeline.c:
12616         * tests/check/gst/gstplugin.c:
12617         * tests/check/gst/gstquery.c: (gst_query_suite):
12618         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12619         * tests/check/gst/gststructure.c:
12620         * tests/check/gst/gstsystemclock.c:
12621         * tests/check/gst/gsttag.c:
12622         * tests/check/gst/gsttask.c: (gst_task_suite):
12623         * tests/check/gst/gstutils.c:
12624         * tests/check/gst/gstvalue.c:
12625         * tests/check/libs/adapter.c:
12626         * tests/check/libs/basesrc.c:
12627         * tests/check/libs/collectpads.c:
12628         * tests/check/libs/controller.c:
12629         * tests/check/libs/gdp.c: (gst_dp_suite):
12630         * tests/check/libs/gstnetclientclock.c:
12631         * tests/check/libs/gstnettimeprovider.c:
12632         * tests/check/libs/libsabi.c: (libsabi_suite):
12633         * tests/check/libs/typefindhelper.c:
12634         * tests/check/pipelines/cleanup.c:
12635         * tests/check/pipelines/parse-launch.c:
12636         * tests/check/pipelines/simple-launch-lines.c:
12637         * tests/check/pipelines/stress.c: (stress_suite):
12638           use the new macro
12639
12640 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12641
12642         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12643         * libs/gst/check/gstcheck.h:
12644           create a macro and function so that the simple unit test
12645           case can be just one macro to create main()
12646
12647 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12648
12649         * gst/gstbin.c: (gst_bin_restore_thyself):
12650         * gst/gstxml.c: (gst_xml_make_element):
12651           Fix deserialisation from XML. Set parent manually
12652           instead of using gst_bin_add(), since gst_bin_add()
12653           will unlink all pads of the element being added.
12654           Fixes #341667.
12655
12656 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12657
12658         Patch by: Peter Kjellerstedt <pkj at axis com>
12659
12660         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12661           Fix missing g_strdup() and double free when using the
12662           --gst-plugin-load command line option (#346097).
12663
12664 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12665
12666         * gst/gstinfo.c:
12667           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12668
12669         * libs/gst/net/gstnetclientclock.c:
12670         * libs/gst/net/gstnettimeprovider.c:
12671           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12672
12673 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12674
12675         * docs/manual/advanced-dataaccess.xml:
12676           Fix buffer probe example compilation in
12677           ADM (#345708).
12678         
12679 2006-06-22  Edward Hervey  <edward@fluendo.com>
12680
12681         * gst/gstelement.c: (gst_element_pads_activate):
12682         We need to deactivate src pads first and then sink pads.
12683         The reason is the src pads might be blocking while holding the streaming
12684         lock, so we need to deactivate them first so that deactivating the sink
12685         pads doesn't block (since it will require the streaming lock).
12686
12687 2006-06-22  Wim Taymans  <wim@fluendo.com>
12688
12689         * libs/gst/base/gstbasetransform.c:
12690         (gst_base_transform_buffer_alloc):
12691         Forgot to remove two unneeded unrefs.
12692         Simplify a check _is_equal allready checks the obvious case.
12693
12694 2006-06-22  Wim Taymans  <wim@fluendo.com>
12695
12696         * docs/design/part-block.txt:
12697         Some docs about what pad_block should do.
12698
12699 2006-06-22  Wim Taymans  <wim@fluendo.com>
12700
12701         * gst/gstcaps.c: (gst_caps_replace):
12702         Fix crasher when passed NULL. Doc clarification.
12703         Optimize for the trivial case.
12704
12705         * gst/gstpipeline.c: (gst_pipeline_change_state):
12706         Small cleanups.
12707
12708         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12709         Small documentation cleanup.
12710
12711         * libs/gst/base/gstbasetransform.c:
12712         (gst_base_transform_buffer_alloc):
12713         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12714         is what we need and it avoids a whole lot of redundant 
12715         refcount operations.
12716
12717 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12718
12719         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12720
12721         * docs/manual/advanced-dataaccess.xml:
12722           Fix 'Embedding static elements' section to use
12723           GST_PLUGIN_DEFINE_STATIC (#345607).
12724
12725 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12726
12727         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12728           Attempt to 'fix' spuriously failing test case: it seems like the
12729           timeout of half a second is simply too small when the system is under
12730           load otherwise, and the timeout doesn't really seem to serve any
12731           particular purpose here. Give the pipeline a few seconds to preroll
12732           first, and then give it another half a second to go from PAUSED to
12733           PLAYING and marshal the message into the main thread.
12734
12735 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12736
12737         * tools/gst-feedback-m.m:
12738           Don't only use unversioned tools, try versioned tools as well
12739           (#345086).
12740
12741 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12742
12743         * gst/gstbus.c: (gst_bus_class_init):
12744           Fix some typos, make docs more explicit.
12745
12746 2006-06-20  Wim Taymans  <wim@fluendo.com>
12747
12748         * tests/check/gst/gstghostpad.c: (block_callback),
12749         (GST_START_TEST), (gst_ghost_pad_suite):
12750         Added some more ghostpad tests, mainly blocking
12751         and probes.
12752
12753 2006-06-16  Wim Taymans  <wim@fluendo.com>
12754
12755         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12756         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12757         (gst_file_sink_event), (gst_file_sink_render):
12758         * plugins/elements/gstfilesink.h:
12759         Check if we can seek in the file instead of assuming
12760         we always can. Post an error when we are asked to seek in a
12761         non-seekable file (like a fifo). Fixes #343312.
12762         Some cleanups.
12763
12764 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12765
12766         * tools/gst-launch.1.in:
12767           Un-garble (fourcc) bit in filtered caps section.
12768
12769 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12770
12771         * docs/manual/advanced-autoplugging.xml:
12772         * docs/manual/basics-helloworld.xml:
12773         * docs/manual/highlevel-components.xml:
12774           Don't leak bus reference in sample code.
12775
12776 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12777
12778         * autogen.sh:
12779           Add default for new --enable-plugin-docs switch.
12780
12781         * configure.ac:
12782           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12783           Fixes #344039.
12784
12785         * docs/Makefile.am:
12786           Use new ENABLE_PLUGIN_DOCS conditional.
12787
12788 2006-06-14  Wim Taymans  <wim@fluendo.com>
12789
12790         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12791         Make it clear with a FIXME and a real define what the #if 0
12792         previously disabled.
12793
12794 2006-06-14  Wim Taymans  <wim@fluendo.com>
12795
12796         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12797         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12798         * libs/gst/base/gstbasetransform.c:
12799         (gst_base_transform_sink_eventfunc):
12800         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12801         Don't randomly and silently reset a segment when the format 
12802         changes as this is a bug somewhere upstream. Fixes #330379.
12803
12804 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12805
12806         Patch by: Wouter Paesen  <wouter at kangaroot net>
12807
12808         * libs/gst/controller/gstcontroller.c:
12809         (gst_controlled_property_new):
12810           Fix controlling of float properties (#344849).
12811
12812         * tests/check/libs/controller.c:
12813         (gst_test_mono_source_get_property),
12814         (gst_test_mono_source_set_property),
12815         (gst_test_mono_source_class_init), (GST_START_TEST):
12816           While we're at it, add some float stuff to unit test.
12817
12818 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12819
12820         * docs/README:
12821         * docs/images/gdp-header.svg:
12822           add a gdp image
12823         * docs/libs/Makefile.am:
12824         * docs/libs/gdp-header.png:
12825         * libs/gst/dataprotocol/dataprotocol.c:
12826           add it to the API docs
12827         * docs/manual/intro-motivation.xml:
12828           fix typo
12829
12830 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12831
12832         * gst/gst.c: (scan_and_update_registry), (init_post):
12833           If the fork()'ed child process can't write the updated registry cache
12834           file to disk for some reason, make it exit with a failure exit code,
12835           so that the parent can then re-scan the plugins itself and update the
12836           registry structures in memory and work with that (rather than failing
12837           when creating elements because seemingly no plugins are available).
12838           Refactor registry scanning code into separate function for this and
12839           also separate fork() and non-fork() code paths. Fixes #344748.
12840
12841 2006-06-13  Wim Taymans  <wim@fluendo.com>
12842
12843         * docs/manual/advanced-dataaccess.xml:
12844         Fix wrong PluginDesc. Fixes #344755.
12845
12846 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12847
12848         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12849           Fix silly bug that prevented us from creating
12850           ~/.gstreamer-0.10 and writing the registry in one
12851           go (the first call to g_mkstemp() would overwrite the
12852           placeholder in the template string, so the second call
12853           to g_mkstemp() after creating the missing directory
12854           would then error out with 'invalid argument').
12855
12856 2006-06-13  Edward Hervey  <edward@fluendo.com>
12857
12858         * gst/gst.c: (init_post):
12859         Free string.
12860
12861 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12862
12863         * gst/glib-compat-private.h:
12864         * gst/glib-compat.c:
12865         * gst/glib-compat.h:
12866         * gst/gstvalue.c: (gst_value_serialize_flags):
12867           remove GLib 2.6 compatibility code
12868
12869 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12870
12871         * gst/parse/Makefile.am:
12872           Fix build with 'make -j N' even more (#340016).
12873
12874 2006-06-12  Wim Taymans  <wim@fluendo.com>
12875
12876         * docs/gst/gstreamer-sections.txt:
12877         Fix docs.
12878
12879 2006-06-12  Wim Taymans  <wim@fluendo.com>
12880
12881         * gst/gstsegment.c: (gst_segment_set_duration),
12882         (gst_segment_set_last_stop), (gst_segment_set_seek),
12883         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12884         (gst_segment_to_running_time), (gst_segment_clip):
12885         Use G_UNLIKELY to help the compiler a bit.
12886
12887 2006-06-12  Wim Taymans  <wim@fluendo.com>
12888
12889         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12890
12891         * gst/gstevent.c: (gst_event_get_type):
12892         * gst/gstmessage.c:
12893         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12894         (gst_pad_push):
12895         constify quark registration strings. Fixes #344115
12896         Avoid unneeded type checking is _pad_push() by internally
12897         calling gst_pad_chain_unchecked().
12898
12899 2006-06-12  Wim Taymans  <wim@fluendo.com>
12900
12901         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12902         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12903         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12904         (gst_buffer_is_span_fast), (gst_buffer_span):
12905         Init _type for consistency.
12906         Use _FLAGS macro to avoid type check.
12907         Avoid unneeded type checks in subbufer code.
12908
12909 2006-06-12  Wim Taymans  <wim@fluendo.com>
12910
12911         * gst/gst.c: (gst_debug_help):
12912         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12913         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12914         (gst_plugin_feature_list_free):
12915         * gst/gstregistry.c: (gst_registry_add_plugin),
12916         (gst_registry_add_feature), (gst_registry_plugin_filter),
12917         (gst_registry_feature_filter), (gst_registry_find_plugin),
12918         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12919         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12920         * gst/gstregistryxml.c: (load_feature),
12921         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12922         * gst/gstminiobject.c: (gst_mini_object_unref),
12923         (gst_mini_object_replace), (gst_value_mini_object_free),
12924         (gst_value_mini_object_copy):
12925         Use _CAST macros to avoid unneeded type checking.
12926         Added some more G_UNLIKELY.
12927
12928 2006-06-12  Wim Taymans  <wim@fluendo.com>
12929
12930         * gst/gstbuffer.h:
12931         Avoid unneeded type checking.
12932         API: GST_BUFFER_IS_DISCONT
12933
12934         * gst/gstminiobject.h:
12935         Avoid type check in flag accessor.
12936
12937         * gst/gstelementfactory.h:
12938         * gst/gstplugin.h:
12939         * gst/gstpluginfeature.h:
12940         Add _CAST macros.
12941         API: GST_ELEMENT_FACTORY_CAST
12942         API: GST_PLUGIN_CAST
12943         API: GST_PLUGIN_FEATURE_CAST
12944
12945 2006-06-12  Wim Taymans  <wim@fluendo.com>
12946
12947         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12948         (gst_object_unref):
12949         Add G_UNLIKELY in type registration.
12950         Avoid type check in _ref/_unref since that is also
12951         done in glib.
12952
12953 2006-06-12  Wim Taymans  <wim@fluendo.com>
12954
12955         * gst/gsterror.c: (gst_g_error_get_type):
12956         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12957         (gst_static_pad_template_get_type):
12958         * gst/gsttaglist.c: (gst_tag_list_get_type):
12959         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12960         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12961         * gst/gsturi.c: (gst_uri_handler_get_type):
12962         * gst/gstvalue.c: (gst_date_get_type):
12963         * gst/gstxml.c: (gst_xml_get_type):
12964         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12965         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12966         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12967         Add G_UNLIKELY in type registration.
12968
12969 2006-06-12  Wim Taymans  <wim@fluendo.com>
12970
12971         * tools/gst-inspect.c: (print_signal_info):
12972         Properly print enum values.
12973
12974 2006-06-12  Wim Taymans  <wim@fluendo.com>
12975
12976         * gst/gstinfo.c: (gst_debug_set_active),
12977         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12978         * gst/gstinfo.h:
12979         Add some G_[UN]LIKELY.
12980         Maintain __gst_debug_min to avoid formatting the arguments of
12981         debug messages that will be dropped anyway to avoid a lot of 
12982         overhead from the debugging system.
12983
12984 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12985
12986         * po/POTFILES.in:
12987         * po/POTFILES.skip:
12988           add missing files containing translatable strings, tell intltool about
12989           one exception
12990
12991 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12992
12993         * tests/check/libs/.cvsignore:
12994         add test-binary to ignore list
12995
12996 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12997
12998         * docs/libs/gstreamer-libs-docs.sgml:
12999         reorder (put dp into a chapter) and indent
13000
13001 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13002
13003         * configure.ac:
13004           back to HEAD
13005
13006 === release 0.10.8 ===
13007
13008 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
13009
13010         * configure.ac:
13011           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
13012
13013 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13014
13015         * gst/gst.c: (init_post):
13016           move pid declaration to declaration block
13017
13018 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13019
13020         * gst/gst.c: (init_post):
13021           use _exit() instead of exit() in our forked child; this ensures
13022           that none of the registered exit handlers from whatever is using
13023           GStreamer get executed.  This fixes gnome-mixer-applet failing
13024           to load, because ORBit would shut down.
13025           Spotted by: Edward Hervey  <edward@fluendo.com>
13026           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
13027           Fixes #344474
13028
13029 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13030
13031         * configure.ac:
13032           back to TRUNK
13033
13034 === release 0.10.7 ===
13035
13036 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
13037
13038         * configure.ac:
13039           releasing 0.10.7, "Soepeke, ik zie ou"
13040
13041 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13042
13043         * configure.ac:
13044         * po/af.po:
13045         * po/az.po:
13046         * po/bg.po:
13047         * po/ca.po:
13048         * po/cs.po:
13049         * po/de.po:
13050         * po/en_GB.po:
13051         * po/fr.po:
13052         * po/it.po:
13053         * po/nb.po:
13054         * po/nl.po:
13055         * po/ru.po:
13056         * po/sq.po:
13057         * po/sr.po:
13058         * po/sv.po:
13059         * po/tr.po:
13060         * po/uk.po:
13061         * po/vi.po:
13062         * po/zh_CN.po:
13063         * po/zh_TW.po:
13064         * win32/common/config.h:
13065           0.10.6.2 prerelease
13066
13067 2006-06-07  Wim Taymans  <wim@fluendo.com>
13068
13069         * gst/gstindex.c: (gst_index_gtype_resolver):
13070         * tools/gst-xmlinspect.c: (print_plugin_info):
13071         Fix leak spotted by coverity checker. Fixes #343827
13072         Fix another other leak found by paolo borelli.
13073
13074 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13075
13076         * libs/gst/dataprotocol/dataprotocol.c:
13077         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13078         (gst_dp_version_get_type), (gst_dp_init),
13079         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
13080         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
13081         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
13082         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
13083         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
13084         (gst_dp_packetizer_free):
13085         * libs/gst/dataprotocol/dataprotocol.h:
13086           API: add a GstDPPacketizer object, and create/free functions
13087           API: add GstDPVersion enum
13088           Add 1.0 event function that uses the string serialization
13089           Serialize more useful buffer flags
13090           Fixes #343988
13091
13092 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13093
13094         * tests/check/Makefile.am:
13095         * tests/check/gst/gstabi.c:
13096         * tests/check/gst/struct_ppc64.h:
13097         * tests/check/libs/libsabi.c:
13098         * tests/check/libs/struct_ppc64.h:
13099           add ppc64 structure sizes
13100
13101 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13102
13103         * tests/check/Makefile.am:
13104         * tests/check/gst/gstabi.c:
13105         * tests/check/gst/struct_x86_64.h:
13106         * tests/check/libs/libsabi.c:
13107         * tests/check/libs/struct_x86_64.h:
13108           generate and add structure size lists for x86_64
13109
13110 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13111
13112         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
13113         * libs/gst/check/gstcheck.h:
13114           factor out the method from tests that checks size of structures,
13115           and add code to generate the header containing these sizes
13116         * tests/check/gst/gstabi.c: (GST_START_TEST):
13117         * tests/check/gst/struct_i386.h:
13118         * tests/check/libs/libsabi.c: (GST_START_TEST):
13119         * tests/check/libs/struct_i386.h:
13120           use it
13121
13122 2006-06-06  Michael Smith  <msmith@fluendo.com>
13123
13124         * gst/gstsegment.h:
13125           Don't use c++-style comments, fixes #343929
13126
13127 2006-06-05  Edward Hervey  <edward@fluendo.com>
13128
13129         * gst/gst.c:
13130         plugin_paths is not used if we build without registry support.
13131
13132         * gst/gstsegment.c: (gst_segment_copy): 
13133         _copy() was always returning NULL...
13134
13135 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13136
13137         * libs/gst/dataprotocol/dataprotocol.c:
13138         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13139         (gst_dp_packet_from_event):
13140           factor out CRC code
13141
13142 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13143
13144         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
13145           make sure we unset caps
13146
13147 2006-06-02  Michael Smith  <msmith@fluendo.com>
13148
13149         * libs/gst/check/gstcheck.c: (gst_check_init),
13150         (gst_check_chain_func):
13151         * libs/gst/check/gstcheck.h:
13152           Add a cond/mutex to the check support lib, signal this whenever we
13153           add to the buffers list. This will allow tests to not busy-wait on
13154           the buffer-list.
13155
13156 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13157
13158         * libs/gst/dataprotocol/dataprotocol.c:
13159         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13160         (gst_dp_packet_from_event):
13161           factor out some common header init code
13162
13163 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13164
13165         * docs/libs/gstreamer-libs-sections.txt:
13166         * docs/libs/tmpl/gstdataprotocol.sgml:
13167         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
13168         * libs/gst/dataprotocol/dataprotocol.h:
13169           API: make gst_dp_crc() public
13170
13171 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
13172
13173         * plugins/indexers/gstindexers.c: (plugin_init):
13174         conditionally register fileindexer (fixes #343598)
13175
13176 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
13177
13178         * gst/gsttagsetter.h:
13179         Can't cast ifaces to a class
13180
13181         * libs/gst/net/gstnetclientclock.h:
13182         * libs/gst/net/gstnettimeprovider.h:
13183         * plugins/elements/gstfakesink.h:
13184         * plugins/elements/gstfakesrc.h:
13185         * plugins/elements/gstfdsink.h:
13186         * plugins/elements/gstfdsrc.h:
13187         * plugins/elements/gstfilesink.h:
13188         * plugins/elements/gstfilesrc.h:
13189         * plugins/elements/gstidentity.h:
13190         * plugins/elements/gstqueue.h:
13191         * plugins/elements/gsttee.h:
13192         * plugins/indexers/gstfileindex.c:
13193         * plugins/indexers/gstmemindex.c:
13194         * tests/old/examples/plugins/example.h:
13195         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
13196
13197 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13198
13199         * libs/gst/dataprotocol/dataprotocol.c:
13200         (gst_dp_header_from_buffer):
13201           make sure we zero the whole ABI-compatible area
13202
13203 2006-06-01  Wim Taymans  <wim@fluendo.com>
13204
13205         Patch by: Alessandro Decina <alessandro at nnva dot org>
13206
13207         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
13208         Make sure the EOS flag is cleared from pads after a flush
13209         or stop. Fixes #343538.
13210
13211         * tests/check/libs/collectpads.c: (GST_START_TEST),
13212         (gst_collect_pads_suite):
13213         Added test for collectpads reusage after EOS.
13214
13215 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
13216
13217         * gst/gst.c:
13218          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
13219         * win32/common/libgstbase.def:
13220          export gst_collect_pads_set_flushing
13221         * win32/common/libgstreamer.def:
13222          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
13223          gst_value_fraction_multiply
13224         * win32/vs6/gst_inspect.dsp:
13225          add a link to intl.lib
13226
13227 2006-05-30  Wim Taymans  <wim@fluendo.com>
13228
13229         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13230         (gst_collect_pads_chain):
13231         Handle the case where a pad is removed from the collection
13232         that could cause the other pads to become collectable.
13233
13234 2006-05-30  Wim Taymans  <wim@fluendo.com>
13235
13236         * gst/gstelement.c:
13237         Clarify the use of _release_request_pad() and
13238         _get_request_pad() a bit better.
13239
13240         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
13241         (gst_adapter_take_buffer):
13242         Fix some doc and comment typos.
13243
13244 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13245
13246         * docs/gst/gstreamer-sections.txt:
13247         * docs/libs/gstreamer-libs-sections.txt:
13248           add declared symbols
13249
13250 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
13251
13252         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13253         Add debug that can be enabled using a #define at the top of the file,
13254         for dumping stats about how late/early we were when waking up from
13255         waiting on the clock.
13256
13257 2006-05-30  Wim Taymans  <wim@fluendo.com>
13258
13259         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
13260         When rebuilding the pad list, don't leak the previous list.
13261
13262 2006-05-30  Wim Taymans  <wim@fluendo.com>
13263
13264         Patch by: Lutz Mueller <lutz at topfrose dot de>
13265
13266         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13267         (gst_base_src_get_query_types), (gst_base_src_update_length):
13268         Publish supported query types.
13269         Update last_stop field in get_range mode so the position
13270         query works. Fixes #342321.
13271
13272 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
13273
13274         * docs/gst/gstreamer-sections.txt:
13275         * gst/gsttaglist.c: (_gst_tag_initialize):
13276         * gst/gsttaglist.h:
13277           API: add GST_TAG_PREVIEW_IMAGE (#343341).
13278
13279 2006-05-30  Wim Taymans  <wim@fluendo.com>
13280
13281         Patch by: Alessandro Decina <alessandro at nnva dot org>
13282
13283         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13284         Unlock mutex when removing an unknown pad.
13285         Fixes #343334.
13286
13287         * tests/check/Makefile.am:
13288         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13289         (push_event), (setup), (teardown), (GST_START_TEST),
13290         (gst_collect_pads_suite), (main):
13291         Added collecpads check, disabled for now as check crashes for
13292         some reason.
13293
13294 2006-05-29  Wim Taymans  <wim@fluendo.com>
13295
13296         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13297         Don't leak pads lists.
13298
13299 2006-05-29  Wim Taymans  <wim@fluendo.com>
13300
13301         * docs/libs/gstreamer-libs-sections.txt:
13302         * libs/gst/base/gstcollectpads.c:
13303         (gst_collect_pads_set_flushing_unlocked),
13304         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13305         (gst_collect_pads_stop):
13306         * libs/gst/base/gstcollectpads.h:
13307         API: gst_collect_pads_set_flushing()
13308         Added api to set the pads to flushing, useful for seeking
13309         code in elements using collectpads.
13310         Clear segment when receiving a flush.
13311
13312 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
13313
13314         * gst/gst.c: (add_path_func), (init_post):
13315           Don't scan registry paths passed via --gst-plugin-path immediately
13316           (will crash, because absolutely nothing is set up and no types are
13317           registered etc.); do this later in init_post(). Fixes #343057.
13318
13319 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13320
13321         * gst/gst.c: (init_post):
13322           if we have fork, fork while reading/rebuilding the registry
13323           so the parent doesn't take the hit of having all plugins loaded
13324           in memory.  Fixes #342777.
13325         * configure.ac:
13326           Check if we have fork()
13327         * win32/common/config.h.in:
13328           no fork() on win32
13329
13330 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13331
13332         * plugins/elements/gstelements.c:
13333         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13334         (gst_file_src_init), (gst_file_src_set_property),
13335         (gst_file_src_get_property), (gst_file_src_start):
13336         * plugins/elements/gstfilesrc.h:
13337           API: GstFileSrc::use-mmap
13338
13339         Add a use-mmap property to enable easier testing of all code paths.
13340         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13341         in the absence of gnomevfssrc. (Closes #340501)
13342
13343 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13344
13345         * tools/gst-inspect.c:
13346         Add missing include, removes warning of ngettext not being defined on
13347         some arches.
13348
13349 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13350
13351         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13352         Handle NULL input and output pointers silently as a failed conversion,
13353         rather than g_warnings.
13354
13355 2006-05-25  Wim Taymans  <wim@fluendo.com>
13356
13357         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13358         Initialize variable before using. Fixes #342820.
13359
13360 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
13361
13362         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13363           Fix off-by-one bug that would only allow peeks of N-1 bytes
13364           from the start even if the buffer to typefind on contains
13365           in fact N bytes of data (makes vorbis typefinding from a
13366           vorbis identification header buffer work).
13367
13368         * tests/check/Makefile.am:
13369         * tests/check/libs/.cvsignore:
13370         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13371         (gst_typefindhelper_suite), (main), (foobar_typefind),
13372         (plugin_init):
13373           Add very basic unit test for gst_type_find_helper_for_buffer()
13374           that checks for the problem fixed above.
13375
13376 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13377
13378         * tools/gst-inspect.c: (print_interfaces),
13379         (print_element_properties_info), (print_element_list), (main):
13380           add more translatable strings
13381
13382 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
13383
13384         Patch by: Julien Moutte  <julien at moutte net>
13385
13386         * docs/gst/gstreamer-sections.txt:
13387           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13388           
13389         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13390         (gst_fake_sink_preroll):
13391         * plugins/elements/gstfakesink.h:
13392           API: Add new GstFakeSink::preroll-handoff signal (#337100).
13393
13394 2006-05-23  Wim Taymans  <wim@fluendo.com>
13395
13396         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13397         * gst/gstpad.h:
13398         Added _CUSTOM error and success GstFlowReturn that can be
13399         used be elements internally. 
13400         Added macro to check for SUCCESS flowreturns.
13401         API: GST_FLOW_CUSTOM_SUCCESS
13402         API: GST_FLOW_CUSTOM_ERROR
13403         API: GST_FLOW_IS_SUCCESS
13404
13405         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13406         Added check for GstFlowReturn sanity.
13407
13408 2006-05-23  Wim Taymans  <wim@fluendo.com>
13409
13410         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13411
13412         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13413         (gst_collect_pads_event):
13414         clear/reset segment info in FLUSH_STOP.
13415         Fixes #336929.
13416
13417 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
13418
13419         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13420         (gst_collect_pads_check_collected):
13421         Flush queued buffer on _stop(), fixes playing again (#342454)
13422
13423 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13424
13425         * tests/check/gst/gststructure.c: (GST_START_TEST),
13426         (gst_structure_suite):
13427           add a test for a complete structure
13428
13429 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13430
13431         * docs/faq/developing.xml:
13432         * docs/faq/faq.xml:
13433         * docs/faq/troubleshooting.xml:
13434         * docs/faq/using.xml:
13435           Some minor FAQ updates that won't change the fact that
13436           our FAQ is badly structured, full of information hardly
13437           anyone new to GStreamer needs to know and lacking lots
13438           of information people constantly ask for.
13439           
13440 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
13441
13442         * gst/gstpad.c: (gst_pad_set_caps):
13443           Short-circuit gst_pad_set_caps if setting the existing
13444           caps pointer again, and avoid printing debug and 
13445           reffing/unreffing the caps.
13446
13447         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13448           There's actually no need to set the caps before pushing -
13449           the acceptcaps method will handle it anyway.
13450
13451 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13452
13453         * docs/gst/gstreamer-sections.txt:
13454         * win32/common/libgstreamer.def:
13455         * gst/gstutils.c: (gst_element_seek_simple):
13456         * gst/gstutils.h:
13457           API: add gst_element_seek_simple() (#342238).
13458
13459 2006-05-18  Edward Hervey  <edward@fluendo.com>
13460
13461         * gst/gsttypefind.c: (gst_type_find_get_type):
13462         * gst/gsttypefind.h:
13463         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13464         registered for GstTypeFind pointers. This allows wrapping the structure
13465         in bindings (i.e. gst-python).
13466
13467 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13468
13469         * gst/gsttagsetter.c:
13470           Docs additions and fixes (see #339918).
13471
13472 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
13473
13474         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13475         The caps intersection algorithm can produce multiple copies of the
13476         caps. Until that is fixed, we need to simplify the result to be
13477         sure whether the allowed caps are fixed or not.
13478
13479         * plugins/elements/gstqueue.c: (gst_queue_init),
13480         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13481         (gst_queue_push_one):
13482         Proxied buffer alloc should not set the caps on the source pad.
13483         When pushing buffers, we always accept the caps change that triggers.
13484         This prevents negotiation errors caused by caps changing mid-stream 
13485         and then being refused on our source pad (because upstream is now
13486         refusing those caps).
13487
13488 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13489
13490         * tests/examples/helloworld/helloworld.c: (main):
13491           Must plug audioconvert and audioresample between decoder
13492           and audio sink.
13493
13494 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
13495
13496         * gst/gstregistryxml.c: (read_string), (load_pad_template),
13497         (load_feature), (load_plugin):
13498         Allow empty strings for some of the plugin fields so we don't 
13499         drop valid plugin entries that were written out correctly
13500         (Fixes #341479)
13501
13502 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
13503         
13504         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13505           Use g_remove and g_rename instead of remove and rename that don't 
13506           handle utf8 characters. rename was failing for users who had specific
13507           characters in their name then the registry was built at each 
13508           gstreamer init.
13509         * win32/vs6/gst_inspect.dsp:
13510         * win32/vs6/gst_launch.dsp:
13511         * win32/vs6/libgstbase.dsp:
13512         * win32/vs6/libgstcoreelements.dsp:
13513         * win32/vs6/libgstreamer.dsp:
13514           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
13515           build of libgstreamer and clean unused libraries in projects link 
13516           settings.
13517
13518 2006-05-17  Edward Hervey  <edward@fluendo.com>
13519
13520         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13521         The queue is not responsible for pushing an EOS when receiving a fatal
13522         flow error. It's up to the real element driving the pipeline to do that.
13523
13524 2006-05-16  Edward Hervey  <edward@fluendo.com>
13525
13526         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13527         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13528         buffer returned a fatal error. It should just send an EOS and stop
13529         its task.
13530         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13531         when pushing buffers on the queue and will be able to handle the event.
13532
13533 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
13534
13535         * docs/manual/basics-bins.xml:
13536         * docs/manual/basics-init.xml:
13537           Fix typos and minor errors in sample code (#341856).
13538
13539 2006-05-16  Wim Taymans  <wim@fluendo.com>
13540
13541         * docs/design/part-qos.txt:
13542         Fix indexes in formulas to make more sense.
13543
13544 2006-05-15  Wim Taymans  <wim@fluendo.com>
13545
13546         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13547         Don't report POSITION based on clock time if sync is
13548         disabled in a sink.
13549
13550 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
13551
13552         * gst/gstobject.h:
13553           Add cast to make compiler happy - refcount variable was a gint
13554           in GstObject but is a guint in GObject and g_atomic_int_get()
13555           wants a gint *.
13556
13557 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13558
13559         * gst/parse/Makefile.am:
13560           chain commands using &&, which also makes parallel make work
13561
13562 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
13563
13564         * docs/gst/gstreamer-sections.txt:
13565         * gst/gstevent.c:
13566         * gst/gstevent.h:
13567         * gst/gstmessage.h:
13568           Minor docs fixes.
13569
13570 === release 0.10.6 ===
13571
13572 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
13573
13574         * configure.ac:
13575           releasing 0.10.6, "Take the cannoli"
13576
13577 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13578
13579         * tools/gst-launch.c: (print_tag):
13580           Fix use of uninitialized variable in the hypothetical
13581           case that some broken plugin creates a GST_TAG_IMAGE
13582           tag containing a NULL buffer (#341667).
13583
13584 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13585
13586         * tools/gst-launch.c: (print_tag):
13587           Print something more intelligible for image tags when
13588           using the -t switch (#341556).
13589
13590 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13591
13592         * Makefile.am:
13593           updates for win32
13594         * configure.ac:
13595           define GST_MAJORMINOR so we have it available in win32/common/config.h
13596           Possibly remove it from our Makefile.am files later
13597         * win32/common/config.h:
13598         * win32/common/config.h.in:
13599           added GST_MAJORMINOR
13600         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13601         * win32/common/gstversion.h:
13602           updated
13603
13604 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13605
13606         * win32/MANIFEST:
13607           Update win32 files listing.
13608         * win32/common/gstversion.h:
13609           Add GST_MAJORMINOR definition.
13610         * win32/common/libgstreamer.def:
13611           Add new exported functions.
13612           
13613 2006-05-12  Michael Smith  <msmith@fluendo.com>
13614
13615         * gst/gstplugin.c: (gst_plugin_load_file):
13616           If an so file has no plugin entry point, unload the module.
13617
13618 2006-05-11  Wim Taymans  <wim@fluendo.com>
13619
13620         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13621         (gst_queue_set_property):
13622         Don't forget to signal the _chain or _loop function 
13623         when the queue size or thresholds change since that might
13624         cause them to make progres again.
13625
13626 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13627
13628         * gst/gstclock.c: (gst_clock_class_init):
13629         * gst/gstindex.c: (gst_index_class_init):
13630         * gst/gstobject.c: (gst_object_class_init):
13631         * gst/gstpad.c: (gst_pad_class_init):
13632         * gst/gstpipeline.c: (gst_pipeline_class_init):
13633         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13634         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13635         * libs/gst/base/gstbasetransform.c:
13636         (gst_base_transform_class_init):
13637         * libs/gst/net/gstnetclientclock.c:
13638         (gst_net_client_clock_class_init):
13639         * libs/gst/net/gstnettimeprovider.c:
13640         (gst_net_time_provider_class_init):
13641         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13642         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13643         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13644         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13645         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13646         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13647         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13648         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13649         * plugins/elements/gsttee.c: (gst_tee_class_init):
13650         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13651         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13652           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13653
13654 2006-05-11  Wim Taymans  <wim@fluendo.com>
13655
13656         * gst/gstbuffer.c: (_gst_buffer_initialize):
13657         Register subbufer along with the buffer type so that
13658         it does not accidentally gets registered from N
13659         different streaming threads in a non threadsafe way.
13660
13661 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13662
13663         * gst/gstbuffer.h:
13664         * gst/gstevent.h:
13665         * gst/gstmessage.h:
13666           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13667           gst_event_ref() and gst_message_ref() functions again
13668           (ugly hack, please do fix if there's a better way besides
13669           overrides.txt, which doesn't seem to work).
13670
13671 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13672
13673         * libs/gst/check/gstcheck.h:
13674           add an assert for setting state to avoid lots of repetitive code
13675           in the future
13676
13677 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13678
13679         * gst/gstvalue.c: (gst_value_serialize_flags):
13680           fix a leak if no flags are set
13681         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13682           fix leak in tests
13683
13684 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13685
13686         * docs/manual/basics-pads.xml:
13687           Expand a bit on caps and filtered links and update
13688           examples that were still using the no longer existing
13689           gst_pad_link_filtered() (#338206).
13690
13691 2006-05-10  Wim Taymans  <wim@fluendo.com>
13692
13693         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13694         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13695         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13696         (gst_collect_pads_stop):
13697         * libs/gst/base/gstcollectpads.h:
13698         No need to call _stop in _finalize.
13699         Iterate the main pad list in _finalize.
13700         Added some more debug.
13701         Free lists and data in the right order.
13702         Also free data whem doing _remove_pad when stopped for
13703         backward compatibility protect ::started with PAD_LOCK as
13704         well.
13705
13706 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13707
13708         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13709         (gst_structure_parse_value):
13710           add some comments
13711           rename a method so that it actually says what it does better
13712
13713 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13714
13715         * gst/gstevent.c: (_gst_event_initialize):
13716         * gst/gstformat.c: (_gst_format_initialize):
13717           make sure some essential types used by events are registered
13718           as part of gst_init()
13719         * gst/gstvalue.c: (gst_value_serialize_flags):
13720           if no flags are set, serialize them to a value that represents NONE
13721           so that deserializing them works
13722         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13723           add tests for serialization and deserialization of flags
13724
13725 2006-05-10  Wim Taymans  <wim@fluendo.com>
13726
13727         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13728         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13729         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13730         (gst_collect_pads_event), (gst_collect_pads_chain):
13731         Update docs.
13732         Better debug info.
13733         Catch and return errors from the collect function
13734         Refuse data on eos pads.
13735
13736 2006-05-10  Edward Hervey  <edward@fluendo.com>
13737
13738         * gst/gstinterface.h:
13739         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13740         GInterface type checking.
13741         They were previously using non-defined macros.
13742
13743 2006-05-09  Wim Taymans  <wim@fluendo.com>
13744
13745         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13746         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13747         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13748         (gst_collect_pads_start), (gst_collect_pads_stop),
13749         (gst_collect_pads_peek), (gst_collect_pads_pop),
13750         (gst_collect_pads_available), (gst_collect_pads_read),
13751         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13752         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13753         (gst_collect_pads_chain):
13754         * libs/gst/base/gstcollectpads.h:
13755         Clean up the mess that is collectpads, add comments and
13756         FIXMEs where needed.
13757         Maintain a separate pad list so we can add pads while
13758         collecting the other ones. For this we need a new separate 
13759         lock (see comics).
13760         Fix memory leak in finalize.
13761         Refactor some weird code to set/unset pad flushing flags, mark
13762         with comments.
13763         Don't crash in _available, _read, _flush when we're EOS.
13764
13765         * tests/check/libs/.cvsignore:
13766         Ignore adapter check binary.
13767
13768 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13769
13770         * gst/gstindex.c: (gst_index_resolver_get_type):
13771         * plugins/elements/gstfakesink.c:
13772         (gst_fake_sink_state_error_get_type):
13773         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13774         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13775         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13776           Const-ify GEnumValue arrays.
13777
13778 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13779
13780         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13781           Add test case for flags + gst_buffer_make_metadata_writable().
13782
13783 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13784
13785         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13786           gst_buffer_make_metadata_writable() should maintain the
13787           buffer flags (those that make sense at least) (see #340859).
13788
13789 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13790
13791         * tools/gst-inspect.c:
13792         * tools/gst-launch.c:
13793         * tools/gst-typefind.c:
13794         * tools/gst-xmlinspect.c:
13795         * tools/tools.h:
13796           Fix up includes: need to include stdlib.h in tools.h for exit().
13797
13798 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13799
13800         * gst/gsttaglist.c: (_gst_tag_initialize):
13801         * gst/gsttaglist.h:
13802           API: add GST_TAG_IMAGE tag (#340721).
13803
13804 2006-05-08  Wim Taymans  <wim@fluendo.com>
13805
13806         * gst/gstquery.c:
13807         Added some docs for the segment query.
13808
13809 2006-05-08  Wim Taymans  <wim@fluendo.com>
13810
13811         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13812         (gst_base_src_loop), (gst_base_src_change_state):
13813         Always push non-flushing serialized events in the streaming 
13814         thread.
13815
13816 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13817
13818         * gst/gsterror.c: (_gst_stream_errors_init):
13819           Add a missing error string.
13820
13821 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13822
13823         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13824         Add applied_rate to the debug
13825
13826         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13827         Copy applied_rate into the outgoing NEWSEGMENT event
13828
13829 2006-05-08  Wim Taymans  <wim@fluendo.com>
13830
13831         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13832
13833         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13834         (gst_base_sink_change_state):
13835         call ::unlock before taking the PREROLL_LOCK so we can safely
13836         handle elements that lock in ::render.
13837         Fixes #340174.
13838
13839 2006-05-08  Edward Hervey  <edward@fluendo.com>
13840
13841         * autogen.sh: (CONFIGURE_DEF_OPT): 
13842         Darwin's libtoolize is in fact called glibtoolize.
13843         Adding glibtoolize to the list of accepted names for libtoolize.
13844
13845 2006-05-08  Wim Taymans  <wim@fluendo.com>
13846
13847         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13848         Unify error handling, don't post an error message
13849         when a push() returns EOS but perform our normal EOS
13850         handling code. Fixes #340772.
13851
13852 2006-05-08  Wim Taymans  <wim@fluendo.com>
13853
13854         * docs/design/part-overview.txt:
13855         Make upsteam/downstream concepts more clear.
13856         Give an example of serialized/non-serialized events.
13857
13858         * docs/design/part-events.txt:
13859         * docs/design/part-streams.txt:
13860         Mention applied_rate.
13861
13862         * docs/design/part-trickmodes.txt:
13863         Mention applied rate, flesh out some more use cases.
13864
13865         * gst/gstevent.c: (gst_event_new_new_segment),
13866         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13867         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13868         (gst_event_parse_tag), (gst_event_new_buffer_size),
13869         (gst_event_parse_buffer_size), (gst_event_new_qos),
13870         (gst_event_parse_qos), (gst_event_parse_seek),
13871         (gst_event_new_navigation):
13872         * gst/gstevent.h:
13873         Add applied_rate field to NEWSEGMENT event.
13874         API: gst_event_new_new_segment_full()
13875         API: gst_event_parse_new_segment_full()
13876
13877         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13878         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13879         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13880         * gst/gstsegment.h:
13881         Add applied_rate to GstSegment structure.
13882         Make calculation of stream_time and running_time more correct
13883         wrt rate/applied_rate.
13884         Add some more docs.
13885         API: GstSegment::applied_rate field
13886         API: gst_segment_set_newsegment_full();
13887
13888         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13889         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13890         * libs/gst/base/gstbasetransform.c:
13891         (gst_base_transform_sink_eventfunc),
13892         (gst_base_transform_handle_buffer):
13893         Parse and use applied_rate in the GstSegment field.
13894
13895         * tests/check/gst/gstevent.c: (GST_START_TEST):
13896         Add check for applied_rate field.
13897
13898         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13899         (gstsegments_suite):
13900         Add more checks for various GstSegment operations.
13901
13902 2006-05-08  Wim Taymans  <wim@fluendo.com>
13903
13904         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13905         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13906         (gst_base_sink_get_position), (gst_base_sink_change_state):
13907         Store the sync time of the buffer end position separatly in a
13908         new variable eos_rtime so we can properly sync the EOS event.
13909         Fixes #340697.
13910         Fix the docs for gst_base_sink_set_qos_enabled().
13911         Don't set segment start to invalid value when we receive a 
13912         non TIME newsegment.
13913         get closer to handling position reporting for negative rates 
13914         correctly.
13915
13916 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13917
13918         * gst/gstcaps.c:
13919         Docs about how to print caps for debug purposes.
13920
13921         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13922         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13923
13924 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13925
13926         * gst/gstelement.c:
13927           use full enum names and preprend a '%' in docs strings to make recent 
13928           gtk-doc turn that into a link
13929
13930 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13931
13932         * docs/manual/basics-bins.xml:
13933         * docs/manual/basics-bus.xml:
13934         * docs/manual/basics-pads.xml:
13935           Some typo fixes, some additions, some clarifications. 
13936
13937 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13938
13939         * tools/gst-inspect.c: (main):
13940         * tools/gst-launch.c: (main):
13941         * tools/gst-run.c: (main):
13942         * tools/gst-typefind.c: (main):
13943         * tools/gst-xmlinspect.c: (main):
13944           Use the string passed to g_option_context_new() for
13945           what it's intended for - the program name is already
13946           printed elsewhere.
13947
13948 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13949
13950         * tools/Makefile.am:
13951         * tools/gst-inspect.c: (main):
13952         * tools/gst-launch.c: (main):
13953         * tools/gst-xmlinspect.c: (main):
13954         * tools/tools.h:
13955           Add back --version command line option (#340460).
13956
13957         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13958           Add --version option and use GOption for argument parsing; refactor a
13959           bit; accept directories as arguments and recurse into them; lastly,
13960           print a decent error message when things go wrong.
13961
13962 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13963
13964         * docs/manual/basics-bins.xml:
13965         Don't mention GstThread (#340611)
13966         * docs/manual/basics-elements.xml:
13967         Update link to GObject tutorial (#340607)
13968         
13969 2006-05-05  Wim Taymans  <wim@fluendo.com>
13970
13971         * gst/gstbuffer.h:
13972         * gst/gstminiobject.c:
13973         Add note about refcounting and miniobject/buffer writeability
13974         to docs. Fixes #340604
13975
13976         * gst/gstelementfactory.h:
13977         Added some explanation about @klass.
13978
13979 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13980
13981         * docs/manual/intro-motivation.xml:
13982         * docs/manual/manual.xml:
13983         Avoid CORBA & Bonobo references (#340598)
13984
13985 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13986
13987         * docs/manual/basics-bus.xml:
13988         * docs/manual/basics-pads.xml:
13989         Fix up some inaccuracies and omissions (#340609)
13990         
13991 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13992
13993         * gst/gstghostpad.c:
13994           Small typo in docs (#340625)
13995
13996 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13997
13998         * gst/parse/Makefile.am:
13999           Make 'make -j' proof (see #340698).
14000
14001 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
14002
14003         * configure.ac:
14004           Require GLib-2.8 here as well.
14005
14006 2006-05-05  Wim Taymans  <wim@fluendo.com>
14007
14008         * gst/glib-compat.c:
14009         * gst/gst.c: (init_pre):
14010         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
14011         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
14012         (gst_object_dispatch_properties_changed):
14013         * gst/gstobject.h:
14014         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14015         * gst/gststructure.c: (gst_structure_set_valist):
14016         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14017         Remove pre glib2.8 compatibility, fixes #340508
14018
14019 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
14020
14021         * gst/gsttaglist.h:
14022           Mention type of tags in doc blurbs.
14023
14024 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
14025
14026         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14027         (gst_pad_configure_src), (gst_pad_push):
14028         Restore acceptcaps checking behaviour now that good plugins have
14029         been released.
14030
14031 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
14032
14033         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
14034
14035         * gst/gst.c:
14036         * gst/gstbus.c:
14037         * gst/gstclock.c:
14038         * gst/gstevent.c:
14039         * gst/gstformat.c:
14040         * gst/gstmessage.c:
14041         * gst/gstparse.c:
14042         * gst/gstquery.c:
14043         * gst/gstutils.c:
14044         * gst/parse/Makefile.am:
14045         * libs/gst/base/gstadapter.c:
14046         * libs/gst/base/gstbasesrc.c:
14047         * libs/gst/base/gstpushsrc.c:
14048         * libs/gst/base/gsttypefindhelper.c:
14049         * plugins/elements/gstfakesrc.c:
14050         * plugins/elements/gstidentity.c:
14051           Make sure gstprivate.h and/or config.h are
14052           always included first, otherwise some of our
14053           defines (like _FILE_OFFSET_BITS) might be
14054           redefined in the system headers. Fixes build
14055           on opensolaris (#340016).
14056
14057 2006-05-04  Wim Taymans  <wim@fluendo.com>
14058
14059         * docs/libs/gstreamer-libs-sections.txt:
14060         API: addition: gst_adapter_take_buffer()
14061         
14062         * libs/gst/base/gstadapter.c: (gst_adapter_push),
14063         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
14064         (gst_adapter_available_fast):
14065         * libs/gst/base/gstadapter.h:
14066         Prepare for optimizing the hell out of this hugely inefficient
14067         piece of code. 
14068         Added gst_adapter_take_buffer() so we can at least start thinking
14069         about subbuffering and merging.
14070         Added some comments.
14071
14072         * tests/check/Makefile.am:
14073         * tests/check/libs/adapter.c: (GST_START_TEST),
14074         (gst_adapter_suite), (main):
14075         Added GstAdapter check.
14076
14077 2006-05-04  Wim Taymans  <wim@fluendo.com>
14078
14079         * docs/design/part-overview.txt:
14080         Fix some typos, add blurb about buffer flags.
14081
14082 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14083
14084         * docs/libs/gstreamer-libs-sections.txt:
14085           make sure GstBaseTransformClass shows up in the docs
14086         * libs/gst/base/gstbasetransform.c:
14087         * libs/gst/base/gstbasetransform.h:
14088           move docs so gtk-doc picks it up now
14089
14090 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
14091
14092         * docs/libs/gstreamer-libs-sections.txt:
14093           add missing symbols to docs
14094
14095 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
14096
14097         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14098           back out the newsegment handling change, see #340060 for ongoing
14099           discussion
14100
14101 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
14102
14103         * tools/gst-run.c: (get_candidates), (main):
14104           Fix wrong g_file_test() usage (see glib docs for why it doesn't
14105           work); fix typo in error message. Fixes #340079.
14106
14107 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14108
14109         * common/Makefile.am:
14110         * docs/Makefile.am:
14111         * docs/faq/Makefile.am:
14112         * docs/gst/Makefile.am:
14113         * docs/libs/Makefile.am:
14114         * docs/manual/Makefile.am:
14115         * docs/plugins/Makefile.am:
14116         * docs/pwg/Makefile.am:
14117         * docs/slides/Makefile.am:
14118         * docs/upload.mak:
14119         * common/upload.mak:
14120           move upload.mak to common
14121
14122 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14123
14124         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14125           add more asserts on refcounts
14126           do more cleanup at end of tests
14127           fix test leaks showing in FC5
14128
14129 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
14130
14131         * plugins/elements/gsttypefindelement.c:
14132         (gst_type_find_element_handle_event):
14133         reverted wrong change and reflowed code to avoid others falling into
14134         this trap
14135
14136 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14137
14138         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14139           fix changelog entry about last collectpads change,
14140           add notes about proper fix
14141
14142 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14143
14144         * gst/gst.c:
14145         * gst/gstregistry.c: (gst_registry_scan_path_level),
14146         (gst_registry_scan_path):
14147         * gst/gstregistry.h:
14148           only write out registry if it has changed, fixes #338339
14149
14150 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14151
14152         * gst/gstbin.c:
14153         * gst/gstpipeline.c:
14154         * plugins/elements/gstcapsfilter.c:
14155         * plugins/elements/gstfakesink.c:
14156         * plugins/elements/gstfakesrc.c:
14157         * plugins/elements/gstfdsink.c:
14158         * plugins/elements/gstfdsrc.c:
14159         * plugins/elements/gstfilesink.c:
14160         * plugins/elements/gstfilesrc.c:
14161         * plugins/elements/gstidentity.c:
14162         * plugins/elements/gstqueue.c:
14163         * plugins/elements/gsttee.c:
14164         * plugins/elements/gsttypefindelement.c:
14165         (gst_type_find_element_handle_event):
14166           make GstElementDetails const
14167
14168 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14169
14170         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
14171         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14172         (gst_collect_pads_is_collected), (gst_collect_pads_event):
14173           more detailed debug and formatting cleanup,
14174           forward newsegments to src-pad (so that e.g. adder not eats them)
14175
14176 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14177
14178         * gst/gstutils.c: (gst_element_link_pads):
14179           cleanup double code
14180
14181 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14182
14183         * libs/gst/controller/gstcontroller.c:
14184         (gst_controller_sync_values):
14185           some little tuning
14186         * tests/check/libs/controller.c: (GST_START_TEST),
14187         (gst_controller_suite):
14188           a new test for live value handling
14189
14190 2006-04-28  Wim Taymans  <wim@fluendo.com>
14191
14192         * gst/gstutils.c: (push_and_ref):
14193         Added some more docs.
14194         Fix refcount issue whith gst_element_found_tags() helper 
14195         function. Fixes #338335
14196
14197         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14198         Added testsuite for gst_element_found_tags().
14199
14200 2006-04-28  Michael Smith  <msmith@fluendo.com>
14201
14202         * gst/gstvalue.c: (gst_value_serialize_flags):
14203           Avoid NULL dereference when trying to serialize flags containing
14204           invalid values.
14205
14206 2006-04-28  Michael Smith  <msmith@fluendo.com>
14207
14208         * plugins/elements/gsttypefindelement.c:
14209         (gst_type_find_element_handle_event):
14210           If we get EOS before any data is accumulated, don't use
14211           uninitialised local variables.
14212
14213 2006-04-28  Michael Smith  <msmith@fluendo.com>
14214
14215         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14216         (gst_dp_event_from_packet):
14217           Fixes in reading/writing events over GDP (not currently used?) - 
14218           dereferencing NULL events for unknown/invalid event types, memory
14219           leak, and change g_warning to GST_WARNING.
14220
14221 2006-04-28  Wim Taymans  <wim@fluendo.com>
14222
14223         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
14224         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14225         (gst_base_sink_get_position), (gst_base_sink_change_state):
14226         When frame dropping is enabled, we should not ignore frames
14227         without a duration.
14228         Update some documentation.
14229
14230 2006-04-28  Wim Taymans  <wim@fluendo.com>
14231
14232         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14233         (gst_base_src_send_event), (gst_base_src_change_state):
14234         Documentation updates.
14235
14236 2006-04-28  Wim Taymans  <wim@fluendo.com>
14237
14238         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
14239         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
14240         handle EAGAIN, EINTR and short writes correctly. Also clean
14241         up some error cases, avoid a deadlock on bad file descriptors and
14242         use GST_DEBUG_OBJECT.
14243         Fixes #339843
14244
14245 2006-04-28  Wim Taymans  <wim@fluendo.com>
14246
14247         * gst/gstvalue.c: (gst_value_serialize_buffer),
14248         (gst_value_deserialize_buffer):
14249         Don't try to serialize a GValue with a NULL buffer. 
14250         Fixes #339821.
14251
14252         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14253         Added check for serialisation of NULL buffers.
14254
14255 2006-04-28  Wim Taymans  <wim@fluendo.com>
14256
14257         * gst/gstminiobject.c: (gst_value_take_mini_object):
14258         Taking a NULL miniobject is valid, fix the case where
14259         we try to unref the NULL miniobject.
14260
14261 2006-04-28  Wim Taymans  <wim@fluendo.com>
14262
14263         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14264
14265         * gst/gstbin.c: (gst_bin_handle_message_func):
14266         Update docs.
14267         Don't leak bin refcount when a state recalc is
14268         in progress and we delay another one #339808.
14269
14270 2006-04-28  Wim Taymans  <wim@fluendo.com>
14271
14272         * docs/design/part-TODO.txt:
14273         Mention QoS as an ongoing work item.
14274
14275         * docs/design/part-buffering.txt:
14276         New doc about buffering that needs to be fleshed out
14277         at some point.
14278
14279         * docs/design/part-qos.txt:
14280         More QoS policy for decoders/demuxers/transforms
14281
14282         * docs/design/part-trickmodes.txt:
14283         Small update.
14284
14285 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14286
14287         * configure.ac:
14288           back to HEAD
14289
14290 === release 0.10.5 ===
14291
14292 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
14293
14294         * configure.ac:
14295           releasing 0.10.5, "Fogo"
14296
14297 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14298
14299         patch by: Wim Taymans
14300
14301         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14302         (gst_pad_configure_src), (gst_pad_push):
14303         * gst/gstpipeline.c: (gst_pipeline_init):
14304           Fix internal data flow errors.  Fixes #338711.
14305
14306 2006-04-12  Wim Taymans  <wim@fluendo.com>
14307
14308         * tests/check/gst/gstelement.c: (GST_START_TEST):
14309         Don't leak the factory.
14310
14311 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14312
14313         * configure.ac:
14314         * win32/common/config.h:
14315           prerelease
14316
14317 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
14318
14319         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14320         (gst_controller_unset_all):
14321           Free allocated GstTimedValues when freeing list nodes.
14322           Should fix leaks 'make check-valgrind' complains about.
14323
14324         * win32/common/libgstcontroller.def:
14325           Add gst_controller_unset_all.
14326
14327 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
14328
14329         * docs/libs/gstreamer-libs-sections.txt:
14330         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14331         (gst_controller_unset_all):
14332         * libs/gst/controller/gstcontroller.h:
14333         API: Added new method gst_controller_unset_all()
14334         fixed gst_controller_unset()
14335         * tests/check/libs/controller.c: (GST_START_TEST),
14336         (gst_controller_suite):
14337         Added two testcases for new and fixed method
14338
14339 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
14340
14341         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14342           MSG_DONTWAIT is not defined on Cygwin, so work
14343           around that (fixes #317048).
14344           
14345 2006-04-11  Wim Taymans  <wim@fluendo.com>
14346
14347         * gst/gstelementfactory.c: (gst_element_register),
14348         (gst_element_factory_create), (gst_element_factory_make):
14349         Some cleanups.
14350         Fixed a FIXME.
14351         Updated docs (Fixes #131079)
14352
14353         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14354         Small cleanups.
14355
14356         * tests/check/gst/gstelement.c: (GST_START_TEST),
14357         (gst_element_suite):
14358         Added testcase for elementfactory class field.
14359
14360 2006-04-10  Wim Taymans  <wim@fluendo.com>
14361
14362         * gst/gstsegment.c:
14363         Added some more docs.
14364
14365         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14366         (gst_base_sink_reset_qos):
14367         Calculate more accurate rate values.
14368
14369 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
14370
14371         * gst/gst_private.h:
14372           add a new #ifdef to use __declspec(dllimport) only for
14373           other modules and not for gstreamer core
14374         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14375           use gst_guint64_to_gdouble for conversion
14376         * win32/common/libgstreamer.def:
14377           add new exported functions
14378         * win32/vs6/gst_inspect.dsp:
14379         * win32/vs6/gst_launch.dsp:
14380         * win32/vs6/libgstbase.dsp:
14381         * win32/vs6/libgstcontroller.dsp:
14382         * win32/vs6/libgstcoreelements.dsp:
14383         * win32/vs6/libgstdataprotocol.dsp:
14384         * win32/vs6/libgstnet.dsp:
14385           update project files
14386
14387 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14388
14389         * gst/gstbuffer.c: (gst_subbuffer_class_init):
14390         * gst/gstclock.c: (gst_clock_class_init):
14391         * gst/gstelement.c: (gst_element_class_init):
14392         * gst/gstindex.c: (gst_index_class_init):
14393         * gst/gstindexfactory.c: (gst_index_factory_class_init):
14394         * gst/gstobject.c: (gst_object_class_init),
14395         (gst_signal_object_class_init):
14396         * gst/gstpad.c: (gst_pad_class_init):
14397         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14398         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14399         * gst/gstregistry.c: (gst_registry_class_init):
14400         * gst/gstsystemclock.c: (gst_system_clock_class_init):
14401         * gst/gsttask.c: (gst_task_class_init):
14402         * gst/gstxml.c: (gst_xml_class_init):
14403         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14404         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14405         (gst_base_src_loop):
14406         * libs/gst/controller/gstcontroller.c:/
14407         (_gst_controller_class_init):
14408         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14409         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14410         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14411         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14412         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14413         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14414
14415 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
14416
14417         * gst/gstpad.c: (gst_pad_link):
14418           Must set peer pads before calling the link function, otherwise
14419           a task started from a link function might get a flow-not-linked
14420           result when trying to push because the other thread where the
14421           linking happens hasn't had a chance to set the peers yet. This
14422           might happen for example when a queue gets linked to a downstream
14423           element, as queue starts a streaming task when its source pad
14424           gets linked. Happens in real life when playing back flac/musepack
14425           files in playbin (#332390).
14426           
14427 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14428
14429         * gst/gstindex.h:
14430         * gst/gstxml.h:
14431         * libs/gst/base/gstadapter.h:
14432         * libs/gst/base/gstbasesink.h:
14433         * libs/gst/base/gstbasesrc.h:
14434         * libs/gst/base/gstbasetransform.h:
14435         * libs/gst/base/gstcollectpads.h:
14436         * libs/gst/base/gstpushsrc.h:
14437         Fix broken GObject macros
14438
14439 2006-04-07  Wim Taymans  <wim@fluendo.com>
14440
14441         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14442         Initialize start and stop times, thanks valgrind.
14443
14444 2006-04-07  Wim Taymans  <wim@fluendo.com>
14445
14446         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14447         Be a bit nicer to badly behaving upstream elements that expect
14448         us to deal with non TIME segments and timestamps (such as fakesrc
14449         in the testsuite).
14450
14451 2006-04-07  Wim Taymans  <wim@fluendo.com>
14452
14453         * gst/gstbus.c:
14454         Small documentation clarification about the signal watch.
14455
14456         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14457         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14458         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14459         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14460         (gst_base_sink_get_position_last),
14461         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14462         Convert and store timestamps in stream time and running time, the
14463         raw timestamps are not useful, also document this better.
14464         Use different window sizes for good and bad QoS observations so
14465         we react to badness a little quicker.
14466         Keep track of the amount of rendered and dropped buffers.
14467         Send QoS timestamps in running time.
14468
14469         * libs/gst/base/gstbasetransform.c:
14470         (gst_base_transform_sink_eventfunc),
14471         (gst_base_transform_handle_buffer):
14472         Compare QoS timestamps against running time.
14473
14474 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14475
14476         * gst/gstpad.c:
14477           Typo fixes in docs.
14478
14479 2006-04-06  Michael Smith  <msmith@fluendo.com>
14480
14481         * gst/gstpad.c: (gst_pad_set_property):
14482           Use g_value_get_object() instead of g_value_dup_gst_object(),
14483           to avoid double-reffing the pad template (which we then sink,
14484           so this worked previously if (and only if) the pad template
14485           was floating.
14486
14487         * gst/gstpadtemplate.c: (gst_pad_template_init),
14488         (gst_pad_template_pad_created):
14489           Never return floating references to pad templates, create
14490           them as initially-sunken.
14491
14492           Document an extra function (and make this stop sinking our
14493           pad template, since that is now guaranteed to do nothing,
14494           since we created it sunken).
14495
14496         * gst/gstghostpad.c:
14497           Fix docs typo.
14498
14499 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14500
14501         * gst/gstinfo.c: (__gst_in_valgrind):
14502           Add some newlines.
14503
14504         * plugins/elements/gsttypefindelement.c:
14505         (gst_type_find_element_chain):
14506           Don't leak buffer caps.
14507
14508 2006-04-06  Michael Smith  <msmith@fluendo.com>
14509
14510         * gst/parse/grammar.y:
14511           Fix a leak in parse-launch for any source-or-sink named element 
14512           references used.
14513
14514         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14515           Unref the pipeline if it exists after we've failed parsing.
14516
14517 2006-04-05  Michael Smith  <msmith@fluendo.com>
14518
14519         * gst/gstpipeline.c: (gst_pipeline_init):
14520           When we create a pipeline bus, initially create it in flushing mode.
14521           Fixes leaks in at least one test, and makes a new pipeline work the
14522           same as one that has gone to READY and then back to NULL.
14523
14524         * gst/gstelement.c:
14525           Typo fix in docs.
14526
14527 2006-04-05  Michael Smith  <msmith@fluendo.com>
14528
14529         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14530           Unref a pad we reffed.
14531         * tests/check/gst/gstutils.c: (GST_START_TEST):
14532           Unref bins
14533
14534 2006-04-05  Michael Smith  <msmith@fluendo.com>
14535
14536         * gst/gstquery.c: (gst_query_set_formats),
14537         (gst_query_set_formatsv):
14538           Fix leaking GValues in queries, as shown by valgrind/testsuite.
14539
14540 2006-04-05  Michael Smith  <msmith@fluendo.com>
14541
14542         * tests/check/generic/sinks.c: (GST_START_TEST):
14543           Fix a variety of memleaks in sinks check, which are only sometimes 
14544           shown by running the tests under valgrind (weird?).
14545
14546 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
14547
14548         * docs/version.entities.in:
14549           Fix the substituted entity name after thomas' changes on the
14550           weekend.
14551
14552 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14553
14554         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14555         VALGRIND_PRINTF
14556         
14557 2006-04-05  Andy Wingo  <wingo@pobox.com>
14558
14559         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14560
14561         * libs/gst/base/gstbasetransform.c
14562         (gst_base_transform_sink_eventfunc): When resetting our segment on
14563         FLUSH_STOP, also update the flag saying we haven't seen a
14564         newsegment.
14565
14566 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14567
14568         Patch by: Paolo Borelli  <pborelli at katamail dot com>
14569
14570         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14571         (gst_plugin_check_license):
14572           minor clean-ups: G_DEFINE_TYPE already takes care of the
14573           parent_class stuff, no need to do it twice. Mark array of
14574           license strings as constant. (#337103)
14575           
14576 2006-04-04  Michael Smith  <msmith@fluendo.com>
14577
14578         * tools/gst-inspect.c: (print_element_list):
14579           Free the right plugin list; fixes a memory leak.
14580
14581 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14582
14583         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14584
14585         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14586           Don't error out on empty buffers (#336945).
14587           
14588 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14589
14590         * docs/libs/gstreamer-libs-sections.txt:
14591         * gst/gsttaglist.c:
14592         * libs/gst/base/gstbasesink.c:
14593         * libs/gst/base/gstbasesink.h:
14594         * libs/gst/base/gstbasesrc.c:
14595         * libs/gst/base/gstbasesrc.h:
14596           Documentation updates. Make BaseSink and BaseSrc docs contain the
14597           class structure so that people can actually see the prototypes for
14598           virtual functions they're supposed to be overriding.
14599
14600 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14601
14602         * plugins/elements/gsttypefindelement.c:
14603         (gst_type_find_element_chain):
14604           More debug info; when skipping typefinding, send cached
14605           events in all cases.
14606
14607 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14608
14609         * configure.ac:
14610           use new AS_VERSION and AS_NANO macros
14611         * gst/gst-i18n-lib.h:
14612         * gst/gst.c:
14613         * gst/gsterror.c:
14614         * gst/gstversion.h.in:
14615         * win32/common/config.h:
14616         * win32/common/config.h.in:
14617           update accordingly
14618
14619 2006-03-31  Michael Smith  <msmith@fluendo.com>
14620
14621         * plugins/elements/gsttypefindelement.c:
14622         (gst_type_find_element_chain):
14623           Do not typefind content if the buffers already have caps.
14624           Neccesary for icydemux (#333657), and the right thing to do anyway.
14625
14626 2006-03-30  Wim Taymans  <wim@fluendo.com>
14627
14628         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14629         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14630         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14631         (gst_base_sink_record_qos_observation),
14632         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14633         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14634         (gst_base_sink_change_state):
14635         More QoS measurements as described in the design doc.
14636         Get rid of ringbuffer with observations, running average is
14637         more simple and equally good.
14638         Calculates valid proportion now.
14639         Added beginning of flood measurement.
14640
14641 2006-03-29  Wim Taymans  <wim@fluendo.com>
14642
14643         * docs/design/part-qos.txt:
14644         * gst/gstclock.c:
14645         Small documentation updates and additions.
14646
14647 2006-03-29  Wim Taymans  <wim@fluendo.com>
14648
14649         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14650         (gst_base_src_send_event), (gst_base_src_loop),
14651         (gst_base_src_change_state):
14652         Perform the EOS logic when we reach the segment stop position.
14653         Fix compilation on gcc4.1
14654
14655 2006-03-29  Wim Taymans  <wim@fluendo.com>
14656
14657         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14658
14659         * plugins/elements/gstqueue.c: (gst_queue_init),
14660         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14661         (gst_queue_set_property):
14662         * plugins/elements/gstqueue.h:
14663         In queue, when EOS is received, if minimum threshold > max_size -
14664         current_level, there is chance that queue blocks forever in conditional
14665         item del wait. This is because the queue is not emptied completely due
14666         to minimum threshold.  Here is another approach. Instead of setting
14667         cur_levels to max in EOS, just zero all minimum threshold levels. This
14668         should make sure that queue gives out all data. When going to READY
14669         (stop) state, just reset the original minimum threshold levels.
14670         Fixes #336336.
14671
14672 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14673
14674         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14675         (gst_type_find_element_handle_event),
14676         (gst_type_find_element_send_cached_events),
14677         (gst_type_find_element_change_state):
14678         * plugins/elements/gsttypefindelement.h:
14679           When typefinding is done in push mode, we should cache
14680           events we receive during typefinding instead of just
14681           dropping them (e.g. newsegment, custom events from
14682           dvdreadsrc etc.) and then send them out once we've
14683           determined the type of the stream (and decodebin
14684           has had a chance to plug in a decoder/demuxer).
14685           
14686 2006-03-27  Wim Taymans  <wim@fluendo.com>
14687
14688         * docs/design/part-qos.txt:
14689         First QoS ideas.
14690
14691 2006-03-27  Wim Taymans  <wim@fluendo.com>
14692
14693         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14694
14695         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14696         (gst_base_src_send_event), (gst_base_src_change_state):
14697         Handle element seek correctly when we are streaming.
14698         Fixes #326998.
14699
14700 2006-03-24  Michael Smith  <msmith@fluendo.com>
14701
14702         * docs/faq/gst-uninstalled:
14703           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14704           allow you to correctly run intalled applications built against old 
14705           core, using plugins that require updated core (e.g. running
14706           installed totem against a full uninstalled gstreamer stack)
14707
14708 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14709
14710         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14711         more debug details
14712
14713 2006-03-24  Wim Taymans  <wim@fluendo.com>
14714
14715         * docs/gst/gstreamer-sections.txt:
14716         Rearrange the order of the methods so that related methods
14717         are grouped together in sections.
14718
14719 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14720
14721         * gst/gstelement.c:
14722           Little clarification in the docs
14723
14724 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14725
14726         * docs/README:
14727         formatting fix
14728         * plugins/elements/gstidentity.c:
14729         * plugins/elements/gstqueue.c:
14730         * plugins/elements/gsttee.c:
14731         * plugins/elements/gsttypefindelement.c:
14732         GST_ELEMENT_DETAILS formatting
14733
14734 2006-03-24  Wim Taymans  <wim@fluendo.com>
14735
14736         * libs/gst/base/gstbasesink.h:
14737         Only add fields, not insert or we break ABI.
14738
14739 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14740
14741         * win32/common/libgstbase.def:
14742         * win32/common/libgstreamer.def:
14743           Update, add recently added functions.
14744
14745 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14746
14747         * docs/gst/gstreamer-sections.txt:
14748         * gst/gstutils.c: (gst_pad_query_peer_position),
14749         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14750         * gst/gstutils.h:
14751           API: add some new utility functions:
14752            - gst_pad_query_peer_position()
14753            - gst_pad_query_peer_duration()
14754            - gst_pad_query_peer_convert()
14755           
14756 2006-03-23  Wim Taymans  <wim@fluendo.com>
14757
14758         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14759         (gst_base_sink_init), (gst_base_sink_finalize),
14760         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14761         (gst_base_sink_set_property), (gst_base_sink_get_property),
14762         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14763         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14764         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14765         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14766         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14767         (gst_base_sink_preroll_object), (gst_base_sink_event),
14768         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14769         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14770         (gst_base_sink_query), (gst_base_sink_change_state):
14771         Decouple max-lateness and the fact that QoS messages are generated
14772         with a new property (qos).
14773         added API: GstBaseSink::async_play()
14774         Add vmethod so subclasses can be notified of ASYNC playing
14775         state changes.
14776         Collect timestamp start and stop to report better current
14777         position in EOS/PLAYING/PAUSED/READY/NULL.
14778         Refactor QoS/frame dropping and other measurements.
14779         API: GstBaseSrc::qos
14780         Fixes #326311
14781
14782         * libs/gst/base/gstbasesink.h:
14783         Added Private struct.
14784         API: gst_base_sink_set_qos_enabled()
14785         API: gst_base_sink_is_qos_enabled()
14786
14787 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14788
14789         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14790           If compiling against GLib-2.8 or newer, try to read the
14791           registry file using GMappedFile first before falling back
14792           to fopen() + fread() (#332151).
14793
14794 2006-03-22  Wim Taymans  <wim@fluendo.com>
14795
14796         * gst/gstinfo.c: (gst_debug_set_active),
14797         (gst_debug_category_set_threshold):
14798         Disable debugging unless explicitly activated.
14799         Fixes #335480.
14800
14801 2006-03-22  Wim Taymans  <wim@fluendo.com>
14802
14803         * gst/gstelement.c: (gst_element_set_locked_state),
14804         (gst_element_dispose):
14805         Cleanup the error case.
14806
14807         * gst/gstobject.c: (gst_object_dispose):
14808         print a critical when some object was disposed with
14809         a parent, also revive the object since it might
14810         crash the parent.
14811
14812 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14813
14814         * tools/gst-launch.1.in:
14815           Fix another typo.
14816
14817 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14818
14819         * configure.ac:
14820         * tests/check/Makefile.am:
14821           disable some tests when we don't have a registry
14822         * tests/check/gst/gstutils.c: (gst_utils_suite):
14823           don't build the part that needs parsing
14824
14825 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14826
14827         * gst/Makefile.am
14828         * tests/examples/Makefile.am:
14829           fix --disable-parse build
14830
14831 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14832
14833         * tools/gst-feedback.1.in:
14834           Fix typo: s/feeback/feedback/ (#133494).
14835
14836 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14837
14838         * tools/Makefile.am:
14839         * tools/gst-launch.1.in:
14840           Add FILES section and correct entry about GST_REGISTRY_PATH
14841           environment variable (#133495; #133494).
14842
14843 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14844
14845         * tools/Makefile.am:
14846         * tools/gst-md5sum.1.in:
14847         * tools/gst-md5sum.c:
14848           Remove gst-md5sum and man page (the md5sink element
14849           required was removed ages ago)
14850
14851 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14852
14853         * gst/gststructure.c: (gst_structure_id_set_value):
14854           Make sure that string fields in structures/taglists
14855           contain valid UTF-8 - we don't want to pass rubbish to
14856           applications because of a buggy plugin (cp. #334167).
14857
14858 2006-03-21  Edward Hervey  <edward@fluendo.com>
14859
14860         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14861         (gst_bin_handle_message_func):
14862         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14863         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14864         (gst_element_set_bus_func):
14865         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14866         * gst/gstminiobject.c: (gst_value_set_mini_object),
14867         (gst_value_take_mini_object):
14868         * gst/gstpad.c: (gst_pad_set_pad_template):
14869         * gst/gstpipeline.c: (gst_pipeline_dispose),
14870         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14871         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14872         (gst_collect_pads_chain):
14873         * libs/gst/net/gstnettimeprovider.c:
14874         (gst_net_time_provider_set_property):
14875         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14876         It's in fact all issues with gst_*object_replace().
14877
14878 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14879
14880         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14881         
14882         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14883         * pkgconfig/gstreamer-check.pc.in:
14884           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14885
14886 2006-03-21  Edward Hervey  <edward@fluendo.com>
14887
14888         * gst/gstbuffer.h:
14889         * gst/gstevent.h:
14890         * gst/gstmessage.h:
14891         gst_[buffer|event|message]_ref() macros are replaced by a static
14892         inline functions because gcc-4.1 will about if the return value
14893         isn't used.
14894         * tests/check/gst/gstevent.c: (event_probe):
14895         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14896
14897 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14898
14899         * gst/gstutils.h:
14900         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14901         the type' case. (Closes: #335195 for now). In the future, when we
14902         depend on GLib 2.10, we could also intern the type name using
14903         g_intern_static_string()
14904
14905 2006-03-20  Wim Taymans  <wim@fluendo.com>
14906
14907         * gst/gstbin.c: (gst_bin_handle_message_func),
14908         (bin_query_max_init), (bin_query_position_fold),
14909         (bin_query_position_done), (gst_bin_query):
14910         Position query should also take max of all streams.
14911
14912 2006-03-20  Wim Taymans  <wim@fluendo.com>
14913
14914         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14915         (gst_fake_src_finalize):
14916         Fix leaks in fakesrc.
14917
14918         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14919         Fix leaks in the testcase.
14920
14921 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14922
14923         * gst/gst_private.h:
14924           add win32 specific import decoration(__declspec(dllimport)) 
14925           for all extern GstDebugCategory * variables
14926         * win32/common/libgstbase.def:
14927         * win32/common/libgstcontroller.def:
14928         * win32/common/libgstreamer.def:
14929           Add some exports, remove empty lines
14930         * win32/common/libgstdataprotocol.def:
14931         * win32/common/libgstdataprotocol.dsp:
14932         * win32/common/libgstnet.def:
14933         * win32/common/libgstnet.dsp:
14934           new project files and exportation files added
14935         
14936 2006-03-19  Wim Taymans  <wim@fluendo.com>
14937
14938         * tests/check/libs/basesrc.c: (eos_event_counter):
14939         Use proper return value for probe.
14940
14941 2006-03-17  Wim Taymans  <wim@fluendo.com>
14942
14943         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14944         (gst_pad_push):
14945         Don't leak buffers, caps and pads on negotiation errors.
14946
14947 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14948
14949         * docs/faq/cvs.xml:
14950         * docs/faq/dependencies.xml:
14951         * docs/faq/developing.xml:
14952         * docs/faq/faq.xml:
14953         * docs/faq/general.xml:
14954         * docs/faq/getting.xml:
14955         * docs/faq/legal.xml:
14956         * docs/faq/troubleshooting.xml:
14957         * docs/faq/using.xml:
14958         Faq review and update.
14959
14960 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14961
14962         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14963         (gst_pad_push):
14964         Don't pound the cpu to pieces by checking get_caps when accept_caps
14965         is called with the same caps as the pad already has.
14966         Use GST_DEBUG_OBJECT when outputting caps change information.
14967
14968 2006-03-15  Wim Taymans  <wim@fluendo.com>
14969
14970         * gst/gstclock.c: (gst_clock_class_init):
14971         Fix docs.
14972
14973 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14974
14975         * gst/gstbuffer.h:
14976         Documentation fix.
14977
14978         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14979         (gst_pad_accept_caps), (gst_pad_configure_sink),
14980         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14981         Make the default acceptcaps behaviour be to check the requested 
14982         caps against the gst_pad_get_caps output. 
14983
14984         Ensure that gst_pad_accept_caps is used to check caps when a pad
14985         doesn't have a setcaps function, so that pads automatically refuse 
14986         caps that they don't allow in their pad template. (Fixes #332986)
14987
14988         When a buffer with attached caps is pushed, ensure that the source 
14989         pad receives those caps even if the element didn't call
14990         gst_pad_set_caps first.
14991
14992 2006-03-15  Wim Taymans  <wim@fluendo.com>
14993
14994         * libs/gst/base/gstadapter.c:
14995         Add some docs.
14996
14997 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14998
14999         * win32/common/libgstbase.def:
15000         * win32/common/libgstcontroller.def:
15001         * win32/common/libgstreamer.def:
15002           Add a whole bunch of missing functions (#334434).
15003
15004 2006-03-14  Wim Taymans  <wim@fluendo.com>
15005
15006         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15007         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15008         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
15009         Better debug info when we receive a segment event.
15010         Reorganize a bit so we can pass the get_times() results around.
15011         Use the segment format when calculating the running time.
15012         Don't do QoS is sync is disabled or we have no clock or the
15013         element does not want us to sync to the clock.
15014         Don't drop buffers if QoS is disabled for now.
15015
15016 2006-03-14  Wim Taymans  <wim@fluendo.com>
15017
15018         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
15019         Marked the stats property as unimplemented so people don't get
15020         wild ideas.
15021         Add debug message when regression goes wrong.
15022         Added some more docs.
15023
15024 2006-03-14  Wim Taymans  <wim@fluendo.com>
15025
15026         * gst/gstsegment.c: (gst_segment_to_stream_time):
15027         Return correct return type in case of errors.
15028
15029 2006-03-14  Wim Taymans  <wim@fluendo.com>
15030
15031         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
15032           Don't segfault on invalid formats.
15033
15034 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
15035
15036         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15037           Can't use gst_segment_to_running_time() when the segment
15038           is not in GST_TIME_FORMAT (like with filesink, for example).
15039           Stops flac encoding pipelines from spewing critical warnings
15040           at EOS (#331248).
15041           
15042 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
15043
15044         * gst/gstpipeline.c: (gst_pipeline_class_init):
15045           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
15046
15047         * plugins/elements/gsttypefindelement.c:
15048         (gst_type_find_element_handle_event):
15049           Don't try to typefind empty streams.
15050
15051 2006-03-14  Wim Taymans  <wim@fluendo.com>
15052
15053         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15054         (gst_base_sink_do_qos):
15055         Separate QoS calculation.
15056         Only drop buffers when lateness is bigger than the 
15057         duration of the buffer.
15058
15059 2006-03-13  Wim Taymans  <wim@fluendo.com>
15060
15061         * gst/gstpipeline.c: (gst_pipeline_set_property),
15062         (gst_pipeline_get_property), (do_pipeline_seek),
15063         (gst_pipeline_change_state), (gst_pipeline_set_delay),
15064         (gst_pipeline_get_delay):
15065         Don't deadlock when reading properties.
15066
15067 2006-03-13  Wim Taymans  <wim@fluendo.com>
15068
15069         * libs/gst/base/gstbasetransform.c:
15070         (gst_base_transform_class_init), (gst_base_transform_init),
15071         (gst_base_transform_sink_event),
15072         (gst_base_transform_sink_eventfunc),
15073         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
15074         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
15075         (gst_base_transform_set_property),
15076         (gst_base_transform_get_property),
15077         (gst_base_transform_change_state), (gst_base_transform_update_qos),
15078         (gst_base_transform_set_qos_enabled),
15079         (gst_base_transform_is_qos_enabled):
15080         * libs/gst/base/gstbasetransform.h:
15081         Make basetransform virtual method for src events too.
15082         Handle QOS in basetransform.
15083         API: gst_base_transform_update_qos()
15084         API: gst_base_transform_set_qos_enabled()
15085         API: gst_base_transform_is_qos_enabled()
15086
15087 2006-03-13  Wim Taymans  <wim@fluendo.com>
15088
15089         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15090         (gst_base_sink_do_sync):
15091         Small cleanups.
15092         Use QOS debug category.
15093
15094 2006-03-13  Wim Taymans  <wim@fluendo.com>
15095
15096         * plugins/elements/gstqueue.c:
15097         Very small doc update.
15098
15099 2006-03-13  Wim Taymans  <wim@fluendo.com>
15100
15101         * gst/gst_private.h:
15102         * gst/gstinfo.c: (_gst_debug_init):
15103         Added QOS debug category
15104
15105 2006-03-13  Wim Taymans  <wim@fluendo.com>
15106
15107         * docs/gst/gstreamer-sections.txt:
15108         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
15109         * gst/gstbin.h:
15110         * gst/gstbus.c: (gst_bus_class_init):
15111         * gst/gstbus.h:
15112         * gst/gstclock.c:
15113         * gst/gstelement.c: (gst_element_set_locked_state):
15114         * gst/gstsegment.c:
15115         Documentation updates.
15116
15117         * gst/gstpipeline.c: (gst_pipeline_get_type),
15118         (gst_pipeline_class_init), (gst_pipeline_init),
15119         (gst_pipeline_dispose), (gst_pipeline_set_property),
15120         (gst_pipeline_get_property), (do_pipeline_seek),
15121         (gst_pipeline_send_event), (gst_pipeline_change_state),
15122         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
15123         (gst_pipeline_get_delay):
15124         * gst/gstpipeline.h:
15125         Added methods for setting the delay.
15126         API: gst_pipeline_set_delay()
15127         API: gst_pipeline_get_delay()
15128         Add pipeline debug category
15129         Various cleanups.
15130         Updated docs.
15131         Don't reset stream time when seek failed.
15132
15133 2006-03-13  Wim Taymans  <wim@fluendo.com>
15134
15135         * docs/design/draft-klass.txt:
15136         * docs/design/part-clocks.txt:
15137         * docs/design/part-events.txt:
15138         * docs/design/part-gstbin.txt:
15139         * docs/design/part-gstpipeline.txt:
15140         * docs/design/part-messages.txt:
15141         * docs/design/part-negotiation.txt:
15142         * docs/design/part-overview.txt:
15143         * docs/design/part-preroll.txt:
15144         * docs/design/part-seeking.txt:
15145         * docs/design/part-states.txt:
15146         * docs/design/part-streams.txt:
15147         Documentation updates.
15148
15149 2006-03-12  Julien MOUTTE  <julien@moutte.net>
15150
15151         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
15152         us to leak strings...
15153
15154 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15155
15156         * libs/gst/net/gstnettimeprovider.c:
15157           fix docs
15158         * win32/common/config.h:
15159           update
15160
15161 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
15162
15163         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
15164
15165         * configure.ac:
15166           Don't check for libgnomeui (leftover from old examples
15167           that aren't built or disted any longer) (#334303).
15168           
15169 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
15170
15171         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
15172         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15173           Emit RESOURCE_NO_SPACE_LEFT error here as well when
15174           there's no space left on the device.
15175
15176 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
15177
15178         * gst/gstclock.h:
15179           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
15180           to cast the input to GstClockTime before comparing with
15181           another GstClockTime value.
15182
15183 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15184
15185         * configure.ac:
15186           back to trunk
15187
15188 === release 0.10.4 ===
15189
15190 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
15191
15192         * configure.ac:
15193           releasing 0.10.4, "Light"
15194
15195 2006-03-10  Michael Smith  <msmith@fluendo.com>
15196
15197         * libs/gst/dataprotocol/dataprotocol.c:
15198           Fix docs for dataprocotol to not get the return types completely
15199           wrong for a few functions.
15200
15201 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15202
15203         * docs/gst/gstreamer-sections.txt:
15204         * gst/gstpipeline.c: (gst_pipeline_class_init),
15205         (gst_pipeline_init), (gst_pipeline_set_property),
15206         (gst_pipeline_get_property), (gst_pipeline_change_state),
15207         (gst_pipeline_set_auto_flush_bus),
15208         (gst_pipeline_get_auto_flush_bus):
15209         * gst/gstpipeline.h:
15210           Add new API: gst_pipeline_set_auto_flush_bus() and
15211           gst_pipeline_get_auto_flush_bus() to disable automatic
15212           flushing of the pipeline's GstBus when going from READY
15213           to NULL state (#332045).
15214
15215 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15216
15217         * docs/gst/gstreamer-sections.txt:
15218         * gst/gsturi.c: (gst_uri_has_protocol):
15219         * gst/gsturi.h:
15220            Add new API: gst_uri_has_protocol() (#333779).
15221
15222 2006-03-09  Wim Taymans  <wim@fluendo.com>
15223
15224         * gst/gstclock.c: (gst_clock_entry_new),
15225         (gst_clock_id_compare_func), (gst_clock_id_wait),
15226         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
15227         (gst_clock_init), (gst_clock_get_internal_time),
15228         (gst_clock_set_master), (do_linear_regression),
15229         (gst_clock_add_observation), (gst_clock_set_property):
15230         * gst/gstclock.h:
15231         Review docs.
15232         Small cleanups.
15233         Fix a possible segfault when the window-size is made smaller.
15234         Calculate jitter before performing the clock wait. Ideally
15235         the clock implementation should calculate jitter but we need
15236         API breakage for that.
15237
15238         * gst/gstsystemclock.c: (gst_system_clock_init):
15239         Docs review.
15240         
15241         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15242         Remove leftover else
15243
15244         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
15245         (gst_systemclock_suite):
15246         Added check to test GST_CLOCK_DIFF.
15247
15248 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15249
15250         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
15251         (gst_type_find_helper_get_range):
15252           If we are provided with the size, we should implement
15253           GstTypeFind::get_length, so that typefind functions who
15254           want to can actually peek at the middle of a file.
15255
15256 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
15257
15258         * docs/manual/advanced-dataaccess.xml:
15259           Add some very very basic error checking.
15260
15261         * docs/pwg/appendix-checklist.xml:
15262           Some updates to the list of things to check when writing an element.
15263
15264 2006-03-08  Wim Taymans  <wim@fluendo.com>
15265
15266         * docs/design/part-element-transform.txt:
15267         Added some docs about the design of tranform elements.
15268
15269         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15270         (gst_base_src_loop), (gst_base_src_change_state):
15271         Mark buffers with the DISCONT flag.
15272
15273 2006-03-08  Michael Smith  <msmith@fluendo.com>
15274
15275         * gst/gstregistry.h:
15276         * gst/gstregistryxml.c: (gst_registry_save),
15277         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
15278         (gst_registry_xml_save_pad_template),
15279         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15280         (gst_registry_xml_write_cache):
15281           Rewrite registry-saving to avoid race conditions and check for
15282           failed writes.
15283
15284 2006-03-08  Wim Taymans  <wim@fluendo.com>
15285
15286         * libs/gst/base/gstbasetransform.c:
15287         (gst_base_transform_transform_caps),
15288         (gst_base_transform_transform_size),
15289         (gst_base_transform_prepare_output_buffer),
15290         (gst_base_transform_get_unit_size),
15291         (gst_base_transform_buffer_alloc),
15292         (gst_base_transform_handle_buffer),
15293         (gst_base_transform_change_state):
15294         Cleanups, separate normal flow from errors, add sensible
15295         DEBUG lines.
15296         Don't try to renegotiate when allocating an output buffer.
15297         Also copy DISCONT buffer flag when copying a buffer.
15298         Reset the transform after we finish streaming, not during.
15299
15300 2006-03-08  Wim Taymans  <wim@fluendo.com>
15301
15302         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15303         Use last buffer timestamp in qos message.
15304
15305 2006-03-07  Wim Taymans  <wim@fluendo.com>
15306
15307         Patch by: Christophe Fergeau
15308
15309         * docs/pwg/advanced-tagging.xml:
15310         * docs/pwg/building-pads.xml:
15311           fixes #333416
15312
15313 2006-03-07  Wim Taymans  <wim@fluendo.com>
15314
15315         * docs/libs/gstreamer-libs-sections.txt:
15316         Added basesink new methods.
15317
15318         * gst/gstevent.c:
15319         * gst/gstevent.h:
15320         Docs updates. Flesh out the QoS docs.
15321
15322         * libs/gst/base/gstadapter.c:
15323         Small doc clarification about ownership and flushing.
15324
15325         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15326         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15327         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15328         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15329         * libs/gst/base/gstbasesink.h:
15330         API additions: 
15331         Added new methods to allow subclass to control max-lateness 
15332         and sync.
15333         Generate very basic QoS events based on last sync observation.
15334         Updated docs, fix typo, added some QoS blurb.
15335
15336         * libs/gst/base/gstbasesrc.c:
15337         Remove obsolete _get_state() calls from docs.
15338
15339 2006-03-07  Wim Taymans  <wim@fluendo.com>
15340
15341         * docs/libs/gstreamer-libs-sections.txt:
15342         * libs/gst/base/gstbasetransform.h:
15343         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15344         Fix docs for GstBaseSrc.
15345
15346 2006-03-07  Wim Taymans  <wim@fluendo.com>
15347
15348         * docs/gst/gstreamer-sections.txt:
15349         * gst/gstbuffer.h:
15350         * gst/gstvalue.c:
15351         * libs/gst/base/gstbasetransform.h:
15352         Small documentation fixes.
15353
15354 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15355
15356         * gst/gstvalue.c:
15357           Document thread-unsafety of gst_value_register_foo_func()
15358           when used at the same time as gst_value_foo() (#322628).
15359
15360 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15361
15362         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15363         (gst_push_src_check_get_range):
15364           Push sources don't support pull mode by default.
15365
15366 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15367
15368         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15369         (gst_base_src_init), (gst_base_src_pad_check_get_range),
15370         (gst_base_src_default_check_get_range):
15371         * libs/gst/base/gstbasesrc.h:
15372           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15373           provide default implementation, and rename
15374           gst_base_src_check_get_range() to
15375           gst_base_src_pad_check_get_range() for clarity.
15376
15377 2006-03-06  Wim Taymans  <wim@fluendo.com>
15378
15379         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15380         Make property overridable.
15381
15382 2006-03-06  Wim Taymans  <wim@fluendo.com>
15383
15384         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15385         (gst_base_sink_init), (gst_base_sink_set_property),
15386         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15387         * libs/gst/base/gstbasesink.h:
15388         API addition: Make max-lateness a property.
15389
15390 2006-03-06  Wim Taymans  <wim@fluendo.com>
15391
15392         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15393         (gst_base_sink_do_sync), (gst_base_sink_render_object):
15394         Don't ever draw a frame that is >10ms late.
15395
15396 2006-03-06  Michael Smith  <msmith@fluendo.com>
15397
15398         * gst/gstmessage.c: (_gst_message_copy):
15399           When copying a message, set the parent_refcount of the enclosed
15400           structure to point at the copy, not the original message.
15401
15402 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15403
15404         Patch by: Christophe Fergeau
15405
15406         * gst/gstutils.h:
15407           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15408           usable in c++ code (#333417)
15409
15410 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15411
15412         * gst/gstclock.h:
15413           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15414
15415 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
15416
15417         * libs/gst/base/gstbasetransform.c:
15418         (gst_base_transform_transform_caps):
15419           Make sure caps are writable before passing them to
15420           gst_caps_append().
15421
15422 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15423
15424         * gst/gsterror.h:
15425           Fix some minor docs errors.
15426
15427 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15428
15429           Patch by: Ross Burton <ross at burtonini dot com>
15430
15431         * gst/gsterror.c: (_gst_resource_errors_init):
15432         * gst/gsterror.h:
15433           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15434
15435 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15436
15437         * gst/gst.c:
15438         Add a check and output a g_warning when GStreamer is built
15439         against GLib 2.6 but running against 2.8 or higher, and vice 
15440         versa. (Closes: #323542)
15441
15442 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15443
15444         * gst/parse/parse.l:
15445           Commit patch for parse_launch syntax from #331255. Removes 
15446           support for quoted strings and mimetypes when writing filtered 
15447           caps. See the bug report for more details - I'm pretty sure this
15448           obscure feature is not in use by _anyone_ anywhere.
15449
15450           With this simple change, the size of the gstreamer.so here 
15451           drops from 2193KB to 1565KB.
15452
15453 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15454
15455         * plugins/elements/gsttypefindelement.h:
15456         * plugins/elements/gsttypefindelement.c:
15457         (gst_type_find_element_src_event), (start_typefinding),
15458         (stop_typefinding), (gst_type_find_element_handle_event),
15459         (gst_type_find_element_chain),
15460         (gst_type_find_element_chain_do_typefinding):
15461           Use gst_type_find_helper_for_buffer() for chain-based
15462           typefinding.
15463
15464 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15465
15466         * plugins/elements/gsttypefindelement.c:
15467         (gst_type_find_element_class_init),
15468         (gst_type_find_element_set_property),
15469         (gst_type_find_element_get_property):
15470           Deprecate "maximum" property (not only was it only taken into
15471           account for typefinding in push-mode anyway, it also was never
15472           actually possible to set it in the first place because the
15473           property was registered with the numeric property ID for the
15474           "minimum" property). Register "maximum" property correctly,
15475           for the sake of future copy'n'pasters. Remove some cruft
15476           from property get/set functions.
15477
15478 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15479
15480         * plugins/elements/gsttypefindelement.c:
15481         (gst_type_find_element_activate):
15482           Use gst_type_find_helper_get_range() here, so we
15483           can honour the "minimum" property and also emit
15484           the signal with the correct probability of the found caps.
15485
15486 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
15487
15488         * docs/libs/gstreamer-libs-sections.txt:
15489         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15490         (helper_find_suggest), (gst_type_find_helper_get_range),
15491         (gst_type_find_helper):
15492         * libs/gst/base/gsttypefindhelper.h:
15493           New API: gst_type_find_helper_get_range() (#333042).
15494
15495 2006-03-02  Michael Smith  <msmith@fluendo.com>
15496
15497         * gst/gstregistryxml.c: (load_feature):
15498           Asserting on a failure to read part of the registry is Not Cool.
15499           Just log a warning and return NULL (which is already handled)
15500
15501 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
15502
15503         * win32/common/libgstbase.def:
15504           added export of gst_type_find_helper_for_buffer
15505         * win32/common/libgstbase.def:
15506           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15507           gst_ghost_pad_get_target
15508
15509 2006-02-28  Wim Taymans  <wim@fluendo.com>
15510
15511         * docs/design/draft-klass.txt:
15512         We use Filter now.
15513         Added Connector to mark elements that are only used to
15514         allow pipeline connections.
15515         Moved Debug to extra feature since most of them are 
15516         functionally something else.
15517
15518 2006-02-28  Wim Taymans  <wim@fluendo.com>
15519
15520         * docs/design/draft-klass.txt:
15521         Some updates and clarifications.
15522
15523 2006-02-28  Wim Taymans  <wim@fluendo.com>
15524
15525         * docs/design/draft-klass.txt:
15526         Proposal for klass field values.
15527
15528         * docs/design/part-streams.txt:
15529         Start of a doc describing stream anatomy.
15530
15531 2006-02-28  Wim Taymans  <wim@fluendo.com>
15532
15533         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15534         Help the compiler a bit with type registration.
15535         Use existing forward cod path instead of duplicating it when 
15536         handling a message.
15537         
15538         * gst/gstbus.c: (gst_bus_get_type):
15539         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15540         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15541         * gst/gstclock.c: (gst_clock_get_type):
15542         * gst/gstelement.c: (gst_element_get_type),
15543         * gst/gstelementfactory.c: (gst_element_factory_get_type):
15544         * gst/gstindexfactory.c: (gst_index_factory_get_type):
15545         * gst/gstminiobject.c: (gst_mini_object_get_type):
15546         * gst/gstpad.c: (gst_pad_get_type):
15547         * gst/gstsegment.c: (gst_segment_get_type):
15548         * gst/gststructure.c: (gst_structure_get_type):
15549         * gst/gstsystemclock.c: (gst_system_clock_get_type):
15550         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15551         * gst/gstvalue.c:
15552         Help compiler with type registration.
15553
15554         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15555         Small doc update.
15556
15557 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15558
15559         * plugins/elements/gsttypefindelement.c:
15560         (gst_type_find_element_handle_event):
15561           When we get an EOS event and have not found a type yet
15562           (most likely because we had not yet accumulated
15563           TYPE_FIND_MIN_SIZE of data yet), try to determine the
15564           type given the data we have so far. Fixes typefinding
15565           for very short streams again, most notably quicktime
15566           redirections as used on Apple's trailer site (#331701).
15567
15568 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15569
15570         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15571         (gst_type_find_helper):
15572           Try typefinding factories with the highest rank first.
15573
15574 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15575
15576         * docs/libs/gstreamer-libs-docs.sgml:
15577         * docs/libs/gstreamer-libs-sections.txt:
15578         * libs/gst/base/gsttypefindhelper.c:
15579           Add section for typefind helper and add documentation
15580           for the old and the new function.
15581
15582 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15583
15584         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15585         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15586         (gst_type_find_helper_for_buffer):
15587         * libs/gst/base/gsttypefindhelper.h:
15588           New API: gst_type_find_helper_for_buffer() (#332723).
15589           
15590 2006-02-27  Michael Smith  <msmith@fluendo.com>
15591
15592         Patch by: Loïc Minier
15593
15594         * configure.ac:
15595         * docs/Makefile.am:
15596         * docs/slides/Makefile.am:
15597           prevent CVS directories getting disted.
15598
15599 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15600
15601         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15602           Use the REFCOUNTING category for caps refcounting.
15603           
15604 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15605
15606         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15607           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15608
15609 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15610
15611         * plugins/elements/gsttypefindelement.c:
15612         (gst_type_find_element_activate):
15613           Use gst_pad_check_pull_range() before _activate_pull()
15614           to avoid unnecessary open/close (see #331690).
15615
15616 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15617
15618         * gst/gstutils.c:
15619           Docs enhancement: make it crystal clear what the
15620           gst_pad_add_*_probe() callbacks should look like.
15621
15622 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15623
15624         * libs/gst/base/gstbasesrc.c:
15625           Document how applications can stop recording from
15626           live sources (see #330996).
15627
15628 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15629
15630         * tests/check/Makefile.am:
15631         * tests/check/libs/basesrc.c: (eos_event_counter),
15632         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15633         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15634         (gst_basesrc_suite), (main):
15635           ... and add some tests for the base source EOS stuff.
15636
15637 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15638
15639         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15640           Test case originally showed the problem fixed below,
15641           but was then amended. Add checks back at the place
15642           where they used to be.
15643
15644 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15645
15646         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15647         (gst_base_src_init), (gst_base_src_loop),
15648         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15649         (gst_base_src_change_state):
15650         * libs/gst/base/gstbasesrc.h:
15651           Don't unconditionally send EOS when going from PAUSED to
15652           READY state, esp. make sure we don't send two EOS events
15653           in some cases (e.g. one when reaching EOS and one when
15654           going from PAUSED to READY). Also, we don't want to send
15655           EOS events when operating in pull mode. However, we do
15656           want to send an EOS event when shutting down a live
15657           source explicitly, for example (fixes #330996).
15658           
15659 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15660
15661         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15662           Update src->read_position after a seek when not using mmap.
15663           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15664
15665 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15666
15667         * gst/Makefile.am:
15668         * gst/gstparse.h:
15669         * gst/gstutils.c:
15670         * gst/gstutils.h:
15671         Make things work with --disable-parse as they do with 
15672         --disable-load-save - the symbols involved disappear, but the
15673         header is still installed and GST_DISABLE_PARSE is included via
15674         gstconfig.h
15675
15676 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15677
15678         * libs/gst/base/gstbasetransform.c:
15679         (gst_base_transform_change_state): Fix a stupid bug. I was 
15680         sure I compiled that.
15681
15682 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15683
15684         * gst/gstpad.c: (gst_pad_set_blocked_async):
15685         * gst/gstutils.c: (gst_pad_add_data_probe),
15686         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15687         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15688         (gst_pad_remove_buffer_probe): Make those function act on the
15689         ghostpad target when it's a ghostpad. (Closes #331727)
15690
15691 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15692
15693         * libs/gst/base/gstbasetransform.c:
15694         (gst_base_transform_change_state): Make basetransform reusable.
15695         (Closes #331898)
15696
15697 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15698
15699         * docs/random/release:
15700         Move the current documentation of how to do a release to the top
15701         of the file.
15702
15703         * gst/gstbin.c: (gst_bin_class_init),
15704         (gst_bin_handle_message_func):
15705         Allow multiple state-recalculation threads. (Closes #328873)
15706
15707 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15708
15709         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15710         * gst/gstpad.c: (gst_pad_set_event_function),
15711         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15712         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15713         2 strings. You can't use the STR_NULL macro on that.
15714
15715 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15716
15717         * gst/gstpad.c: (gst_pad_set_event_function),
15718         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15719         (gst_pad_set_getcaps_function)
15720         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15721           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15722           So now, we can use --gst-debug-level=5 on Windows
15723         * win32/common/libgstcontroller.def:
15724           Added export of gst_controller_init
15725         * win32/vs6/libgstcontroller.dsp:
15726           Fixed Release post build configuration
15727
15728 2006-02-17  Wim Taymans  <wim@fluendo.com>
15729
15730         * tests/check/gst/gstquery.c: (GST_START_TEST):
15731         Added another check.
15732
15733 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15734
15735         * plugins/elements/gsttypefindelement.c: (find_peek):
15736           We can do peeks at non-zero offsets, as long as they
15737           fall within the buffer we have.
15738
15739 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15740
15741         * tests/check/Makefile.am:
15742         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15743         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15744         (parse_suite), (main):
15745           Add testsuite for parse launch syntax
15746
15747 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15748
15749         * plugins/elements/gsttypefindelement.c:
15750         (gst_type_find_element_chain):
15751           When typefinding is unsuccessful in the chain function, don't
15752           error out immediately. Only error out with NO_CAPS_FOUND if
15753           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15754           otherwise simply wait for more data so we can try typefinding
15755           again with more data later. Also, don't attempt to typefind
15756           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15757           this should improve typefinding from network sources where the
15758           size of the first buffer can be somewhat random.
15759
15760 2006-02-14  Wim Taymans  <wim@fluendo.com>
15761
15762         * docs/gst/gstreamer-sections.txt:
15763         * gst/gstpadtemplate.c:
15764         * gst/gstpadtemplate.h:
15765         Fix padtemplate docs, fixes #328805.
15766
15767 2006-02-14  Wim Taymans  <wim@fluendo.com>
15768
15769         * tools/gst-launch.c: (main):
15770         NO_PREROLL is not an ERROR so don't send confusing messages
15771         to the user.
15772
15773 2006-02-14  Wim Taymans  <wim@fluendo.com>
15774
15775         Patch by: Torsten Schoenfeld
15776
15777         * gst/gstregistry.c: (gst_registry_get_default),
15778         (_gst_registry_cleanup):
15779         Protect default registry with lock and ref/sink it.
15780         Fixes #324818
15781
15782 2006-02-14  Wim Taymans  <wim@fluendo.com>
15783
15784         * gst/gstbuffer.c:
15785         * gst/gstquery.c: (gst_query_list_add_format),
15786         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15787         (gst_query_parse_formats_nth):
15788         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15789         Docs fixes.
15790
15791 2006-02-14  Wim Taymans  <wim@fluendo.com>
15792
15793         * docs/gst/gstreamer-sections.txt:
15794         Reworked query docs.
15795
15796         * gst/gstquery.c: (gst_query_new_formats),
15797         (gst_query_list_add_format), (gst_query_set_formats),
15798         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15799         (gst_query_parse_formats_nth):
15800         * gst/gstquery.h:
15801         Flesh out formats query, added some new methods.
15802         Fix part of #324398.
15803
15804         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15805         Added query creation tests.
15806
15807 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15808
15809         * gst/gstpad.c: (fixate_value):
15810         Add a default fixation for fraction lists.
15811
15812 2006-02-13  Wim Taymans  <wim@fluendo.com>
15813
15814         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15815         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15816         (gst_task_join):
15817         * gst/gsttask.h:
15818         Detect and warn for obvious deadlocks. fixes #320340
15819         Fix error case where lock was not released.
15820
15821         * tests/check/Makefile.am:
15822         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15823         (task_func), (gst_element_suite), (main):
15824         Add task check.
15825
15826 2006-02-13  Wim Taymans  <wim@fluendo.com>
15827
15828         * docs/gst/gstreamer-sections.txt:
15829         * gst/gstbus.c:
15830         Add new functions to docs.
15831
15832 2006-02-13  Wim Taymans  <wim@fluendo.com>
15833
15834         * docs/design/part-TODO.txt:
15835         Updated TODO list, basesrc supports seeking to non-bytes
15836         formats.
15837
15838         * docs/design/part-element-sink.txt:
15839         Update docs.
15840
15841         * gst/gstbin.c: (bin_replace_message),
15842         (gst_bin_handle_message_func):
15843         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15844         * gst/gstevent.c: (gst_event_finalize):
15845         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15846         (gst_pad_send_event):
15847         Use shiny new _TYPE_NAME macros.
15848
15849         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15850         Move debug statement up.
15851
15852         * gst/gstelement.c: (gst_element_set_locked_state):
15853         Add some debugging.
15854
15855 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15856
15857         * docs/gst/gstreamer-sections.txt:
15858         * gst/gstmessage.h:
15859         * gst/gstquery.h:
15860           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15861           macros (#330906). Also, document the already existing
15862           GST_QUERY_TYPE macro.
15863
15864 2006-02-13  Wim Taymans  <wim@fluendo.com>
15865
15866         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15867         (event_probe), (GST_START_TEST):
15868         Only events up to the pipeline EOS are counted, there are
15869         some more when going to NULL currently which we don't care
15870         about for now.
15871
15872 2006-02-13  Wim Taymans  <wim@fluendo.com>
15873
15874         * gst/gstpad.c: (gst_pad_send_event):
15875         Correctly check flushing and emit probes. fixes #330125
15876
15877 2006-02-10  Andy Wingo  <wingo@pobox.com>
15878
15879         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15880         structure.
15881         (gst_bus_init): Cache the location of the private data in the
15882         instance structure.
15883         (gst_bus_enable_sync_message_emission) 
15884         (gst_bus_disable_sync_message_emission): Implement new public
15885         functions.
15886         (gst_bus_post): Emit the sync-message signal if the user asked for
15887         it. Fixes #330684.
15888
15889         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15890         location of the bus-private structure.
15891         (gst_bus_enable_sync_message_emission)
15892         (gst_bus_disable_sync_message_emission): API addition
15893
15894 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15895
15896         Patch by: Vincent Torri
15897
15898         * docs/pwg/building-boiler.xml:
15899         PWG patch from #326800
15900
15901 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15902
15903         * configure.ac:
15904         * docs/Makefile.am:
15905         * docs/design/Makefile.am:
15906           Dist design docs.
15907
15908 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15909
15910         * configure.ac:
15911           back to CVS
15912
15913 === release 0.10.3 ===
15914
15915 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15916
15917         * configure.ac:
15918           releasing 0.10.3, "Like a virgin"
15919
15920 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15921
15922         * configure.ac:
15923           2nd prerelease of 0.10.3
15924           Bump libtool versioning.
15925
15926 2006-02-07  Andy Wingo  <wingo@pobox.com>
15927
15928         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15929         update last_stop if we're in TIME format and the timestamp is
15930         valid.
15931
15932         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15933         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15934         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15935         If we get a new newsegment with a different format, adapt
15936         accordingly.
15937
15938         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15939         of 0. Not a problem, really.
15940
15941         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15942         warn if sync=true.
15943
15944 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15945
15946         * configure.ac:
15947           Prelease of 0.10.3
15948
15949 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15950
15951         * win32/vs7:
15952           project files updated to the default vs7 configuration
15953         * win32/common/libgstbase.def:
15954         * win32/common/libgstreamer.def:
15955           added new symbols,
15956           removed empty lines,
15957           sorted all exported symbols alphabetically
15958         * win32/common/dirent.c:
15959         * win32/common/dirent.h:
15960         * win32/common/gchar.h:
15961           use windows line end.
15962           
15963 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15964
15965         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15966           Send EOS event when stopping.
15967
15968 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15969
15970         * docs/README:
15971           Tell folks what to do if the plugin-foobar.xml file
15972           hasn't been generated for a newly-added plugin.
15973
15974 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15975
15976         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15977         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15978         (gst_collect_pads_start), (gst_collect_pads_stop),
15979         (gst_collect_pads_event): Collectpads now holds a reference
15980         to the GstPad that was added. Indeed we don't want to look
15981         at pads that might just go away with no warning...
15982
15983 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15984
15985         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15986         (gst_collect_pads_start), (gst_collect_pads_stop),
15987         (gst_collect_pads_event), (gst_collect_pads_chain):
15988         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15989         Mark Nauwelaerts's patch on bug #328491.
15990
15991 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15992
15993         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15994         (gst_utils_suite):
15995           Add some simple tests for gst_parse_bin_from_description() and
15996           gst_bin_find_unconnected_pad() (#329069).
15997
15998 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15999
16000         * tools/gst-launch.c: (event_loop), (main):
16001           Catch errors during preroll (#320084).
16002
16003 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
16004
16005         * plugins/elements/gsttypefindelement.c:
16006         (gst_type_find_element_activate):
16007           Post TYPE_NOT_FOUND error message when typefinding
16008           is unsuccessful in the activate function as well.
16009
16010 2006-02-02  Wim Taymans  <wim@fluendo.com>
16011
16012         * docs/design/part-element-sink.txt:
16013         Updated doc.
16014
16015 2006-02-02  Wim Taymans  <wim@fluendo.com>
16016
16017         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16018         (gst_base_sink_render_object),
16019         (gst_base_sink_queue_object_unlocked):
16020         Only keep track of prerollable items when we are 
16021         prerolling.
16022         Before rendering after preroll, always check if we
16023         have queued items.
16024         Added some more debugging.
16025
16026 2006-02-02  Wim Taymans  <wim@fluendo.com>
16027
16028         * gst/gstelement.c: (gst_element_continue_state),
16029         (gst_element_set_state_func), (gst_element_change_state):
16030         Fixed #326576, been running this for quite some time with
16031         no regressions at all.
16032
16033 2006-02-02  Wim Taymans  <wim@fluendo.com>
16034
16035         * common/gst.supp:
16036         Added more suppressions
16037
16038 2006-02-02  Wim Taymans  <wim@fluendo.com>
16039
16040         * docs/design/part-element-sink.txt:
16041         Updated document.
16042
16043         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16044         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
16045         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
16046         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16047         (gst_base_sink_do_sync), (gst_base_sink_render_object),
16048         (gst_base_sink_preroll_object),
16049         (gst_base_sink_queue_object_unlocked),
16050         (gst_base_sink_queue_object), (gst_base_sink_event),
16051         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
16052         (gst_base_sink_loop), (gst_base_sink_activate_pull),
16053         (gst_base_sink_get_position), (gst_base_sink_change_state):
16054         * libs/gst/base/gstbasesink.h:
16055         Totally refactored matching the design doc.
16056         Use two segments, one to clip incomming buffers and another to
16057         perform sync.
16058         Handle queueing correctly, bypass the queue when playing.
16059         Make EOS cancelable.
16060         Handle errors correctly when operating in pull based mode.
16061
16062         * tests/check/elements/fakesink.c: (GST_START_TEST),
16063         (fakesink_suite):
16064         Added new check for sinks.
16065
16066 2006-02-02  Wim Taymans  <wim@fluendo.com>
16067
16068         * gst/gstsegment.c: (gst_segment_clip):
16069         No reason to refuse to clip when start == -1
16070
16071 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
16072
16073         * docs/README:
16074         * docs/manual/intro-basics.xml:
16075         * docs/manual/intro-preface.xml:
16076         * docs/manual/manual.xml:
16077         * docs/pwg/advanced-dparams.xml:
16078         * docs/pwg/intro-basics.xml:
16079         * docs/pwg/intro-preface.xml:
16080         * docs/pwg/pwg.xml:
16081           describe dparams (controller) for plugins
16082           unify docs a little more
16083
16084 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
16085
16086         * docs/gst/gstreamer-sections.txt:
16087         * gst/gstutils.c: (element_find_unconnected_pad),
16088         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
16089         * gst/gstutils.h:
16090           Add new API: gst_parse_bin_from_description() and
16091           gst_bin_find_unconnected_pad() (#329069).
16092
16093 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
16094
16095         * docs/manual/README:
16096           uncover a nasty detail of the docs build
16097
16098 2006-01-31  Wim Taymans  <wim@fluendo.com>
16099
16100         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
16101         Don't cache duration messages if we're not going to use or
16102         free them.
16103
16104 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
16105
16106         * docs/manual/advanced-dparams.xml:
16107         * docs/pwg/advanced-dparams.xml:
16108           more dparam docs
16109         * gst/gstindex.c:
16110           fix docs
16111         * libs/gst/controller/lib.c: (gst_controller_init):
16112           init just once
16113
16114 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16115
16116         * gst/gstelement.c: (gst_element_message_full):
16117           also show file/line/func if no additional debug was given
16118
16119 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
16120         
16121         * win32/vs7/grammar.vcproj:
16122           activate copy of autogenerated files for Release mode
16123
16124 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
16125         
16126         * win32/common/libgstreamer.def:
16127           export gst_value_compare
16128
16129 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
16130
16131         * plugins/elements/Makefile.am:
16132         * plugins/elements/gstelements.c:
16133         * plugins/elements/gstfdsink.c: (_do_init),
16134         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
16135         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
16136         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
16137         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
16138         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
16139         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
16140         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
16141         * plugins/elements/gstfdsink.h:
16142         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
16143
16144 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
16145
16146         * docs/manual/advanced-dparams.xml:
16147           describe controller
16148         * docs/manual/advanced-position.xml:
16149         * docs/manual/basics-init.xml:
16150         * docs/manual/manual.xml:
16151         * docs/manual/titlepage.xml:
16152         * docs/pwg/pwg.xml:
16153         * docs/pwg/titlepage.xml:
16154           cleanup xml (more to come)
16155         * libs/gst/controller/gstcontroller.c:
16156           fix typo
16157
16158 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
16159         
16160         * win32/vs6/grammar.dsp:
16161           add autogen of gstmarshal.c,h for Release mode
16162                 
16163 2006-01-30  Wim Taymans  <wim@fluendo.com>
16164
16165         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16166         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
16167         (gst_base_sink_handle_object), (gst_base_sink_event),
16168         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
16169         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16170         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
16171         (gst_base_sink_deactivate), (gst_base_sink_activate),
16172         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16173         (gst_base_sink_query), (gst_base_sink_change_state):
16174         Basesink cleanups, remove some old code.
16175         Handle the case where a subclass can preroll in the render
16176         method (mostly audiosinks).
16177         Handle more events.
16178         Remove some locks around variables that are now protected
16179         with the PREROLL_LOCK (clock_id, flushing, ..).
16180         Optimize position query some more, do correct locking.
16181         Remove old code to push queue in state change, this is not
16182         needed anymore since preroll blocks on all prerollable items 
16183         now.
16184         Almost implemented as described in design doc.
16185
16186 2006-01-30  Wim Taymans  <wim@fluendo.com>
16187
16188         * tests/check/gst/gstbin.c: (GST_START_TEST):
16189         Wait for refcount to settle down before checking.
16190
16191 2006-01-30  Wim Taymans  <wim@fluendo.com>
16192
16193         * docs/design/part-element-sink.txt:
16194         Pseudo code overview of desired sink behaviour regarding
16195         preroll.
16196
16197 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16198         * win32/vs6/grammar.dsp:
16199           fix some bugs in Release mode for autogenerated files
16200                 
16201 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16202         * win32/common/libgstbase.def:
16203         * win32/common/libgstreamer.def:
16204           export some new symbols: gst_base_src_set_format,
16205           gst_iterator_next, gst_structure_set_valist
16206
16207 2006-01-29  Julien MOUTTE  <julien@moutte.net>
16208
16209         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
16210         Set pad functions unconditionally. Fixes #329105.
16211
16212 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16213         * win32/vs8:
16214           add vs8 project files created by Sergey Scobich
16215
16216 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
16217
16218         * gst/gstutils.c: (gst_element_unlink_pads):
16219         Don't leak pad references.
16220
16221         * tests/check/elements/fakesink.c: (GST_START_TEST):
16222         * tests/check/generic/sinks.c: (GST_START_TEST):
16223         * tests/check/generic/states.c: (GST_START_TEST):
16224         * tests/check/gst/gstbin.c: (GST_START_TEST):
16225         * tests/check/gst/gstcaps.c: (GST_START_TEST):
16226         * tests/check/gst/gstelement.c: (GST_START_TEST):
16227         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16228         * tests/check/gst/gstiterator.c: (GST_START_TEST):
16229         * tests/check/gst/gstvalue.c: (GST_START_TEST):
16230         Fix a bunch of leaks. Make generic/sinks.c
16231         use a bit less cpu by slowing the buffer rate
16232         between fakesrc and fakesink.
16233         
16234 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
16235         * gst/gstcaps.c:
16236         * gst/gstelement.c: (gst_element_send_event):
16237         * gst/gstevent.c:
16238         * gst/gstinfo.c:
16239         * gst/gstiterator.c:
16240         * gst/gstiterator.h:
16241         * gst/gstpad.c: (gst_pad_send_event):
16242         * gst/gststructure.c:
16243         * gst/gsturi.c:
16244         * gst/gstutils.c:
16245         * gst/gstvalue.c:
16246         * libs/gst/base/gstadapter.c:
16247           doc fixes, to link to function, just write gst_cool_function(), don't
16248           prefix with '#'
16249
16250 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16251
16252         * plugins/elements/gsttee.c: (gst_tee_do_push),
16253         (gst_tee_handle_buffer):
16254         Always prefer an actual return value from a src
16255         pad in place of NOT_LINKED. This means we return
16256         WRONG_STATE when all src pads are WRONG_STATE
16257         instead of NOT_LINKED.
16258
16259         Lock when replacing the last message to prevent
16260         racing with the get_property method.
16261
16262         Add debug output
16263
16264 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16265
16266         * tests/check/Makefile.am:
16267         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
16268         (main):
16269         Add a very simple check that should have caught the memleak I fixed
16270         last night (if not for the slice allocator hiding it)
16271
16272 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16273
16274         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16275         (gst_bin_remove_func), (gst_bin_handle_message_func),
16276         (bin_query_duration_fold), (bin_query_generic_fold):
16277         Clean up references to the clock provider when disposed or when
16278         handling a clock-lost message from it.
16279
16280         Unref sinks when performing a query via gst_iterator_fold, as the
16281         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16282
16283         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16284         (gst_clock_set_master):
16285         Drop our reference to the master clock, if any, when we are disposed.
16286
16287         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16288         Chain up in dispose. 
16289
16290 2006-01-26  Wim Taymans  <wim@fluendo.com>
16291
16292         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16293         Add some debugging.
16294
16295 2006-01-26  Julien MOUTTE  <julien@moutte.net>
16296
16297         * plugins/elements/gsttee.c: (gst_tee_do_push),
16298         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16299         handles pad being NOT_LINKED or in WRONG_STATE.
16300
16301 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16302
16303         * win32/MANIFEST:
16304           more updating
16305
16306 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16307
16308         * win32/MANIFEST:
16309           remove obsolete entry
16310
16311 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16312
16313         * docs/gst/gstreamer-sections.txt:
16314         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16315         (gst_bin_iterate_sources), (gst_bin_send_event):
16316         * gst/gstbin.h:
16317         * gst/gstelement.c: (gst_element_send_event):
16318         * gst/gstevent.c:
16319         * gst/gstpad.c: (gst_pad_send_event):
16320           added code for downstream events, reviewed docs in gstevent.c
16321
16322 2006-01-25  Julien MOUTTE  <julien@moutte.net>
16323
16324         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16325         We only query position using the clock in the playing state.
16326         Query peer in the other cases.
16327         * win32/common/config.h: Updates.
16328
16329 2006-01-24  Wim Taymans  <wim@fluendo.com>
16330
16331         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16332         A clock entry that is scheduled for the exact time of the
16333         clock is still in time.
16334
16335         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16336         (gst_base_sink_do_sync):
16337         Add some more debug info.
16338
16339 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16340
16341         * win32/vs7:
16342           Add new vs7 project files and solution.
16343
16344 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16345
16346         * win32/vs7:
16347           all files removed as they were out-dated.
16348
16349 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16350
16351         * docs/random/release:
16352           update notes
16353         * gst/gstbin.c: (gst_bin_init):
16354         * gst/gstbus.c: (gst_bus_new):
16355         * gst/gstbus.h:
16356         * gst/gstpipeline.c: (gst_pipeline_init):
16357           use gst_bus_new(), improve logging, fix docs
16358         * win32/common/config.h:
16359           update for cvs build
16360
16361 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16362
16363         * autogen.sh:
16364           up required version of automake to 1.7
16365
16366 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
16367
16368         * win32/common/libgstreamer.def:
16369           export gst_buffer_is_metadata_writable
16370
16371 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
16372
16373         * docs/gst/gstreamer-sections.txt:
16374         * gst/gstevent.h:
16375           Add gst_event_replace() (#327001)
16376
16377 2006-01-20  Wim Taymans  <wim@fluendo.com>
16378
16379         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16380         Make it actually compile too..
16381
16382 2006-01-20  Wim Taymans  <wim@fluendo.com>
16383
16384         * gst/gstcaps.c:
16385         Clarify behaviour of _is_equal() when passing NULL parameters.
16386
16387         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16388         (gst_pad_set_caps):
16389         Cleanups. Don't unref NULL caps.
16390         When setting the same caps, protect caps of the pad with
16391         proper lock.
16392         Use full functionality of _is_equal() when comparing caps.
16393
16394 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16395
16396         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16397         Don't loop infinitely if there are no buffers to present. Partially
16398         fixes #327197, but collectpads is just broken for reusing elements
16399         to do multiple encodes atm.
16400
16401 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16402
16403         * tools/gst-inspect.c: (print_element_features):
16404         * tools/gst-xmlinspect.c: (main):
16405         URL_HANDLER is not a plugin feature we can search for in
16406         the registry.
16407
16408 2006-01-19  Edward Hervey  <edward@fluendo.com>
16409
16410         * gst/gstelement.c: (gst_element_pads_activate): 
16411         When activating, do src pads first, then sink pads.
16412         When de-activating, do sink pads first, then src pads.
16413
16414 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16415
16416         * docs/gst/gstreamer-sections.txt:
16417         Add gst_index_add_associationv to the docs
16418
16419 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16420
16421         * gst/gstevent.c:
16422           Fix docs typo
16423
16424         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16425         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16426           Do some refactoring. Doesn't actually change functionality,
16427           but makes landing the DRAIN event easier later.
16428
16429 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
16430
16431         * docs/pwg/advanced-scheduling.xml:
16432           Update from 0.9.x to 0.10 API and make example a bit
16433           clearer.
16434
16435 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16436
16437         * docs/gst/gstreamer-sections.txt:
16438         Add gst_buffer_(is|make)_metadata_writable methods.
16439
16440 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16441
16442         * docs/design/part-sparsestreams.txt:
16443         Update sparse streams doc, hopefully for greater clarity
16444
16445 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
16446
16447         * docs/design/part-events.txt:
16448         Remove mention of FILLER events.
16449         Add DRAIN event.
16450
16451         * docs/design/part-sparsestreams.txt:
16452         Write some things about using NEWSEGMENT to keep sparse streams
16453         flowing.
16454
16455 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16456
16457         * gst/gstbin.c: (gst_bin_dispose):
16458           Guard gst_object_unref call against a NULL object (dispose
16459           can theoretically be called multiple times).
16460           
16461 2006-01-18  Wim Taymans  <wim@fluendo.com>
16462
16463         * gst/gstbin.c: (gst_bin_element_set_state):
16464         * gst/gstclock.c: (gst_clock_id_wait):
16465         Added some more debug info.
16466
16467         * libs/gst/base/gstadapter.c:
16468         Added more docs.
16469
16470         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16471         (gst_base_sink_do_sync), (gst_base_sink_chain):
16472         Added some comments.
16473
16474 2006-01-18  Wim Taymans  <wim@fluendo.com>
16475
16476         * tests/check/Makefile.am:
16477         * tests/check/elements/fakesink.c: (chain_async_buffer),
16478         (chain_async), (chain_async_return), (GST_START_TEST),
16479         (fakesink_suite), (main):
16480         Added fakesink test that checks prerolling and clipping
16481         behaviour.
16482
16483         * tests/check/gst/gstutils.c: (GST_START_TEST):
16484         Make check run faster so that buildbots don't timeout.
16485
16486 2006-01-18  Wim Taymans  <wim@fluendo.com>
16487
16488         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16489         (gst_base_sink_do_sync):
16490         Some cleanups.
16491         When the sink finishes blocking on the preroll buffer, it can
16492         immediatly render it instead of rendering when the next buffer
16493         arrives.
16494
16495 2006-01-18  Wim Taymans  <wim@fluendo.com>
16496
16497         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16498         (gst_base_sink_get_property), (gst_base_sink_do_sync),
16499         (gst_base_sink_chain):
16500         Small cleanups.
16501         GST_ELEMENT_CLOCK and sync are protected with LOCK.
16502         Don't store _last_stop if the buffer is dropped.
16503
16504 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16505
16506         * plugins/elements/gsttypefindelement.c:
16507         (gst_type_find_element_class_init):
16508           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16509           object method handler that sets the caps on the pad and we want
16510           that to happen before we emit the signal (fixes e.g. feeding a
16511           plain text file to decodebin).
16512
16513 2006-01-18  Christian Schaller  <Christian@fluendo.com>
16514
16515         * gst/gstplugin.c: Add MPL and Proprietary as license options
16516
16517 2006-01-18  Andy Wingo  <wingo@pobox.com>
16518
16519         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16520         symbol was exported before, it appears this was just an oversight.
16521         Fixes #168703.
16522         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16523
16524         * gst/gstindex.c (gst_index_add_associationv): Changed int in
16525         prototype to gint. OK since this prototype was not in the header.
16526
16527 2006-01-17  Andy Wingo  <wingo@pobox.com>
16528
16529         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16530         registry while we remove plugins.
16531
16532         * tools/gst-inspect.c (print_element_info): Don't unref the
16533         factory arg, that should be the responsibility of whatever code
16534         received the ref. Fixes a double-free when called from
16535         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16536         (main): Unref the factory if we have one.
16537         (print_element_list): No change -- relies on the
16538         plugin_feature_list_free to free the list of features.
16539
16540 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
16541
16542         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16543         (gst_buffer_make_metadata_writable):
16544         * gst/gstbuffer.h:
16545         * libs/gst/base/gstbasetransform.c:
16546         (gst_base_transform_prepare_output_buf):
16547         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16548         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16549           Replace gst_buffer_(make|is)_metadata_writable patch now
16550           that the release is out.
16551
16552 2006-01-17  Andy Wingo  <wingo@pobox.com>
16553
16554         * gst/gstregistry.c: Reflow design comment. Update so as to speak
16555         in the present tense without reference to versions.
16556
16557         * gst/gstregistry.c (gst_registry_add_plugin)
16558         (gst_registry_remove_plugin, gst_registry_remove_feature)
16559         (gst_registry_find_feature, gst_registry_get_feature_list)
16560         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16561         (gst_registry_lookup, gst_registry_scan_path)
16562         (_gst_registry_remove_cache_plugins)
16563         (gst_registry_get_feature_list_by_plugin): Add argument
16564         validation.
16565
16566 === release 0.10.2 ===
16567
16568 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
16569
16570         * configure.ac:
16571           releasing 0.10.2, "If man is five"
16572
16573 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16574
16575         * gst/gstbuffer.c:
16576         * gst/gstbuffer.h:
16577         * libs/gst/base/gstbasetransform.c:
16578         (gst_base_transform_prepare_output_buf):
16579         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16580         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16581           Back out patch until after the release.
16582
16583 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16584
16585         * gst/gstminiobject.c:
16586           Spelling fix in docs.
16587         * ChangeLog - remove conflict indicator
16588
16589 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16590
16591         Reviewed By: Andy Wingo
16592
16593         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16594         (gst_buffer_make_metadata_writable):
16595         * gst/gstbuffer.h:
16596           Add gst_buffer_(is|make)_metadata_writable as analogues of
16597           gst_buffer_(is|make)_writable.
16598
16599         * libs/gst/base/gstbasetransform.c:
16600         (gst_base_transform_prepare_output_buf):
16601         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16602           Use name gst_buffer_(is|make)_metadata_writable functions.
16603
16604         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16605           Test gst_buffer_(is|make)_metadata_writable
16606         
16607           (Closes: #324162)
16608
16609 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16610
16611         * docs/manual/Makefile.am:
16612           don't do parallel make
16613         * configure.ac:
16614           AC_SUBST HOST_CPU
16615         * win32/common/config.h.in:
16616           add generations for HOST_CPU and GST_MAJORMINOR
16617         * win32/common/config.h:
16618           commit generated result
16619
16620 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16621
16622         * docs/manual/appendix-integration.xml:
16623           Update GNOME integration section to use gst_init_get_option_group()
16624           instead of the old popt stuff (#322911). Also, GNOME applications
16625           should  now use gconf*sink and gconf*src instead of the old gconf
16626           helper lib we had.
16627
16628 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16629
16630
16631         * docs/gst/gstreamer-docs.sgml:
16632         * docs/gst/gstreamer-sections.txt:
16633         * docs/libs/gstreamer-libs-sections.txt:
16634           add new API entries to the docs
16635         * libs/gst/controller/Makefile.am:
16636         * libs/gst/controller/gstcontroller.c:
16637         * libs/gst/controller/gstcontroller.h:
16638         * libs/gst/controller/gstcontrollerprivate.h:
16639         * libs/gst/controller/gsthelper.c:
16640         * libs/gst/controller/gstinterpolation.c:
16641           move private structs to private header
16642         * po/README:
16643           gstreamer-0.7 -> gstreamer-0.10
16644         * tests/check/libs/struct_i386.h:
16645           remove private structs
16646
16647 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16648
16649         * plugins/indexers/Makefile.am:
16650           Fixes as part of #317048
16651
16652 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16653
16654         * plugins/indexers/Makefile.am:
16655           fix #316086 - compilation when mmap is missing
16656
16657 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16658
16659         * libs/gst/base/gstbasesink.c:
16660           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16661           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16662         * win32/common/config.h:
16663           added some defines GST_MAJORMINOR and HOST_CPU
16664         * win32/common/libgstbase.def:
16665         * win32/common/libgstreamer.def:
16666           added some exported functions.
16667
16668 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16669
16670         * libs/gst/controller/gstcontroller.c:
16671         (gst_controlled_property_set_interpolation_mode),
16672         (gst_controlled_property_new):
16673         * libs/gst/controller/gstcontroller.h:
16674         * libs/gst/controller/gstinterpolation.c:
16675         (interpolate_none_get_string_value_array):
16676           make G_TYPE_STRING controlable
16677
16678 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16679
16680         * tools/README:
16681         * tools/gst-feedback.1.in:
16682         * tools/gst-inspect.1.in:
16683         * tools/gst-launch.1.in:
16684         * tools/gst-md5sum.1.in:
16685         * tools/gst-typefind.1.in:
16686         * tools/gst-xmlinspect.1.in:
16687         * tools/gst-xmllaunch.1.in:
16688           cleanup man-pages, remove reference to gst-register, document env-vars
16689
16690 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16691
16692         * gst/gstbuffer.c: (gst_buffer_span):
16693           gst_buffer_span should copy the timestamp of the first buffer
16694           if they were both originally overlapping subbuffers of the 
16695           same parent, using the same logic as the 'slow copy' case.
16696
16697 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16698
16699         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16700           Need to awaken ALL the pads when we pop a buffer, otherwise
16701           collectpads only works when there is 2 input streams.
16702
16703 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16704
16705         * docs/random/ensonic/media-device-daemon.txt:
16706           more ideas (dbus)
16707         * gst/gstbuffer.c:
16708           fix doc example, add clarification
16709         * tools/gst-launch.1.in:
16710           add initial info about GST_PLUGIN_PATH, needs more work
16711
16712 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16713
16714         * docs/manual/basics-bins.xml:
16715         * docs/manual/basics-elements.xml:
16716         * docs/manual/intro-basics.xml:
16717           Some more minor docs additions and updates.
16718
16719 2006-01-11  Wim Taymans  <wim@fluendo.com>
16720
16721         * docs/manual/basics-bins.xml:
16722         * docs/manual/basics-elements.xml:
16723         Some small fixes as pointed out by Ser-ver on IRC.
16724
16725 2006-01-10  Edward Hervey  <edward@fluendo.com>
16726
16727         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16728         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16729         the single-segment mode.
16730
16731 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16732
16733         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16734
16735         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16736         (gst_base_src_perform_seek), (gst_base_src_send_event),
16737         (gst_base_src_set_property), (gst_base_src_get_property),
16738         (gst_base_src_loop), (gst_base_src_start),
16739         (gst_base_src_activate_push):
16740         * libs/gst/base/gstbasesrc.h:
16741           Name (private) union; makes Sun's Forte compiler happy (#324900).
16742
16743 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16744
16745         * README:
16746           gst-register is gone.
16747
16748 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16749
16750         * gst/gstvalue.c: (_gst_value_initialize):
16751           make the G_TYPE_DATE instantiation work if debug is disabled
16752
16753 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16754
16755         * gst/gstmessage.c: (gst_message_parse_tag),
16756         (gst_message_parse_error), (gst_message_parse_warning):
16757           Don't crash when return location for error/warning debug
16758           string is NULL; add fact that return locations can be
16759           NULL to docs where appropriate.
16760
16761 2006-01-05  Wim Taymans  <wim@fluendo.com>
16762
16763         * gst/gstplugin.c: (gst_plugin_load_file):
16764         Replace strdup by g_strdup.
16765
16766 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16767
16768         * docs/pwg/advanced-types.xml:
16769           fix doc borkage
16770
16771 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16772
16773         submitted by: Abel Cheung
16774
16775         * po/LINGUAS:
16776         * po/zh_TW.po:
16777           Added Chinese (traditional) translation
16778
16779 2006-01-04  Wim Taymans  <wim@fluendo.com>
16780
16781         * docs/manual/basics-pads.xml:
16782         * docs/plugins/Makefile.am:
16783         * docs/plugins/gstreamer-plugins-docs.sgml:
16784         * docs/plugins/gstreamer-plugins-sections.txt:
16785         * docs/pwg/advanced-clock.xml:
16786         * docs/pwg/advanced-scheduling.xml:
16787         * docs/pwg/advanced-types.xml:
16788         * plugins/elements/gstfdsink.c:
16789         * plugins/elements/gstfdsrc.c:
16790         * plugins/elements/gstfdsrc.h:
16791         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16792         * plugins/elements/gstidentity.h:
16793         * plugins/elements/gstqueue.h:
16794         * plugins/elements/gsttee.c:
16795         * plugins/elements/gsttee.h:
16796         * plugins/elements/gsttypefindelement.c:
16797         (gst_type_find_element_class_init):
16798         * plugins/elements/gsttypefindelement.h:
16799         Small updates to various docs.
16800         Added core plugins to docs.
16801
16802 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16803
16804         * common/gst.supp:
16805           add a suppression for liboil's uninitialized variable
16806
16807 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16808
16809         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16810
16811         * gst/gstutils.h:
16812           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16813           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16814           compiler switch is being used (#325429).
16815
16816 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16817
16818         * gst/gstbin.c: (gst_bin_query):
16819           Disable duration query caching in bins until it gets
16820           fixed (see #324807).
16821
16822 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16823
16824         * tools/gst-inspect.c: (print_element_properties_info):
16825           Handle properties of POINTER and BOXED type.
16826
16827 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16828
16829         * gst/gst.c: (init_post):
16830           Init tags stuff and some other things before loading
16831           any static plugins (there may be other static plugins
16832           than just the GStreamer ones, and they may want to
16833           register their own tags or formats or whatever, and
16834           preferably without segfaulting).
16835
16836         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16837           Print at least a warning in the debug logs if we drop a
16838           query just because we don't know how to adjust the value
16839           in the particular format.
16840
16841 2005-12-24  David Schleef  <ds@schleef.org>
16842
16843         * tools/gstreamer-completion:
16844           Replacement for gst-complete written in sh and sed.  Only
16845           completes names of features, but that's 90% of what I want
16846           it for.  Properties are not available in registry.xml.  (Maybe
16847           they should be...)
16848
16849 === release 0.10.1 ===
16850
16851 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16852
16853         * configure.ac:
16854           releasing 0.10.1, "Nollaig chridheil"
16855
16856 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16857
16858         * docs/faq/cvs.xml:
16859           Add missing quote, should be make ERROR_CFLAGS="".
16860
16861 2005-12-20  Wim Taymans  <wim@fluendo.com>
16862
16863         * docs/design/part-trickmodes.txt:
16864         More documentation on trickmodes.
16865
16866 2005-12-20  Edward Hervey  <edward@fluendo.com>
16867
16868         * gst/gstcaps.c: (gst_static_caps_get_type):
16869         * gst/gstcaps.h:
16870           API addition: GST_TYPE_STATIC_CAPS
16871         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16872         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16873         * gst/gstpadtemplate.h:
16874           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16875         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16876         bindings.
16877
16878 2005-12-18  Wim Taymans  <wim@fluendo.com>
16879
16880         * libs/gst/base/gstadapter.c:
16881         * libs/gst/base/gstadapter.h:
16882         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16883         (gst_base_sink_get_position):
16884         * libs/gst/base/gstbasesink.h:
16885         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16886         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16887         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16888         (gst_base_src_send_event), (gst_base_src_update_length),
16889         (gst_base_src_get_range), (gst_base_src_loop),
16890         (gst_base_src_start):
16891         * libs/gst/base/gstbasesrc.h:
16892         * libs/gst/base/gstbasetransform.h:
16893         * libs/gst/base/gstcollectpads.h:
16894         * libs/gst/base/gstpushsrc.c:
16895         * libs/gst/base/gstpushsrc.h:
16896         * libs/gst/dataprotocol/dataprotocol.c:
16897         * libs/gst/dataprotocol/dataprotocol.h:
16898         * libs/gst/net/gstnetclientclock.h:
16899         * libs/gst/net/gstnettimeprovider.h:
16900         Documentation updates.
16901
16902 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16903
16904         * docs/manual/basics-helloworld.xml:
16905           Remove superfluous closing bracket in helloworld example.
16906
16907 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16908
16909         * tools/gst-launch.1.in:
16910           Update gst-launch man page; add a section with useful
16911           environment variables. Fixes #323882.
16912
16913 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16914
16915         * gst/gst.c:
16916         * gst/gst_private.h:
16917           change some char* into char[]
16918
16919 2005-12-16  Wim Taymans  <wim@fluendo.com>
16920
16921         * gst/gstregistryxml.c: (load_feature):
16922         Cleanups.
16923         Don't use g_object_unref on GstObjects so that we avoid
16924         leaks on unsafe glibs.
16925
16926 2005-12-16  Wim Taymans  <wim@fluendo.com>
16927
16928         * gst/gstbin.c: (gst_bin_recalc_state):
16929         Small doc updates.
16930
16931 2005-12-16  Wim Taymans  <wim@fluendo.com>
16932
16933         * common/check.mak:
16934         Added make forever target for check.
16935
16936 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16937
16938         * gst/gst.c: (init_post):
16939           make the registry cache file HOST_CPU-dependent
16940
16941 2005-12-16  Andy Wingo  <wingo@pobox.com>
16942
16943         * plugins/elements/gstbufferstore.c
16944         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16945         return value.
16946
16947         * tests/check/gst/gstobject.c
16948         (test_fake_object_name_threaded_unique): Pay attention to
16949         g_list_sort return value.
16950
16951 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16952
16953         * tools/gst-feedback-m.m:
16954           Update for 0.9/0.10 (fixes #323870).
16955
16956 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16957
16958         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16959           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16960           
16961         * tests/check/gst/gstminiobject.c: (my_foo_init),
16962         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16963         (test_value_collection), (gst_mini_object_suite):
16964           Add test to ensure refcounts end up as expected when passing
16965           GstMiniObjects through g_object_get() and g_object_set().
16966
16967 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16968
16969         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16970         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16971         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16972         of collectpads. This version removes a lot of races without
16973         touching API/ABI. Yay !
16974
16975 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16976
16977         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16978           Don't allow activation of a srcpad in pull_range if it has no
16979           getrange function.
16980           Change some debug statements to be a little clearer
16981
16982         * plugins/elements/gsttypefindelement.c:
16983         (gst_type_find_handle_src_query):
16984           Check that we have a peer before executing queries thereupon.
16985
16986         * tests/examples/metadata/read-metadata.c: (message_loop):
16987           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16988           immediately return us any available message with 0 timeout.
16989
16990 2005-12-12  Michael Smith  <msmith@fluendo.com>
16991
16992         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16993           Don't unref factories after calling them.
16994         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16995         * plugins/elements/gsttypefindelement.c:
16996         (gst_type_find_element_chain):
16997           Free lists of factories after using them. Fixing typefinding memory
16998           leaks.
16999
17000 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17001
17002         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
17003         (gst_plugin_feature_load):
17004           more meaningful debug output
17005         * configure.ac:
17006         * tests/Makefile.am:
17007         * tests/old/examples/Makefile.am:
17008           make make distcheck happy again
17009
17010 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
17011
17012         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17013           Catch the special case where we are operating chain-based,
17014           but the downstream peer pad has no chain function. Emit a
17015           custom error message in this case instead of letting the
17016           core generate one implying that this is some sort of core
17017           bug. It's not, it just means that whatever got plugged
17018           into the pipeline downstream when we announced the type
17019           can only operate pull-based, while our source can only
17020           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
17021           Error string has not been marked for translation yet, as
17022           it probably needs some more work first.
17023
17024         (gst_type_find_element_get_best_possibility):
17025           Add helper function to find the best of all available
17026           found possibilities that qualify given the min. threshold.
17027
17028         (gst_type_find_element_handle_event):
17029           Fix the case where we get an EOS while still in TYPEFIND
17030           mode (we want to chose the best of all possible types,
17031           not just the first type that happens to be in our unsorted
17032           list of possible types).
17033
17034         (gst_type_find_element_chain):
17035           Make sure we return GST_FLOW_ERROR when we errored out
17036           in stop_typefinding(); also, don't just find the best of
17037           all found type entries and then use the last examined
17038           type entry, but actually use the best entry.
17039
17040 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
17041
17042         * tests/examples/typefind/typefind.c: (type_found):
17043         * tests/examples/xml/runxml.c: (xml_loaded):
17044           More gcc4 fixes and a mem leak fix.
17045
17046 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17047
17048         * tests/examples/xml/createxml.c: (object_saved):
17049           gcc 4 fixes
17050
17051 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17052
17053         * tests/Makefile.am:
17054           enable the examples even more
17055
17056 2005-12-12  Andy Wingo  <wingo@pobox.com>
17057
17058         * libs/gst/net/gstnettimeprovider.c
17059         (gst_net_time_provider_class_init, gst_net_time_provider_init)
17060         (gst_net_time_provider_set_property)
17061         (gst_net_time_provider_get_property):
17062         API addition: Export "active" as a GObject property.
17063         (gst_net_time_provider_thread): Only respond to time queries if
17064         the time provider is active.
17065
17066         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
17067         NetTimeProvider, preserving binary compat.
17068
17069 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17070
17071         * tests/examples/controller/audio-example.c: (main):
17072         * tests/examples/launch/Makefile.am:
17073           convert comments again
17074
17075 2005-12-12  Wim Taymans  <wim@fluendo.com>
17076
17077         * libs/gst/base/gstpushsrc.c:
17078         Fix typo.
17079
17080 2005-12-12  Wim Taymans  <wim@fluendo.com>
17081
17082         * docs/libs/gstreamer-libs-sections.txt:
17083         Added new symbol to docs.
17084
17085         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17086         (gst_base_src_init), (gst_base_src_set_format),
17087         (gst_base_src_default_query), (gst_base_src_query),
17088         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
17089         (gst_base_src_perform_seek), (gst_base_src_send_event),
17090         (gst_base_src_default_event), (gst_base_src_event_handler),
17091         (gst_base_src_set_property), (gst_base_src_get_property),
17092         (gst_base_src_wait), (gst_base_src_do_sync),
17093         (gst_base_src_update_length), (gst_base_src_get_range),
17094         (gst_base_src_check_get_range), (gst_base_src_loop),
17095         (gst_base_src_default_negotiate), (gst_base_src_start),
17096         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17097         (gst_base_src_change_state):
17098         * libs/gst/base/gstbasesrc.h:
17099         Implement seeking to other formats than _BYTES.
17100         Implement more seeking methods correctly.
17101         Doc updates.
17102         Added query vmethod.
17103         Added do_seek vmethod to make life easier for subclasses
17104         when seeking.
17105         API addition: gst_base_src_set_format()
17106
17107 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17108
17109         * tests/examples/Makefile.am:
17110           added that too
17111
17112 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17113
17114         * configure.ac:
17115         * docs/random/ensonic/media-device-daemon.txt:
17116         * tests/examples/controller/.cvsignore:
17117         * tests/examples/controller/Makefile.am:
17118         * tests/examples/controller/audio-example.c: (main):
17119         * tests/examples/helloworld/.cvsignore:
17120         * tests/examples/helloworld/Makefile.am:
17121         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
17122         * tests/examples/launch/.cvsignore:
17123         * tests/examples/launch/Makefile.am:
17124         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
17125         * tests/examples/metadata/.cvsignore:
17126         * tests/examples/metadata/Makefile.am:
17127         * tests/examples/metadata/read-metadata.c: (message_loop),
17128         (make_pipeline), (print_tag), (main):
17129         * tests/examples/queue/.cvsignore:
17130         * tests/examples/queue/Makefile.am:
17131         * tests/examples/queue/queue.c: (event_loop), (main):
17132         * tests/examples/typefind/.cvsignore:
17133         * tests/examples/typefind/Makefile.am:
17134         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
17135         (main):
17136         * tests/examples/xml/.cvsignore:
17137         * tests/examples/xml/Makefile.am:
17138         * tests/examples/xml/createxml.c: (object_saved), (main):
17139         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
17140         * tests/old/examples/Makefile.am:
17141         * tests/old/examples/TODO:
17142         * tests/old/examples/controller/.cvsignore:
17143         * tests/old/examples/controller/Makefile.am:
17144         * tests/old/examples/controller/audio-example.c:
17145         * tests/old/examples/helloworld/.cvsignore:
17146         * tests/old/examples/helloworld/Makefile.am:
17147         * tests/old/examples/helloworld/helloworld.c:
17148         * tests/old/examples/launch/.cvsignore:
17149         * tests/old/examples/launch/Makefile.am:
17150         * tests/old/examples/launch/mp3parselaunch.c:
17151         * tests/old/examples/launch/mp3play:
17152         * tests/old/examples/manual/Makefile.am:
17153         * tests/old/examples/metadata/Makefile.am:
17154         * tests/old/examples/metadata/read-metadata.c:
17155         * tests/old/examples/queue/.cvsignore:
17156         * tests/old/examples/queue/Makefile.am:
17157         * tests/old/examples/queue/queue.c:
17158         * tests/old/examples/typefind/.cvsignore:
17159         * tests/old/examples/typefind/Makefile.am:
17160         * tests/old/examples/typefind/typefind.c:
17161         * tests/old/examples/xml/.cvsignore:
17162         * tests/old/examples/xml/Makefile.am:
17163         * tests/old/examples/xml/createxml.c:
17164         * tests/old/examples/xml/runxml.c:
17165           applied some simple fixing to some examples
17166           re-enabled the working examples
17167
17168 2005-12-12  Wim Taymans  <wim@fluendo.com>
17169
17170         * gst/gstsegment.c: (gst_segment_init),
17171         (gst_segment_set_last_stop), (gst_segment_set_seek),
17172         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17173         (gst_segment_to_running_time):
17174         Added more documentation.
17175         Make sure the last_pos value is updated properly.
17176         Make sure to_stream_time and to_running_time don't
17177         operate on wrong values.
17178
17179         * tests/check/gst/gstsegment.c: (GST_START_TEST):
17180         Update check.
17181
17182 2005-12-12  Michael Smith  <msmith@fluendo.com>
17183
17184         * plugins/elements/gsttypefindelement.c: (free_entry),
17185         (gst_type_find_element_chain):
17186           Now that we're not leaking factories, make sure we keep references
17187           to them while we need them.
17188
17189 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17190
17191         * tests/check/gst/struct_i386.h:
17192           ifdef out the XML structs
17193
17194 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17195
17196         * gst/gstvalue.c: (gst_value_transform_double_fraction):
17197           floor is not needed, F is always positive; this obviates the
17198           need for adding -lm when building without libxml
17199
17200 2005-12-12  Wim Taymans  <wim@fluendo.com>
17201
17202         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17203         Take current playback rate into account when reporting
17204         the position.
17205
17206 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17207
17208         * docs/manual/mime-world.fig:
17209           Let's try this again, this time with a file that is
17210           actually in XFig format.
17211
17212 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17213
17214         * docs/manual/mime-world.fig:
17215           Add audioconvert element to diagram so that it
17216           matches the text and the code (fixes #319526).
17217
17218 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17219
17220         * docs/pwg/building-chainfn.xml:
17221         * docs/pwg/building-pads.xml:
17222         * docs/pwg/building-state.xml:
17223         * docs/pwg/other-source.xml:
17224           Update state change stuff for 0.10 (fixes #322969).
17225
17226 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17227
17228         * docs/manual/advanced-dataaccess.xml:
17229         * docs/manual/appendix-checklist.xml:
17230         * docs/manual/appendix-programs.xml:
17231         * docs/manual/basics-pads.xml:
17232         * docs/manual/highlevel-components.xml:
17233         * docs/manual/manual.xml:
17234           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
17235           add converters in front of pipelines; remove curly
17236           brackets for threads stuff, they no longer exist; use
17237           GST_TYPE_FRACTION for framerates; update some pieces of
17238           code to 0.10, but there's plenty more to do.
17239
17240         * docs/manual/appendix-porting.xml:
17241           Expand on asynchroneous state changes; s/0.9/0.10/;
17242           mention disappearance of gst_init_get_popt_table()
17243           (fixes #322916).
17244
17245 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17246
17247         * docs/faq/using.xml:
17248           Spider no longer exists, and neither does gst-launch-ext.
17249           Update examples to use decodebin and playbin and put
17250           converters in front of sinks (fixes #323726).
17251
17252 2005-12-09  Michael Smith  <msmith@fluendo.com>
17253
17254         * plugins/elements/gsttypefindelement.c: (find_peek),
17255         (gst_type_find_element_chain):
17256           Fix leaking element factories in typefinding.
17257           Fix problem where we forgot about a probable type on non-seekable
17258           files, and thus later mis-typefound it.
17259
17260 2005-12-09  Michael Smith  <msmith@fluendo.com>
17261
17262         * common/m4/gst-makecontext.m4:
17263         * common/m4/gst-mcsc.m4:
17264         * configure.ac:
17265         * win32/common/config.h:
17266         * win32/common/config.h.in:
17267           Remove makecontext stuff; not used in 0.10 and causes problems on
17268           HPUX according to bug #322441
17269
17270 2005-12-07  Wim Taymans  <wim@fluendo.com>
17271
17272         * tests/check/Makefile.am:
17273         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
17274         (main):
17275         * tests/check/libs/struct_i386.h:
17276         Added ABI check for libs
17277
17278 2005-12-07  Wim Taymans  <wim@fluendo.com>
17279
17280         * tests/check/Makefile.am:
17281         And add the struct_i386.h to dist.
17282
17283 2005-12-07  Wim Taymans  <wim@fluendo.com>
17284
17285         * tests/check/Makefile.am:
17286         * tests/check/gst/.cvsignore:
17287         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17288         (main):
17289         * tests/check/gst/struct_i386.h:
17290         Added check for ABI compatibility.
17291
17292 2005-12-07  Wim Taymans  <wim@fluendo.com>
17293
17294         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17295         (gst_fake_src_get_times), (gst_fake_src_create):
17296         Fix broken sync option, fixes #323259
17297
17298 2005-12-07  Wim Taymans  <wim@fluendo.com>
17299
17300         * gst/gstbuffer.c:
17301         Small docs update.
17302
17303         * gst/gstcaps.c: (gst_caps_is_equal):
17304         Don't assert on NULL <--> X. Fixes #323260
17305
17306         * gst/gstminiobject.c: (gst_mini_object_replace):
17307         If we're doing atomic operations, we might just as well use
17308         the proper way to get an atomic pointer.
17309
17310         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17311         Clean up debugging.
17312
17313 2005-12-07  Michael Smith  <msmith@fluendo.com>
17314
17315         * gst/parse/grammar.y:
17316           Remove handling of { } for threads.
17317
17318 2005-12-06  David Schleef  <ds@schleef.org>
17319
17320         * libs/gst/base/gstbasetransform.c: speling fix.
17321
17322 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17323
17324         * docs/libs/tmpl/gstdataprotocol.sgml:
17325         * docs/random/omega/testing/gstobject.c:
17326         * gst/gst.c:
17327         * gst/gstclock.c:
17328         * gst/gstelement.c:
17329         * gst/gstelementfactory.c:
17330         * gst/gsterror.c:
17331         * gst/gstevent.c:
17332         * gst/gstghostpad.c:
17333         * gst/gstinfo.c:
17334         * gst/gstpadtemplate.c:
17335         * gst/gstregistryxml.c:
17336         * gst/gsttaglist.c:
17337         * gst/gsttagsetter.c:
17338         * gst/gsttypefind.c:
17339         * gst/gstvalue.c:
17340         * libs/gst/base/gstbasesrc.c:
17341         * libs/gst/net/gstnetclientclock.c:
17342         * libs/gst/net/gstnettimeprovider.c:
17343         * plugins/elements/gstfakesrc.c:
17344         * plugins/elements/gstfdsrc.c:
17345         * plugins/elements/gstfilesrc.c:
17346         * plugins/elements/gstidentity.c:
17347         * plugins/elements/gstqueue.c:
17348         * plugins/elements/gsttypefindelement.c:
17349         * plugins/indexers/gstfileindex.c:
17350         * plugins/indexers/gstmemindex.c:
17351         * tests/check/gst/gsttag.c:
17352         * tests/old/examples/cutter/cutter.c:
17353         * tests/old/examples/mixer/mixer.c:
17354         * tests/old/examples/xml/runxml.c: (main):
17355         * tests/old/testsuite/caps/normalisation.c:
17356         * tests/old/testsuite/debug/global.c:
17357         * tests/old/testsuite/parse/parse1.c:
17358         * tools/gst-xmlinspect.c:
17359         * win32/common/dirent.c:
17360           expand tabs
17361
17362 === release 0.10.0 ===
17363
17364 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17365
17366         * configure.ac:
17367           releasing 0.10.0, "Maroilles"
17368
17369 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17370
17371         submitted by: Funda Wang <fundawang@linux.net.cn>
17372
17373         * po/LINGUAS:
17374         * po/zh_CN.po:
17375           added Chinese (Traditional) translation
17376
17377 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17378
17379         * docs/gst/gstreamer-sections.txt:
17380         * docs/libs/tmpl/gstdataprotocol.sgml:
17381         * docs/random/thomasvs/TODO:
17382         * gst/gstutils.c:
17383         * gst/gstutils.h:
17384           fix docs
17385
17386 2005-12-05  Andy Wingo  <wingo@pobox.com>
17387
17388         patch by: Wim Taymans <wim@fluendo.com>
17389
17390         * libs/gst/base/gstbasetransform.c
17391         (gst_base_transform_prepare_output_buf)
17392         (gst_base_transform_buffer_alloc):
17393         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17394         alloc_buffer_and_set_caps.
17395
17396         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17397         set_caps on the source pad.
17398         (gst_pad_alloc_buffer_and_set_caps): New function, does what
17399         alloc_buffer used to do. Fixes #322874.
17400
17401         * docs/gst/gstreamer-sections.txt: 
17402         * docs/design/part-negotiation.txt: 
17403         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17404         changes.
17405
17406 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17407
17408         patch by: Sebastien Moutte
17409
17410         * win32/MANIFEST:
17411         * win32/common/config.h.in:
17412         * win32/vs6/libgstcontroller.dsp:
17413           win32 build fixes
17414
17415 2005-12-05  Wim Taymans  <wim@fluendo.com>
17416
17417         * gst/gstcaps.c: (gst_caps_is_equal):
17418         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17419         (gst_fake_src_create):
17420         Back out previous code changes, leave doc updates, file bugs 
17421         instead. 
17422
17423 2005-12-05  Wim Taymans  <wim@fluendo.com>
17424
17425         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17426         (gst_fake_src_get_times), (gst_fake_src_create):
17427         * plugins/elements/gstfakesrc.h:
17428         Fix broken sync code.
17429
17430 2005-12-05  Wim Taymans  <wim@fluendo.com>
17431
17432         * gst/gstcaps.c: (gst_caps_is_equal):
17433         Comparing NULL against !NULL yields different caps, not a
17434         failure.
17435
17436 2005-12-05  Wim Taymans  <wim@fluendo.com>
17437
17438         * gst/gstpipeline.c:
17439         Fix small typo in docs.
17440
17441 2005-12-05  Andy Wingo  <wingo@pobox.com>
17442
17443         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
17444
17445         * gst/gst.c (init_post): remove hard-coded 0.9 location for
17446         registries/plugins with a MAJORMINOR one.
17447         (plugin_desc): Rename library from gstcoreleements to
17448         staticelements. Fixes #323222.
17449
17450 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
17451
17452         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17453           Change debug category to 'collectpads' from 'collect_pads'
17454           (fixes #323250).
17455
17456 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17457
17458         patch by: Sebastien Moutte
17459
17460         * libs/gst/controller/gstinterpolation.c:
17461           use convert function for uint64/double
17462         * win32/vs6/libgstcontroller.dsp:
17463           link to GLib
17464
17465 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17466
17467         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17468         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17469         * gst/gstutils.h:
17470         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17471           add tests that seem to show that the guint64/gdouble conversions
17472           are correct.
17473
17474 2005-12-02  Wim Taymans  <wim@fluendo.com>
17475
17476         * gst/gstregistry.c: (gst_registry_add_path):
17477         * gst/gstregistry.h:
17478         * gst/gstregistryxml.c:
17479         Fix docs again.
17480
17481 2005-12-02  Wim Taymans  <wim@fluendo.com>
17482
17483         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17484         (gst_util_uint64_scale_int):
17485         Small cleanup.
17486
17487         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17488         Add debug log line.
17489
17490         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17491         Add FIXME.
17492
17493 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17494
17495         * win32/MANIFEST:
17496         * win32/common/config.h:
17497         * win32/vs6/gstreamer.dsw:
17498         * win32/vs6/libgstcoreelements.dsp:
17499         * win32/vs6/libgstelements.dsp:
17500           renamed core elements plugin
17501
17502 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17503
17504         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17505         (get_candidates):
17506           do piece-wise major/minor comparison so 0.9 < 0.10
17507           also allow .exe extensions for tools
17508
17509 2005-12-02  Michael Smith  <msmith@fluendo.com>
17510
17511         * gst/gst.c:
17512           Escape a % to make gtkdoc happier; bug 322958.
17513
17514 === release 0.9.7 ===
17515
17516 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17517
17518         * configure.ac:
17519           releasing 0.9.7, "My Dog Has No Nose"
17520
17521 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17522
17523         * common/gst-xmlinspect.py:
17524         * configure.ac:
17525         * docs/libs/tmpl/gstdataprotocol.sgml:
17526         * docs/random/release:
17527         * po/af.po:
17528         * po/az.po:
17529         * po/bg.po:
17530         * po/ca.po:
17531         * po/cs.po:
17532         * po/de.po:
17533         * po/en_GB.po:
17534         * po/fr.po:
17535         * po/it.po:
17536         * po/nb.po:
17537         * po/nl.po:
17538         * po/ru.po:
17539         * po/sq.po:
17540         * po/sr.po:
17541         * po/sv.po:
17542         * po/tr.po:
17543         * po/uk.po:
17544         * po/vi.po:
17545         * win32/common/config.h:
17546         * win32/common/config.h.in:
17547         * win32/vs6/gst_inspect.dsp:
17548         * win32/vs6/gst_launch.dsp:
17549         * win32/vs6/libgstbase.dsp:
17550         * win32/vs6/libgstelements.dsp:
17551         * win32/vs6/libgstreamer.dsp:
17552         * win32/vs7/GStreamer.vcproj:
17553         * win32/vs7/gst-inspect.vcproj:
17554         * win32/vs7/gst-launch.vcproj:
17555         * win32/vs7/libgstbase.vcproj:
17556           bump GST_MAJORMINOR to 0.10
17557           reset libtool version
17558
17559 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17560
17561         * po/LINGUAS:
17562         * po/bg.po:
17563           Added Bulgarian translation by (Alexander Shopov)
17564
17565 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17566
17567         * tests/check/gst/gstplugin.c:
17568           fix test
17569
17570 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17571
17572         * common/gst-xmlinspect.py:
17573         * common/gtk-doc-plugins.mak:
17574         * configure.ac:
17575         * docs/Makefile.am:
17576         * docs/gst/Makefile.am:
17577         * docs/gst/gstreamer-docs.sgml:
17578         * docs/gst/gstreamer-sections.txt:
17579         * docs/gst/gstreamer.types:
17580         * docs/gst/gstreamer.types.in:
17581         * docs/plugins/Makefile.am:
17582         * docs/plugins/gstreamer-plugins-docs.sgml:
17583         * docs/plugins/gstreamer-plugins-sections.txt:
17584         * docs/plugins/gstreamer-plugins.types:
17585         * docs/plugins/inspect.stamp:
17586         * docs/plugins/inspect/plugin-coreelements.xml:
17587         * docs/plugins/inspect/plugin-coreindexers.xml:
17588         * docs/plugins/scanobj-build.stamp:
17589         * gstreamer.spec.in:
17590         * plugins/elements/Makefile.am:
17591         * plugins/elements/gstelements.c:
17592         * plugins/elements/gstfakesink.c:
17593         * plugins/elements/gstfakesrc.c:
17594         * plugins/elements/gstfilesink.c:
17595         * plugins/elements/gstfilesrc.c:
17596         * plugins/elements/gstqueue.c:
17597         * plugins/indexers/Makefile.am:
17598         * plugins/indexers/gstindexers.c:
17599           document core plugins in a separate document just like all the
17600           others
17601           rename these plugins to something starting with core
17602
17603 2005-12-01  Andy Wingo  <wingo@pobox.com>
17604
17605         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17606         padding here before, but it missed the commit.
17607
17608 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17609
17610         * libs/gst/controller/gstinterpolation.c:
17611           whitespace prices have crashed, we should feel free to use some now
17612           use gst_guint64_to_gdouble
17613
17614 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17615
17616         * libs/gst/controller/gstcontroller.c:
17617         * libs/gst/controller/gsthelper.c:
17618         * libs/gst/controller/gstinterpolation.c:
17619         * libs/gst/controller/lib.c:
17620           wrap config.h include
17621
17622 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17623
17624         * docs/gst/gstreamer-sections.txt:
17625           update docs
17626
17627 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17628
17629         * plugins/elements/gstelements.c:
17630         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17631         (gst_fd_sink__class_init), (gst_fd_sink__init),
17632         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17633         (gst_fd_sink__get_property):
17634         * plugins/elements/gstfdsink.h:
17635         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17636         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17637         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17638         (gst_fd_src_unlock), (gst_fd_src_set_property),
17639         (gst_fd_src_get_property), (gst_fd_src_create),
17640         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17641         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17642         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17643         (gst_fd_src_uri_handler_init):
17644         * plugins/elements/gstfdsrc.h:
17645         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17646           more anal cleanup
17647
17648 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17649
17650         * docs/gst/Makefile.am:
17651         * docs/gst/gstreamer.types.in:
17652         * gst/Makefile.am:
17653           fix the docs build
17654
17655 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17656
17657         * configure.ac:
17658         * gst/Makefile.am:
17659         * gst/gst.c:
17660         * gst/gstplugin.h:
17661         * gst/gstregistry.h:
17662         * tests/benchmarks/complexity.c:
17663         * tests/benchmarks/mass-elements.c:
17664         * tests/check/Makefile.am:
17665         * tools/Makefile.am:
17666         * tools/gst-inspect.c:
17667         * tools/gst-xmlinspect.c:
17668           various fixes to make
17669           --disable-nls --disable-registry --disable-loadsave
17670           --disable-parse --disable-gst-debug
17671           work and get the core .so down to 360444 bytes after stripping
17672
17673 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17674
17675         * Makefile.am:
17676         * configure.ac:
17677           descend into tests
17678         * docs/random/thomasvs/TODO:
17679         * tests/Makefile.am:
17680         * tests/README:
17681           add a README
17682
17683 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17684
17685         * win32/GStreamer.vcproj:
17686         * win32/MANIFEST:
17687         * win32/Makefile:
17688         * win32/Makefile.inspect:
17689         * win32/Makefile.launch:
17690         * win32/Makefile.register:
17691         * win32/README.txt:
17692         * win32/gst-inspect.vcproj:
17693         * win32/gst-launch.vcproj:
17694         * win32/gst-register.vcproj:
17695         * win32/gstelements.vcproj:
17696         * win32/gstgetbits.def:
17697         * win32/gstgetbits.vcproj:
17698         * win32/gstreamer-dbg.def:
17699         * win32/gstreamer.def:
17700         * win32/libgstbase.def:
17701         * win32/libgstbase.vcproj:
17702         * win32/link_oldruntime.c:
17703         * win32/mman.c:
17704         * win32/mman.h:
17705         * win32/mman.inl:
17706         * win32/msvc71.sln:
17707           move even more stuff, win32/ is nice and clean now
17708
17709 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17710
17711         * libs/gst/control/.cvsignore:
17712         * win32/MANIFEST:
17713         * win32/config.h:
17714         * win32/dirent.c:
17715         * win32/dirent.h:
17716         * win32/gstbytestream.def:
17717         * win32/gstbytestream.vcproj:
17718         * win32/gstconfig.h:
17719         * win32/gstenumtypes.c:
17720         * win32/gstenumtypes.h:
17721         * win32/gstoptimalscheduler.vcproj:
17722         * win32/gstversion.h:
17723         * win32/gtchar.h:
17724         * win32/testsuite/bins.vcproj:
17725         * win32/testsuite/bytestream.vcproj:
17726         * win32/testsuite/caps.vcproj:
17727         * win32/testsuite/cleanup.vcproj:
17728         * win32/testsuite/clock.vcproj:
17729         * win32/testsuite/debug.vcproj:
17730         * win32/testsuite/dlopen.vcproj:
17731         * win32/testsuite/dynparams.vcproj:
17732         * win32/testsuite/elements.vcproj:
17733         * win32/testsuite/ghostpads.vcproj:
17734         * win32/testsuite/indexers.vcproj:
17735         * win32/testsuite/negotiation.vcproj:
17736         * win32/testsuite/parse.vcproj:
17737         * win32/testsuite/plugin.vcproj:
17738         * win32/testsuite/refcounting.vcproj:
17739         * win32/testsuite/schedulers.vcproj:
17740         * win32/testsuite/states.vcproj:
17741         * win32/testsuite/tags.vcproj:
17742         * win32/testsuite/threads.vcproj:
17743           remove old win32 stuff that isn't maintained and should be
17744           reorganized
17745
17746 2005-11-30  Andy Wingo  <wingo@pobox.com>
17747
17748         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17749         loading the gst.interfaces python module bork.
17750
17751         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17752         available since GLib 2.2. Fixes #318031.
17753
17754 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17755
17756         * Makefile.am:
17757         * check/.cvsignore:
17758         * check/Makefile.am:
17759         * check/elements/.cvsignore:
17760         * check/elements/fakesrc.c:
17761         * check/elements/fdsrc.c:
17762         * check/elements/identity.c:
17763         * check/generic/.cvsignore:
17764         * check/generic/states.c:
17765         * check/gst-libs/.cvsignore:
17766         * check/gst-libs/controller.c:
17767         * check/gst-libs/gdp.c:
17768         * check/gst/.cvsignore:
17769         * check/gst/capslist.h:
17770         * check/gst/gst.c:
17771         * check/gst/gstbin.c:
17772         * check/gst/gstbuffer.c:
17773         * check/gst/gstbus.c:
17774         * check/gst/gstcaps.c:
17775         * check/gst/gstelement.c:
17776         * check/gst/gstevent.c:
17777         * check/gst/gstghostpad.c:
17778         * check/gst/gstiterator.c:
17779         * check/gst/gstmessage.c:
17780         * check/gst/gstminiobject.c:
17781         * check/gst/gstobject.c:
17782         * check/gst/gstpad.c:
17783         * check/gst/gstpipeline.c:
17784         * check/gst/gstplugin.c:
17785         * check/gst/gstsegment.c:
17786         * check/gst/gststructure.c:
17787         * check/gst/gstsystemclock.c:
17788         * check/gst/gsttag.c:
17789         * check/gst/gstutils.c:
17790         * check/gst/gstvalue.c:
17791         * check/net/.cvsignore:
17792         * check/net/gstnetclientclock.c:
17793         * check/net/gstnettimeprovider.c:
17794         * check/pipelines/.cvsignore:
17795         * check/pipelines/cleanup.c:
17796         * check/pipelines/simple_launch_lines.c:
17797         * check/pipelines/stress.c:
17798         * check/states/.cvsignore:
17799         * check/states/sinks.c:
17800         * configure.ac:
17801         * examples/Makefile.am:
17802         * examples/appreader/.cvsignore:
17803         * examples/appreader/Makefile.am:
17804         * examples/appreader/appreader.c:
17805         * examples/controller/.cvsignore:
17806         * examples/controller/Makefile.am:
17807         * examples/controller/audio-example.c:
17808         * examples/cutter/.cvsignore:
17809         * examples/cutter/Makefile.am:
17810         * examples/cutter/cutter.c:
17811         * examples/cutter/cutter.h:
17812         * examples/events/Makefile.am:
17813         * examples/events/seek.c:
17814         * examples/helloworld/.cvsignore:
17815         * examples/helloworld/Makefile.am:
17816         * examples/helloworld/helloworld.c:
17817         * examples/helloworld2/.cvsignore:
17818         * examples/helloworld2/Makefile.am:
17819         * examples/helloworld2/helloworld2.c:
17820         * examples/launch/.cvsignore:
17821         * examples/launch/Makefile.am:
17822         * examples/launch/mp3parselaunch.c:
17823         * examples/launch/mp3play:
17824         * examples/manual/.cvsignore:
17825         * examples/manual/Makefile.am:
17826         * examples/manual/extract.pl:
17827         * examples/metadata/Makefile.am:
17828         * examples/metadata/read-metadata.c:
17829         * examples/mixer/.cvsignore:
17830         * examples/mixer/Makefile.am:
17831         * examples/mixer/mixer.c:
17832         * examples/mixer/mixer.h:
17833         * examples/pingpong/.cvsignore:
17834         * examples/pingpong/Makefile.am:
17835         * examples/pingpong/pingpong.c:
17836         * examples/plugins/.cvsignore:
17837         * examples/plugins/Makefile.am:
17838         * examples/plugins/example.c:
17839         * examples/plugins/example.h:
17840         * examples/pwg/.cvsignore:
17841         * examples/pwg/Makefile.am:
17842         * examples/pwg/extract.pl:
17843         * examples/queue/.cvsignore:
17844         * examples/queue/Makefile.am:
17845         * examples/queue/queue.c:
17846         * examples/queue2/.cvsignore:
17847         * examples/queue2/Makefile.am:
17848         * examples/queue2/queue2.c:
17849         * examples/queue3/.cvsignore:
17850         * examples/queue3/Makefile.am:
17851         * examples/queue3/queue3.c:
17852         * examples/queue4/.cvsignore:
17853         * examples/queue4/Makefile.am:
17854         * examples/queue4/queue4.c:
17855         * examples/retag/.cvsignore:
17856         * examples/retag/Makefile.am:
17857         * examples/retag/retag.c:
17858         * examples/retag/transcode.c:
17859         * examples/thread/.cvsignore:
17860         * examples/thread/Makefile.am:
17861         * examples/thread/thread.c:
17862         * examples/typefind/.cvsignore:
17863         * examples/typefind/Makefile.am:
17864         * examples/typefind/typefind.c:
17865         * examples/xml/.cvsignore:
17866         * examples/xml/Makefile.am:
17867         * examples/xml/createxml.c:
17868         * examples/xml/runxml.c:
17869         * tests/Makefile.am:
17870         * tests/check/Makefile.am:
17871         * testsuite/.cvsignore:
17872         * testsuite/Makefile.am:
17873         * testsuite/Rules:
17874         * testsuite/caps/.cvsignore:
17875         * testsuite/caps/Makefile.am:
17876         * testsuite/caps/app_fixate.c:
17877         * testsuite/caps/audioscale.c:
17878         * testsuite/caps/caps.c:
17879         * testsuite/caps/caps.h:
17880         * testsuite/caps/caps_strings:
17881         * testsuite/caps/compatibility.c:
17882         * testsuite/caps/deserialize.c:
17883         * testsuite/caps/enumcaps.c:
17884         * testsuite/caps/eratosthenes.c:
17885         * testsuite/caps/filtercaps.c:
17886         * testsuite/caps/fixed.c:
17887         * testsuite/caps/fraction-convert.c:
17888         * testsuite/caps/fraction-multiply-and-zero.c:
17889         * testsuite/caps/intersect2.c:
17890         * testsuite/caps/intersection.c:
17891         * testsuite/caps/normalisation.c:
17892         * testsuite/caps/random.c:
17893         * testsuite/caps/renegotiate.c:
17894         * testsuite/caps/sets.c:
17895         * testsuite/caps/simplify.c:
17896         * testsuite/caps/string-conversions.c:
17897         * testsuite/caps/structure.c:
17898         * testsuite/caps/subtract.c:
17899         * testsuite/caps/union.c:
17900         * testsuite/debug/.cvsignore:
17901         * testsuite/debug/Makefile.am:
17902         * testsuite/debug/category.c:
17903         * testsuite/debug/commandline.c:
17904         * testsuite/debug/global.c:
17905         * testsuite/debug/output.c:
17906         * testsuite/debug/printf_extension.c:
17907         * testsuite/dlopen/.cvsignore:
17908         * testsuite/dlopen/Makefile.am:
17909         * testsuite/dlopen/dlopen_gst.c:
17910         * testsuite/dlopen/loadgst.c:
17911         * testsuite/elements/.cvsignore:
17912         * testsuite/elements/Makefile.am:
17913         * testsuite/elements/gst-inspect-check.in:
17914         * testsuite/elements/struct_i386.h:
17915         * testsuite/elements/struct_size.c:
17916         * testsuite/indexers/.cvsignore:
17917         * testsuite/indexers/Makefile.am:
17918         * testsuite/indexers/cache1.c:
17919         * testsuite/indexers/indexdump.c:
17920         * testsuite/parse/.cvsignore:
17921         * testsuite/parse/Makefile.am:
17922         * testsuite/parse/parse1.c:
17923         * testsuite/parse/parse2.c:
17924         * testsuite/plugin/.cvsignore:
17925         * testsuite/plugin/Makefile.am:
17926         * testsuite/plugin/README:
17927         * testsuite/plugin/dynamic.c:
17928         * testsuite/plugin/linked.c:
17929         * testsuite/plugin/loading.c:
17930         * testsuite/plugin/registry.c:
17931         * testsuite/plugin/static.c:
17932         * testsuite/plugin/static2.c:
17933         * testsuite/plugin/testplugin.c:
17934         * testsuite/plugin/testplugin2.c:
17935         * testsuite/plugin/testplugin2_s.c:
17936         * testsuite/plugin/testplugin_s.c:
17937         * testsuite/refcounting/.cvsignore:
17938         * testsuite/refcounting/Makefile.am:
17939         * testsuite/refcounting/bin.c:
17940         * testsuite/refcounting/element.c:
17941         * testsuite/refcounting/element_pad.c:
17942         * testsuite/refcounting/mainloop.c:
17943         * testsuite/refcounting/mem.c:
17944         * testsuite/refcounting/mem.h:
17945         * testsuite/refcounting/object.c:
17946         * testsuite/refcounting/pad.c:
17947         * testsuite/refcounting/sched.c:
17948         * testsuite/refcounting/thread.c:
17949         * testsuite/states/.cvsignore:
17950         * testsuite/states/Makefile.am:
17951         * testsuite/states/bin.c:
17952         * testsuite/states/locked.c:
17953         * testsuite/states/parent.c:
17954         * testsuite/threads/.cvsignore:
17955         * testsuite/threads/159566.c:
17956         * testsuite/threads/159852.c:
17957         * testsuite/threads/Makefile.am:
17958         * testsuite/threads/queue.c:
17959         * testsuite/threads/signals.c:
17960         * testsuite/threads/staticrec.c:
17961         * testsuite/threads/thread.c:
17962         * testsuite/threads/threadb.c:
17963         * testsuite/threads/threadc.c:
17964         * testsuite/threads/threadd.c:
17965         * testsuite/threads/threade.c:
17966         * testsuite/threads/threadf.c:
17967         * testsuite/threads/threadg.c:
17968         * testsuite/threads/threadh.c:
17969         * testsuite/threads/threadi.c:
17970           move all of these under tests
17971
17972 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17973
17974         * configure.ac:
17975         * tests/Makefile.am:
17976           fix distcheck
17977
17978 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17979
17980         * docs/gst/gstreamer-sections.txt:
17981         * tests/sched/.cvsignore:
17982         * tests/sched/Makefile.am:
17983         * tests/sched/cases/(fs-fs).xml:
17984         * tests/sched/cases/(fs-i-fs).xml:
17985         * tests/sched/cases/(fs-i-i-fs).xml:
17986         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17987         * tests/sched/dynamic-pipeline.c:
17988         * tests/sched/interrupt1.c:
17989         * tests/sched/interrupt2.c:
17990         * tests/sched/interrupt3.c:
17991         * tests/sched/runtestcases:
17992         * tests/sched/runxml.c:
17993         * tests/sched/sched-stress.c:
17994         * tests/sched/sort.c:
17995         * tests/sched/testcases:
17996         * tests/sched/testcases1.tc:
17997         * tests/seeking/.cvsignore:
17998         * tests/seeking/Makefile.am:
17999         * tests/seeking/seeking1.c:
18000         * tests/threadstate/.cvsignore:
18001         * tests/threadstate/Makefile.am:
18002         * tests/threadstate/test1.c:
18003         * tests/threadstate/test2.c:
18004         * tests/threadstate/threadstate1.c:
18005         * tests/threadstate/threadstate2.c:
18006         * tests/threadstate/threadstate3.c:
18007         * tests/threadstate/threadstate4.c:
18008         * tests/threadstate/threadstate5.c:
18009           remove obsolete tests
18010         * configure.ac:
18011         * tests/bench-complexity.scm:
18012         * tests/bench-mass_elements.scm:
18013         * tests/complexity.c:
18014         * tests/complexity.gnuplot:
18015         * tests/instantiate/.cvsignore:
18016         * tests/instantiate/Makefile.am:
18017         * tests/instantiate/caps.c:
18018         * tests/mass_elements.c:
18019         * tests/network-clock-utils.scm:
18020         * tests/network-clock.scm:
18021         * tests/plot-data:
18022         First pass at cleaning up tests/ dir before moving the rest
18023         Combined with CVS surgery
18024
18025 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18026
18027         * po/POTFILES.in:
18028           queue has moved, update
18029
18030 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18031
18032         * docs/gst/gstreamer-sections.txt:
18033           remove double entries from the docs
18034         * gst/gst_private.h:
18035         * gst/gstinfo.c: (_gst_debug_init):
18036           remove the THREAD debug category
18037         * gst/Makefile.am:
18038         * gst/gstqueue.c:
18039         * gst/gstqueue.h:
18040         * docs/gst/gstreamer.types:
18041         * plugins/elements/gstqueue.c: (gst_queue_get_type),
18042         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
18043           completely move queue and fix up debugging categories
18044
18045 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18046
18047         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18048           make initialization portable, using LL is not
18049
18050 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18051
18052         * win32/common/gstconfig.h:
18053           add large padding
18054
18055 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18056
18057         * win32/common/libgstreamer.def:
18058           rename symbols; sort base section
18059
18060 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18061
18062         * gst/gstclock.c: (do_linear_regression):
18063           remove crack non-portable handrolled DEBUG macro
18064
18065 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18066
18067         * docs/random/release:
18068           update notes
18069         * win32/common/gstenumtypes.c: (register_gst_object_flags),
18070         (gst_object_flags_get_type), (register_gst_bin_flags),
18071         (gst_bin_flags_get_type), (register_gst_buffer_flag),
18072         (gst_buffer_flag_get_type), (register_gst_bus_flags),
18073         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18074         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
18075         (gst_caps_flags_get_type), (register_gst_clock_return),
18076         (gst_clock_return_get_type), (register_gst_clock_entry_type),
18077         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18078         (gst_clock_flags_get_type), (register_gst_state),
18079         (gst_state_get_type), (register_gst_state_change_return),
18080         (gst_state_change_return_get_type), (register_gst_state_change),
18081         (gst_state_change_get_type), (register_gst_element_flags),
18082         (gst_element_flags_get_type), (register_gst_core_error),
18083         (gst_core_error_get_type), (register_gst_library_error),
18084         (gst_library_error_get_type), (register_gst_resource_error),
18085         (gst_resource_error_get_type), (register_gst_stream_error),
18086         (gst_stream_error_get_type), (register_gst_event_type_flags),
18087         (gst_event_type_flags_get_type), (register_gst_event_type),
18088         (gst_event_type_get_type), (register_gst_seek_type),
18089         (gst_seek_type_get_type), (register_gst_seek_flags),
18090         (gst_seek_flags_get_type), (register_gst_format),
18091         (gst_format_get_type), (register_gst_index_certainty),
18092         (gst_index_certainty_get_type), (register_gst_index_entry_type),
18093         (gst_index_entry_type_get_type),
18094         (register_gst_index_lookup_method),
18095         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18096         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18097         (gst_index_resolver_method_get_type), (register_gst_index_flags),
18098         (gst_index_flags_get_type), (register_gst_debug_level),
18099         (gst_debug_level_get_type), (register_gst_debug_color_flags),
18100         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18101         (gst_iterator_result_get_type), (register_gst_iterator_item),
18102         (gst_iterator_item_get_type), (register_gst_message_type),
18103         (gst_message_type_get_type), (register_gst_mini_object_flags),
18104         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18105         (gst_pad_link_return_get_type), (register_gst_flow_return),
18106         (gst_flow_return_get_type), (register_gst_activate_mode),
18107         (gst_activate_mode_get_type), (register_gst_pad_direction),
18108         (gst_pad_direction_get_type), (register_gst_pad_flags),
18109         (gst_pad_flags_get_type), (register_gst_pad_presence),
18110         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18111         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18112         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18113         (gst_plugin_error_get_type), (register_gst_plugin_flags),
18114         (gst_plugin_flags_get_type), (register_gst_rank),
18115         (gst_rank_get_type), (register_gst_query_type),
18116         (gst_query_type_get_type), (register_gst_tag_merge_mode),
18117         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18118         (gst_tag_flag_get_type), (register_gst_task_state),
18119         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18120         (gst_alloc_trace_flags_get_type),
18121         (register_gst_type_find_probability),
18122         (gst_type_find_probability_get_type), (register_gst_uri_type),
18123         (gst_uri_type_get_type), (register_gst_parse_error),
18124         (gst_parse_error_get_type):
18125         * win32/common/gstenumtypes.h:
18126         * win32/common/gstversion.h:
18127           update visual studio generated files
18128
18129 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18130
18131         * win32/vs6/libgstbase.dsp:
18132         * win32/vs6/libgstelements.dsp:
18133           update project files for new locations
18134
18135 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18136
18137         * Makefile.am:
18138           remove some files
18139         * README:
18140           reinstate and update
18141         * DEVEL:
18142         * REQUIREMENTS:
18143           removed
18144         * LICENSE:
18145         * docs/random/LICENSE:
18146           moved to random
18147
18148 2005-11-30  Edward Hervey  <edward@fluendo.com>
18149
18150         * gst/gsttypefind.c: (gst_type_find_register):
18151         * gst/gsttypefind.h:
18152         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
18153         (gst_type_find_factory_dispose):
18154         * gst/gsttypefindfactory.h:
18155         Fix memory leak in GstTypeFindFactory.
18156
18157 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18158
18159         * gst/gst.c:
18160         * plugins/elements/Makefile.am:
18161         * plugins/elements/gstelements.c:
18162         * plugins/elements/gstqueue.c:
18163           move queue from core to the elements plugin
18164
18165 2005-11-29  Andy Wingo  <wingo@pobox.com>
18166
18167         * libs/gst/base/gstbasetransform.h: 
18168         * libs/gst/base/gstbasesrc.h: 
18169         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
18170
18171         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
18172         of pointers by which to pad very extensible base classes (like the
18173         ones in libs/gst/base).
18174
18175 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18176
18177         * docs/gst/gstreamer-docs.sgml:
18178         * docs/gst/gstreamer-sections.txt:
18179         * docs/libs/gstreamer-libs-docs.sgml:
18180         * docs/libs/gstreamer-libs-sections.txt:
18181           moving documentation from core to lib
18182
18183 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18184
18185         * check/Makefile.am:
18186         * configure.ac:
18187         * docs/gst/Makefile.am:
18188         * gst/Makefile.am:
18189         * gst/base/.cvsignore:
18190         * gst/base/Makefile.am:
18191         * gst/base/README:
18192         * gst/base/gstadapter.c:
18193         * gst/base/gstadapter.h:
18194         * gst/base/gstbasesink.c:
18195         * gst/base/gstbasesink.h:
18196         * gst/base/gstbasesrc.c:
18197         * gst/base/gstbasesrc.h:
18198         * gst/base/gstbasetransform.c:
18199         * gst/base/gstbasetransform.h:
18200         * gst/base/gstcollectpads.c:
18201         * gst/base/gstcollectpads.h:
18202         * gst/base/gstpushsrc.c:
18203         * gst/base/gstpushsrc.h:
18204         * gst/base/gsttypefindhelper.c:
18205         * gst/base/gsttypefindhelper.h:
18206         * gst/check/Makefile.am:
18207         * gst/check/gstcheck.c:
18208         * gst/check/gstcheck.h:
18209         * gst/net/Makefile.am:
18210         * gst/net/gstnet.h:
18211         * gst/net/gstnetclientclock.c:
18212         * gst/net/gstnetclientclock.h:
18213         * gst/net/gstnettimepacket.c:
18214         * gst/net/gstnettimepacket.h:
18215         * gst/net/gstnettimeprovider.c:
18216         * gst/net/gstnettimeprovider.h:
18217         * libs/gst/Makefile.am:
18218         * libs/gst/base/Makefile.am:
18219         * libs/gst/base/gstbasetransform.c:
18220         * libs/gst/check/Makefile.am:
18221         * plugins/elements/Makefile.am:
18222         * po/POTFILES.in:
18223           CVS surgery + support to move base, check, and net out of gst
18224           and into libs/gst
18225
18226 2005-11-29  Andy Wingo  <wingo@pobox.com>
18227
18228         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
18229
18230         * gst/gststructure.h (struct _GstStructure): Only one pointer of
18231         padding.
18232
18233         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
18234
18235         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
18236
18237         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
18238
18239         * gst/gstobject.h: (struct _GstObject): Only one pointer of
18240         padding; reduces object size by about 30%. We don't expect
18241         anything else to go into gstobject.
18242
18243         * gst/gstminiobject.h (struct _GstMiniObject)
18244         (struct _GstMiniObjectClass): Only one pointer of padding; the
18245         payload is only a pointer and two ints anyway. For the class there
18246         are only two methods as well.
18247         
18248         * gst/gstelement.h (struct _GstElementClass): Removed
18249         the state_changed signal callback, it is not used.
18250
18251 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18252
18253         * docs/gst/gstreamer.types:
18254           fix includes, though they are a little dinky
18255
18256 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18257
18258         * check/Makefile.am:
18259           look in the right place for elements, a lot more chance of
18260           success
18261         * gst/Makefile.am:
18262           remove indexers and elements subdirs
18263         * plugins/Makefile.am:
18264           make indexers conditional
18265
18266 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18267
18268         * Makefile.am:
18269         * configure.ac:
18270         * plugins/elements/Makefile.am:
18271         * plugins/elements/gstcapsfilter.c:
18272         * plugins/elements/gstfilesink.c:
18273         * plugins/elements/gstfilesrc.c:
18274         * plugins/elements/gstidentity.c:
18275         * plugins/indexers/Makefile.am:
18276           do CVS surgery and related build fixery to move elements
18277           and indexers in a new gstreamer/plugins directory, out of the
18278           gst/ directory
18279
18280 2005-11-29  Andy Wingo  <wingo@pobox.com>
18281
18282         * check/Makefile.am:
18283         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18284         * pkgconfig/gstreamer-net.pc.in:
18285         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18286         #322257.
18287
18288 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18289
18290         * tools/Makefile.am:
18291         * tools/gst-complete.1.in:
18292         * tools/gst-complete.c:
18293         * tools/gst-compprep.1.in:
18294         * tools/gst-compprep.c:
18295           removing -compprep and -complete
18296
18297 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18298
18299         * gst/gstevent.c: (gst_event_new_new_segment),
18300         (gst_event_parse_new_segment):
18301         * gst/gstevent.h:
18302           fix #320529 - clean up new_segment API and structure.
18303           Let's hope everyone was using the methods, and not the structure.
18304
18305 2005-11-29  Edward Hervey  <edward@fluendo.com>
18306
18307         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18308         (gst_base_sink_event), (gst_base_sink_do_sync),
18309         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18310         Properly handle non GST_FORMAT_TIME segment
18311         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18312         Properly handle non GST_FORMAT_TIME segment
18313         * gst/gstsegment.c:
18314         This function is valid if the accumulator is 0 and the format
18315         is different from the requested format.
18316         
18317 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18318
18319         * docs/gst/gstreamer-sections.txt:
18320         Add gst_query_new_seeking and gst_query_parse_seeking to the
18321         docs.
18322
18323 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18324
18325         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18326           Treat a pad alloc with new caps the same as if we were not
18327           negotiated, in order to allow a changing upstream output
18328           to produce a new format of data.
18329
18330 2005-11-29  Edward Hervey  <edward@fluendo.com>
18331
18332         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18333         (gst_base_transform_event), (gst_base_transform_eventfunc):
18334         The event virtual method is now properly implemented, with a default
18335         handler
18336         Sub classes should call the parent_class event method. They should
18337         return FALSE if they had a problem handling the given event, or don't
18338         want GstBaseTransform to send that even downstream
18339         * gst/elements/gstidentity.c: (gst_identity_class_init),
18340         (gst_identity_init), (gst_identity_event),
18341         (gst_identity_transform_ip), (gst_identity_set_property),
18342         (gst_identity_get_property):
18343         * gst/elements/gstidentity.h:
18344         Added the single-segment boolean property.
18345         If set to TRUE, it will output a single segment of data, starting from
18346         0, will eat up all incoming newsegment, and modify the timestamp of the
18347         buffers accordingly
18348
18349 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
18350
18351         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18352           Don't ref NULL target pad (#322751). Improve docs.
18353
18354 2005-11-29  Michael Smith  <msmith@fluendo.com>
18355
18356         * gst/gstregistryxml.c: (load_plugin):
18357           Don't crash if we failed to load a feature from a plugin. 
18358
18359 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18360
18361         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18362         (GST_START_TEST):
18363           use more check API and less GLib API
18364
18365 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18366
18367         * Makefile.am:
18368           don't run checks if we don't have check
18369         * common/check.mak:
18370           remove the registry when running make torture
18371         * docs/gst/gstreamer-sections.txt:
18372           remove second multiply
18373         * gst/gstqueue.c: (gst_queue_loop):
18374           fix a compile warning when disabling debug
18375
18376 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18377
18378         * gst/gstinfo.h:
18379         Hey! Let's print the pad name if the pointer != NULL instead
18380         of when it == NULL :-)
18381
18382 2005-11-28  Wim Taymans  <wim@fluendo.com>
18383
18384         * check/gst/gstutils.c: (GST_START_TEST):
18385         Updated check, add some scaling accuracy checking code.
18386
18387         * gst/gstutils.c: (gst_util_div128_64),
18388         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18389         (gst_util_uint64_scale_int):
18390         Fix 6 times faster division code. Optimize for common 
18391         1/1 and less common X/1 cases.
18392
18393 2005-11-28  Wim Taymans  <wim@fluendo.com>
18394
18395         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18396         More checks.
18397
18398         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18399         (do_linear_regression), (gst_clock_add_observation):
18400         Cleanups.
18401         Release lock when the clock cannot be slaved.
18402         Catch the case where the regression returned an invalid denominator.
18403
18404         * gst/gstutils.c: (gst_util_div128_64_iterate),
18405         (gst_util_div128_64), (gst_util_uint64_scale_int64),
18406         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18407         Add protentially more performant non-iterative 128/64 divide function
18408         that unfortunatly does not work yet.
18409         Shortcut the trivial 0/X = 0 case.
18410         Remove the warnings on overflow.
18411
18412 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18413
18414         * gst/gstplugin.c: (gst_plugin_register_func):
18415           everything causing a plugin not to load should be at least a WARNING
18416
18417 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
18418
18419         * docs/random/ensonic/dparams.txt:
18420           some TODOs for the next dev cycle
18421         * libs/gst/controller/gstcontroller.c:
18422         (gst_controlled_property_set_interpolation_mode),
18423         (gst_controlled_property_new):
18424         * libs/gst/controller/gstcontroller.h:
18425           use base type to assign acccessor functions
18426
18427 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18428
18429         * check/Makefile.am:
18430         Oops, that should have been top_srcdir
18431
18432 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18433
18434         * check/Makefile.am:
18435         * check/elements/fdsrc.c: (GST_START_TEST):
18436         Use a cmdline define to specify the location of a file to use for
18437         testing, to avoid breaking distcheck.
18438
18439 2005-11-28  Andy Wingo  <wingo@pobox.com>
18440
18441         * gst/gstpad.c (fixate_value): Use array functions for arrays.
18442
18443 2005-11-28  Edward Hervey  <edward@fluendo.com>
18444
18445         * tools/gst-launch.c: (main):
18446         Clarify the output strings, makes it easier to translate.
18447         Fixes #322626
18448
18449 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18450
18451         * gst/Makefile.am:
18452           don't try and build net if we don't even have <sys/socket.h>
18453
18454 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
18455
18456         * check/Makefile.am:
18457         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18458         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18459           Add tests for fdsrc seekability
18460
18461         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18462         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18463         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18464         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18465         * gst/elements/gstfdsrc.h:
18466           fdsrc should not be a 'live' source.
18467           Implement seeking on seekable fd's.
18468
18469         * gst/gstquery.c: (gst_query_new_seeking),
18470         (gst_query_parse_seeking):
18471         * gst/gstquery.h:
18472           Implement SEEKING query functions: 
18473             *_new_seeking and *_parse_seeking
18474
18475 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
18476
18477         * gst/gstelement.c: (gst_element_dispose):
18478           don't loop forever
18479
18480         * gst/gstiterator.c:
18481         * gst/gststructure.c:
18482           doc fixes
18483
18484         * libs/gst/controller/gstcontroller.c:
18485         (gst_controlled_property_set_interpolation_mode):
18486         * libs/gst/controller/gstcontroller.h:
18487         * libs/gst/controller/gstinterpolation.c:
18488         (interpolate_none_get_enum_value_array):
18489           support controlling enums
18490
18491 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18492
18493         * gst/gstvalue.c:
18494           Improve documentation for gst_value_union().
18495
18496         * gst/gstvalue.h:
18497           Change return value for union, intersect and subtract functions
18498           from gint to gboolean.
18499
18500 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18501
18502         * gst/gstvalue.c: (gst_value_serialize_any_list),
18503         (gst_value_transform_any_list_string),
18504         (gst_value_deserialize_list), (gst_value_deserialize_array),
18505         (gst_value_set_int_range), (gst_value_deserialize_int_range),
18506         (gst_value_set_double_range), (gst_value_deserialize_double_range),
18507         (gst_value_set_fraction_range_full),
18508         (gst_value_deserialize_fraction_range),
18509         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18510         (gst_value_deserialize_boolean),
18511         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18512         (gst_value_serialize_float), (gst_value_deserialize_float),
18513         (gst_string_wrap), (gst_value_deserialize_string),
18514         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18515         (gst_value_union_int_range_int_range),
18516         (gst_value_intersect_int_range_int_range),
18517         (gst_value_intersect_double_range_double_range),
18518         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18519         (gst_value_subtract_int_range_int_range),
18520         (gst_value_subtract_double_double_range),
18521         (gst_value_subtract_double_range_double_range),
18522         (gst_value_deserialize_fraction):
18523         * gst/gstvalue.h:
18524           Use gint, gdouble and gchar in our API instead of int, double and
18525           char (and make usage in gstvalue.c more consistent).
18526
18527 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18528
18529         * check/Makefile.am:
18530         * libs/gst/controller/Makefile.am:
18531         * libs/gst/dataprotocol/Makefile.am:
18532           fix up Makefile.am and remove GST_ENABLE_NEW
18533
18534 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18535
18536         * configure.ac:
18537         * gst/Makefile.am:
18538         * gst/base/Makefile.am:
18539         * gst/check/Makefile.am:
18540         * gst/elements/Makefile.am:
18541         * gst/net/Makefile.am:
18542           update LDFLAGS use some more
18543
18544 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18545
18546         * common/m4/gst-doc.m4:
18547           Fixes #312589
18548
18549 2005-11-26  Edward Hervey  <edward@fluendo.com>
18550
18551         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18552         This shouldn't issue a g_warning since it returns NULL if it
18553         couldn't find the plugin, and all functions using this behave
18554         properly on a NULL return. Switching to a GST_WARNING.
18555
18556 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
18557
18558         * gst/gstbin.c: (gst_bin_handle_message_func):
18559         Don't leak clock messages.
18560
18561 2005-11-25  Wim Taymans  <wim@fluendo.com>
18562
18563         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18564         (gst_util_uint64_scale_int):
18565         Optimisations, remove unneeded vars.
18566
18567 2005-11-25  Wim Taymans  <wim@fluendo.com>
18568
18569         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18570         Added more checks for the high precision uint64 cases.
18571
18572         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18573         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18574         Implement high precision (guint64 * guint64) / guint64.
18575
18576 2005-11-24  Wim Taymans  <wim@fluendo.com>
18577
18578         * gst/base/gstbasesrc.c: (gst_base_src_query):
18579         Fix wrong percentage query.
18580
18581         * gst/gstutils.c: (gst_util_uint64_scale),
18582         (gst_util_uint64_scale_int):
18583         Add some more common cases that can be handled 
18584         efficiently to _scale.
18585
18586 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18587
18588         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18589         (gst_mini_object_suite):
18590           don't use check calls from threads; check probably isn't
18591           threadsafe and using a lock to make it threadsafe would
18592           defeat the purpose of this check
18593         * gst/check/gstcheck.c:
18594         * gst/check/gstcheck.h:
18595           use GST_DEBUG some more
18596
18597 2005-11-24  Wim Taymans  <wim@fluendo.com>
18598
18599         * gst/gstutils.c: (gst_util_uint64_scale),
18600         (gst_util_uint64_scale_int):
18601         Chain trivial case to _scale_int.
18602
18603 2005-11-24  Wim Taymans  <wim@fluendo.com>
18604
18605         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18606         Added test for scaling.
18607
18608         * gst/gstclock.h:
18609         Small doc fix.
18610
18611         * gst/gstutils.c: (gst_util_uint64_scale_int):
18612         Implemented high precision scaling code.
18613
18614 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18615
18616         * gst/gstinfo.h:
18617           do not crash on pad==NULL
18618
18619 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18620
18621         Patch by: Stefan Kost
18622
18623         * common/gtk-doc.mak:
18624         * docs/gst/Makefile.am:
18625         * docs/libs/Makefile.am:
18626           Fix distcheck issues for the libraries docs build
18627           Closes #319599.
18628
18629 2005-11-24  Michael Smith <msmith@fluendo.com>
18630
18631         * docs/manual/basics-helloworld.xml:
18632           Fix bug #315027: memory leak in example code in docs.
18633
18634 2005-11-24  Michael Smith <msmith@fluendo.com>
18635
18636         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18637           Unlock the PREROLL_LOCK in a failure case.
18638
18639 2005-11-24  Wim Taymans  <wim@fluendo.com>
18640
18641         * docs/gst/gstreamer-sections.txt:
18642         * gst/base/gstadapter.h:
18643         * gst/base/gstbasesink.h:
18644         * gst/base/gstbasesrc.h:
18645         * gst/base/gstbasetransform.h:
18646         * gst/base/gstpushsrc.h:
18647         * gst/elements/gstfakesink.h:
18648         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18649         * gst/elements/gstfakesrc.h:
18650         * gst/elements/gstfilesink.h:
18651         * gst/elements/gstfilesrc.h:
18652         * gst/gst.c:
18653         * gst/gstbin.c:
18654         * gst/gstbuffer.c: (_gst_buffer_copy):
18655         * gst/gstbus.h:
18656         * gst/gstcaps.c:
18657         * gst/gstchildproxy.c:
18658         * gst/gstclock.c:
18659         * gst/gstelement.c:
18660         * gst/gstelementfactory.c:
18661         * gst/gstelementfactory.h:
18662         * gst/gstevent.c:
18663         * gst/gstghostpad.h:
18664         * gst/gstindex.h:
18665         * gst/gstinterface.h:
18666         * gst/gstminiobject.c:
18667         * gst/gstminiobject.h:
18668         * gst/gstpad.c:
18669         * gst/gstpad.h:
18670         * gst/gstpadtemplate.h:
18671         * gst/gstpipeline.h:
18672         * gst/gstpluginfeature.h:
18673         * gst/gstquery.h:
18674         * gst/gstqueue.h:
18675         * gst/gsttaglist.c:
18676         * gst/gsttaglist.h:
18677         * gst/gsttagsetter.c:
18678         * gst/gsttagsetter.h:
18679         * gst/gsttrace.c:
18680         * gst/gsttrace.h:
18681         * gst/gsttypefind.h:
18682         * gst/gsturi.h:
18683         * gst/gstvalue.c:
18684         * gst/net/gstnetclientclock.c:
18685         * gst/net/gstnetclientclock.h:
18686         * gst/net/gstnettimepacket.c:
18687         * gst/net/gstnettimeprovider.c:
18688         * gst/net/gstnettimeprovider.h:
18689         Doc fixes.
18690
18691 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18692
18693         * configure.ac: back to HEAD
18694
18695 === release 0.9.6 ===
18696
18697 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18698
18699         * configure.ac:
18700           releasing 0.9.6, "Always On Time"
18701
18702 2005-11-23  Wim Taymans  <wim@fluendo.com>
18703
18704         * docs/gst/gstreamer-sections.txt:
18705         * gst/glib-compat.c:
18706         * gst/gsttagsetter.c:
18707         * gst/gstvalue.c:
18708         * gst/net/gstnetclientclock.c:
18709         * gst/net/gstnettimepacket.h:
18710         Doc updates.
18711
18712 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18713
18714         * docs/faq/using.xml:
18715         * docs/libs/tmpl/gstcontrol.sgml:
18716         * docs/manual/advanced-dparams.xml:
18717         * docs/manual/appendix-checklist.xml:
18718         * docs/manual/basics-elements.xml:
18719         * docs/pwg/other-source.xml:
18720         * docs/random/moving-plugins:
18721         * gst/gstpad.c:
18722         * tools/gst-launch.1.in:
18723           remove mentions of sinesrc
18724
18725 2005-11-23  Michael Smith <msmith@fluendo.com>
18726
18727         * docs/gst/gstreamer-sections.txt:
18728           Update for new API and API changes.
18729         * gst/gstobject.h:
18730           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18731         * gst/gstvalue.c:
18732           Documentation typo fix.
18733         * gst/net/gstnettimepacket.c:
18734           Documentation fixes for arguments.
18735
18736 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18737
18738         * gst/gststructure.c: (gst_structure_get_fraction),
18739         (gst_structure_parse_value),
18740         (gst_structure_fixate_field_nearest_fraction):
18741         * gst/gststructure.h:
18742         * gst/gstutils.c: (gst_util_uint64_scale_int):
18743         * gst/gstutils.h:
18744         * scripts/update-funcnames:
18745         API Changes. 
18746         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18747         Make gst_structure_fixate_field_nearest_fraction take a numerator
18748         and denominator argument instead of a GValue
18749         add gst_structure_get_fraction helper function.
18750
18751 2005-11-23  Wim Taymans  <wim@fluendo.com>
18752
18753         * docs/design/part-TODO.txt:
18754         Update TODO.
18755
18756         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18757         * gst/net/gstnetclientclock.h:
18758         Use parent fields for timeout and window_size.
18759
18760 2005-11-23  Andy Wingo  <wingo@pobox.com>
18761
18762         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18763         rate_num/rate_denom change.
18764
18765         * gst/net/gstnetclientclock.c
18766         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18767         OBJECT_LOCK. Don't call add_observation with the lock.
18768
18769         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18770         fraction.
18771         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18772         rate fraction.
18773         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18774         deal with rate as a fraction whose numerator and denominator are
18775         GstClockTime values.
18776         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18777         master; the other fields are protected by the SLAVE_LOCK.
18778         (do_linear_regression): Note that this must be called with the
18779         SLAVE_LOCK.
18780         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18781         OBJECT_LOCK. Call set_calibration instead of touching the
18782         variables directly.
18783         (gst_clock_set_property, gst_clock_get_property): Protect
18784         master/slave parameters with the SLAVE_LOCK.
18785
18786         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18787         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18788         note that all of the instance variables that add_observation and
18789         the set_master functions use are protected by that lock and not
18790         the OBJECT_LOCK.
18791         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18792
18793         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18794         the caller to take the object lock.
18795
18796 2005-11-23  Wim Taymans  <wim@fluendo.com>
18797
18798         * gst/gsterror.c: (_gst_core_errors_init):
18799         * gst/gsterror.h:
18800         Add error for clock stuff.
18801
18802         * gst/gstpipeline.c: (gst_pipeline_change_state),
18803         (gst_pipeline_set_clock):
18804         Post clock error when clock cannot be used in a pipeline.
18805
18806 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18807
18808         * docs/gst/gstreamer-sections.txt:
18809           make two symbols from gstinfo private for the docs
18810         * gst/base/gstcollectpads.h:
18811         * gst/gstutils.c:
18812           fix doc typos, update docs
18813
18814 2005-11-22  Wim Taymans  <wim@fluendo.com>
18815
18816         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18817         (gst_base_sink_wait), (gst_base_sink_do_sync),
18818         (gst_base_sink_handle_event):
18819         * gst/base/gstbasesink.h:
18820         No need to store the clock, the parent element class already
18821         has it.
18822
18823         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18824         Updates for clock_set returning a gboolean
18825
18826         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18827         (gst_clock_id_wait_async), (gst_clock_class_init),
18828         (gst_clock_init), (gst_clock_finalize),
18829         (gst_clock_get_internal_time), (gst_clock_get_time),
18830         (gst_clock_slave_callback), (gst_clock_set_master),
18831         (gst_clock_get_master), (do_linear_regression),
18832         (gst_clock_add_observation), (gst_clock_set_property),
18833         (gst_clock_get_property):
18834         * gst/gstclock.h:
18835         Implement master/slave. When setting a clock as a slave, a
18836         periodic timeout is scheduled to sample master and slave times.
18837         Then the slave clock is recalibrated to match offset and rate
18838         of the master clock.
18839         Update logging a bit.
18840         Add flag so that a clock can state that is cannot be slaved to
18841         another clock.
18842
18843         * gst/gstelement.c: (gst_element_set_clock):
18844         * gst/gstelement.h:
18845         The set clock returns a gboolean for when an element cannot
18846         deal with the selected clock in the pipeline. 
18847
18848         * gst/gstpipeline.c: (gst_pipeline_change_state),
18849         (gst_pipeline_set_clock):
18850         * gst/gstpipeline.h:
18851         Handle the case where the selected clock cannot be set on
18852         the pipeline.
18853
18854         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18855         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18856         (gst_net_client_clock_set_property),
18857         (gst_net_client_clock_get_property),
18858         (gst_net_client_clock_observe_times):
18859         * gst/net/gstnetclientclock.h:
18860         Use regression code in GstClock parent, remove duplicated
18861         functionality.
18862
18863 2005-11-22  Michael Smith <msmith@fluendo.com>
18864
18865         * gst/gstutils.c: (gst_util_clock_time_scale):
18866         * gst/gstutils.h:
18867         * docs/gst/gstreamer-sections.txt:
18868           Rename method to have extra underscore.
18869
18870 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18871
18872         * gst/elements/Makefile.am:
18873         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18874         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18875         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18876         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18877         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18878         * gst/elements/gstfakesrc.h:
18879         * gst/gstqueue.c: (queue_leaky_get_type):
18880           correctly fix GEnumValues so that nick is the short lowercase
18881           dashed tag
18882         * tools/gst-inspect.c: (print_element_properties_info):
18883           also show the nick, since it's useful to use from parse_launch
18884           syntax
18885           Fixes #322139
18886
18887 2005-11-22  Michael Smith <msmith@fluendo.com>
18888
18889         * gst/gstutils.c: (gst_util_clocktime_scale):
18890         * gst/gstutils.h:
18891         * docs/gst/gstreamer-sections.txt:
18892           Add util method for scaling a clocktime by a fraction. Useful 
18893           implementation is left as an exercise for the reader.
18894
18895 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18896
18897         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18898         If needed, allocate storage in the destination value during
18899         collection.
18900
18901 2005-11-22  Edward Hervey  <edward@fluendo.com>
18902
18903         * docs/gst/gstreamer-sections.txt:
18904         * gst/Makefile.am:
18905         * gst/gst.h:
18906         * gst/gsturitype.c:
18907         * gst/gsturitype.h:
18908         * gst/gstutils.c: (gst_util_set_object_arg):
18909         * tools/gst-compprep.c: (main):
18910         * tools/gst-inspect.c: (print_element_properties_info):
18911         Removed GstURI, closes bug #321061
18912
18913 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18914
18915         * check/gst/gststructure.c: (GST_START_TEST):
18916         * gst/gststructure.c: (gst_structure_parse_value):
18917           Oops, broke automatic string type parsing.
18918           Add a test to catch it in future.
18919
18920 2005-11-22  Andy Wingo  <wingo@pobox.com>
18921
18922         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18923         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18924         Actually rename the function implementations. Grr.
18925
18926 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18927
18928         * check/gst/capslist.h:
18929           Comment test cases
18930         * check/gst/gststructure.c: (GST_START_TEST),
18931         (gst_structure_suite):
18932           Test automatic value type detection in gst_structure_from_string.
18933         * gst/gststructure.c: (gst_structure_parse_value):
18934           Add fraction as a type we try and guess automatically in
18935           caps/structure strings.
18936
18937 2005-11-22  Andy Wingo  <wingo@pobox.com>
18938
18939         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18940
18941         * gst/gsttagsetter.h:
18942         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18943         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18944         (gst_tag_setter_add_tag_valist)
18945         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18946         _add_values, _add_valist, and _add_valist_values. Since this is an
18947         interface the function suffixes should be more explicit so
18948         language binding don't end up with element.add_valist ->
18949         gst_tag_setter_add_valist, for example. Fixes #322069.
18950
18951 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18952
18953         * check/gst/gstcaps.c: (GST_START_TEST):
18954           Extend caps string tests to check that a caps to string
18955           conversion is reversible and produces the same caps.
18956
18957         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18958           Output "fraction" as the generic type fraction range, so caps
18959           serialisation and deserialisation works.
18960         * check/gst/capslist.h:
18961         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18962           Support 'MIN' and 'MAX' for deserialising fractions.
18963
18964 2005-11-22  Andy Wingo  <wingo@pobox.com>
18965
18966         * gst/gstevent.h (gst_event_new_new_segment)
18967         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18968         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18969         Renamed from *_newsegment, *_buffersize, *_notarget.
18970
18971         * scripts/update-funcnames: New script, performs the changes
18972         listed above.
18973
18974 2005-11-22  Wim Taymans  <wim@fluendo.com>
18975
18976         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18977         Make sure the GstFlowReturn is returned.
18978
18979         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18980         (gst_bus_add_signal_watch):
18981         * gst/gstbus.h:
18982         add gst_bus_add_signal_watch_full.
18983
18984         * gst/gstplugin.c: (gst_plugin_load_file):
18985         Small style cleanup.
18986
18987 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18988
18989         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18990           Block the fakesrc srcpad when we send an event, to avoid
18991           contention on the stream_lock causing random test failures.
18992
18993 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18994
18995         * check/gst/gstvalue.c: (GST_START_TEST):
18996         * gst/gstvalue.c: (gst_value_fraction_subtract):
18997           Fix subtraction.
18998
18999 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
19000
19001         * gst/gst.h:
19002           include "gstchildproxy.h"
19003         * gst/gstchildproxy.h:
19004         * libs/gst/controller/gstcontroller.h:
19005           use G_GNUC_NULL_TERMINATED
19006
19007 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
19008
19009         * check/gst/capslist.h:
19010         * check/gst/gstcaps.c: (GST_START_TEST):
19011         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19012         * gst/gststructure.c: (gst_structure_parse_range),
19013         (gst_structure_fixate_field_nearest_fraction):
19014         * gst/gststructure.h:
19015         * gst/gstvalue.c: (gst_value_init_fraction_range),
19016         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
19017         (gst_value_collect_fraction_range),
19018         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
19019         (gst_value_set_fraction_range_full),
19020         (gst_value_get_fraction_range_min),
19021         (gst_value_get_fraction_range_max),
19022         (gst_value_serialize_fraction_range),
19023         (gst_value_transform_fraction_range_string),
19024         (gst_value_compare_fraction_range),
19025         (gst_value_deserialize_fraction_range),
19026         (gst_value_intersect_fraction_fraction_range),
19027         (gst_value_intersect_fraction_range_fraction_range),
19028         (gst_value_subtract_fraction_fraction_range),
19029         (gst_value_subtract_fraction_range_fraction),
19030         (gst_value_subtract_fraction_range_fraction_range),
19031         (gst_value_collect_fraction), (gst_value_fraction_multiply),
19032         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
19033         (gst_value_transform_string_fraction), (_gst_value_initialize):
19034         * gst/gstvalue.h:
19035           Implement fraction ranges and extend GstFraction to support
19036           arithmetic subtraction, as well as deserialization from integer
19037           strings such as "100"
19038           Add a testsuite as for int and double range set operations
19039
19040 2005-11-21  Andy Wingo  <wingo@pobox.com>
19041
19042         * gst/gsttaglist.h: 
19043         * gst/gstcaps.h: 
19044         * gst/gststructure.h: Add glib-compat.h.
19045
19046 2005-11-21  Wim Taymans  <wim@fluendo.com>
19047
19048         * gst/gstbin.c: (gst_bin_change_state_func):
19049         Fix for #321595
19050
19051 2005-11-21  Wim Taymans  <wim@fluendo.com>
19052
19053         * gst/gstsegment.h:
19054         And add a nice define too.
19055
19056 2005-11-21  Wim Taymans  <wim@fluendo.com>
19057
19058         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
19059         (gst_segment_new), (gst_segment_free), (gst_segment_init),
19060         (gst_segment_set_duration), (gst_segment_set_last_stop),
19061         (gst_segment_set_seek), (gst_segment_set_newsegment),
19062         (gst_segment_to_stream_time), (gst_segment_to_running_time),
19063         (gst_segment_clip):
19064         * gst/gstsegment.h:
19065         Make binding friendly.
19066
19067 2005-11-21  Andy Wingo  <wingo@pobox.com>
19068
19069         * gst/gsttagsetter.h: 
19070         * gst/gsttaglist.h: 
19071         * gst/gststructure.h: 
19072         * gst/gstcaps.h: 
19073         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
19074         #319940.
19075
19076         * gst/gsterror.c (_gst_core_errors_init):
19077         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
19078         category.
19079
19080         * gst/Makefile.am (gst_headers): Add glib-compat.h.
19081         (noinst_HEADERS): noinst the -private.
19082
19083 2005-11-21  Michael Smith <msmith@fluendo.com>
19084
19085         * gst/gstplugin.h:
19086         * gst/gstregistry.h:
19087           Remove unimplemented declarations for which we can see no sensible
19088           use.
19089
19090 2005-11-21  Andy Wingo  <wingo@pobox.com>
19091
19092         * gst/gst.h: Include glib-compat.h.
19093
19094         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
19095
19096         * gst/glib-compat.c: Include the public and the private header.
19097
19098         * gst/glib-compat-private.h: Copied here from glib-compat.h.
19099
19100         * gst/gstvalue.c: 
19101         * gst/gstpad.c: 
19102         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
19103
19104         * check/gst/gstevent.c (create_custom_events): Check that
19105         FLUSH_STOP is serialized.
19106
19107         * check/elements/identity.c (event_func): 
19108         * check/elements/fakesrc.c (event_func): No stream lock, the core
19109         takes it.
19110
19111         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
19112         stream lock taking, yay.
19113
19114         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
19115         ensure that core takes the stream lock.
19116
19117         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
19118         lock name change.
19119
19120         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
19121         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
19122         it already. For the flush start we do take it though so we get the
19123         right preroll state change messages.
19124
19125         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
19126         the stream lock here, the core does it for us.
19127
19128         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
19129         GST_STREAM_GET_LOCK.
19130         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
19131         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
19132         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
19133         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
19134         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
19135         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
19136
19137         * gst/gstpad.c: Update for stream lock name change.
19138
19139         * gst/base/gstbasesink.c: Update for preroll lock name change.
19140
19141 2005-11-21  Wim Taymans  <wim@fluendo.com>
19142
19143         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
19144         (gst_clock_get_master):
19145         * gst/gstclock.h:
19146         * gst/gstsystemclock.c: (gst_system_clock_init):
19147         Convert Clock flags to object flags.
19148         Added methods to manage master/slave clocks.
19149
19150 2005-11-21  Wim Taymans  <wim@fluendo.com>
19151
19152         * check/gst/gstsegment.c: (GST_START_TEST):
19153         * docs/design/part-TODO.txt:
19154         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19155         (gst_base_sink_event), (gst_base_sink_do_sync),
19156         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
19157         (gst_base_sink_query), (gst_base_sink_change_state):
19158         * gst/base/gstbasesink.h:
19159         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19160         (gst_base_src_default_newsegment),
19161         (gst_base_src_configure_segment), (gst_base_src_do_seek),
19162         (gst_base_src_get_range), (gst_base_src_loop),
19163         (gst_base_src_change_state):
19164         * gst/base/gstbasesrc.h:
19165         * gst/base/gstbasetransform.c:
19166         (gst_base_transform_prepare_output_buf),
19167         (gst_base_transform_event), (gst_base_transform_change_state):
19168         * gst/base/gstbasetransform.h:
19169         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
19170         (gst_collect_pads_event):
19171         * gst/base/gstcollectpads.h:
19172         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
19173         (gst_fake_src_create):
19174         * gst/elements/gstfakesrc.h:
19175         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19176         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19177         (gst_segment_set_last_stop), (gst_segment_set_seek),
19178         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
19179         (gst_segment_to_running_time), (gst_segment_clip):
19180         * gst/gstsegment.h:
19181         More segment updates, replace code in plugins with segment
19182         helper functions.
19183
19184 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19185
19186         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
19187         Don't ignore sscanf results
19188
19189 2005-11-21  Andy Wingo  <wingo@pobox.com>
19190
19191         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
19192
19193         * *.h:
19194         * *.c: Ran scripts/update-macros. Oh yes.
19195
19196         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
19197         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
19198         GST_GET_LOCK, etc.
19199
19200         * scripts/update-macros: New script. Run it on your files to
19201         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
19202         well.
19203
19204 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
19205
19206         * docs/gst/Makefile.am:
19207         * docs/gst/gstreamer-docs.sgml:
19208         * docs/gst/gstreamer-sections.txt:
19209         * docs/gst/gstreamer.types:
19210         * gst/gstinfo.h:
19211           more docs fixes, add new api to the docs
19212
19213 2005-11-21  Andy Wingo  <wingo@pobox.com>
19214
19215         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
19216         state_broadcast call.
19217
19218         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
19219
19220 2005-11-21  Julien MOUTTE  <julien@moutte.net>
19221
19222         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
19223         function calls for arrays.
19224
19225 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
19226
19227         * docs/random/ensonic/media-device-daemon.txt:
19228           wild idea, can this be done?
19229         * docs/gst/gstreamer-sections.txt:
19230         * gst/gsterror.h:
19231         * gst/gstfilter.c:
19232         * gst/gstfilter.h:
19233         * gst/gstplugin.h:
19234         * gst/gstpluginfeature.c:
19235         * gst/gsttrace.c:
19236         * gst/gstvalue.c:
19237         * gst/gstvalue.h:
19238           doc fixes and additions
19239
19240 2005-11-21  Andy Wingo  <wingo@pobox.com>
19241
19242         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
19243         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
19244         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
19245         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
19246         private to the basesrc implementation.
19247
19248         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
19249         behalf of event function if necessary. It should no longer be
19250         necessary to take the stream lock in pad's event functions. Fixes
19251         #320299.
19252
19253 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19254         * docs/gst/gstreamer-sections.txt:
19255         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
19256         (gst_structure_fixate_field_nearest_double),
19257         (gst_structure_fixate_field_boolean):
19258         * gst/gststructure.h:
19259         * win32/common/libgstreamer.def:
19260         * win32/gstreamer.def:
19261
19262         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
19263         (#322027)
19264
19265 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19266
19267         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
19268         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
19269         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
19270         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
19271         (gst_fdsrc_uri_handler_init):
19272         * gst/elements/gstfdsrc.h:
19273           Port fd:// URI handler from 0.8 to fdsrc
19274
19275 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19276
19277         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
19278         (gst_value_serialize_fourcc):
19279         * gst/gstvalue.h:
19280           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19281           consistent with our other format defines (#320324).
19282
19283 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19284
19285         * gst/gstvalue.c: (gst_value_is_fixed):
19286           Revert previous commit. Value lists are by definition
19287           not fixed, as they are a list of possible values.
19288
19289 2005-11-21  Andy Wingo  <wingo@pobox.com>
19290
19291         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19292         during the stable series if we need it. Fixes #319178.
19293
19294         * gst/gstevent.c (gst_event_new_filler): Removed.
19295
19296         * check/gst/gstevent.c: Update comment about filler events.
19297
19298 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19299
19300         * gst/gstvalue.c: (gst_value_is_fixed):
19301           Should handle both value arrays and value lists.
19302
19303 2005-11-21  Andy Wingo  <wingo@pobox.com>
19304
19305         patch by: Alessandro Dessina <alessandro nnva org>
19306
19307         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19308         functions to access arrays. Fixes #321962.
19309
19310 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19311
19312         * docs/gst/gstreamer.types:
19313           gst_collectpads_get_type => gst_collect_pads_get_type.
19314           
19315         * gst/base/gstbasetransform.c:
19316           Remove unused SIGNAL_HANDOFF enum.
19317
19318 2005-11-21  Andy Wingo  <wingo@pobox.com>
19319
19320         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19321         the event type (upstream, downstream, serialized). Renamed
19322         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19323         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19324         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19325
19326         * gst/gstevent.c: Update for new CUSTOM event names.
19327
19328         * check/gst/gstevent.c: Update check for new CUSTOM event names.
19329
19330         * gst/gstevent.h:
19331         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19332         bug #319392.
19333
19334 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19335
19336         * docs/gst/gstreamer-sections.txt:
19337         * win32/common/libgstbase.def:
19338         * win32/libgstbase.def:
19339         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19340         (gst_collect_pads_class_init), (gst_collect_pads_init),
19341         (gst_collect_pads_finalize), (gst_collect_pads_new),
19342         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19343         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19344         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19345         (gst_collect_pads_start), (gst_collect_pads_stop),
19346         (gst_collect_pads_peek), (gst_collect_pads_pop),
19347         (gst_collect_pads_available), (gst_collect_pads_read),
19348         (gst_collect_pads_flush), (gst_collect_pads_event),
19349         (gst_collect_pads_chain):
19350         * gst/base/gstcollectpads.h:
19351           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19352           unimplemented functions as unimplemented. Add padding to
19353           GstCollectData. (#320766, #320423)
19354
19355 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19356
19357         * gst/gstmessage.c:
19358           Improve docs for DURATION message (usage of duration parameter)
19359           (#320113)
19360
19361 2005-11-20  Wim Taymans  <wim@fluendo.com>
19362
19363         * check/Makefile.am:
19364         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19365         (main):
19366         * gst/Makefile.am:
19367         * gst/gst.h:
19368         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19369         (gst_segment_set_seek), (gst_segment_set_newsegment),
19370         (gst_segment_to_stream_time), (gst_segment_to_running_time),
19371         (gst_segment_clip):
19372         * gst/gstsegment.h:
19373         Added segment helper structure and methods. Not fully implemented
19374         yet.
19375         Added segment check.
19376
19377 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
19378
19379         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19380           Add a deserialisation test for fractions
19381         * examples/metadata/read-metadata.c: (message_loop),
19382         (make_pipeline), (main):
19383           Fix up metadata reading sample.
19384         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19385           Debug format fix
19386         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19387           Don't try and fixate empty caps
19388         * gst/gst_private.h:
19389           Wrap in G_BEGIN_DECLS/G_END_DECLS
19390         * gst/gstvalue.c: (gst_value_collect_fraction),
19391         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19392         (gst_value_transform_string_fraction),
19393         (gst_value_compare_fraction):
19394           Add some extra guards to ensure that we don't end up 
19395           with an invalid denominator of 0 in a gstfraction and
19396           that fractions always get reduced.
19397
19398 2005-11-20  Wim Taymans  <wim@fluendo.com>
19399
19400         * docs/gst/gstreamer-sections.txt:
19401         * gst/gstbuffer.h:
19402         * gst/gstelement.c:
19403         * gst/gstformat.c:
19404         * gst/gstformat.h:
19405         * gst/gstindex.h:
19406         * gst/gstquery.c:
19407         * gst/gstquery.h:
19408         * gst/gstvalue.c:
19409         Doc fixes.
19410
19411 2005-11-20  Wim Taymans  <wim@fluendo.com>
19412
19413         * docs/design/part-TODO.txt:
19414         * gst/gstcaps.h:
19415         Make a proper enum of the flag.
19416
19417 2005-11-19  Wim Taymans  <wim@fluendo.com>
19418
19419         * docs/design/part-TODO.txt:
19420         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19421         (gst_format_to_quark), (gst_format_register):
19422         * gst/gstformat.h:
19423         * gst/gstquery.c: (_gst_query_initialize),
19424         (gst_query_type_get_name), (gst_query_type_to_quark),
19425         (gst_query_type_register):
19426         * gst/gstquery.h:
19427         Add type to quark and type to string conversions.
19428
19429 2005-11-19  Andy Wingo  <wingo@pobox.com>
19430
19431         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19432         #320097.
19433
19434 2005-11-19  Wim Taymans  <wim@fluendo.com>
19435
19436         * docs/design/part-TODO.txt:
19437         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19438         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19439         (gst_bin_handle_message_func):
19440         * gst/gstbin.h:
19441         Make message handling overridable.
19442
19443 2005-11-19  Andy Wingo  <wingo@pobox.com>
19444
19445         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19446
19447         * gst/gstclock.h:
19448         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19449         be a GstClockTime.
19450         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19451         is a GstClockTime. Fixes #321710.
19452
19453         * gst/gstclock.h (GstClock): Remove offset property. Add
19454         internal_calibration and external_calibration. Fix padding. Pad
19455         also by GstClockTime so we don't run into problems.
19456
19457         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19458         (gst_clock_get_rate_offset): Remove.
19459         (gst_clock_set_time_adjust): Remove. Fixes #321712.
19460
19461         * gst/gstutils.h:
19462         * gst/gstutils.c (g_static_rec_cond_wait)
19463         (g_static_rec_cond_timed_wait): Removed, no longer needed.
19464
19465         * gst/gstbin.c: Remove terrible continue_state prototype.
19466
19467         * gst/gstelement.h (gst_element_continue_state): Make public.
19468
19469         * gst/gstelement.h:
19470         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19471         by continue_state. Fixes #319389.
19472
19473         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19474         Really fixes #168438. However I don't see anywhere where the
19475         filter function is called... stupid GStreamer...
19476         
19477         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19478         don't have a dispose function, so it won't get called when the
19479         object is unreffed, but oh well!
19480
19481         * gst/gstindex.c (gst_index_set_filter_full): New API function,
19482         allows a destroy function to be set so user_data can be freed.
19483         Fixes #168438.
19484         (gst_index_set_filter): Call gst_index_set_filter_full.
19485
19486         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19487
19488         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19489         string should produce an error, given the lack of a way to
19490         represent NULL strings. Fixes #165650.
19491         
19492         * gst/gstvalue.h: 
19493         * gst/gstvalue.c (gst_value_array_append_value) 
19494         (gst_value_array_prepend_value, gst_value_array_get_size) 
19495         (gst_value_array_get_value): New API, copied from
19496         gst_value_list_*, only operates on arrays.
19497         (gst_value_list_append_value, gst_value_list_prepend_value) 
19498         (gst_value_list_concat, gst_value_list_get_size) 
19499         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19500
19501         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19502         init_list, because it works on both.
19503         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19504         (gst_value_copy_list_or_array): Renamed from copy_list.
19505         (gst_value_free_list_or_array): Renamed from free_list.
19506         (gst_value_collect_list_or_array): Renamed from collect_list.
19507         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19508         (gst_value_list_or_array_peek_pointer): Renamed from
19509         list_peek_pointer.
19510         (_gst_value_array_value_table, _gst_value_list_value_table):
19511         Update value table functions.
19512         (gst_value_compare_list_or_array): Renamed from compare_list.
19513
19514         * gsttaglist.h: Whoops, foreach function returns void. Also fix
19515         some constness.
19516
19517         * gst/gsttaglist.c:
19518         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19519         GstTagList*. Fixes #143472.
19520
19521         * gst/gststructure.h: Clarify what the foreach/map functions can
19522         or can't do to their arguments.
19523
19524 2005-11-18  Wim Taymans  <wim@fluendo.com>
19525
19526         * gst/gstclock.c: (gst_clock_set_calibration),
19527         (gst_clock_get_calibration):
19528         Doc and API fixes.
19529         Calibration can be set with internal time equal to current
19530         internal time too.
19531
19532 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19533
19534         * gst/gsterror.c:
19535         * gst/gsterror.h:
19536           document
19537
19538 2005-11-18  Andy Wingo  <wingo@pobox.com>
19539
19540         * configure.ac: 
19541         * pkgconfig/gstreamer-net.pc.in:
19542         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19543         * pkgconfig/Makefile.am: Add net pkgconfig files.
19544
19545 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
19546
19547         * gst/gstcaps.c:
19548         * gst/gstghostpad.c:
19549         * gst/gsttrace.c:
19550         * gst/gstvalue.c:
19551         * gst/gstvalue.h:
19552           docs fixes
19553
19554 2005-11-18  Andy Wingo  <wingo@pobox.com>
19555
19556         * gst/net/gstnetclientclock.c: Turn off debugging.
19557
19558         * check/net/gstnetclientclock.c (test_functioning): Assert that the
19559         times connverge somewhat. Can't make a real test.
19560
19561         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19562         integer arithmetic. Return the minimum of the domain, which can be
19563         set as "internal" for gst_clock_set_calibration.
19564         (gst_net_client_clock_observe_times): Call _set_calibration.
19565         (gst_net_client_clock_new): Call _set_calibration instead of
19566         rate_offset.
19567
19568         * check/net/gstnetclientclock.c (test_functioning): Use the right
19569         adjustment api.
19570
19571         * gst/gstclock.h:
19572         * gst/gstclock.c (gst_clock_get_calibration) 
19573         (gst_clock_set_calibration): New functions, obsolete the ones I
19574         added yesterday. Doh. Precision issues mean we have to extrapolate
19575         from a point in the more recent past than 1970.
19576         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19577         obsolete.
19578         (gst_clock_adjust_unlocked): Use the right calibration data.
19579
19580 2005-11-18  Edward Hervey  <edward@fluendo.com>
19581
19582         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19583         Also reset the ->current_* values in READY->PAUSED
19584
19585 2005-11-18  Andy Wingo  <wingo@pobox.com>
19586
19587         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19588         Whoops, check the right fd. Also add some debugging.
19589         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19590         (do_linear_regression): Add a crapload of debugging. Subtract off
19591         the minimum values from the input series to discard unneeded bits.
19592         Use only int arithmetic. There is still double arithmetic when
19593         calculating the intercept that needs fixing. Return boolean to
19594         indicate success; FALSE would mean the domain or range is too
19595         great. Still needs fixes.
19596
19597 2005-11-18  Wim Taymans  <wim@fluendo.com>
19598
19599         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19600         For the current position in stream time, we need to subtract
19601         accumulated time.
19602         
19603         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19604         Release lock before calling the callback function of async
19605         entries.
19606
19607 2005-11-18  Andy Wingo  <wingo@pobox.com>
19608
19609         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19610         Port goes all the way to MAXUINT16.
19611
19612         * gst/net/gstnettimeprovider.c: Make the port range the same as
19613         for the kernel: 0 assigns, otherwise ports are less than
19614         MAXUINT16.
19615
19616         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19617         port change.
19618
19619         * check/net/gstnetclientclock.c (test_functioning): Add the start
19620         of another test. 
19621
19622 2005-11-18  Wim Taymans  <wim@fluendo.com>
19623
19624         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19625         (gst_bin_remove_func), (bin_bus_handler):
19626         * gst/gstbin.h:
19627         Removing a clock provider from a bin, triggers a clock lost message
19628         so that a new clock will be selected.
19629         Adding a clock to a bin triggers a clock provider message.
19630         Make sure we reselect a clock when we received a clock lost message.
19631         Keep a reference to the element that provided the clock.
19632
19633 2005-11-18  Andy Wingo  <wingo@pobox.com>
19634
19635         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19636         the clock initially so it produces values around the base time.
19637         (gst_net_client_clock_class_init): Typo fix.
19638         (gst_net_client_clock_thread): Add note on when the socket gets
19639         closed.
19640
19641 2005-11-17  Wim Taymans  <wim@fluendo.com>
19642
19643         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19644         Free remote and local time arrays.
19645
19646 2005-11-17  Wim Taymans  <wim@fluendo.com>
19647
19648         * gst/net/gstnetclientclock.c: (do_linear_regression),
19649         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19650         Fix compilation, uninitialized vars and a forgotten continue.
19651
19652 2005-11-17  Andy Wingo  <wingo@pobox.com>
19653
19654         * check/Makefile.am (check_PROGRAMS): 
19655         * check/net/gstnetclientclock.c: Add a most minimal test for the
19656         net client clock. More to come later.
19657
19658         * gst/net/gstnet.h: 
19659         * gst/net/Makefile.am: Add netclientclock.
19660
19661         * gst/net/gstnetclientclock.h:
19662         * gst/net/gstnetclientclock.c: New files, implement an untested
19663         GstClock that takes its time from a network time provider.
19664         Implements the algorithm in network-clock.scm.
19665
19666         * tests/network-clock.scm (*window-size*): Rename from
19667         *queue-length*.
19668         * tests/network-clock.scm (network-time): 
19669         * tests/network-clock-utils.scm (q-push): Update callers.
19670
19671 2005-11-17  Wim Taymans  <wim@fluendo.com>
19672
19673         * gst/gstbin.c: (gst_bin_provide_clock_func),
19674         (gst_bin_sort_iterator_new):
19675         And unref the child too..
19676
19677 2005-11-17  Wim Taymans  <wim@fluendo.com>
19678
19679         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19680         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19681         Refactor the sort iterator so it can be used while holding the
19682         LOCK too.
19683         Make clock selection select a clock closest to the source.
19684
19685 2005-11-17  Michael Smith <msmith@fluendo.com>
19686
19687         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19688         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19689         * gst/gstclock.h:
19690           Anonymous structs are a gcc (and some other compilers) extension, so
19691           don't use them. Since this is only for ABI-compatibility, and our
19692           API/ABI freeze is over in a few days, this whole thing will only
19693           last a few days, so don't bother trying to think up a meaningful
19694           name for the struct.
19695
19696 2005-11-17  Andy Wingo  <wingo@pobox.com>
19697
19698         * gst/gstclock.h (GstClock): Add rate and offset properties,
19699         preserving ABI stability. Add rate/offset accessors. Will file bug
19700         for the freeze break.
19701
19702         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19703         and offset, trying to keep precision and avoiding
19704         underflow/overflow.
19705         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19706         functions. Make gst_clock_set_time_adjust obsolete.
19707         (gst_clock_set_time_adjust): Note that this function is obsolete.
19708         Will file bug soon.
19709
19710         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19711         greppable by using GST_PADDING-1+1.
19712
19713 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19714
19715         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19716
19717         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19718           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19719
19720         * gst/gstpadtemplate.h:
19721         * gst/gstpluginfeature.h:
19722           Don't use c++ style comments in headers (#321638).
19723
19724 2005-11-16  Andy Wingo  <wingo@pobox.com>
19725
19726         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19727         buffer.
19728
19729         * check/net/gstnettimeprovider.c: Check to see that the time
19730         provider actually provides times. Works, yo!
19731
19732 2005-11-16  Wim Taymans  <wim@fluendo.com>
19733
19734         * check/Makefile.am:
19735         Enable more tests.
19736
19737         * check/elements/fakesrc.c: (GST_START_TEST):
19738         Set element to NULL before disposing it.
19739
19740 2005-11-16  Andy Wingo  <wingo@pobox.com>
19741
19742         * gst/net/Makefile.am:
19743         * gst/net/gstnet.h:
19744         * gst/net/gstnettimeprovider.c: 
19745         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19746         provider, include it from gstnet.h, and add it to the build.
19747
19748         * gst/net/gstnettimepacket.h: 
19749         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19750         sending and receiving.
19751
19752 2005-11-16  Wim Taymans  <wim@fluendo.com>
19753
19754         * check/Makefile.am:
19755         Enable valgrind check.
19756
19757         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19758         (gst_fake_src_alloc_buffer):
19759         Fix memleak.
19760
19761 2005-11-16  Wim Taymans  <wim@fluendo.com>
19762
19763         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19764         Call parent finalize too.
19765
19766 2005-11-16  Wim Taymans  <wim@fluendo.com>
19767
19768         * check/Makefile.am:
19769         Enable valgrind check that should work fine now.
19770
19771         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19772         * gst/gstqueue.c: (gst_queue_init):
19773         Fix memleaks in pad allocation.
19774
19775 2005-11-16  Andy Wingo  <wingo@pobox.com>
19776
19777         * gst/net/Makefile.am:
19778         * gst/net/gstnet.h: New part of core to hold network elements and
19779         objects. Put in core because it exposes API that applications want
19780         to use. The library is named libgstnet-tempname right now because
19781         of the existing libgstnet in gst-plugins-base. Solution is
19782         probably to rename the one in plugins-base; will file a bug for
19783         the freeze break.
19784
19785         * gst/net/gstnettimeprovider.c: 
19786         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19787         get_time call over the network.
19788
19789         * configure.ac: 
19790         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19791
19792         * check/Makefile.am:
19793         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19794         get additions shortly.
19795
19796 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19797
19798         * gst/gstpad.c: (gst_pad_new_from_static_template):
19799         * gst/gstpad.h:
19800           add gst_pad_new_from_static_template functions
19801         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19802         (gst_check_setup_sink_pad):
19803         * gst/elements/gsttee.c: (gst_tee_init):
19804           and use them
19805
19806 2005-11-16  Wim Taymans  <wim@fluendo.com>
19807
19808         * gst/gstpad.c: (gst_pad_pause_task):
19809         Removed warning, it's not really an error either.
19810
19811 2005-11-16  Wim Taymans  <wim@fluendo.com>
19812
19813         * gst/base/gstbasetransform.c:
19814         (gst_base_transform_prepare_output_buf),
19815         (gst_base_transform_event):
19816         Check if the caps are NULL, this can happen if the element
19817         is shutting down and the pad caps are set to NULL.
19818
19819 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19820
19821         * gst/elements/gsttee.c: (gst_tee_init):
19822           fix pad template leak in tee
19823
19824 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19825
19826         * gst/glib-compat.c: (g_value_dup_gst_object):
19827         * gst/glib-compat.h:
19828         * gst/gstpad.c: (gst_pad_set_property):
19829           use gst_object_ref when setting the pad template; this will
19830           trigger the pad template leaks on GLib 2.6 and the slaves
19831
19832 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19833
19834         * gst/glib-compat.c: (gst_flags_get_first_value):
19835         * gst/glib-compat.h:
19836         * gst/gstregistryxml.c:
19837           remove functions copied from GLib 2.6
19838
19839 2005-11-16  Michael Smith <msmith@fluendo.com>
19840
19841         * gst/Makefile.am:
19842           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19843           do, but only breaks with newer valgrind versions. We're not a
19844           valgrind tool, we have no link-time dependencies on libcoregrind.
19845
19846 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19847
19848         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19849           some debug changes
19850         * gst/gstmessage.h:
19851           typo fixes
19852
19853 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19854
19855         * gst/base/gstbasesrc.c: (gst_base_src_init):
19856         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19857         * gst/gstqueue.c: (gst_queue_init):
19858         * gst/gstregistryxml.c: (load_feature):
19859           Revert all these unrefs, they don't even pass make check !
19860
19861 2005-11-15  Johan Dahlin  <johan@gnome.org>
19862
19863         * gst/base/gstbasesrc.c: (gst_base_src_init):
19864         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19865         * gst/gstqueue.c: (gst_queue_init): 
19866         Free pad templates, fixes a couple of leaks.
19867
19868 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19869
19870         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19871
19872         * gst/gstpad.c: (gst_pad_get_property):
19873           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19874           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19875           (#321452)
19876
19877 2005-11-15  Wim Taymans  <wim@fluendo.com>
19878
19879         * gst/gstevent.c:
19880         Small doc update.
19881
19882 2005-11-15  Andy Wingo  <wingo@pobox.com>
19883
19884         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19885
19886         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19887         using GST_CLOCK_TIME_NONE to disable base time management.
19888         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19889         time if it was NONE before.
19890         (gst_pipeline_change_state): Only munge the base time if
19891         stream_time != GST_CLOCK_TIME_NONE.
19892
19893         * check/gst/gstpipeline.c (test_base_time): Punt around the
19894         problem of the probe not being called, because that's not the
19895         issue I'm looking at. Add a check that setting stream_time to NONE
19896         disables base time management.
19897         
19898 2005-11-15  Wim Taymans  <wim@fluendo.com>
19899
19900         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19901         segment_stop == -1 at startup.
19902
19903         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19904         (gst_base_transform_change_state):
19905         Init segment values at start.
19906
19907 2005-11-15  Wim Taymans  <wim@fluendo.com>
19908
19909         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19910         0 segment values are 0 in any format.
19911
19912         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19913         * gst/base/gstbasetransform.h:
19914         Parse newsegment correctly in basetransform
19915
19916         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19917         Sync to clock using updated segment values.
19918
19919 2005-11-15  Andy Wingo  <wingo@pobox.com>
19920
19921         * check/gst/gstpipeline.c (test_base_time): Add check that the
19922         base time and stream time are reset correctly.
19923
19924 2005-11-15  Wim Taymans  <wim@fluendo.com>
19925
19926         * docs/design/part-TODO.txt:
19927         Some more TODO items.
19928
19929 2005-11-15  Andy Wingo  <wingo@pobox.com>
19930
19931         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19932         error if the user selected "no clock" as the clocking method.
19933
19934         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19935         timestamps with live capture.
19936
19937         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19938         is 0 but we are a live source, timestamp the buffers using the
19939         element's clock.
19940
19941 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19942
19943         * docs/gst/gstreamer-sections.txt:
19944         * gst/gsterror.c:
19945         * gst/gstghostpad.c:
19946         * gst/gstobject.h:
19947         * gst/gstxml.c:
19948           more section docs
19949
19950 2005-11-14  Wim Taymans  <wim@fluendo.com>
19951
19952         * common/gst.supp:
19953           add suppressions from Wim's Debian machine
19954
19955 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19956
19957         * common/gst.supp:
19958           add suppressions from Andy's AMD64 Ubuntu machine
19959
19960 2005-11-14  Andy Wingo  <wingo@pobox.com>
19961
19962         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19963         STATE_LOCK not necessary. Fixes #311489.
19964
19965         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19966         #305291.
19967
19968         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19969         this function is not implemented.
19970
19971 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19972
19973         * gst/base/gstbasetransform.c:
19974         (gst_base_transform_prepare_output_buf):
19975         Ref the source pad caps while we need them.
19976         Fixes (#321386)
19977
19978 2005-11-11  Wim Taymans  <wim@fluendo.com>
19979
19980         * docs/gst/gstreamer-sections.txt:
19981         Added some docs for GstCollectData.
19982
19983         * gst/base/gstadapter.c:
19984         Some small code example fix.
19985
19986         * gst/base/gstcollectpads.c:
19987         * gst/base/gstcollectpads.h:
19988         Document some more.
19989
19990 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19991
19992         * configure.ac: back to HEAD
19993
19994 === release 0.9.5 ===
19995
19996 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19997
19998         * configure.ac:
19999           releasing 0.9.5, "Bike Lunch Day"
20000
20001 2005-11-11  Wim Taymans  <wim@fluendo.com>
20002
20003         * gst/gstbuffer.c: (_gst_buffer_copy):
20004         Copy more flags.
20005
20006         * gst/gstcaps.c: (gst_caps_is_equal):
20007         Fix some docs.
20008         Make _is_equal fast in the trivial cases.
20009
20010         * gst/gstminiobject.c:
20011         * gst/gstminiobject.h:
20012         More docs. Spifify .h file.
20013
20014         * gst/gstutils.c:
20015         Small doc update.
20016
20017 2005-11-11  Wim Taymans  <wim@fluendo.com>
20018
20019         * gst/base/gstbasetransform.c:
20020         (gst_base_transform_prepare_output_buf),
20021         (gst_base_transform_handle_buffer):
20022         Small cleanups.
20023         If we're processing a buffer and need to allocate an output
20024         buffer, we cannot accept a format change. If we did get a 
20025         format change, we have to alloc a buffer ourselves of the 
20026         right size.
20027
20028 2005-11-11  Wim Taymans  <wim@fluendo.com>
20029
20030         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
20031         While checking the flag for reentrancy in the gstcaps function
20032         is nice to detect recursive invocations, it also makes it 
20033         impossible to call getcaps from multiple threads, which must be
20034         possible. So, checking for recursive calls has to go.
20035
20036 2005-11-11  Michael Smith <msmith@fluendo.com>
20037
20038         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20039           Don't sync on buffers that fall partially outside our current
20040           segment. Prevents an assertion failure/abort playing some files.
20041
20042 2005-11-10  Andy Wingo  <wingo@pobox.com>
20043
20044         * check/gst/gstbin.c (test_message_state_changed_children): Style
20045         fix..
20046
20047         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
20048         gst_bus_poll with the signal watch. Ensures that poll and a signal
20049         watch see the same messages.
20050
20051         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
20052         a poll and a watch at the same time get the same messages.
20053
20054 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20055
20056         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
20057         * gst/gstcaps.c: (gst_caps_intersect):
20058           Don't call gst_caps_do_simplify - it doesn't respect order of caps
20059           and it's not needed.
20060
20061 2005-11-10  Wim Taymans  <wim@fluendo.com>
20062
20063         * docs/design/part-TODO.txt:
20064         Updated todo.
20065
20066 2005-11-10  Wim Taymans  <wim@fluendo.com>
20067
20068         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20069         * gst/base/gstbasesrc.c: (gst_base_src_wait),
20070         (gst_base_src_do_sync), (gst_base_src_get_range):
20071         Implement clock sync in base class.
20072
20073 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20074
20075         patch by: Tim-Philipp Müller <tim at centricular dot net>
20076
20077         * gst/gststructure.c: (gst_structure_parse_field),
20078         (gst_structure_from_string):
20079           Forward-port a 0.8 patch to handle escaped spaces in structure string,
20080           so that gst_parse_launch() can deal with spaces in filtered link
20081           caps (fixes #164479)
20082         * check/gst/capslist.h:
20083         * check/gst/gststructure.c: (GST_START_TEST):
20084           add unit tests for this change
20085
20086 2005-11-10  Wim Taymans  <wim@fluendo.com>
20087
20088         * docs/gst/gstreamer-sections.txt:
20089         * gst/gstelement.c:
20090         * gst/gstelement.h:
20091         Fix docs, move some STATE macros to private.
20092
20093 2005-11-10  Wim Taymans  <wim@fluendo.com>
20094
20095         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20096         Added check for bug #317341
20097
20098         * gst/gstbuffer.c:
20099         * gst/gstbuffer.h:
20100         Some more spiffifying.
20101
20102         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
20103         Call peer linkfunction if we are a source pad. Totally fixes
20104         #317341
20105
20106         * gst/gstpad.c:
20107         Update docs, source pads should call the peer linkfunction
20108         so they can atomically perform the pad link.
20109
20110 2005-11-09  Wim Taymans  <wim@fluendo.com>
20111
20112         * gst/gstbuffer.c:
20113         * gst/gstbuffer.h:
20114         Uber-spiffy-spiffify some more.
20115
20116 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
20117
20118         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
20119         * gst/elements/gstfilesink.c: (gst_file_sink_init):
20120         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20121         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
20122         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
20123         * gst/gstpad.c: (gst_pad_init):
20124           Use GST_DEBUG_FUNCPTR() more extensively.
20125
20126 2005-11-09  Wim Taymans  <wim@fluendo.com>
20127
20128         * gst/gstobject.c: (gst_object_class_init):
20129         * gst/gstobject.h:
20130         Documentation fixes.
20131
20132 2005-11-09  Edward Hervey  <edward@fluendo.com>
20133
20134         * gst/gsttypefindfactory.c:
20135         Fix docs.
20136         
20137 2005-11-09  Edward Hervey  <edward@fluendo.com>
20138
20139         * gst/base/gsttypefindhelper.c:
20140         * gst/gsttypefind.c:
20141         * gst/gsttypefind.h:
20142         Fix docs.
20143
20144 2005-11-09  Wim Taymans  <wim@fluendo.com>
20145
20146         * gst/gstiterator.c:
20147         Fix revision data.
20148
20149         * gst/gsttask.c:
20150         * gst/gsttask.h:
20151         Fix docs.
20152
20153 2005-11-09  Wim Taymans  <wim@fluendo.com>
20154
20155         * gst/gstevent.h:
20156         * gst/gsturi.h:
20157         Fix docs.
20158
20159 2005-11-09  Wim Taymans  <wim@fluendo.com>
20160
20161         * docs/gst/gstreamer-sections.txt:
20162         Moved the message async delivery private lock and cond
20163         to the private section.
20164
20165         * gst/gstmessage.c:
20166         * gst/gstmessage.h:
20167         Fixed docs.
20168
20169 2005-11-09  Edward Hervey  <edward@fluendo.com>
20170
20171         * docs/gst/gstreamer-sections.txt:
20172         * gst/gsturi.c:
20173         * gst/gsturi.h:
20174         Document GstURIHandler
20175
20176 2005-11-09  Wim Taymans  <wim@fluendo.com>
20177
20178         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
20179         (gst_iterator_find_custom):
20180         * gst/gstiterator.h:
20181         Fix iterator docs.
20182
20183 2005-11-09  Wim Taymans  <wim@fluendo.com>
20184
20185         * gst/gstbin.h:
20186         Document another field.
20187
20188         * gst/gststructure.c:
20189         * gst/gststructure.h:
20190         Document.
20191
20192 2005-11-09  Wim Taymans  <wim@fluendo.com>
20193
20194         * gst/gstbin.h:
20195         Documented structs.
20196
20197 2005-11-09  Wim Taymans  <wim@fluendo.com>
20198
20199         * docs/gst/gstreamer-sections.txt:
20200         Added some new macros.
20201
20202         * gst/gstclock.c:
20203         * gst/gstclock.h:
20204         * gst/gstobject.h:
20205         Docs updates.
20206
20207 2005-11-09  Wim Taymans  <wim@fluendo.com>
20208
20209         * docs/design/part-TODO.txt:
20210         Some more items for the TODO
20211
20212         * gst/gstcaps.c:
20213         * gst/gstcaps.h:
20214         Document GstCaps.
20215
20216 2005-11-09  Andy Wingo  <wingo@pobox.com>
20217
20218         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
20219         to work on something else now tho...
20220
20221         * gst/base/gstadapter.c: More adapter docs.
20222
20223         * gst/elements/gstfilesink.c (gst_file_sink_start) 
20224         (gst_file_sink_stop): New functions, replace the state change
20225         handler.
20226         (gst_file_sink_class_init): Hook up the start and stop functions.
20227         (gst_file_sink_base_init): Don't set the state change handler any
20228         more. It was a bit ugly too, being set from here...
20229         (gst_file_sink_get_property, gst_file_sink_set_property):
20230         Cleanups...
20231         (gst_file_sink_set_location): More robust check that doesn't call
20232         GST_STATE. Ugggggg.
20233
20234 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
20235
20236         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20237           Hold STREAM_LOCK while pushing newsegment or tag events as well.
20238
20239 2005-11-08  Wim Taymans  <wim@fluendo.com>
20240
20241         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20242         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20243         (gst_base_sink_chain), (gst_base_sink_change_state):
20244         * gst/base/gstbasesink.h:
20245         * gst/base/gstbasesrc.h:
20246         * gst/gstelement.h:
20247         * gst/gstevent.h:
20248         Avoid excessive typechecking in macros.
20249
20250         * gst/gstminiobject.c: (gst_mini_object_get_type),
20251         (gst_mini_object_init), (gst_mini_object_new),
20252         (gst_mini_object_free):
20253         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20254         (gst_object_finalize):
20255         Remove cruft code, optimize alloc_trace.
20256
20257 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
20258
20259         * docs/faq/gst-uninstalled:
20260           fix up PS1 for systems that try to reset it
20261
20262 2005-11-07  Wim Taymans  <wim@fluendo.com>
20263
20264         * gst/base/gstbasesrc.c: (gst_base_src_init),
20265         (gst_base_src_get_range):
20266         Set the segment_end to -1 initially. Fixed typefind.
20267
20268 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
20269
20270         * gst/base/gstadapter.c:
20271           Debug category should be 'adapter', not 'GstAdapter'.
20272           
20273         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
20274         (gst_collectpads_class_init), (gst_collectpads_init),
20275         (gst_collectpads_peek), (gst_collectpads_pop),
20276         (gst_collectpads_event), (gst_collectpads_chain):
20277           Add debug category and some debugging output. Use boilerplate
20278           macros. Remove some extraneous words from docs.
20279
20280 2005-11-05  Andy Wingo  <wingo@pobox.com>
20281
20282         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20283         macro.
20284
20285 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20286
20287         * docs/gst/gstreamer-sections.txt:
20288         * gst/gstcaps.h:
20289         * gst/gstinfo.c:
20290         * gst/gstminiobject.h:
20291         * gst/gstobject.h:
20292         * gst/gstutils.h:
20293           more docs added
20294
20295 2005-11-04  Wim Taymans  <wim@fluendo.com>
20296
20297         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20298         Small update to stop at the configured segment_end
20299         position.
20300
20301 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20302
20303         * gst/gstregistry.c:
20304         * gst/gstregistry.h:
20305           added missing docs
20306
20307 2005-11-04  Edward Hervey  <edward@fluendo.com>
20308
20309         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20310         Check if we are doing a segment seek and have arrived at the
20311         end of that segment.
20312
20313 2005-11-04  Wim Taymans  <wim@fluendo.com>
20314
20315         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20316         Don't leak a mutex unlock in case of an error.
20317
20318         * gst/gstbus.h:
20319         Doc fixes.
20320
20321 2005-11-04  Wim Taymans  <wim@fluendo.com>
20322
20323         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20324         (gst_bus_post):
20325         Get the context to wake up only once.
20326
20327 2005-11-03  Wim Taymans  <wim@fluendo.com>
20328
20329         * check/states/sinks.c: (GST_START_TEST):
20330         Uncomment fixed check.
20331
20332         * docs/design/part-TODO.txt:
20333         Updated TODO.
20334
20335         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20336         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20337         (gst_base_sink_get_position):
20338         If we are going to PLAYING, post the right pending state
20339         when we post the intermediate paused message.
20340
20341         * gst/gstelement.c: (gst_element_continue_state),
20342         (gst_element_set_state_func), (gst_element_change_state):
20343         Don't post state changes that were between the same state
20344         and were not ASYNC.
20345
20346 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20347
20348         * docs/gst/gstreamer-sections.txt:
20349         * gst/gstcaps.h:
20350         * gst/gstinfo.c:
20351         * gst/gstminiobject.h:
20352         * gst/gstobject.h:
20353         * gst/gstutils.h:
20354           more docs and doc style fixes
20355
20356 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20357
20358         * docs/gst/gstreamer-sections.txt:
20359         * gst/gstelement.c:
20360         * gst/gstminiobject.c:
20361         doc fixes
20362
20363 2005-11-03  Andy Wingo  <wingo@pobox.com>
20364
20365         * check/states/sinks.c (test_livesrc_sink): Add checks that the
20366         state-changed messages actually have the right order and the right
20367         values.
20368
20369 2005-11-03  Wim Taymans  <wim@fluendo.com>
20370
20371         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20372         Added some more checks. Specifically the case where NO_PREROLL
20373         elements are in the pipeline.
20374
20375         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20376         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20377         (gst_base_sink_get_position):
20378         Post READY->PAUSED state change messages too.
20379         Fix bug where VOID was posted as pending state...
20380
20381         * gst/gstbin.c: (gst_bin_recalc_state):
20382         use _element_continue_state() to continue the state change.
20383
20384         * gst/gstelement.c: (gst_element_continue_state),
20385         (gst_element_commit_state), (gst_element_set_state_func),
20386         (gst_element_change_state), (gst_element_change_state_func):
20387         Lots of state change cleanups, assign the STATE_RETURN in
20388         a new continue_state() function that also propagates the
20389         last return value from a state change to the app.
20390         Update some debug statements with proper category.
20391
20392 2005-11-03  Wim Taymans  <wim@fluendo.com>
20393
20394         * docs/design/part-events.txt:
20395         * docs/design/part-gstpipeline.txt:
20396         * docs/design/part-messages.txt:
20397         * docs/design/part-overview.txt:
20398         * docs/design/part-seeking.txt:
20399         * docs/design/part-states.txt:
20400         * docs/design/part-trickmodes.txt:
20401         * docs/manual/advanced-position.xml:
20402         Small docs updates.
20403
20404         * gst/gstobject.h:
20405         People think !! is ugly, this looks better.
20406
20407         * gst/gstpad.c: (gst_pad_set_blocked_async):
20408         Remove !! since it's fixed elsewhere now.
20409
20410 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20411
20412         * gst/gstminiobject.h:
20413         * gst/gstobject.h:
20414           Add !! to _FLAG_IS_SET macros to make the result boolean.
20415
20416 2005-11-03  Edward Hervey  <edward@fluendo.com>
20417
20418         * gst/gstpad.c: (gst_pad_set_blocked_async):
20419         comparing a flag and a gboolean rarely returns coherent results...
20420         Added two characters (!!) to make that work correctly.
20421         
20422 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20423
20424         * gst/gstbus.c: (gst_bus_class_init):
20425           Fix some typos.
20426           
20427         * gst/gstqueue.c: (gst_queue_loop):
20428           Don't assume a miniobject that isn't a buffer is an
20429           event (it could be that there is a refcounting
20430           problem somewhere and the pointer is stale and
20431           refers to an already destroyed miniobject).
20432
20433 2005-11-03  Julien MOUTTE  <julien@moutte.net>
20434
20435         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20436
20437 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20438
20439         * docs/manual/advanced-position.xml:
20440           Update seek example and explanations to current 0.9 API.
20441
20442         * gst/elements/gsttypefindelement.c:
20443         (gst_type_find_element_activate):
20444           Remove FIXME comment now that the found caps
20445           are unreffed.
20446
20447 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20448
20449         * gst/gstregistryxml.c: (load_feature):
20450           Add another GST_STR_NULL instance
20451
20452 2005-11-02  Edward Hervey  <edward@fluendo.com>
20453
20454         * gst/gstpad.c: (handle_pad_block):
20455         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20456         
20457 2005-11-02  Wim Taymans  <wim@fluendo.com>
20458
20459         * gst/gstbin.c:
20460         Fix typo in docs.
20461
20462         * gst/gstelement.c: (gst_element_commit_state):
20463         Remove unused value.
20464
20465         * gst/gstiterator.c:
20466         Mention that the returned element is reffed in the docs.
20467
20468 2005-11-02  Wim Taymans  <wim@fluendo.com>
20469
20470         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20471         (gst_pad_push), (gst_pad_push_event):
20472         Unlock blocked pads when they are flushed.
20473
20474 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20475
20476         * docs/README:
20477         * docs/gst/gstreamer-sections.txt:
20478         * gst/gstbin.c:
20479           doc updates
20480         * gst/gstregistry.c: (gst_registry_scan_path_level):
20481           fix for a nasty little missed situation where an installed plug-in
20482           which was in the cache did not get overridden by an uninstalled one
20483           which was earlier in the plugin path because the newly created plugin
20484           for the uninstalled one (not in the registry) didn't get its
20485           ->registered set to TRUE
20486
20487 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20488
20489         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20490         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20491         (gst_collectpads_is_active), (gst_collectpads_collect),
20492         (gst_collectpads_collect_range), (gst_collectpads_start),
20493         (gst_collectpads_stop), (gst_collectpads_peek),
20494         (gst_collectpads_pop), (gst_collectpads_available),
20495         (gst_collectpads_read), (gst_collectpads_flush):
20496           Guard public API with assertions.
20497         
20498         * gst/gstpad.c:
20499           Fix docs for gst_pad_set_link_function().
20500
20501 2005-11-02  Johan Dahlin  <johan@gnome.org>
20502
20503         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
20504         Unref found_caps after we used it.
20505
20506 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20507
20508         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20509           Don't try to ref NULL.
20510
20511 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20512
20513         * win32/common/config.h.in:
20514           provide a GST_FUNCTION that just gives a string for now
20515
20516 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20517
20518         * win32/common/gstenumtypes.c: (register_gst_object_flags),
20519         (gst_object_flags_get_type), (register_gst_bin_flags),
20520         (gst_bin_flags_get_type), (register_gst_buffer_flag),
20521         (gst_buffer_flag_get_type), (register_gst_bus_flags),
20522         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20523         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20524         (gst_clock_return_get_type), (register_gst_clock_entry_type),
20525         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20526         (gst_clock_flags_get_type), (register_gst_state),
20527         (gst_state_get_type), (register_gst_state_change_return),
20528         (gst_state_change_return_get_type), (register_gst_state_change),
20529         (gst_state_change_get_type), (register_gst_element_flags),
20530         (gst_element_flags_get_type), (register_gst_core_error),
20531         (gst_core_error_get_type), (register_gst_library_error),
20532         (gst_library_error_get_type), (register_gst_resource_error),
20533         (gst_resource_error_get_type), (register_gst_stream_error),
20534         (gst_stream_error_get_type), (register_gst_event_type),
20535         (gst_event_type_get_type), (register_gst_seek_type),
20536         (gst_seek_type_get_type), (register_gst_seek_flags),
20537         (gst_seek_flags_get_type), (register_gst_format),
20538         (gst_format_get_type), (register_gst_index_certainty),
20539         (gst_index_certainty_get_type), (register_gst_index_entry_type),
20540         (gst_index_entry_type_get_type),
20541         (register_gst_index_lookup_method),
20542         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20543         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20544         (gst_index_resolver_method_get_type), (register_gst_index_flags),
20545         (gst_index_flags_get_type), (register_gst_debug_level),
20546         (gst_debug_level_get_type), (register_gst_debug_color_flags),
20547         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20548         (gst_iterator_result_get_type), (register_gst_iterator_item),
20549         (gst_iterator_item_get_type), (register_gst_message_type),
20550         (gst_message_type_get_type), (register_gst_mini_object_flags),
20551         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20552         (gst_pad_link_return_get_type), (register_gst_flow_return),
20553         (gst_flow_return_get_type), (register_gst_activate_mode),
20554         (gst_activate_mode_get_type), (register_gst_pad_direction),
20555         (gst_pad_direction_get_type), (register_gst_pad_flags),
20556         (gst_pad_flags_get_type), (register_gst_pad_presence),
20557         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20558         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20559         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20560         (gst_plugin_error_get_type), (register_gst_plugin_flags),
20561         (gst_plugin_flags_get_type), (register_gst_rank),
20562         (gst_rank_get_type), (register_gst_query_type),
20563         (gst_query_type_get_type), (register_gst_tag_merge_mode),
20564         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20565         (gst_tag_flag_get_type), (register_gst_task_state),
20566         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20567         (gst_alloc_trace_flags_get_type),
20568         (register_gst_type_find_probability),
20569         (gst_type_find_probability_get_type), (register_gst_uri_type),
20570         (gst_uri_type_get_type), (register_gst_parse_error),
20571         (gst_parse_error_get_type):
20572         * win32/common/gstversion.h:
20573           update win32 copies
20574
20575 2005-11-01  Luca Ognibene  <luogni@tin.it>
20576
20577         * gst/gst.c:
20578           fix docs. popt is dead, long live GOption.
20579
20580 2005-10-31  Wim Taymans  <wim@fluendo.com>
20581
20582         * gst/gstbuffer.h:
20583         Small doc fix.
20584
20585 2005-10-31  Andy Wingo  <wingo@pobox.com>
20586
20587         * Boo!
20588
20589         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20590
20591         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20592         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20593         the possibility of deadlocks here if code calling notify() or
20594         set() has a lock that can be taken in another notify handler (ABBA
20595         with class lock and e.g. python GIL state lock).
20596
20597 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20598
20599         * gst/gstbus.c: Doc updates.
20600
20601 2005-10-28  Wim Taymans  <wim@fluendo.com>
20602
20603         * docs/design/part-TODO.txt:
20604         * gst/gstiterator.c:
20605         * gst/gstsystemclock.c:
20606         * gst/gstsystemclock.h:
20607         Doc updates.
20608
20609 2005-10-28  Edward Hervey  <edward@fluendo.com>
20610
20611         * docs/gst/gstreamer-docs.sgml:
20612         * docs/gst/gstreamer-sections.txt:
20613         the GstURIType documentation page is private, it only defines GstURIType
20614         which should be defined in the GstURIHandler page
20615         
20616 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20617
20618         * gst/gstbin.c: (gst_bin_class_init):
20619         * gst/gstbin.h:
20620         * gst/gstutils.c:
20621         Documentation updates.
20622
20623 2005-10-28  Wim Taymans  <wim@fluendo.com>
20624
20625         * docs/gst/gstreamer-sections.txt:
20626         * gst/gstclock.c:
20627         * gst/gstclock.h:
20628         Documented the clocks.
20629
20630 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20631
20632         * docs/gst/gstreamer-sections.txt:
20633           move some macros to private sections
20634         * gst/gstminiobject.c:
20635         * gst/gstminiobject.h:
20636           add descriptions provided by ds and some more
20637         * gst/gstpad.h:
20638           mark macro as to be removed
20639
20640 2005-10-28  Wim Taymans  <wim@fluendo.com>
20641
20642         * docs/design/part-TODO.txt:
20643         Add an item to TODO.
20644
20645         * gst/gstiterator.c: (gst_iterator_fold),
20646         (gst_iterator_find_custom):
20647         * gst/gstiterator.h:
20648         Add iterator docs.
20649
20650 2005-10-28  Wim Taymans  <wim@fluendo.com>
20651
20652         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20653         (gst_base_transform_init):
20654         Don't leak class.
20655
20656         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20657         An EOS event marks the queue as completely filled.
20658
20659 2005-10-27  Wim Taymans  <wim@fluendo.com>
20660
20661         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20662         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20663         Some more debugging.
20664
20665         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20666         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20667         (gst_base_transform_event), (gst_base_transform_getrange),
20668         (gst_base_transform_chain):
20669         * gst/base/gstbasetransform.h:
20670         Fix debugging,
20671         Protect transform and concurrent buffer alloc with a new lock.
20672         Try not to break ABI/API.
20673
20674 2005-10-27  Wim Taymans  <wim@fluendo.com>
20675
20676         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20677         (gst_base_src_init), (gst_base_src_query),
20678         (gst_base_src_default_newsegment),
20679         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20680         (gst_base_src_send_event), (gst_base_src_event_handler),
20681         (gst_base_src_pad_get_range), (gst_base_src_loop),
20682         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20683         (gst_base_src_start), (gst_base_src_deactivate),
20684         (gst_base_src_activate_push), (gst_base_src_change_state):
20685         Move some stuff around and cleanup things.
20686
20687 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20688
20689         * gst/base/gstbasesrc.c: (gst_base_src_query):
20690           Add missing break statements.
20691
20692 2005-10-27  Wim Taymans  <wim@fluendo.com>
20693
20694         * check/gst/gstbin.c: (GST_START_TEST):
20695         An extra refcount is taken in basesrc.
20696
20697         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20698         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20699         (gst_base_src_loop):
20700         Small cleanups, check for flushing after being unlocked from the 
20701         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20702         Don't send out EOS when going to READY.
20703
20704 2005-10-27  Wim Taymans  <wim@fluendo.com>
20705
20706         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20707         (gst_base_sink_get_position):
20708         Some more debug.
20709
20710         * gst/gstbin.c: (message_check), (bin_replace_message),
20711         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20712         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20713         (bin_query_duration_init), (bin_query_duration_fold),
20714         (bin_query_duration_done), (bin_query_generic_fold),
20715         (gst_bin_query):
20716         * tools/gst-launch.c: (main):
20717         Remove old option.
20718
20719 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20720
20721         * examples/controller/audio-example.c: (main):
20722         * examples/queue/queue.c: (event_loop):
20723         * gst/base/gstbasetransform.h:
20724         * gst/gstelement.c: (gst_element_send_event):
20725         * gst/gstevent.h:
20726         * gst/gstpad.c: (gst_pad_send_event):
20727           fixing examples
20728           fixing docs typos
20729           changing log priority in error situations
20730
20731 2005-10-25  Wim Taymans  <wim@fluendo.com>
20732
20733         * gst/gstbin.c: (message_check), (bin_replace_message),
20734         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20735         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20736         (bin_query_duration_init), (bin_query_duration_fold),
20737         (bin_query_duration_done), (bin_query_generic_fold),
20738         (gst_bin_query):
20739         Some doc and debug updates.
20740         Cache previously requested query DURATION for speed. invalidate
20741         cached duration if element posts a DURATION message.
20742
20743 2005-10-25  Wim Taymans  <wim@fluendo.com>
20744
20745         * docs/design/part-TODO.txt:
20746         Update TODO.
20747
20748         * gst/gstbin.c: (message_check), (bin_replace_message),
20749         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20750         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20751         (bin_query_duration_init), (bin_query_duration_fold),
20752         (bin_query_duration_done), (bin_query_generic_fold),
20753         (gst_bin_query):
20754         Handle SEGMENT_START/DONE messages correctly.
20755         More evolved query algorithm that handles duration queries
20756         correctly.
20757
20758         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20759         (gst_element_get_state_func), (gst_element_abort_state),
20760         (gst_element_commit_state), (gst_element_lost_state):
20761         Some more debugging.
20762
20763         * gst/gstmessage.h:
20764         Added doc.
20765
20766 2005-10-25  Wim Taymans  <wim@fluendo.com>
20767
20768         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20769         Don't use invalid stream_time.
20770
20771         * gst/gstevent.c: (gst_event_new_newsegment):
20772         stream_time in newsegment cannot be undefined.
20773
20774 2005-10-24  Wim Taymans  <wim@fluendo.com>
20775
20776         * gst/gstbus.c:
20777         Doc fix.
20778
20779         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20780         (gst_queue_loop):
20781         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20782
20783 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20784
20785         * docs/libs/tmpl/gstdparam.sgml:
20786         * docs/libs/tmpl/gstdplinint.sgml:
20787         * docs/libs/tmpl/gstdpman.sgml:
20788         * docs/libs/tmpl/gstdpsmooth.sgml:
20789         * docs/libs/tmpl/gstunitconvert.sgml:
20790           these are obsolete
20791
20792 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20793
20794         * configure.ac:
20795           back to HEAD
20796
20797 === release 0.9.4 ===
20798
20799 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20800
20801         * configure.ac:
20802           releasing 0.9.4, "Tyrannosaurus Rex"
20803
20804 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20805
20806         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20807         (gst_file_sink_get_current_offset):
20808           Use fseeko() and ftello() if available. When falling back on
20809           lseek() to get the current offset, fflush() first to make sure
20810           everything is up-to-date and we get the right offset.
20811
20812 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20813
20814         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20815         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20816         * gst/gsterror.c: (_gst_stream_errors_init):
20817         * gst/gsterror.h:
20818         * gst/gstqueue.c: (gst_queue_loop):
20819         * po/POTFILES.in:
20820           remove prematurely added error category and clean up the instances
20821
20822 2005-10-21  Wim Taymans  <wim@fluendo.com>
20823
20824         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20825         (gst_base_sink_get_position), (gst_base_sink_query),
20826         (gst_base_sink_change_state):
20827         Simply set the right flag when going to playing, that's all
20828         we need to do instead of calling a function inside the object
20829         lock (that could take the lock as well and deadlock)
20830
20831 2005-10-21  Wim Taymans  <wim@fluendo.com>
20832
20833         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20834         (gst_base_src_loop):
20835         Don't warn, the peer element knows what to do best when
20836         the seek failed, it might try something else.
20837
20838 2005-10-21  Wim Taymans  <wim@fluendo.com>
20839
20840         * gst/base/gstbasesrc.c: (gst_base_src_init),
20841         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20842         Fix seeking.
20843
20844 2005-10-21  Wim Taymans  <wim@fluendo.com>
20845
20846         * docs/design/part-segments.txt:
20847         More docs.
20848
20849         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20850         Correctly set caps, even on the subbufer.
20851
20852 2005-10-21  Wim Taymans  <wim@fluendo.com>
20853
20854         * docs/gst/gstreamer-docs.sgml:
20855         * docs/gst/gstreamer-sections.txt:
20856         * gst/gstelement.h:
20857         * gst/gstevent.c:
20858         * gst/gstevent.h:
20859         * gst/gstmessage.h:
20860         * gst/gstpad.h:
20861         * gst/gstparse.h:
20862         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20863         * gst/gsttask.h:
20864         * gst/gstutils.c:
20865         * gst/gstutils.h:
20866         And 2% more doc coverage.
20867
20868 2005-10-21  Andy Wingo  <wingo@pobox.com>
20869
20870         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20871         position reporting.
20872
20873 2005-10-20  Wim Taymans  <wim@fluendo.com>
20874
20875         * gst/gsterror.c: (gst_error_get_message):
20876         * gst/gstparse.h:
20877         * gst/gstquery.h:
20878         * gst/gststructure.c:
20879         * gst/gsttrace.c:
20880         * gst/gstutils.c:
20881         More docs.
20882
20883 2005-10-20  Wim Taymans  <wim@fluendo.com>
20884
20885         * gst/gstbuffer.h:
20886         * gst/gstpad.c:
20887         * gst/gstparse.c:
20888         Another 1% more coverage.
20889
20890 2005-10-20  Wim Taymans  <wim@fluendo.com>
20891
20892         * docs/gst/gstreamer-sections.txt:
20893         * gst/gstelement.c: (gst_element_get_state_func),
20894         (gst_element_abort_state), (gst_element_commit_state),
20895         (gst_element_lost_state):
20896         * gst/gstevent.h:
20897         * gst/gstquery.c: (gst_query_set_position),
20898         (gst_query_parse_position), (gst_query_set_duration),
20899         (gst_query_parse_duration), (gst_query_new_convert):
20900         * gst/gstutils.c:
20901         Yay! 1% more docs coverage.
20902
20903 2005-10-20  Wim Taymans  <wim@fluendo.com>
20904
20905         * gst/gstpad.h:
20906         * gst/gstquery.c: (gst_query_set_position),
20907         (gst_query_parse_position), (gst_query_set_duration),
20908         (gst_query_parse_duration), (gst_query_new_convert):
20909         * gst/gstquery.h:
20910         * gst/gstutils.c: (gst_element_query_convert):
20911         * gst/gstutils.h:
20912         Docs and consistency fixes.
20913
20914 2005-10-20  Wim Taymans  <wim@fluendo.com>
20915
20916         * gst/gsttask.c:
20917         * gst/gsttask.h:
20918         More docs.
20919
20920 2005-10-20  Wim Taymans  <wim@fluendo.com>
20921
20922         * gst/gstbin.c: (message_check), (bin_replace_message),
20923         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20924         (update_degree), (gst_bin_sort_iterator_next),
20925         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20926         Reworked the message handling a bit, cache the messages instead of
20927         only the senders. alows us to do more in the future.
20928
20929 2005-10-20  Wim Taymans  <wim@fluendo.com>
20930
20931         * docs/design/part-TODO.txt:
20932         Update TODO
20933
20934         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20935         (gst_base_sink_query):
20936         Don't use clock time to report position when in EOS.
20937
20938 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20939
20940         * tools/gst-inspect.c: (print_interfaces),
20941         (print_element_properties_info), (print_element_info):
20942           Fix interface output with gst-inspect -a; don't print
20943           newlines after double/float properties.
20944
20945 2005-10-20  Wim Taymans  <wim@fluendo.com>
20946
20947         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20948         (gst_base_sink_query):
20949         Speed up current position calculation.
20950
20951         * gst/base/gstbasesrc.c: (gst_base_src_query),
20952         (gst_base_src_default_newsegment):
20953         Correctly set stream position in newsegment.
20954
20955         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20956         (update_degree), (gst_bin_sort_iterator_next),
20957         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20958         * gst/gstmessage.c: (gst_message_new_custom):
20959         Clean up debugging info
20960
20961         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20962         (gst_queue_loop), (gst_queue_handle_src_query):
20963         Pause task faster.
20964
20965 2005-10-19  Wim Taymans  <wim@fluendo.com>
20966
20967         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20968         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20969         Fix query handling again.
20970
20971 2005-10-19  Wim Taymans  <wim@fluendo.com>
20972
20973         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20974         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20975         * gst/base/gstbasesrc.c: (gst_base_src_query):
20976         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20977         * gst/elements/gsttypefindelement.c:
20978         (gst_type_find_handle_src_query), (find_element_get_length),
20979         (gst_type_find_element_activate):
20980         API change fix.
20981
20982         * gst/gstquery.c: (gst_query_new_position),
20983         (gst_query_set_position), (gst_query_parse_position),
20984         (gst_query_new_duration), (gst_query_set_duration),
20985         (gst_query_parse_duration), (gst_query_set_segment),
20986         (gst_query_parse_segment):
20987         * gst/gstquery.h:
20988         Bundling query position/duration is not a good idea since duration
20989         does not change much and we don't want to recalculate it for every
20990         position query, so they are separated again..
20991         Base value in segment query is not needed.
20992
20993         * gst/gstqueue.c: (gst_queue_handle_src_query):
20994         * gst/gstutils.c: (gst_element_query_position),
20995         (gst_element_query_duration), (gst_pad_query_position),
20996         (gst_pad_query_duration):
20997         * gst/gstutils.h:
20998         Updates for query API change.
20999         Added some docs here and there.
21000
21001 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21002
21003         * check/gst/gstbin.c: (GST_START_TEST):
21004         * check/gst/gstghostpad.c: (GST_START_TEST):
21005         * check/pipelines/cleanup.c: (GST_START_TEST):
21006           wait on thread to die so we can check refcount correctly
21007
21008 2005-10-18  Wim Taymans  <wim@fluendo.com>
21009
21010         * check/pipelines/stress.c: (GST_START_TEST):
21011         Make check a little more time consuming.
21012
21013 2005-10-18  Wim Taymans  <wim@fluendo.com>
21014
21015         * check/Makefile.am:
21016         * check/pipelines/stress.c: (GST_START_TEST),
21017         (simple_launch_lines_suite), (main):
21018         Small state change torture test.
21019
21020         * docs/design/part-states.txt:
21021         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21022         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
21023         (gst_base_sink_change_state):
21024         Never take state lock from streaming thread, clean up ugly
21025         hacks. Unfortunatly core does not yet support nice ways to
21026         async commit state.
21027         
21028         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
21029         (bin_bus_handler):
21030         Start state recalc if a STATE_DIRTY message is posted, but only
21031         on the toplevel bin.
21032
21033         * gst/gstelement.c: (gst_element_sync_state_with_parent),
21034         (gst_element_get_state_func), (gst_element_abort_state),
21035         (gst_element_commit_state), (gst_element_lost_state),
21036         (gst_element_set_state_func), (gst_element_change_state):
21037         * gst/gstelement.h:
21038         State variables are now protected with the LOCK, the state
21039         lock is only used to serialize _set_state().
21040
21041 2005-10-18  Wim Taymans  <wim@fluendo.com>
21042
21043         * check/gst/gstbin.c: (GST_START_TEST):
21044         * check/gst/gstmessage.c: (GST_START_TEST):
21045         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21046         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
21047         (bin_bus_handler):
21048         * gst/gstelement.c: (gst_element_abort_state),
21049         (gst_element_commit_state), (gst_element_lost_state):
21050         * gst/gstmessage.c: (gst_message_new_state_changed),
21051         (gst_message_new_state_dirty), (gst_message_new_segment_start),
21052         (gst_message_new_segment_done), (gst_message_new_duration),
21053         (gst_message_parse_state_changed),
21054         (gst_message_parse_segment_start),
21055         (gst_message_parse_segment_done), (gst_message_parse_duration):
21056         * gst/gstmessage.h:
21057         * tools/gst-launch.c: (event_loop):
21058         Seriously, this is better than a previous commit as we only need
21059         to notify the fact that an element changed state in a streaming
21060         thread, marking the state of the parents dirty, hence the 
21061         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
21062         message.
21063
21064 2005-10-18  Wim Taymans  <wim@fluendo.com>
21065
21066         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
21067         (gst_bin_recalc_func):
21068         * gst/gstelement.c: (gst_element_set_clock),
21069         (gst_element_abort_state), (gst_element_lost_state):
21070         Cleanups, prepare for state change fixes.
21071
21072 2005-10-18  Wim Taymans  <wim@fluendo.com>
21073
21074         * gst/gstbin.h:
21075         * gst/gstelement.c: (gst_element_class_init),
21076         (gst_element_set_state), (gst_element_set_state_func):
21077         * gst/gstelement.h:
21078         Pending ABI changes.
21079         GThreadPool in GstBinClass to monitor async state changes.
21080         state_cookie in GstElement to detect concurrent gst/set state.
21081         set_state is now virtual too in case a very complicated element
21082         has to be constructed.
21083
21084 2005-10-18  Wim Taymans  <wim@fluendo.com>
21085
21086         * check/gst/gstbin.c: (GST_START_TEST):
21087         * check/gst/gstmessage.c: (GST_START_TEST):
21088         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21089         * gst/gstbin.c: (bin_bus_handler):
21090         * gst/gstelement.c: (gst_element_commit_state),
21091         (gst_element_lost_state):
21092         * gst/gstmessage.c: (gst_message_new_state_changed),
21093         (gst_message_new_segment_start), (gst_message_new_segment_done),
21094         (gst_message_new_duration), (gst_message_parse_state_changed),
21095         (gst_message_parse_segment_start),
21096         (gst_message_parse_segment_done), (gst_message_parse_duration):
21097         * gst/gstmessage.h:
21098         * tools/gst-launch.c: (event_loop):
21099         Make messages future proof.
21100         state-change gets a flag if it was a message comming from the
21101         streaming thread.
21102         segment-start/stop can also be specified in other formats.
21103         A message to notify an app that a pipeline changed playback 
21104         duration.
21105         Also fix a GstMessage leak in -launch
21106
21107 2005-10-18  Andy Wingo  <wingo@pobox.com>
21108
21109         * gst/gstelement.c (gst_element_dispose): More helpful message.
21110
21111 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21112
21113         reviewed by: <delete if not using a buddy>
21114
21115         * common/gtk-doc.mak:
21116
21117 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21118
21119         * gst/gstregistry.c: (gst_registry_scan_path_level):
21120           unref a plug-in we get that was already initialized
21121
21122 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
21123
21124         * docs/gst/gstreamer-sections.txt:
21125         * docs/libs/gstreamer-libs-sections.txt:
21126         * gst/gstelement.h:
21127           add new api entries
21128           hide internal macro
21129
21130 2005-10-17  Andy Wingo  <wingo@pobox.com>
21131
21132         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
21133         cleanup.
21134
21135         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
21136
21137         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
21138
21139         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
21140         (gst_element_get_state_func): Better debug message.
21141         (gst_element_commit_state): s/INFO/DEBUG/.
21142         (gst_element_lost_state, gst_element_change_state): 
21143
21144         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
21145         (gst_message_new_custom): s/INFO/LOG/.
21146
21147 2005-10-17  Michael Smith <msmith@fluendo.com>
21148
21149         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21150           Check if end time is valid using end time, not start time.
21151
21152 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
21153
21154         * check/gst-libs/controller.c: (GST_START_TEST),
21155         (gst_controller_suite):
21156         * libs/gst/controller/gstcontroller.c:
21157         (gst_controlled_property_set_interpolation_mode):
21158         * libs/gst/controller/gstcontroller.h:
21159         * libs/gst/controller/gstinterpolation.c:
21160         * testsuite/controller/.cvsignore:
21161         * testsuite/controller/Makefile.am:
21162         * testsuite/controller/interpolator.c:
21163           merge controller testsuites
21164           fix broken tests
21165           remove mem-chunk from docs
21166
21167 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21168
21169         * gst/gstmemchunk.c:
21170         * gst/gstmemchunk.h:
21171         * gst/gsttrashstack.c:
21172         * gst/gsttrashstack.h:
21173           out.  get out.  you're fired.  to the Attic !
21174
21175 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21176
21177         * gst/gstcaps.c: (gst_caps_intersect):
21178           fix signedness issues in a (hopefully) correct way
21179         * gst/gstelement.c: (gst_element_pads_activate):
21180           some debugging
21181         * gst/gstobject.c: (gst_object_set_parent):
21182           some debugging
21183
21184 2005-10-17  Julien MOUTTE  <julien@moutte.net>
21185
21186         * gst/gstvalue.h: Fix prototypes.
21187
21188 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21189
21190         * docs/gst/gstreamer-sections.txt:
21191         * gst/gst.c: (gst_version_string):
21192         * gst/gst.h:
21193         * gst/gstversion.h.in:
21194         * win32/common/libgstreamer.def:
21195           add gst_version_string ()
21196
21197 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21198
21199         * configure.ac:
21200           clean up further
21201         * gst/gst.c: (init_post):
21202         * win32/common/config.h.in:
21203           it's PLUGINDIR now
21204         * gst/gstcaps.c: (gst_caps_intersect):
21205           use gint64, the range could be bigger than a guint
21206
21207 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21208
21209         * gst/gstclock.h:
21210           document potential problem in 2038
21211
21212 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21213
21214         * gst/gstcaps.c: (gst_caps_intersect):
21215           Fix guint j diving under 0
21216
21217 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21218
21219         * configure.ac:
21220         * win32/common/config.h:
21221         * win32/common/config.h.in:
21222           check for process.h, declares getpid() on Windows
21223         * gst/gstinfo.c:
21224           include process.h if we have it
21225         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
21226         * gst/gstmemchunk.h:
21227           fix signedness issues
21228         * win32/common/libgstreamer.def:
21229           fix get_type's
21230
21231 2005-10-16  Julien MOUTTE  <julien@moutte.net>
21232
21233         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
21234         fix. Because of unsigned ints, caps intersection was going nuts and
21235         trying to access structures with G_MAXUINT index. That fixes
21236         videotestsrc ! ffmpegcolorspace ! fakesink
21237         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
21238         consistency.
21239
21240 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21241
21242         * configure.ac:
21243           use the gettext macro
21244         * gst/elements/gstelements.c:
21245         * gst/gst.c:
21246         * gst/indexers/gstindexers.c:
21247           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
21248         * win32/common/config.h:
21249           updated config.h
21250         * win32/common/config.h.in:
21251           add the template to generate config.h
21252         * win32/common/gstenumtypes.c:
21253         * win32/common/gstversion.h:
21254           updated copies
21255
21256 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21257
21258         * gst/gst.c: (gst_version):
21259         * gst/gstversion.h.in:
21260           add the nano
21261
21262 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
21263
21264         * gst/gstevent.h:
21265           Oops, add missing closing bracket.
21266
21267 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21268
21269         * configure.ac:
21270           use common m4's for argument checking
21271
21272 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
21273
21274         * docs/gst/gstreamer-sections.txt:
21275         * gst/gstevent.h:
21276           Add GST_EVENT_TYPE_NAME() macro.
21277
21278 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21279
21280         * gst/gstinfo.c:
21281         * gst/gstpluginfeature.c:
21282         * gst/gsttask.c:
21283           privatize more symbols
21284
21285 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21286
21287         * configure.ac:
21288           add srcdir, builddir includes to GST_ALL_CFLAGS, since
21289           everything that uses GStreamer API should have the includes
21290
21291 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21292
21293         * docs/gst/gstreamer-sections.txt:
21294         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21295         * gst/gstvalue.h:
21296           give each value a _get_type, removes the DATA exports
21297
21298 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21299
21300         * gst/gst.c:
21301         * gst/gst.h:
21302           remove _gst_registry_auto_load, not used anymore
21303         * gst/gstbin.c: (gst_bin_get_type):
21304         * gst/gstbin.h:
21305         * gst/gstelement.c: (gst_element_get_type):
21306         * gst/gstelement.h:
21307         * gst/gstobject.c: (gst_object_get_type):
21308         * gst/gstobject.h:
21309         * gst/gstpad.c: (gst_pad_get_type):
21310         * gst/gstpad.h:
21311           make _get_type functions similar, fixes data export from library
21312
21313 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21314
21315         * configure.ac:
21316           correctly make conditionals
21317         * gst/elements/Makefile.am:
21318         * gst/elements/gstelements.c:
21319           fix typo causing fdsrc not to build
21320
21321 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21322
21323         * testsuite/Makefile.am:
21324         * testsuite/bytestream/.cvsignore:
21325         * testsuite/bytestream/Makefile.am:
21326         * testsuite/bytestream/filepadsink.c:
21327         * testsuite/bytestream/gstbstest.c:
21328         * testsuite/bytestream/test1.c:
21329         * testsuite/bytestream/testfile1:
21330         * testsuite/caps/normalisation.c:
21331         * testsuite/caps/random.c: (main):
21332         * testsuite/cleanup/.cvsignore:
21333         * testsuite/cleanup/Makefile.am:
21334         * testsuite/cleanup/cleanup1.c:
21335         * testsuite/cleanup/cleanup2.c:
21336         * testsuite/cleanup/cleanup3.c:
21337         * testsuite/cleanup/cleanup4.c:
21338         * testsuite/cleanup/cleanup5.c:
21339         * testsuite/controller/interpolator.c:
21340         * testsuite/debug/printf_extension.c: (main):
21341         * testsuite/elements/tee.c:
21342         * testsuite/negotiation/.cvsignore:
21343         * testsuite/negotiation/Makefile.am:
21344         * testsuite/negotiation/pad_link.c:
21345         * testsuite/pad/Makefile.am:
21346         * testsuite/pad/chainnopull.c:
21347         * testsuite/pad/getnopush.c:
21348         * testsuite/pad/link.c:
21349         * testsuite/refcounting/sched.c: (create_pipeline):
21350         * testsuite/registry/Makefile.am:
21351         * testsuite/registry/gst-print-formats.c:
21352         * testsuite/schedulers/.cvsignore:
21353         * testsuite/schedulers/142183-2.c:
21354         * testsuite/schedulers/142183.c:
21355         * testsuite/schedulers/143777-2.c:
21356         * testsuite/schedulers/143777.c:
21357         * testsuite/schedulers/147713.c:
21358         * testsuite/schedulers/147819.c:
21359         * testsuite/schedulers/147894-2.c:
21360         * testsuite/schedulers/147894.c:
21361         * testsuite/schedulers/Makefile.am:
21362         * testsuite/schedulers/group_link.c:
21363         * testsuite/schedulers/queue_link.c:
21364         * testsuite/schedulers/relink.c:
21365         * testsuite/schedulers/unlink.c:
21366         * testsuite/schedulers/unref.c:
21367         * testsuite/schedulers/useless_iteration.c:
21368         * testsuite/states/bin.c:
21369           clean out/remove some stuff from the testsuite directories
21370
21371 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21372
21373         * configure.ac:
21374           check for some headers
21375         * gst/elements/Makefile.am:
21376         * gst/elements/gstelements.c:
21377           don't compile fdsrc without sys/socket.h
21378         * gst/indexers/Makefile.am:
21379         * gst/indexers/gstindexers.c: (plugin_init):
21380           don't compile fileindex without mmap
21381
21382 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21383
21384         * configure.ac:
21385           reorganize
21386           clean up
21387           document more
21388           remove cruft
21389         * check/Makefile.am:
21390         * docs/gst/Makefile.am:
21391         * examples/helloworld/Makefile.am:
21392         * gst/Makefile.am:
21393         * gst/base/Makefile.am:
21394         * gst/check/Makefile.am:
21395         * gst/elements/Makefile.am:
21396         * gst/indexers/Makefile.am:
21397         * gst/parse/Makefile.am:
21398         * libs/gst/controller/Makefile.am:
21399         * libs/gst/dataprotocol/Makefile.am:
21400         * examples/helloworld/helloworld.c: (event_loop):
21401           compile fixes, though it's not being compiled currently
21402
21403 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21404
21405         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21406           Add some simple tests for the new taglist date API.
21407
21408 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21409
21410         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21411         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21412           Beautify 'last-message' output: print 'none' for buffer timestamps
21413           and durations if none is set; improve alignment with next messages.
21414
21415 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21416
21417         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21418         * gst/gstpluginfeature.h:
21419         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21420         * gst/gstregistry.h:
21421         * docs/gst/gstreamer-sections.txt:
21422           Add new API to check plugin feature version requirements.
21423
21424         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21425           Some basic tests for the above.         
21426
21427 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21428
21429         * gst/gststructure.c: (gst_structure_to_string):
21430           guard against NULL printf - happens when for example
21431           a message structure with GstClock gets serialized
21432
21433 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21434
21435         * gst/base/gstcollectpads.c: (gst_collectpads_event):
21436           Fix presumable copy'n'pasto.
21437
21438 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21439
21440         * gst/elements/gstfakesrc.h:
21441         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21442         * gst/elements/gsttypefindelement.c:
21443           fix some signedness
21444         * gst/elements/gstfilesink.c: (gst_file_sink_render):
21445           I wonder if this could actually write +2GB files before
21446
21447 2005-10-13  Andy Wingo  <wingo@pobox.com>
21448
21449         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21450         Fix Timmeke Waymans bug.
21451         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21452         string of the proper length to gst_caps_from_string. There's a
21453         potential for, before this fix, that this could cause someone
21454         connecting over the network to cause a segfault if the payload is
21455         not NUL-terminated.
21456
21457 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21458
21459         * docs/design/draft-push-pull.txt:
21460         * docs/design/part-overview.txt:
21461         * docs/random/TODO-pre-0.9:
21462         * docs/random/old/ChangeLog.gstreamer:
21463         * gst/base/gstpushsrc.c:
21464         * gst/gstclock.c:
21465           fixed typos
21466
21467 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21468
21469         * gst/glib-compat.c: (gst_flags_get_first_value):
21470         * gst/glib-compat.h:
21471         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21472         (gst_value_compare_double), (gst_value_serialize_flags):
21473           GLib 2.6 g_flags_get_first_value has a bug that triggers an
21474           infinite loop
21475
21476 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21477
21478         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21479         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21480           fix up debugging
21481         * tools/gst-launch.c: (event_loop):
21482           print out clock nicely
21483
21484 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21485
21486         * docs/gst/gstreamer-sections.txt:
21487         * gst/gsttaglist.h:
21488         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21489         (gst_tag_list_get_date_index):
21490           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21491           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21492
21493 2005-10-13  Julien MOUTTE  <julien@moutte.net>
21494
21495         * gst/base/gstcollectpads.c: (gst_collectpads_event),
21496         (gst_collectpads_chain):
21497         * gst/base/gstcollectpads.h: Handle newsegment and store informations
21498         in CollectData.
21499
21500 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21501
21502         * docs/gst/gstreamer-sections.txt:
21503         * gst/gst.c:
21504         * gst/gsterror.h:
21505         * tools/gst-inspect.c: (main):
21506         * tools/gst-launch.c: (main):
21507         * tools/gst-run.c: (main):
21508         * tools/gst-xmlinspect.c: (main):
21509           fix GOption context leaks
21510           doc fixes
21511
21512 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21513
21514         * gst/gstbus.c:
21515           use HAVE_UNISTD_H
21516         * win32/common/config.h:
21517           update config
21518         * win32/vs6/grammar.dsp:
21519         * win32/vs6/libgstelements.dsp:
21520         * win32/vs6/libgstreamer.dsp:
21521           update vs6 files
21522
21523 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21524
21525         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21526         * gst/base/gstbasesrc.c: (gst_base_src_query):
21527           fix more guint64<->gdouble conversions
21528
21529 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21530
21531         * Makefile.am:
21532           add win32-update target
21533         * win32/common/gstconfig.h:
21534         * win32/common/gstenumtypes.c:
21535         * win32/common/gstenumtypes.h:
21536         * win32/common/gstversion.h:
21537           add files that visual studio can't generate
21538
21539 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21540
21541         * Makefile.am:
21542           add a win32-update target
21543         * configure.ac:
21544
21545 2005-10-12  Wim Taymans  <wim@fluendo.com>
21546
21547         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21548         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21549         * gst/gstelement.c: (gst_element_commit_state),
21550         (gst_element_set_state):
21551         Protect flags with proper lock.
21552         unref provided cached clock in dispose.
21553
21554 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21555
21556         * gst/gst.c:
21557         * gst/gstminiobject.h:
21558         * gst/gstpad.h:
21559         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21560           removed unused flags from miniobject
21561           doc fixes
21562
21563 2005-10-12  Wim Taymans  <wim@fluendo.com>
21564
21565         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21566         (gst_file_sink_event), (gst_file_sink_render):
21567         Flush before seeking.
21568
21569 2005-10-12  Andy Wingo  <wingo@pobox.com>
21570
21571         * gst/gst.c (gst_init_check): Ignore unknown options, as has
21572         always been the case.
21573
21574 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21575
21576         * check/gst/gstbin.c: (GST_START_TEST):
21577         * docs/gst/gstreamer-sections.txt:
21578         * gst/base/gstbasesink.c: (gst_base_sink_init):
21579         * gst/base/gstbasesrc.c: (gst_base_src_init),
21580         (gst_base_src_get_range), (gst_base_src_check_get_range),
21581         (gst_base_src_start), (gst_base_src_stop):
21582         * gst/base/gstbasesrc.h:
21583         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21584         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21585         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21586         (bin_bus_handler):
21587         * gst/gstbin.h:
21588         * gst/gstbuffer.h:
21589         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21590         * gst/gstbus.h:
21591         * gst/gstelement.c: (gst_element_is_locked_state),
21592         (gst_element_set_locked_state), (gst_element_commit_state),
21593         (gst_element_set_state):
21594         * gst/gstelement.h:
21595         * gst/gstindex.c: (gst_index_init):
21596         * gst/gstindex.h:
21597         * gst/gstminiobject.h:
21598         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21599         (gst_object_set_parent):
21600         * gst/gstobject.h:
21601         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21602         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21603         * gst/gstpad.h:
21604         * gst/gstpadtemplate.h:
21605         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21606         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21607         * gst/gstpipeline.h:
21608         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21609         (gst_file_index_commit):
21610         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21611         * testsuite/pad/link.c: (gst_test_src_init),
21612         (gst_test_filter_init), (gst_test_sink_init):
21613         * testsuite/states/locked.c: (main):
21614           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21615           moved bitshift from macro to enum definition
21616
21617 2005-10-12  Wim Taymans  <wim@fluendo.com>
21618
21619         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21620         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21621         (gst_file_sink_render):
21622         Some more debugging info.
21623
21624 2005-10-12  Wim Taymans  <wim@fluendo.com>
21625
21626         * docs/design/part-states.txt:
21627         * tools/gst-launch.c: (main):
21628         Some doc updates.
21629         Revert non-intentional change.
21630
21631 2005-10-12  Wim Taymans  <wim@fluendo.com>
21632
21633         * check/gst/gstbin.c: (GST_START_TEST):
21634         * check/gst/gstelement.c: (GST_START_TEST):
21635         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21636         * check/gst/gstghostpad.c: (GST_START_TEST):
21637         * check/gst/gstpipeline.c: (GST_START_TEST):
21638         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21639         * check/states/sinks.c: (GST_START_TEST):
21640         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21641         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21642         (gst_bin_remove_func), (gst_bin_get_state_func),
21643         (gst_bin_recalc_state), (gst_bin_change_state_func),
21644         (bin_bus_handler):
21645         * gst/gstelement.c: (gst_element_get_state_func),
21646         (gst_element_get_state), (gst_element_abort_state),
21647         (gst_element_commit_state), (gst_element_set_state),
21648         (gst_element_change_state), (gst_element_change_state_func):
21649         * gst/gstelement.h:
21650         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21651         (gst_pipeline_provide_clock_func):
21652         * gst/gstutils.c: (gst_element_link_pads_filtered):
21653         * tools/gst-launch.c: (main):
21654         * tools/gst-typefind.c: (main):
21655         Use GstClockTime in _get_state() instead of GTimeVal.
21656         Remove old code in gstutils.c
21657
21658 2005-10-12  Andy Wingo  <wingo@pobox.com>
21659
21660         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21661         removed.
21662
21663         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21664         there is no task. Shouldn't affect any code, as nothing in our
21665         plugins checks this return value.
21666         (gst_pad_stop_task): Also take the stream lock if the pad has no
21667         task. Docs updated.
21668
21669 2005-10-12  Wim Taymans  <wim@fluendo.com>
21670
21671         * gst/gstpad.c: (pre_activate), (post_activate),
21672         (gst_pad_activate_pull), (gst_pad_activate_push):
21673         Cleanup activation code. Reset old state if
21674         activation failed.
21675
21676 2005-10-12  Wim Taymans  <wim@fluendo.com>
21677
21678         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21679         (gst_base_sink_change_state):
21680         No need to prerol after receiving EOS.
21681
21682         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21683         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21684         * gst/elements/gstidentity.c: (gst_identity_event):
21685         Print events more verbosely.
21686
21687 2005-10-12  Wim Taymans  <wim@fluendo.com>
21688
21689         * check/Makefile.am:
21690         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21691         * check/states/sinks2.c:
21692         Moved sinks2 testcode in sinks check.
21693
21694         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21695         (gst_bin_remove_func), (gst_bin_recalc_state),
21696         (gst_bin_change_state_func), (bin_bus_handler):
21697         Fix potential race condition when _get_state() iterated over an
21698         ASYNC element right before it posted a state completion.
21699
21700         * gst/gstclock.h:
21701         Do proper cast here.
21702
21703         * gst/gstevent.c: (gst_event_new_newsegment),
21704         (gst_event_parse_newsegment):
21705         A playback rate of 0.0 is not allowed.
21706
21707 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21708
21709         * win32/common/config.h:
21710         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21711         (_trewinddir), (_ttelldir), (_tseekdir):
21712         * win32/common/dirent.h:
21713         * win32/common/gtchar.h:
21714         * win32/common/libgstbase.def:
21715         * win32/common/libgstreamer.def:
21716         * win32/vs6/grammar.dsp:
21717         * win32/vs6/gst_inspect.dsp:
21718         * win32/vs6/gst_launch.dsp:
21719         * win32/vs6/gstreamer.dsw:
21720         * win32/vs6/libgstbase.dsp:
21721         * win32/vs6/libgstelements.dsp:
21722         * win32/vs6/libgstreamer.dsp:
21723           Visual Studio 6 project files, and a new common directory.
21724           Phear.
21725
21726 2005-10-11  Wim Taymans  <wim@fluendo.com>
21727
21728         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21729         (gst_base_sink_do_sync), (gst_base_sink_query),
21730         (gst_base_sink_change_state):
21731         * gst/base/gstbasesink.h:
21732         Correctly parse newsegment info.
21733
21734 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21735
21736         * gst/gst.c: (init_post):
21737           split plugin paths correctly
21738
21739 2005-10-11  Wim Taymans  <wim@fluendo.com>
21740
21741         * check/gst/gstevent.c: (GST_START_TEST):
21742         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21743         (gst_base_sink_change_state):
21744         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21745         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21746         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21747         * gst/gstevent.c: (gst_event_new_newsegment),
21748         (gst_event_parse_newsegment):
21749         * gst/gstevent.h:
21750         Added extra flag to newsegment for future API freeze.
21751         Updated check and base elements.
21752
21753 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21754
21755         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21756         (gst_collectpads_add_pad), (gst_collectpads_pop),
21757         (gst_collectpads_event), (gst_collectpads_chain):
21758         * gst/base/gstcollectpads.h: Handle EOS correctly.
21759
21760 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21761
21762         * tools/gst-launch.c: (main):
21763           more null protecting
21764
21765 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21766
21767         * gst/gst-i18n-lib.h:
21768           check for ENABLE_NLS, not GETTEXT_PACKAGE
21769         * gst/gstregistry.c: (gst_registry_add_plugin),
21770         (gst_registry_scan_path_level),
21771         (_gst_registry_remove_cache_plugins):
21772           protect possibly NULL strings
21773         * gst/parse/types.h:
21774           config.h already included before
21775         * tools/gst-inspect.c: (main):
21776           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21777           check for ENABLE_NLS, not GETTEXT_PACKAGE
21778         * tools/gst-launch.c: (main):
21779           check for ENABLE_NLS, not GETTEXT_PACKAGE
21780
21781 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21782
21783         * configure.ac:
21784           if we don't have glib, fail before testing 2.8
21785         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21786           fix a leak, should fix plugins-base testsuite
21787
21788 2005-10-11  Andy Wingo  <wingo@pobox.com>
21789
21790         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21791         take the mode we're going to as an arg. Go head and set the mode
21792         and flushing flags now, so that if the activate function starts a
21793         thread all the flags will be in the right state.
21794         (post_activate): Renamed also. Just handle making sure streaming
21795         finishes for the deactivation case, and setting the deactivated
21796         mode.
21797         (gst_pad_set_active): Complain loudly if deactivation fails.
21798         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21799         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21800         remove the terrible hack.
21801
21802 2005-10-11  Wim Taymans  <wim@fluendo.com>
21803
21804         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21805         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21806         (gst_bin_recalc_state), (gst_bin_change_state_func),
21807         (gst_bin_dispose), (bin_bus_handler):
21808         * gst/gstbin.h:
21809         Prepare to make current EOS message queue more generic.
21810         Fix some typos.
21811
21812         * gst/gstevent.c: (gst_event_new_newsegment),
21813         (gst_event_parse_newsegment):
21814         * gst/gstevent.h:
21815         Rename base to stream_time.
21816
21817         * gst/gstmessage.h:
21818         Fix typo in docs.
21819
21820 2005-10-11  Wim Taymans  <wim@fluendo.com>
21821
21822         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21823         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21824         (gst_bin_change_state_func), (bin_bus_handler):
21825         * gst/gstbin.h:
21826         Work on proper clock selection.
21827
21828 2005-10-11  Edward Hervey  <edward@fluendo.com>
21829
21830         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21831         * libs/gst/controller/gstcontroller.h:
21832         Added GList* version of _remove_properties() in order to be able to wrap
21833         it in bindings.
21834
21835 2005-10-11  Wim Taymans  <wim@fluendo.com>
21836
21837         * docs/design/part-states.txt:
21838         Some more docs.
21839
21840         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21841         (gst_bin_change_state_func), (bin_bus_handler):
21842         Doc updates. Don't distribute the same clock over and over again.
21843
21844         * gst/gstclock.c:
21845         * gst/gstclock.h:
21846         Doc updates.
21847
21848         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21849         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21850         (gst_pad_send_event):
21851         * gst/gstpad.h:
21852         Make probe emission threadsafe again.
21853         Register quarks and move _get_name() from utils.
21854         Doc updates.
21855
21856         * gst/gstpipeline.c: (gst_pipeline_class_init),
21857         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21858         Only redistribute the clock of it changed.
21859
21860         * gst/gstsystemclock.h:
21861         Doc updates. 
21862
21863         * gst/gstutils.c:
21864         * gst/gstutils.h:
21865         Moved the _flow_get_name() to GstPad.
21866
21867 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21868
21869         * check/gst-libs/gdp.c: (GST_START_TEST):
21870         * check/gst/gstcaps.c: (GST_START_TEST):
21871         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21872         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21873         (gst_dp_packet_from_caps):
21874           fix more valgrind warnings before turning up the heat
21875
21876 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21877
21878         * gst/parse/grammar.y:
21879           some cleanup before the hacking
21880
21881 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21882
21883         * gst/base/gstbasesrc.c: (gst_base_src_query):
21884           use conversions
21885         * gst/gstutils.c: (gst_guint64_to_gdouble),
21886         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21887         * gst/gstutils.h:
21888           externalize, basesrc uses it
21889           obviously the implementation needs testing
21890
21891 2005-10-10  Wim Taymans  <wim@fluendo.com>
21892
21893         * tests/sched/Makefile.am:
21894         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21895         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21896
21897 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21898
21899         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21900           apparently converting from guint64 to double is not implemented
21901           on MSVC
21902
21903 2005-10-10  Wim Taymans  <wim@fluendo.com>
21904
21905         * check/Makefile.am:
21906         * check/generic/states.c: (GST_START_TEST):
21907         * check/gst/gstbin.c: (GST_START_TEST):
21908         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21909         * check/states/sinks.c: (GST_START_TEST):
21910         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21911         (main):
21912         Check fixes, use API as stated in design docs, remove hacks.
21913
21914         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21915         (gst_base_sink_change_state):
21916         Catch stopping our task while we're shutting down.
21917
21918         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21919         (gst_bin_remove_func), (gst_bin_get_state_func),
21920         (gst_bin_recalc_state), (gst_bin_change_state_func),
21921         (bin_bus_handler):
21922         * gst/gstbin.h:
21923         * gst/gstelement.c: (gst_element_init),
21924         (gst_element_get_state_func), (gst_element_abort_state),
21925         (gst_element_commit_state), (gst_element_lost_state),
21926         (gst_element_set_state), (gst_element_change_state),
21927         (gst_element_change_state_func):
21928         * gst/gstelement.h:
21929         New state change algorithm (see #318116)
21930
21931         * gst/gstpipeline.c: (gst_pipeline_class_init),
21932         (gst_pipeline_init), (gst_pipeline_set_property),
21933         (gst_pipeline_get_property), (do_pipeline_seek),
21934         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21935         * gst/gstpipeline.h:
21936         Remove crude state change hacks.
21937
21938         * gst/gstutils.h:
21939         Remove crude hacks.
21940
21941         * tools/gst-launch.c: (main):
21942         Fixes for state change. Needs some more work to fully use the
21943         new stuff.
21944
21945 2005-10-10  Andy Wingo  <wingo@pobox.com>
21946
21947         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21948
21949         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21950         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21951         issue.
21952
21953 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21954
21955         * gst/gstiterator.c: (gst_iterator_new):
21956           Fix my previous commit: GTypes passed to gst_iterator_new()
21957           can be fundamental types.
21958
21959 2005-10-10  Wim Taymans  <wim@fluendo.com>
21960
21961         * gst/gstelement.c: (gst_element_iterate_pad_list),
21962         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21963         (gst_element_iterate_sink_pads):
21964         Use src/sink pads lists for the respective iterators instead
21965         of filtering.
21966
21967 2005-10-10  Andy Wingo  <wingo@pobox.com>
21968
21969         Merged in popt removal + GOption addition patch from Ronald, bug
21970         #169772.
21971
21972         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21973         GstElement macros around, remove popt-related symbols, add goption
21974         stuff.
21975
21976         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21977         
21978         * docs/gst/Makefile.am:
21979         * docs/libs/Makefile.am: No POPT_CFLAGS.
21980         
21981         * examples/manual/Makefile.am:
21982         * docs/manual/basics-init.xml: Doc updates with an example.
21983         
21984         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21985         (gst_init), (parse_one_option), (parse_goption_arg):
21986         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21987         bit of hand merging and debugging to get the GOption stuff working
21988         tho.
21989         
21990         * tests/Makefile.am:
21991         * tools/Makefile.am:
21992         * tools/gst-inspect.c: (main):
21993         * tools/gst-launch.c: (main):
21994         * tools/gst-run.c: (main):
21995         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21996
21997 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21998
21999         * gst/gstiterator.c: (gst_iterator_new):
22000           Add assertions to make sure passed GType is likely to really
22001           be a GType (as the compiler won't catch it if the size and
22002           GType arguments get mixed up, see #318447).
22003
22004 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
22005
22006         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22007
22008         * gst/gstbin.c: (gst_bin_iterate_sorted):
22009           Pass GType and size arguments to gst_iterator_new() in the right
22010           order (maybe we should make _new() take the GType as first argument
22011           just like _new_list()?) (#318447).
22012           
22013
22014 2005-10-10  Wim Taymans  <wim@fluendo.com>
22015
22016         * gst/gstelement.c: (gst_element_finalize):
22017         And free the GStaticRecMutex too
22018
22019 2005-10-10  Andy Wingo  <wingo@pobox.com>
22020
22021         * gst/gstelement.c (gst_element_init, gst_element_finalize):
22022         Allocate and free the mutex properly.
22023
22024         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
22025         New macros.
22026         (GstElement): The state_lock is now recursive. Rebuild your
22027         plugins, suckers. Old macros adapted.
22028
22029         * docs/gst/gstreamer-sections.txt: Doc updates.
22030
22031         * gst/gstutils.h:
22032         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
22033         (g_static_rec_cond_wait): Ported from state changes patch, while
22034         we wait on bug #317802 to be solved in a well-distributed GLib.
22035
22036         * gst/gstelement.c (gst_element_change_state_func): Renamed from
22037         gst_element_change_state, variable name changes.
22038         (gst_element_change_state): Split out of gst_element_set_state in
22039         preparation for the state change merge. Doesn't pay attention to
22040         the 'transition' argument.
22041         (gst_element_set_state): Updates, hopefully purely cosmetic.
22042         (gst_element_sync_state_with_parent): MT-safety. Ported from the
22043         state change patch.
22044         (gst_element_get_state_func): Renamed from get_state, cosmetic
22045         changes.
22046
22047 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22048
22049         * gst/elements/gstelements.c:
22050         * win32/GStreamer.vcproj:
22051         * win32/config.h:
22052         * win32/dirent.c: (_tseekdir):
22053         * win32/gst-inspect.vcproj:
22054         * win32/gst-launch.vcproj:
22055         * win32/gstconfig.h:
22056         * win32/gstelements.vcproj:
22057         * win32/gstenumtypes.c: (gst_object_flags_get_type):
22058         * win32/gstreamer.def:
22059         * win32/msvc71.sln:
22060           updates for the win32 build (patch from Sebastien Moutte)
22061
22062 2005-10-10  Andy Wingo  <wingo@pobox.com>
22063
22064         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
22065         gst_bin_get_state, cleaned up (but no logic changes).
22066         (bin_element_is_sink): Comment updates.
22067         (sink_iterator_filter): Remove needless cast.
22068         (gst_bin_iterate_sinks): Doc update.
22069         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
22070         cleaned up (but no logic changes).
22071
22072         * check/states/sinks.c (test_src_sink): Cleanups from the state
22073         change patch.
22074         (test_livesrc_sink): Sync on the state.
22075
22076         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
22077         the state change patch.
22078
22079         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
22080         change patch.
22081
22082         * check/gst/gstbin.c: Merge in some style fixes and additional
22083         checks from Wim's state change patch.
22084
22085 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
22086
22087         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22088         (gst_type_find_helper):
22089           Check whether we have the requested data already in our list of
22090           cached buffers before pulling a new buffer; also make the buffer
22091           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
22092
22093 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22094
22095         * gst/gstcaps.c:
22096         * gst/gstevent.c:
22097           doc updates
22098         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22099           don't use long long, it's not portable.  Replacing with
22100           gint64 seems to work; let's hope no skeletons fall out of the closet.
22101
22102 2005-10-10  Andy Wingo  <wingo@pobox.com>
22103
22104         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
22105
22106 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
22107
22108         * docs/gst/gstreamer-sections.txt:
22109         * gst/gstevent.c:
22110         * gst/gstevent.h:
22111         * gst/gstinfo.c:
22112         * gst/gstinfo.h:
22113         * gst/gstmessage.c: (gst_message_parse_state_changed):
22114         * gst/gstpad.c:
22115         * gst/gstpad.h:
22116           more docs, fix compilation
22117
22118 2005-10-09  Philippe Khalaf <burger@speedy.org>
22119         * gst/gstmessage.c:
22120           Fixed a few forgotten variables on previous commit
22121
22122 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
22123
22124         * gst/base/gsttypefindhelper.c: (helper_find_peek):
22125           Fix evil typefind crasher: getrange() might return a short
22126           buffer at the end of a file, but gst_type_find_peek() must
22127           either return the full data as requested or NULL, but
22128           never a short buffer.
22129
22130 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22131
22132         * gst/gstmessage.c: (gst_message_new_state_changed),
22133         (gst_message_parse_state_changed):
22134         * gst/gstmessage.h:
22135           don't use "new", it's a C++ keyword
22136
22137 2005-10-08  Wim Taymans  <wim@fluendo.com>
22138
22139         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
22140         * gst/gstelement.c: (gst_element_post_message):
22141         * gst/gstpipeline.c: (gst_pipeline_change_state):
22142         Small docs and debug updates.
22143
22144 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
22145
22146         * docs/gst/gstreamer-sections.txt:
22147         * gst/gstelementfactory.c:
22148         * gst/gstevent.c:
22149         * gst/gsttaglist.c:
22150           more docs
22151
22152 2005-10-08  Wim Taymans  <wim@fluendo.com>
22153
22154         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
22155         (gst_bin_dispose), (bin_bus_handler):
22156         Fix typos, add comments.
22157         Clear EOS list when going to PAUSED from any direction and do it
22158         in a threadsafe way.
22159         Get base time in a threadsafe way too.
22160         Fix confusing debug in the change_state function.
22161         Various other small cleanups.
22162         
22163         * gst/gstelement.c: (gst_element_post_message):
22164         Fix very verbose bus posting code.
22165
22166         * gst/gstpipeline.c: (gst_pipeline_class_init),
22167         (gst_pipeline_set_property), (gst_pipeline_get_property),
22168         (gst_pipeline_change_state):
22169         Small ARG_ -> PROP_ cleanup
22170
22171 2005-10-08  Wim Taymans  <wim@fluendo.com>
22172
22173         * gst/gstbin.c: (is_eos), (bin_bus_handler):
22174         Do a less CPU demanding EOS check because we can.
22175
22176 2005-10-08  Wim Taymans  <wim@fluendo.com>
22177
22178         * libs/gst/dataprotocol/dataprotocol.c:
22179         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
22180         (gst_dp_packet_from_event):
22181         * libs/gst/dataprotocol/dataprotocol.h:
22182         * libs/gst/dataprotocol/dp-private.h:
22183         It's about time we bump the version number.
22184         Since event types don't fit in the guint8 anymore describing
22185         the payload type, make payload type 16 bits wide.
22186
22187 2005-10-08  Wim Taymans  <wim@fluendo.com>
22188
22189         * docs/design/part-TODO.txt:
22190         * docs/design/part-clocks.txt:
22191         * docs/design/part-events.txt:
22192         * docs/design/part-gstbin.txt:
22193         * docs/design/part-gstelement.txt:
22194         * docs/design/part-gstpipeline.txt:
22195         * docs/design/part-live-source.txt:
22196         * docs/design/part-messages.txt:
22197         * docs/design/part-overview.txt:
22198         * docs/design/part-states.txt:
22199         Many doc updates.
22200
22201 2005-10-08  Wim Taymans  <wim@fluendo.com>
22202
22203         * gst/gstevent.c:
22204         * gst/gstevent.h:
22205         Fix event quark registration.
22206         Add some space between events so we can insert them in the
22207         right groups.
22208
22209 2005-10-08  Wim Taymans  <wim@fluendo.com>
22210
22211         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22212         (gst_base_sink_handle_buffer):
22213         Better log message.
22214
22215         * gst/gstbus.h:
22216         * gst/gstelement.h:
22217         More docs.
22218
22219         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22220         (gst_queue_set_property), (gst_queue_get_property):
22221         * gst/gstqueue.h:
22222         Remove old unused properties.
22223
22224 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
22225         * docs/gst/gstreamer-sections.txt:
22226         * gst/gstmessage.c:
22227         * gst/gstmessage.h:
22228         * gst/gstminiobject.c:
22229         * gst/gstminiobject.h:
22230         * gst/gstobject.h:
22231         * gst/gstpad.h:
22232         * gst/gstutils.h:
22233           lots of new docs and doc fixes
22234
22235 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22236
22237         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
22238         * gst/gstplugin.h:
22239         * gst/gstregistry.c: (gst_registry_lookup_locked),
22240         (gst_registry_scan_path_level):
22241         * gst/gstregistryxml.c: (load_plugin):
22242           Only ever load one plugin for a given plugin basename.
22243           This ensures correct overriding of GST_PLUGIN_PATH over
22244           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
22245           system installed plugins.
22246
22247 2005-10-08  Wim Taymans  <wim@fluendo.com>
22248
22249         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22250         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
22251         Prepare for doing QOS.
22252
22253 2005-10-08  Wim Taymans  <wim@fluendo.com>
22254
22255         * check/gst/gstbin.c: (GST_START_TEST):
22256         * check/pipelines/cleanup.c: (GST_START_TEST):
22257         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22258         Allow new clock message too.
22259
22260 2005-10-08  Wim Taymans  <wim@fluendo.com>
22261
22262         * gst/gstmessage.c: (gst_message_new_error),
22263         (gst_message_new_warning), (gst_message_new_tag),
22264         (gst_message_new_state_changed), (gst_message_new_clock_provide),
22265         (gst_message_new_clock_lost), (gst_message_new_new_clock),
22266         (gst_message_new_segment_start), (gst_message_new_segment_done),
22267         (gst_message_parse_state_changed),
22268         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
22269         (gst_message_parse_new_clock):
22270         * gst/gstmessage.h:
22271         Also carry the clock in question.
22272
22273 2005-10-08  Wim Taymans  <wim@fluendo.com>
22274
22275         * gst/gstmessage.c: (gst_message_new_custom),
22276         (gst_message_new_eos), (gst_message_new_error),
22277         (gst_message_new_warning), (gst_message_new_tag),
22278         (gst_message_new_state_changed), (gst_message_new_clock_provide),
22279         (gst_message_new_new_clock), (gst_message_new_segment_start),
22280         (gst_message_new_segment_done), (gst_message_parse_state_changed),
22281         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22282         * gst/gstmessage.h:
22283         Clean up.
22284         Added clock related messages.
22285
22286         * gst/gstpipeline.c: (gst_pipeline_change_state):
22287         Post message when the clock changed.
22288
22289         * tools/gst-launch.c: (event_loop):
22290         Print new clock.
22291
22292 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
22293
22294         * tools/gst-inspect.c: (print_element_properties_info):
22295           Can't pass NULL strings to g_print() on windows.
22296
22297 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22298
22299         * docs/Makefile.am:
22300         * docs/gst/Makefile.am:
22301         * docs/gst/gstreamer-docs.sgml:
22302         * docs/gst/running.xml:
22303         * docs/version.entities.in:
22304           add a chapter on running GStreamer.
22305           document GST_DEBUG and GST_PLUGIN* env vars
22306
22307 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22308
22309         * Makefile.am:
22310           remove include dir
22311         * configure.ac:
22312           remove PLUGINS_BUILDDIR stuff
22313         * gst/gst.c: (init_post):
22314           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22315         * idiottest.mak:
22316           remove, it was condescending and not needed
22317
22318 2005-10-08  Wim Taymans  <wim@fluendo.com>
22319
22320         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22321         (gst_base_sink_handle_object), (gst_base_sink_event),
22322         (gst_base_sink_wait), (gst_base_sink_handle_event),
22323         (gst_base_sink_change_state):
22324         * gst/base/gstbasesink.h:
22325         Repost EOS message while going to PLAYING if still EOS.
22326         Make sure that when receiving a FLUSH_START we don't attempt
22327         to sync on the clock anymore.
22328
22329 2005-10-08  Wim Taymans  <wim@fluendo.com>
22330
22331         * tools/gst-launch.c: (event_loop):
22332         Better message printout.
22333
22334 2005-10-08  Wim Taymans  <wim@fluendo.com>
22335
22336         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22337         (gst_bin_child_proxy_get_children_count):
22338         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22339         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22340         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22341         (gst_child_proxy_set_valist):
22342         * gst/parse/grammar.y:
22343         Make ChildProxy threadsafe and fix mem leaks.
22344
22345 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22346
22347         * gst/gst.c: (init_post):
22348           debug the GST_PLUGIN_ env vars
22349
22350 2005-10-08  Wim Taymans  <wim@fluendo.com>
22351
22352         * check/gst/gstbin.c: (GST_START_TEST):
22353         * check/gst/gstmessage.c: (GST_START_TEST):
22354         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22355         * gst/gstelement.c: (gst_element_commit_state),
22356         (gst_element_lost_state):
22357         * gst/gstmessage.c: (gst_message_new_state_changed),
22358         (gst_message_parse_state_changed):
22359         * gst/gstmessage.h:
22360         * tools/gst-launch.c: (event_loop):
22361         Added extra field to STATE_CHANGE message with the pending
22362         state, which will be different from the new state soon.
22363
22364 2005-10-08  Wim Taymans  <wim@fluendo.com>
22365
22366         * gst/gstbus.c: (gst_bus_pop):
22367         * gst/gstclock.c:
22368         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22369         Small cleanups and doc updates.
22370
22371 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22372
22373         * gst/gst.c: (init_pre):
22374         * gst/gstbin.c: (gst_bin_add_func):
22375           log distributing clocks and base time
22376         * gst/gstregistry.c: (gst_registry_add_plugin),
22377         (gst_registry_scan_path_level), (gst_registry_scan_path):
22378           clean up the debugging output a little
22379         * gst/gstutils.c: (gst_element_state_get_name):
22380           warn about a memleak (I've actually seen this be used, though
22381           it was probably a bug)
22382
22383 2005-10-07  Wim Taymans  <wim@fluendo.com>
22384
22385         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22386         (gst_base_src_init), (gst_base_src_default_newsegment),
22387         (gst_base_src_newsegment), (gst_base_src_do_seek),
22388         (gst_base_src_loop), (gst_base_src_start):
22389         * gst/base/gstbasesrc.h:
22390         Make the newsegment event customizable by subclasses.
22391
22392 2005-10-07  Wim Taymans  <wim@fluendo.com>
22393
22394         * gst/gstevent.c: (gst_event_new_buffersize),
22395         (gst_event_parse_buffersize):
22396         * gst/gstevent.h:
22397         New event for future idea.
22398
22399 2005-10-07  Andy Wingo  <wingo@pobox.com>
22400
22401         * gst/gstelement.c (gst_element_post_message): Doc update.
22402
22403         * docs/gst/gstreamer-sections.txt: Update.
22404
22405         * gst/gstmessage.c (gst_message_new_application): Made into a
22406         function like honest API calls.
22407         (gst_message_new_element): New message type.
22408
22409         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22410
22411         * check/elements/fakesrc.c (test_no_preroll): New check, checks
22412         that setting a live fakesrc to PAUSED returns NO_PREROLL both
22413         times.
22414
22415         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22416         NO_PREROLL from gst_element_change_state to fall through.
22417
22418 2005-10-07  Wim Taymans  <wim@fluendo.com>
22419
22420         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22421         (gst_ghost_pad_do_activate_push):
22422         Activating a ghostpad with no internal pad in push mode
22423         is ok.
22424
22425 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22426
22427         * gst/gstobject.h:
22428           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22429           Fixes compilation on Windows.
22430
22431 2005-10-07  Michael Smith <msmith@fluendo.com>
22432
22433         * tools/gst-inspect.c:
22434           Print out feature and plugin count at the end when printing out
22435           all features.
22436
22437 2005-10-04  Michael Smith <msmith@fluendo.com>
22438
22439         * gst/gsterror.c: (_gst_stream_errors_init):
22440           Add another error string used in a few existing plugins.
22441
22442         * gst/gstplugin.c:
22443         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22444         * tools/gst-inspect.c: (print_element_info):
22445           When a feature disappears from a plugin (and the feature exists in
22446           the cached registry file), things went horribly wrong. This isn't a
22447           complete fix, we should actually be removing the 'missing' features
22448           from the features list when we load the actual plugin. That's not
22449           yet implemented. 
22450
22451 2005-10-04  Johan Dahlin  <johan@gnome.org>
22452
22453         * check/gst/gstiterator.c: (GST_START_TEST):
22454         * gst/gstbin.c: (gst_bin_iterate_elements),
22455         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22456         * gst/gstelement.c: (gst_element_iterate_pads):
22457         * gst/gstformat.c: (gst_format_iterate_definitions):
22458         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22459         (gst_iterator_new_list), (gst_iterator_filter):
22460         * gst/gstiterator.h:
22461         * gst/gstquery.c: (gst_query_type_iterate_definitions):
22462         Add a GType to GstIterator, update callsites and tests.
22463
22464 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22465
22466         * gst/gstpad.c: (gst_pad_event_default_dispatch):
22467           give events a chance to be handled by event probes when the pad
22468           is not linked
22469
22470 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22471
22472         * gst/gstevent.c: (gst_event_type_get_name),
22473         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22474         * gst/gstevent.h:
22475           add string representations for event types
22476
22477 2005-10-06  Wim Taymans  <wim@fluendo.com>
22478
22479         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22480         Don't use NULL pointers.
22481
22482 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22483
22484         * gst/gst_private.h:
22485         * gst/gstbus.c:
22486         * gst/gstelement.c:
22487         * gst/gstinfo.c:
22488         * gst/gstpluginfeature.c:
22489           widen the debug category in output to fit the biggest one we have
22490           add a bus category and use it
22491           play with the colors
22492           fix up some categories
22493
22494 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22495
22496         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22497           add push activation of sink ghost pads.
22498           Andye, please verify
22499
22500 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22501
22502         * gst/gstutils.c: (gst_element_link_pads):
22503           fix a bug in the case where neither element has a pad
22504         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22505           add a test for that case
22506
22507 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22508
22509         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22510           emit have-data before checking for peers.  This allows
22511           for probe handlers to connect elements.  This helps autopluggers.
22512         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22513         (gst_pad_suite):
22514           add six checks, linked/unlinked with no/true/false probe
22515
22516 2005-10-04  Wim Taymans  <wim@fluendo.com>
22517
22518         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22519         (gst_fake_sink_event), (gst_fake_sink_preroll),
22520         (gst_fake_sink_render), (gst_fake_sink_change_state):
22521         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22522         (gst_fake_src_get_property), (gst_fake_src_create),
22523         (gst_fake_src_stop):
22524         * gst/elements/gstidentity.c: (gst_identity_stop):
22525         Protect last_message with lock.
22526
22527 2005-10-04  Edward Hervey  <edward@fluendo.com>
22528
22529         * gst/gstformat.h: 
22530         Added precision in the comments for GST_FORMAT_DEFAULT
22531
22532 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
22533
22534         * tools/gst-launch.c: (main):
22535           Don't try to run erroneous pipelines.
22536
22537 2005-10-04  Julien MOUTTE  <julien@moutte.net>
22538
22539         * gst/gstbus.c: We don't need this header.
22540
22541 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22542
22543         * configure.ac:
22544           back to development
22545
22546 === release 0.9.3 ===
22547
22548 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22549
22550         * README:
22551         * configure.ac:
22552           Releasing 0.9.3, "Unregistered"
22553
22554 2005-10-03  Andy Wingo  <wingo@pobox.com>
22555
22556         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22557         whereby calling a pad's activatepush() function can start a thread
22558         that starts to push or pull before the pad gets the FLUSHING flag
22559         unset. Hack around it by holding the stream lock until the flag is
22560         set. Need to replace this with a proper solution. Together with
22561         the ghost pad fixes, this fixes mp3 playing/tagreading.
22562
22563         * docs/design/part-gstghostpad.txt: Add a note about activation of
22564         proxy pads outside of ghost pads.
22565
22566         * gst/gstghostpad.c: Implement the ghost pad activation design.
22567
22568 2005-10-02  Andy Wingo  <wingo@pobox.com>
22569
22570         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22571         It is volatile, after all.
22572
22573         * docs/design/part-gstghostpad.txt: Flesh out activation with
22574         ghost pads.
22575
22576         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22577         GST_DEBUG_FUNCPTR.
22578
22579 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22580
22581         * configure.ac:
22582           Fix (unused) AM_CONDITIONAL tests.
22583
22584 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22585
22586         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22587
22588         * gst/gstutils.c: (gst_pad_query_convert):
22589           Add assertion that makes sure src_val is >=0, just like
22590           gst_query_new_convert() has. (#315895)
22591
22592 2005-09-30  Edward Hervey  <edward@fluendo.com>
22593
22594         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22595         Let's not iterate pads we're not interested in, it avoids getting 
22596         sky-high refcounts on sinkpad.
22597
22598 2005-09-30  Wim Taymans  <wim@fluendo.com>
22599
22600         * gst/gstelement.c: (gst_element_set_state),
22601         (gst_element_change_state):
22602         Small tweak, element in ASYNC remains ASYNC.
22603
22604 2005-09-30  Wim Taymans  <wim@fluendo.com>
22605
22606         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22607         Only error is an error.
22608
22609         * gst/gstbin.c: (gst_bin_change_state):
22610         Better debugging.
22611
22612         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22613         Also call pad_block in pad alloc.
22614
22615         * gst/gstutils.c: (gst_flow_get_name):
22616         Better debugging.
22617
22618 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22619
22620         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22621         (gst_base_src_get_range):
22622           Fix documentation typos. Add some more debug info.
22623
22624 2005-09-29  David Schleef  <ds@schleef.org>
22625
22626         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22627           more end-user friendly.
22628         * tools/gst-inspect.c: (main): Check if command-line argument is
22629           a file and attempt to load that file as a plugin.
22630
22631 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22632
22633         * check/gst/gstbin.c:
22634         * check/states/sinks.c:
22635           fix tests for the new warning
22636         * check/gst/gstpipeline.c:
22637           add a test for pipeline and bus interaction
22638         * gst/gstelement.c:
22639           elements should be NULL if they get disposed; add a warning if not
22640
22641 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22642
22643         * gst/gstobject.c:
22644           for 2.6 refcounting, make debug log more correct by printing
22645           the actual refcounts at the time of swap (Wim)
22646
22647 2005-09-29  Andy Wingo  <wingo@pobox.com>
22648
22649         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22650         removes signal watches previously added via
22651         gst_bus_add_signal_watch.
22652         (gst_bus_add_signal_watch): Don't return the source id, just store
22653         it on the bus if there wasn't an id already.
22654
22655         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22656         add_signal_watch and remove_signal_watch.
22657
22658 2005-09-29  Edward Hervey  <edward@fluendo.com>
22659
22660         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22661         Better if we actually iterate the list :)
22662
22663 2005-09-29  Wim Taymans  <wim@fluendo.com>
22664
22665         * check/gst/gstbin.c: (GST_START_TEST):
22666         Change for new bus API.
22667
22668         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22669         (send_messages), (GST_START_TEST), (gstbus_suite):
22670         Change for new bus signal API.
22671
22672         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22673         (gst_bus_source_prepare), (gst_bus_source_check),
22674         (gst_bus_create_watch), (gst_bus_add_watch_full),
22675         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22676         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22677         * gst/gstbus.h:
22678         Remove support for multiple GSources operating on different
22679         message types as it is too complex and unneeded when using
22680         signals.
22681         Added support for receiving signals from the bus.
22682
22683 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22684
22685         * docs/libs/tmpl/gstdataprotocol.sgml:
22686         * docs/manual/advanced-dataaccess.xml:
22687         * gst/elements/gstcapsfilter.c:
22688         * gst/gstutils.c:
22689           rename filter-caps to caps property
22690
22691 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22692
22693         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22694           More robust fraction string parsing.
22695
22696         * docs/pwg/appendix-porting.xml:
22697           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22698
22699 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22700
22701         * gst/gstcaps.c: (gst_caps_do_simplify):
22702           Thou shalt not free a structure and then continue using it
22703           in the next loop iteration.
22704
22705         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22706         (gst_caps_suite):
22707           Add test case for caps simplification.
22708
22709 2005-09-29  Wim Taymans  <wim@fluendo.com>
22710
22711         * check/gst/gstbin.c: (GST_START_TEST):
22712         Oops.
22713
22714 2005-09-29  Wim Taymans  <wim@fluendo.com>
22715
22716         * check/gst/gstbin.c: (GST_START_TEST):
22717         Add bus to bin.
22718
22719         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22720         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22721         (find_element), (gst_bin_sort_iterator_next),
22722         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22723         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22724         (gst_bin_change_state), (gst_bin_dispose):
22725         A bin does not have a bus, it gets the bus from the parent.
22726
22727         * gst/gstelement.c: (gst_element_requires_clock),
22728         (gst_element_provides_clock), (gst_element_is_indexable),
22729         (gst_element_is_locked_state), (gst_element_change_state),
22730         (gst_element_set_bus_func):
22731         Small cleanups.
22732
22733         * gst/gstpipeline.c: (gst_pipeline_class_init),
22734         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22735         The pipeline provides a bus.
22736
22737 2005-09-28  Johan Dahlin  <johan@gnome.org>
22738
22739         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22740         gst_structure_get_enum instead of gst_structure_get_int
22741
22742         * gst/gststructure.c (gst_structure_get_enum): Impl.
22743
22744         * gst/gststructure.h (gst_structure_get_enum): Add
22745
22746         * docs/gst/gstreamer-sections.txt: Ditto
22747
22748         * gst/gstmessage.c (gst_message_new_state_changed): Use
22749         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22750         which does introspection.
22751         Reviewed by Christian Schaller
22752
22753 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22754
22755         * gst/gstinfo.c: (gst_debug_log_default):
22756           don't do dummy g_strdup()s
22757         * libs/gst/controller/gstcontroller.c:
22758         (on_object_controlled_property_changed),
22759         (gst_controlled_property_new), (gst_controller_new_valist),
22760         (gst_controller_new_list),
22761         (gst_controller_remove_properties_valist), (gst_controller_set),
22762         (gst_controller_get), (gst_controller_sync_values),
22763         (gst_controller_get_value_array), (_gst_controller_class_init),
22764         (gst_controller_get_type):
22765         * libs/gst/controller/gstcontroller.h:
22766         * libs/gst/controller/gstinterpolation.c:
22767         (gst_controlled_property_find_timed_value_node):
22768           convert // to /**/ comments
22769
22770 2005-09-28  Wim Taymans  <wim@fluendo.com>
22771
22772         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22773         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22774         (gst_bus_sync_signal_handler):
22775         * gst/gstbus.h:
22776         Added async-message and sync-message signals to the bus.
22777         Added helper BusFunc to emit signals for all posted messages.
22778
22779         * gst/gstmessage.c: (gst_message_type_get_name),
22780         (gst_message_type_to_quark), (gst_message_get_type):
22781         * gst/gstmessage.h:
22782         Register quarks for message names.
22783
22784 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22785
22786         * docs/libs/gstreamer-libs-sections.txt:
22787         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22788         (gst_controller_new_list):
22789         * libs/gst/controller/gstcontroller.h:
22790           added another constructor for language bindings
22791
22792 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22793
22794         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22795           add another check
22796         * gst/gstbus.c:
22797           add some doc
22798         * gst/gstinfo.c: (_gst_debug_init):
22799           slightly more readable color for refcount debugging
22800
22801 2005-09-28  Wim Taymans  <wim@fluendo.com>
22802
22803         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22804         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22805         (find_element), (gst_bin_sort_iterator_next),
22806         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22807         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22808         (gst_bin_change_state), (gst_bin_dispose):
22809         Small doc fixes. get_clock -> provide_clock.
22810
22811         * gst/gstelement.c: (gst_element_class_init),
22812         (gst_element_provides_clock), (gst_element_provide_clock),
22813         (gst_element_get_clock), (gst_element_commit_state),
22814         (gst_element_lost_state):
22815         * gst/gstelement.h:
22816         Make get/set_clock() symetric. Add provide_clock vmethod since
22817         that is actually what this function does.
22818
22819         * gst/gstpipeline.c: (gst_pipeline_class_init),
22820         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22821         (gst_pipeline_get_clock):
22822         get_clock -> provide_clock.
22823
22824 2005-09-28  Andy Wingo  <wingo@pobox.com>
22825
22826         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22827         lieu of real docs...
22828
22829         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22830
22831 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22832
22833         * gst/elements/gstcapsfilter.c:
22834         * gst/elements/gstfakesink.c:
22835         * gst/elements/gstfakesrc.c:
22836         * gst/elements/gstfdsink.c:
22837         * gst/elements/gstfdsrc.c:
22838         * gst/elements/gstfilesink.c:
22839         * gst/elements/gstfilesrc.c:
22840         * gst/elements/gstidentity.c:
22841         * gst/elements/gsttee.c:
22842         * gst/elements/gsttypefindelement.c:
22843           Make element details static.
22844
22845 2005-09-28  Wim Taymans  <wim@fluendo.com>
22846
22847         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22848         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22849         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22850         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22851         (gst_bin_change_state), (gst_bin_dispose):
22852         Some documentation updates.
22853         Clean up dispose handlers.
22854
22855         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22856         * gst/gstpad.c: (gst_pad_dispose):
22857         Clean up dispose handler.
22858
22859         * gst/gstpipeline.c: (gst_pipeline_change_state):
22860         Removed spurious UNLOCK.
22861
22862 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22863
22864         * docs/gst/gstreamer-sections.txt:
22865         * gst/base/gstbasesrc.h:
22866         * gst/gstelement.h:
22867         * gst/gstevent.h:
22868         * gst/gstobject.h:
22869         * gst/gstpad.h:
22870         * gst/gstpipeline.c:
22871         * gst/gstpipeline.h:
22872         * gst/gstutils.h:
22873         * gst/gstxml.h:
22874           added two new functions to the docs
22875                 documents all undocumented GstXXXFlags
22876                 completed some incomplete docs 
22877
22878 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22879
22880         * gst/gstbin.c: (gst_bin_dispose):
22881         * gst/gstelement.c: (gst_element_dispose):
22882           remove now useless and leaky resurrection code in dispose
22883         * gst/base/gstbasesrc.c: (gst_base_src_init):
22884         * gst/gstelementfactory.c: (gst_element_factory_create):
22885         * gst/gstobject.c: (gst_object_set_parent):
22886           add some debugging
22887
22888 2005-09-27  Wim Taymans  <wim@fluendo.com>
22889
22890         * docs/design/part-TODO.txt:
22891         Update TODO.
22892
22893         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22894         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22895         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22896         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22897         (gst_bin_change_state):
22898         * gst/gstelement.h:
22899         Remove element variable, we keep element info in the iterator now.
22900
22901 2005-09-27  Andy Wingo  <wingo@pobox.com>
22902
22903         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22904         values.
22905
22906 2005-09-27  Wim Taymans  <wim@fluendo.com>
22907
22908         * check/gst/gstbin.c: (GST_START_TEST):
22909         Enable check that works now.
22910
22911         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22912         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22913         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22914         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22915         (gst_bin_change_state):
22916         * gst/gstbin.h:
22917         Redid the state change algorithm using a topological sort algo.
22918         Handles all cases correctly.
22919         Exposed iterator for state change order.
22920
22921         * gst/gstelement.h:
22922         Temp storage for state changes. Need to get rid of this soon.
22923
22924 2005-09-27  Wim Taymans  <wim@fluendo.com>
22925
22926         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22927         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22928         (link_fold_func), (gst_pad_proxy_setcaps):
22929         Leak fixes, the fold functions need to unref the passed object and
22930         _get_parent_*() returns ref to parent.
22931
22932 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22933
22934         * check/gst/gstbuffer.c: (test_make_writable):
22935           Plug leak in test case and fix 'make check-valgrind'
22936
22937 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22938
22939         * gst/gstbuffer.c: (gst_subbuffer_init):
22940           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22941           works correctly in all circumstances (we could have just copied
22942           the parent buffer's readonly flag, but conceptually it seems
22943           cleaner to mark all subbuffers as read-only). (based on patch
22944           by Alessandro Decina, #314710).
22945         
22946         * check/gst/gstbuffer.c: (create_read_only_buffer),
22947         (test_make_writable), (test_subbuffer_make_writable),
22948         (gst_test_suite):
22949           Add some tests for gst_buffer_make_writable().
22950
22951 2005-09-27  Wim Taymans  <wim@fluendo.com>
22952
22953         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22954         use gst_object_has_ancestor().
22955
22956         * gst/gstobject.c: (gst_object_has_ancestor):
22957         * gst/gstobject.h:
22958         gst_object_has_ancestor() copied from gstbin.c as it is a
22959         useful function.
22960
22961         * tests/instantiate/create.c: (create_all_elements):
22962         * tests/lat.c: (handoff_src), (handoff_sink):
22963         * tests/sched/runxml.c: (main):
22964         * tests/seeking/seeking1.c: (main):
22965         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22966         (main):
22967         Fix compilation of some tests.
22968
22969 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22970
22971         * gst/gsterror.h:
22972           Remove comment. GST_TYPE_G_ERROR is here to stay,
22973           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22974           (#316961, #300610).
22975
22976 2005-09-26  Wim Taymans  <wim@fluendo.com>
22977
22978         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22979         Added check that shows error in state change order.
22980
22981 2005-09-26  Wim Taymans  <wim@fluendo.com>
22982
22983         * gst/gstbin.c: (gst_bin_change_state):
22984         Make state change function use 3 queues again, we were
22985         adding elements in the wrong order.
22986
22987         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22988         Some debug info,
22989
22990         * gst/gstpad.c: (gst_pad_dispose):
22991         Added some debug info first.
22992
22993 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22994
22995         * docs/design/draft-push-pull.txt:
22996         * docs/design/part-events.txt:
22997         * docs/design/part-overview.txt:
22998         * docs/design/part-scheduling.txt:
22999           Replace all _pull_region() with _pull_range()
23000           
23001 2005-09-26  Andy Wingo  <wingo@pobox.com>
23002
23003         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
23004
23005         * check/gst-libs/controller.c: Update for controller api change.
23006
23007         * configure.ac: 
23008         * tests/Makefile.am:
23009         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
23010         over by GLib bug 118439.
23011         
23012         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
23013         routines to a function.
23014
23015         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
23016
23017         * libs/gst/controller/gsthelper.c:
23018         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
23019         (gst_object_sync_values): Renamed from sink_values. Ugh.
23020
23021         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
23022
23023         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
23024         Renamed from controller_key, as it is exported.
23025
23026         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
23027
23028 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
23029
23030         * gst/Makefile.am:
23031         * gst/gst.h:
23032         * gst/gstpad.h:
23033         * gst/gstpadtemplate.h:
23034         * gst/gstquery.c:
23035         * gst/gstquery.h:
23036         * gst/gstqueryutils.c:
23037         * gst/gstqueryutils.h:
23038           remove queryutils headers after moving the two used functions
23039           to gstquery.  also fixes build problem for gstsiddec
23040
23041 2005-09-26  Michael Smith <msmith@fluendo.com>
23042
23043         * tools/gst-launch.1.in:
23044         Correct documentation in manpage of debug syntax
23045
23046 2005-09-26  Wim Taymans  <wim@fluendo.com>
23047
23048         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23049         (gst_base_src_is_seekable), (gst_base_src_change_state):
23050         Some more debugging info.
23051
23052 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
23053
23054         * docs/gst/gstreamer-sections.txt:
23055         * gst/base/gstbasetransform.h:
23056         * gst/gstindex.h:
23057           added more docs
23058
23059 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
23060
23061         * docs/gst/.cvsignore:
23062         * docs/gst/tmpl/.cvsignore:
23063         * docs/gst/tmpl/gstpipeline.sgml:
23064         * docs/gst/tmpl/gstplugin.sgml:
23065         * gst/gstpipeline.c:
23066         * gst/gstplugin.c:
23067         * gst/gstplugin.h:
23068           inlined the last two docs files
23069           removed the tmpl directory from cvs (no more conflicts here!)
23070
23071 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
23072
23073         * docs/gst/gstreamer-sections.txt:
23074         * docs/gst/tmpl/.cvsignore:
23075         * docs/gst/tmpl/gstpad.sgml:
23076         * docs/gst/tmpl/gstpadtemplate.sgml:
23077         * gst/Makefile.am:
23078         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
23079         (gst_pad_finalize), (gst_pad_set_pad_template):
23080         * gst/gstpad.h:
23081         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
23082         (gst_pad_template_class_init), (gst_pad_template_init),
23083         (gst_pad_template_dispose), (name_is_valid),
23084         (gst_static_pad_template_get), (gst_pad_template_new),
23085         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
23086         (gst_pad_template_pad_created):
23087         * gst/gstpadtemplate.h:
23088           inlined two more docs
23089           factored gstpadtemplate out of gstpad
23090
23091 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
23092
23093         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23094         (test_children_state_change_order_semi_sink):
23095           Fix test case: we can't rely on a fixed state change order when
23096           going from READY => PAUSED because the sink might commit its 
23097           new state first when the first buffer created by the source 
23098           reaches the sink before the source has finished its change state.
23099           (Test case still fails at times, see #316856, comment 5 onwards)
23100
23101 2005-09-24  Wim Taymans  <wim@fluendo.com>
23102
23103         * docs/design/part-events.txt:
23104         * docs/design/part-gstbus.txt:
23105         * docs/design/part-gstpipeline.txt:
23106         * docs/design/part-messages.txt:
23107         * docs/design/part-overview.txt:
23108         * docs/design/part-segments.txt:
23109         * gst/gstbin.c:
23110         * gst/gstbuffer.c:
23111         * gst/gstclock.c:
23112         * gst/gstelement.c:
23113         * gst/gstevent.c:
23114         * gst/gstfilter.c:
23115         * gst/gstiterator.c:
23116         Various documentation updates.
23117
23118 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23119
23120         * gst/gstclock.h:
23121           Well, that's embarassing.  Luckily we weren't using
23122           GST_CLOCK_DIFF anywhere.
23123
23124 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23125
23126         * common/gtk-doc.mak:
23127           don't fail on building XML, FC4 slave shows a bunch of doc
23128           missing bits that I don't get
23129         * gst/gstpad.c:
23130         * gst/gstpipeline.c:
23131         * gst/gststructure.c:
23132           some doc updates
23133
23134 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
23135
23136         * docs/design/part-gstbin.txt:
23137         * docs/design/part-gstbus.txt:
23138         * gst/gstbus.c:
23139           Add blurb about how the bus goes into flushing mode and
23140           drops all messages when its bin goes from READY into NULL 
23141           state.
23142
23143 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23144
23145         * docs/gst/gstreamer-sections.txt:
23146         * gst/gststructure.c: (gst_structure_get_clock_time):
23147         * gst/gststructure.h:
23148           add a method to get a GstClockTime out of a structure
23149
23150 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
23151
23152         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23153         (test_children_state_change_order_semi_sink), (gst_bin_suite):
23154           Added test to check state change order in bins (can still be made
23155           to fail here under heavy disk load; bails out with 'Push on pad
23156           fakesink:sink0, but it was not activated in push mode').
23157
23158         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
23159           Fix state change order when there is only a semi sink (#316856)
23160
23161         * gst/gstbus.c: (gst_bus_class_init):
23162           Use _class_peek_parent(), not _class_ref(); fix docs to say
23163           'default main context' instead of 'mainloop' where that is
23164           what's meant.
23165
23166         * gst/gstelement.c: (gst_element_commit_state),
23167         (gst_element_set_state):
23168           Fix typos in debug messages
23169
23170 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23171
23172         * docs/README:
23173         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
23174         * gst/gstpluginfeature.c:
23175         * gst/gstutils.c:
23176           various doc updates
23177         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23178           change an assert into an error until it gets fixed properly
23179
23180 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
23181
23182         * docs/gst/gstreamer-sections.txt:
23183         * docs/gst/tmpl/.cvsignore:
23184         * docs/gst/tmpl/gstelement.sgml:
23185         * docs/gst/tmpl/gstinfo.sgml:
23186         * docs/gst/tmpl/gstobject.sgml:
23187         * gst/gstelement.c:
23188         * gst/gstelement.h:
23189         * gst/gstinfo.c:
23190         * gst/gstinfo.h:
23191         * gst/gstobject.c: (gst_object_class_init):
23192         * gst/gstobject.h:
23193           inlined 3 more biiiig doc files and added some missing docs on the fly
23194
23195 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23196
23197         * check/gst/.cvsignore:
23198         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
23199         * gst/gstregistryxml.c: (load_plugin),
23200         (gst_registry_xml_save_plugin):
23201           put back source in registry.  add checks for find_plugin.
23202         * testsuite/states/bin.c: (assert_state), (empty_bin),
23203         (test_adding_one_element), (main):
23204         * testsuite/states/locked.c: (main):
23205           some compile/run fixes
23206
23207 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23208
23209         * check/gst/gstvalue.c: (GST_START_TEST):
23210           fix leaks in the test itself
23211
23212 2005-09-22  Wim Taymans  <wim@fluendo.com>
23213
23214         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23215         (gst_base_sink_send_event), (gst_base_sink_peer_query),
23216         (gst_base_sink_query):
23217         Prepare for more accurate position reporting and query
23218         handling.
23219
23220         * gst/gstelement.c: (gst_element_send_event),
23221         (gst_element_set_state):
23222         Add some comment.
23223
23224 2005-09-22  Wim Taymans  <wim@fluendo.com>
23225
23226         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
23227         (gst_query_parse_segment):
23228         * gst/gstquery.h:
23229         More documentation.
23230         Add segment query for future use.
23231
23232 2005-09-22  Wim Taymans  <wim@fluendo.com>
23233
23234         * gst/gstbin.c: (gst_bin_add_func):
23235         Some more debug info.
23236
23237         * gst/gstelement.c: (gst_element_send_event):
23238         Simplify send_event
23239
23240         * gst/gstelement.h:
23241         Don't know how flags got broken.
23242
23243         * gst/gstquery.h:
23244         Added new query.
23245
23246 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
23247
23248         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
23249           Add simplistic test suite for GST_TYPE_DATE serialisation and
23250           deserialisation.
23251
23252 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
23253
23254         * docs/gst/gstreamer-sections.txt:
23255         * gst/gststructure.c: (gst_structure_set_valist),
23256         (gst_structure_get_date):
23257         * gst/gststructure.h:
23258         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
23259         (gst_date_copy), (gst_value_compare_date),
23260         (gst_value_serialize_date), (gst_value_deserialize_date),
23261         (gst_value_transform_date_string),
23262         (gst_value_transform_string_date), (_gst_value_initialize):
23263         * gst/gstvalue.h:
23264           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
23265           bunch of utility functions along with a hack that checks that
23266           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
23267           is required. Part of the grand scheme in #170777.
23268
23269 2005-09-22  Andy Wingo  <wingo@pobox.com>
23270
23271         * gst/gstconfig.h.in: Psych out gtk-doc.
23272
23273         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
23274
23275         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
23276
23277         * tools/gst-inspect.c (print_element_list): Plug some
23278         inconsequential leaks.
23279
23280         * gst/gstregistry.c (gst_registry_get_default): Doc.
23281
23282         * check/gst/gstplugin.c: 
23283         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23284         * gst/gstelementfactory.c (gst_element_factory_create): 
23285         * gst/gstindexfactory.c (gst_index_factory_create): Update for
23286         refcount changes.
23287
23288         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23289         (gst_plugin_feature_load): Doc, don't eat refs.
23290
23291         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23292         (gst_plugin_list_free): Doc.
23293         (gst_plugin_load_file): Doc updates.
23294
23295         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23296         accessors returning refcounted objects, return a ref.
23297
23298         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23299         accessor for caps. IDEMPOTENCE. Oh yes.
23300
23301 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
23302
23303         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23304
23305         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23306         (_gst_debug_register_funcptr):
23307           Add mutex to serialise access to the hash table with
23308           the function pointer => function name string mapping;
23309           make that hash table static scope (#316809).
23310
23311         * gst/registries/.cvsignore:
23312           Remove left-over file.
23313
23314 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23315
23316         * docs/pwg/appendix-porting.xml:
23317           And something about newsegment events and caps-on-buffers to
23318           the porting guide (feel free to improve).
23319
23320 2005-09-21  Andy Wingo  <wingo@pobox.com>
23321
23322         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23323         data and event probes on the same pad.
23324         (test_buffer_probe_once): Test that removing probes from within
23325         the probe functions works.
23326
23327 2005-09-21  Andy Wingo  <wingo@pobox.com>
23328
23329         * check/gst/gstutils.c: New file.
23330         (test_buffer_probe_n_times): A simple buffer probe test. More to
23331         come, foolios.
23332
23333         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23334         have-data::buffer, not have-data.
23335         (gst_pad_add_event_probe): Likewise for have-data::event.
23336         (gst_pad_add_data_probe): More docs. The part about 'resolving the
23337         peer' isn't quite right yet though.
23338         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
23339         (gst_pad_remove_data_probe): Change to take the guint handler_id
23340         as their arg, not the function+data, which is more glib-like.
23341
23342         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23343         the signal emission to indicate if the data is a buffer or an
23344         event.
23345         (gst_pad_get_type): Initialize buffer and event quarks.
23346         (gst_pad_class_init): have-data is now a detailed signal, yes it
23347         is.
23348
23349 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23350
23351         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23352         * gst/gstutils.c: (gst_util_set_value_from_string),
23353         (gst_util_set_object_arg):
23354           Don't put functional code in g_return_if_fail() or
23355           g_return_val_if_fail() statements, otherwise things will 
23356           break when G_DISABLE_CHECKS is defined during compilation.
23357
23358 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23359
23360         * docs/gst/tmpl/.cvsignore:
23361         * docs/gst/tmpl/gstvalue.sgml:
23362         * gst/gstvalue.c:
23363         * gst/gstvalue.h:
23364           inlied another one and added  some obvious docs
23365
23366 2005-09-21  Wim Taymans  <wim@fluendo.com>
23367
23368         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23369         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23370         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23371         (gst_fdsrc_get_property), (gst_fdsrc_create):
23372         * gst/elements/gstfdsrc.h:
23373         Properly implement fdsrc. Removed signal and timeout,
23374         better implemented somewhere else.
23375
23376 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23377
23378         * docs/gst/tmpl/.cvsignore:
23379         * docs/gst/tmpl/gstimplementsinterface.sgml:
23380         * gst/gstinterface.c:
23381           inlined more docs
23382
23383 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23384
23385         * docs/gst/gstreamer-sections.txt:
23386         * docs/gst/tmpl/.cvsignore:
23387         * docs/gst/tmpl/gstenumtypes.sgml:
23388           remove obsolete doc file
23389
23390 2005-09-21  David Schleef  <ds@schleef.org>
23391
23392         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23393         little beer, fix a little leak.
23394
23395 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23396
23397         * docs/gst/gstreamer-docs.sgml:
23398         * docs/gst/gstreamer-sections.txt:
23399         * docs/gst/tmpl/.cvsignore:
23400         * gst/Makefile.am:
23401         * gst/gst.h:
23402         * gst/gstbin.c:
23403         * gst/gstelement.h:
23404         * gst/gstindex.c: (gst_index_class_init):
23405         * gst/gstindex.h:
23406         * gst/gstindexfactory.c: (gst_index_factory_get_type),
23407         (gst_index_factory_class_init), (gst_index_factory_init),
23408         (gst_index_factory_finalize), (gst_index_factory_new),
23409         (gst_index_factory_destroy), (gst_index_factory_find),
23410         (gst_index_factory_create), (gst_index_factory_make):
23411         * gst/gstindexfactory.h:
23412         * gst/gstpluginfeature.c:
23413         * gst/gstpluginfeature.h:
23414         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23415           more docs inlined, splitted gstindex.{c,h}
23416
23417 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23418
23419         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23420           fix a leak
23421
23422 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23423
23424         * gst/elements/gstfilesink.c: (gst_file_sink_init):
23425           Set sync to FALSE by default.
23426
23427 2005-09-20  Wim Taymans  <wim@fluendo.com>
23428
23429         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23430         (gst_base_sink_init):
23431         Make sync property settable from subclass.
23432
23433         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23434         (gst_fake_sink_change_state):
23435         Set sync to FALSE by default.
23436
23437 2005-09-20  Wim Taymans  <wim@fluendo.com>
23438
23439         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23440         * tools/gst-launch.c: (main):
23441         The timeout handler should have lower priority than the source
23442         so we don't timeout before popping a message with 0 timeout.
23443         Dump error messages after failed state change.
23444
23445 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23446
23447         * tools/gst-inspect.c: (print_element_properties_info):
23448           Fix two typos.
23449
23450 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23451
23452         * check/gst/gstevent.c:
23453         * gst/elements/gstfakesink.c:
23454         * gst/elements/gstfakesink.h:
23455           remove the sync property from fakesink.
23456           has the side effect of setting sync TRUE
23457           for fakesink, which is a change.  Anyone who knows how
23458           to fix this nicely in a GObject-y way, feel free.
23459
23460 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23461
23462         * docs/gst/gstreamer-docs.sgml:
23463           remove probe refsection
23464
23465 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23466
23467         * check/Makefile.am:
23468           disable valgrinding the controller test again
23469         * docs/gst/gstreamer-sections.txt:
23470           update for api-changes
23471
23472 2005-09-20  Wim Taymans  <wim@fluendo.com>
23473
23474         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23475         (gst_base_sink_set_property), (gst_base_sink_get_property),
23476         (gst_base_sink_do_sync):
23477         * gst/base/gstbasesink.h:
23478         Added sync property to basesink to disable clock sync.
23479
23480 2005-09-20  Andy Wingo  <wingo@pobox.com>
23481
23482         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23483         eating the caller's refcount.
23484
23485         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
23486         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23487         refcount.
23488
23489         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23490         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23491         of GLib 2.8 public, so we can know which refcount to check in
23492         tests.
23493
23494         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23495         (gst_object_init): Only set the gst refcount if we're going ahead
23496         with the refcount hack.
23497
23498 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23499
23500         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23501         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23502           more leaks plumbed, added more debug-logging
23503         * gst/gstmacros.h:
23504           whitespace fix
23505
23506 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23507
23508         * gst/gstmessage.c:
23509           remove include of gstmemchunk.h
23510
23511 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23512
23513         * gst/gstclock.c: (_gst_clock_id_free):
23514           Commit from the Political Party For More Atomic CVS Commits,
23515           so that people don't waste too much of their day fishing
23516           out obvious leaks out of massive commits.
23517           Oh, and fix a pretty damn obvious leak in the memchunk
23518           removal code.
23519
23520 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23521
23522         * check/Makefile.am:
23523         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23524           plug mem-leak, re-add to valgrindable tests
23525
23526 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23527
23528         * gst/gstplugin.h:
23529           unbreak the build for those who have chronic arthritis
23530           and typing "make check" is just too taxing on the hands
23531
23532 2005-09-20  Andy Wingo  <wingo@pobox.com>
23533
23534         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23535         really want it out, you should fix plugins at the same time.
23536
23537 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
23538
23539         * configure.ac:
23540         * docs/gst/gstreamer-sections.txt:
23541         * gst/gstobject.c:
23542           added missing symbols to api docs
23543           disable ref-count hack if we have glib >= 2.8
23544
23545 2005-09-19  David Schleef  <ds@schleef.org>
23546
23547         * docs/gst/Makefile.am: Ignore a few more internal headers
23548         * docs/gst/gstreamer-docs.sgml: Remove old sections
23549         * docs/gst/gstreamer-sections.txt: Remove old sections
23550         * docs/gst/tmpl/gstobject.sgml: update
23551         * docs/gst/tmpl/gstplugin.sgml: update
23552         * docs/gst/tmpl/gstpluginfeature.sgml: update
23553         * docs/random/ds/0.9-suggested-changes: update.
23554         * gst/Makefile.am: remove memchunk and trashstack, since they're
23555           not used.
23556         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23557         * gst/gst.h: don't include some headers
23558         * gst/gstchildproxy.c: add gstmarshal.h
23559         * gst/gstclock.c: Don't use memchunks
23560         * gst/gstminiobject.c: Add some docs
23561         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23562         * gst/gstobject.h: same
23563         * gst/gstplugin.c: include gstmacros.h
23564         * gst/gstplugin.h: don't include gstmacros.h, since it's private
23565         * gst/gstquery.c: don't use memchunks
23566         * gst/gstregistry.c: rename gst_registry_deinit()
23567         * gst/gstregistry.h: same
23568
23569 2005-09-19  David Schleef  <ds@schleef.org>
23570
23571         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23572         * docs/libs/gstreamer-libs-sections.txt:
23573         * docs/libs/tmpl/gstgetbits.sgml:
23574         * docs/libs/tmpl/gstputbits.sgml:
23575
23576 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23577
23578         * win32/gstenumtypes.c:
23579         * win32/gstenumtypes.h:
23580           Update.
23581
23582 2005-09-19  Wim Taymans  <wim@fluendo.com>
23583
23584         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23585         Automatically PAUSE and RESUME a pipeline when a flushing seek
23586         is performed.
23587
23588 2005-09-19  Andy Wingo  <wingo@pobox.com>
23589
23590         * gst/gstregistry.h: Spacing fixen.
23591
23592 2005-09-19  Wim Taymans  <wim@fluendo.com>
23593
23594         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23595         Handle state change failure more correctly.
23596
23597 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23598
23599         * check/Makefile.am:
23600         * check/pipelines/cleanup.c: (run_pipeline):
23601         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23602         (GST_START_TEST):
23603           enable cleanup again after fixing the leak
23604         * docs/README:
23605           some more info on docs
23606
23607 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23608
23609         * check/Makefile.am:
23610           re-enable tests now that leaks are plugged
23611         * check/gst/gst.c:
23612         * check/gst/gstbin.c:
23613         * check/gst/gstpipeline.c:
23614           add some more tests while fixing leaks
23615         * common/check.mak:
23616           make sure binaries are uptodate when valgrinding/gdbing
23617         * gst/gst.c:
23618         * gst/gstelementfactory.c:
23619           remove a ref too many, and add a FIXME for when we get
23620           round to disposing of classes
23621         * gst/gstplugin.c:
23622           fix the refcounting when loading a plugin from a file and
23623           the code pretends that the pointer is the same even though
23624           of course it can change
23625         * gst/gstpluginfeature.c:
23626           unref plugins marked cached (a bit confusing as a name)
23627           as the docs state should be done
23628           various doc additions to explain refcounting
23629         * gst/gstregistry.c:
23630         * gst/gstregistryxml.c:
23631           debugging
23632
23633 2005-09-19  Wim Taymans  <wim@fluendo.com>
23634
23635         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23636         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23637         (send_messages), (GST_START_TEST), (gstbus_suite):
23638         * check/gst/gstpipeline.c: (GST_START_TEST):
23639         * check/pipelines/cleanup.c: (run_pipeline):
23640         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23641         (GST_START_TEST):
23642         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23643         (gst_bus_source_check), (gst_bus_source_dispatch),
23644         (gst_bus_create_watch), (gst_bus_add_watch_full),
23645         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23646         * gst/gstbus.h:
23647         * tools/gst-launch.c: (event_loop):
23648         * tools/gst-md5sum.c: (event_loop):
23649         GstBusHandler -> GstBusFunc, return value has the same meaning as
23650         any other GSource (FALSE == remove source).
23651         _add_watch() and _add_watch_full() now take a MessageType mask to
23652         only handle specific types of messages.
23653         _poll() returns the GstMessage instead of the message type to avoid
23654         race conditions.
23655         _have_pending() takes a MessageType mask now too.
23656         Added testsuite for multiple bus watches.
23657         Fix testsuites and applications for new bus API.
23658
23659 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23660
23661         * check/Makefile.am:
23662           mark a bunch of the tests as to fix until we fix them
23663
23664 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23665
23666         * common/check.mak:
23667           use GST_PLUGIN settings for valgrind tests as well, so we're
23668           valgrinding the correct thing
23669         * gst/gst.c: (init_post):
23670           plug another leak
23671
23672 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23673
23674         * gst/gst.c: (init_post), (gst_deinit):
23675         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23676         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23677         * gst/gstindex.c: (gst_index_factory_class_init),
23678         (gst_index_factory_finalize):
23679         * gst/gstobject.c: (gst_object_dispose):
23680         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23681         (gst_plugin_load_file), (gst_plugin_desc_free):
23682         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23683         (gst_plugin_feature_finalize):
23684         * gst/gstregistry.c: (gst_registry_class_init),
23685         (gst_registry_init), (gst_registry_finalize),
23686         (gst_registry_get_default), (gst_registry_deinit):
23687         * gst/gstregistry.h:
23688         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23689           various cleanups and memleak plugging.  make valgrind is happy now.
23690
23691 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23692
23693         * common/check.mak:
23694           add a check-valgrind target
23695
23696 2005-09-18  David Schleef  <ds@schleef.org>
23697
23698         * tools/gst-inspect.c: Revert the GOption code.
23699
23700 2005-09-17  David Schleef  <ds@schleef.org>
23701
23702         * check/Makefile.am: Fix environment variables.
23703         * check/gst/gstplugin.c: Fix for API changes.
23704         * tools/gst-inspect.c: Fix for API changes.
23705         * tools/gst-xmlinspect.c: Fix for API changes.
23706         * gst/gstelementfactory.c:
23707         * gst/gstplugin.c:
23708         * gst/gstplugin.h:
23709         * gst/gstpluginfeature.c:
23710         * gst/gstpluginfeature.h:
23711         * gst/gstregistry.c:
23712         * gst/gstregistry.h:
23713         * gst/gstregistryxml.c:
23714         * gst/gsttypefind.c:
23715         * gst/gsttypefindfactory.c:
23716         * gst/indexers/gstfileindex.c:
23717         * gst/indexers/gstmemindex.c:
23718         * gst/schedulers/Makefile.am:
23719           Change registry to keep track of both plugins and features,
23720           removing the feature tracking from plugins themselves.
23721
23722 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23723
23724         * check/Makefile.am:
23725         * tools/gst-register.1.in:
23726           remove gst-register
23727
23728 2005-09-15  David Schleef  <ds@schleef.org>
23729
23730         * check/gst/gstplugin.c:
23731         * gst/gstelementfactory.c:
23732         * gst/gstplugin.c:
23733         * gst/gstpluginfeature.c:
23734         * gst/gstregistry.c:
23735           Getting tired of debugging.  Disabled all the unreffing of
23736           plugins and features, which fixes the segfaults, but of
23737           course leaks like crazy.  At least playbin works.
23738
23739 2005-09-15  David Schleef  <ds@schleef.org>
23740
23741         * check/gst/gstplugin.c: (register_check_elements),
23742         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23743         More testing
23744         * gst/elements/gsttypefindelement.c: Fix refcounting.
23745         * gst/gsttypefind.c:
23746         * gst/gsttypefindfactory.c:
23747         * gst/gsttypefindfactory.h:
23748
23749 2005-09-15  David Schleef  <ds@schleef.org>
23750
23751         * gst/gstindex.c: get refcounting correct.
23752         * gst/gstregistry.c: Handle the case where a feature/plugin is
23753           not found.
23754
23755 2005-09-15  David Schleef  <ds@schleef.org>
23756
23757         * check/Makefile.am:
23758         * check/gst/gstplugin.c: Add test
23759         * gst/gstplugin.c: Fix problems noticed by testsuite
23760         * gst/gstplugin.h:
23761         * gst/gstregistry.c: 
23762         * gst/gstregistry.h:
23763
23764 2005-09-15  David Schleef  <ds@schleef.org>
23765
23766         * gst/gstplugin.c: Implement semi-decent recounting and locking
23767           in plugins and plugin features.
23768         * gst/gstplugin.h:
23769         * gst/gstpluginfeature.c:
23770         * gst/gstpluginfeature.h:
23771         * gst/gstregistry.c:
23772
23773 2005-09-15  Michael Smith <msmith@fluendo.com>
23774
23775         * gst/gstregistry.c: (gst_registry_get_feature_list):
23776           Implement this. Makes oggdemux work; decodebin still broken.
23777
23778 2005-09-14  David Schleef  <ds@schleef.org>
23779
23780         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23781           #316076)
23782         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23783         * gst/check/Makefile.am:
23784         * libs/gst/controller/Makefile.am:
23785         * libs/gst/dataprotocol/Makefile.am:
23786
23787 2005-09-14  David Schleef  <ds@schleef.org>
23788
23789         * configure.ac: Remove getbits library.  Nothing uses it, and
23790           it should be in something like liboil if someone did want
23791           to use it.
23792         * libs/gst/Makefile.am:
23793         * libs/gst/getbits/Makefile.am:
23794         * libs/gst/getbits/gbtest.c:
23795         * libs/gst/getbits/getbits.c:
23796         * libs/gst/getbits/getbits.h:
23797         * libs/gst/getbits/gstgetbits_generic.c:
23798         * libs/gst/getbits/gstgetbits_i386.s:
23799         * libs/gst/getbits/gstgetbits_inl.h:
23800
23801 2005-09-14  David Schleef  <ds@schleef.org>
23802
23803         * gst/Makefile.am: Dist glib-compat.h
23804
23805 2005-09-14  David Schleef  <ds@schleef.org>
23806
23807         * configure.ac: Remove gst/registries, since it's no longer used.
23808         * gst/registries/Makefile.am:
23809         * gst/registries/gstlibxmlregistry.c:
23810         * gst/registries/gstlibxmlregistry.h:
23811         * gst/registries/gstxmlregistry.c:
23812         * gst/registries/gstxmlregistry.h:
23813         * gst/registries/registrytest.c:
23814
23815 2005-09-14  David Schleef  <ds@schleef.org>
23816
23817         * gst/glib-compat.h:
23818         * gst/gstregistryxml.c:
23819           Convergence is near.  Seriously.
23820
23821 2005-09-14  David Schleef  <ds@schleef.org>
23822
23823         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23824         * gst/glib-compat.h:
23825           Attempt #4 to appease the buildbots.
23826
23827 2005-09-14  David Schleef  <ds@schleef.org>
23828
23829         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23830           Attempt #3.
23831
23832 2005-09-14  David Schleef  <ds@schleef.org>
23833
23834         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23835         Attempt #2.
23836
23837 2005-09-14  David Schleef  <ds@schleef.org>
23838
23839         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23840           the new functions.
23841
23842 2005-09-14  David Schleef  <ds@schleef.org>
23843
23844         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23845         * gst/glib-compat.h: Add some functions that are in newer versions
23846           of glib than we care to require.
23847         * gst/gstregistryxml.c: Use them.
23848
23849 2005-09-14  David Schleef  <ds@schleef.org>
23850
23851         * po/POTFILES.in: remove gst-register.c
23852
23853 2005-09-14  David Schleef  <ds@schleef.org>
23854
23855         * docs/gst/gstreamer-docs.sgml:
23856         * docs/gst/gstreamer-sections.txt:
23857         * docs/gst/gstreamer.types:
23858         * docs/gst/tmpl/gstelement.sgml:
23859         * docs/gst/tmpl/gstplugin.sgml:
23860         * docs/gst/tmpl/gstpluginfeature.sgml:
23861           Documentation updates for registry changes.
23862
23863 2005-09-14  David Schleef  <ds@schleef.org>
23864
23865         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23866           because we don't require glib-2.8.
23867
23868 2005-09-14  David Schleef  <ds@schleef.org>
23869
23870         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23871           registries directory.
23872
23873 2005-09-14  David Schleef  <ds@schleef.org>
23874
23875         * check/Makefile.am:
23876         * check/generic/states.c:
23877         * gst/Makefile.am:
23878         * gst/gst.c:
23879         * gst/gst.h:
23880         * gst/gst_private.h:
23881         * gst/gstelementfactory.c:
23882         * gst/gstindex.c:
23883         * gst/gstinfo.c:
23884         * gst/gstplugin.c:
23885         * gst/gstplugin.h:
23886         * gst/gstpluginfeature.c:
23887         * gst/gstpluginfeature.h:
23888         * gst/gstregistry.c:
23889         * gst/gstregistry.h:
23890         * gst/gstregistrypool.c: remove
23891         * gst/gstregistrypool.h: remove
23892         * gst/gsttypefind.c:
23893         * gst/gsttypefindfactory.c:
23894         * gst/gsturi.c:
23895         * tools/Makefile.am:
23896         * tools/gst-compprep.c:
23897         * tools/gst-inspect.c:
23898         * tools/gst-register.c: remove
23899         * tools/gst-xmlinspect.c:
23900           Registry rewrite.  Changes registry from being a file created
23901           by a tool into a simple cache file created automatically by 
23902           libgstreamer.  Removed gst-register (because it's no longer
23903           needed).  Remove registry pools, because we only have one
23904           registry implementation (XML).  Fix up other subsystems as
23905           necessary.
23906
23907 2005-09-13  Michael Smith <msmith@fluendo.com>
23908
23909         * gst/gstconfig.h.in:
23910           Don't Use windows linking attributes for MinGW. Fixes #316157
23911
23912 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23913
23914         * gst/gstutils.c: (set_state_async_thread_func),
23915         (gst_element_set_state_async):
23916           Apparently people think it's better if this function doesn't
23917           try to set the state to whatever state was asked for on the first
23918           call to this function for any object.  Seriously.
23919
23920 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23921
23922         * check/gst/gstpipeline.c: (GST_START_TEST):
23923         * docs/gst/gstreamer-sections.txt:
23924         * gst/gstutils.c: (set_state_async_thread_func),
23925         (gst_element_set_state_async):
23926         * gst/gstutils.h:
23927           add a "gst_element_set_state_async" method that
23928           sets the state and starts a thread to make sure the state
23929           change completes as best as it can
23930
23931 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23932
23933         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23934           codify design+behaviour in testsuite after discussion
23935
23936 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23937
23938         * docs/gst/tmpl/gstelement.sgml:
23939         * docs/manual/appendix-quotes.xml:
23940           add a quote
23941         * gst/gstelement.c: (gst_element_set_state):
23942           add some debug
23943
23944 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23945
23946         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23947         (gst_base_transform_prepare_output_buf),
23948         (gst_base_transform_handle_buffer):
23949         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23950         (gst_capsfilter_prepare_buf):
23951           Remove the requirement for sub-classes to call the parent
23952           implementation of prepare_output_buffer with a wrapper function.
23953           
23954         * gst/gsttaglist.h:
23955         * gst/gsttagsetter.h:
23956           Fix #define wrapper
23957
23958 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23959
23960         * docs/gst/gstreamer-sections.txt:
23961           more doc cleanups
23962
23963 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23964
23965         * docs/gst/gstreamer-sections.txt:
23966         * docs/gst/tmpl/gstelement.sgml:
23967         * docs/gst/tmpl/gstplugin.sgml:
23968         * gst/gstminiobject.c:
23969         * gst/gstvalue.h:
23970           docs now stop throwing warnings
23971
23972 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23973
23974         * docs/gst/gstreamer-sections.txt:
23975         * docs/gst/gstreamer.types:
23976         * docs/gst/tmpl/gstpad.sgml:
23977         * docs/gst/tmpl/gsttypes.sgml:
23978         * gst/base/gstadapter.h:
23979         * gst/base/gstbasesink.h:
23980         * gst/base/gstbasesrc.h:
23981         * gst/gstbin.h:
23982         * gst/gstbuffer.h:
23983         * gst/gstbus.h:
23984         * gst/gstcaps.h:
23985         * gst/gstclock.h:
23986         * gst/gstelement.h:
23987         * gst/gstevent.h:
23988         * gst/gstmessage.h:
23989         * gst/gstpad.h:
23990         * gst/gststructure.c:
23991         * gst/registries/gstlibxmlregistry.h:
23992           various documentation fixes
23993
23994 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23995
23996         * docs/gst/gstreamer-sections.txt:
23997         * docs/gst/tmpl/gstvalue.sgml:
23998           rearrange gstvalue section
23999         * gst/gstutils.c: (gst_element_state_get_name):
24000           NONE -> VOID
24001         * gst/gstvalue.c: (_gst_value_initialize):
24002         * gst/gstvalue.h:
24003           doc updates
24004
24005 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
24006
24007         * check/gst-libs/controller.c:
24008           Header include fix.
24009         * gst/base/gstbasetransform.c:
24010         (gst_base_transform_default_prepare_buf),
24011         (gst_base_transform_handle_buffer):
24012         * gst/base/gstbasetransform.h:
24013           Some more basetransform changes and fixes to enable sub-classes
24014           that modify buffer metadata only.
24015         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24016         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
24017         (gst_capsfilter_prepare_buf):
24018           If the output pad has fixed allowed caps and input buffers 
24019           don't have any, set the fixed caps on outgoing buffers.
24020
24021 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
24022         * check/elements/identity.c: (GST_START_TEST):
24023           Make the error a little clearer when the test fails because
24024           identity made a copy of the buffer.
24025         * docs/gst/gstreamer-sections.txt:
24026           New symbols in gstbasetransform.h
24027         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
24028         (gst_base_transform_init), (gst_base_transform_transform_size),
24029         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24030         (gst_base_transform_default_prepare_buf),
24031         (gst_base_transform_get_unit_size),
24032         (gst_base_transform_buffer_alloc),
24033         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
24034         (gst_base_transform_change_state),
24035         (gst_base_transform_set_passthrough),
24036         (gst_base_transform_set_in_place),
24037         (gst_base_transform_is_in_place):
24038         * gst/base/gstbasetransform.h:
24039           Change BaseTransform to separate in_place operate from same_caps
24040           output. in_place implies that the element can perform the transform
24041           on incoming buffers in-place, even if the caps on the output are
24042           different.
24043           Sub-class elements can now implement special buffer allocation
24044           methods for outgoing buffers if they wish to.
24045           Big documentation addition.
24046         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
24047         * gst/elements/gstelements.c:
24048           Changes for basetransform modifications.
24049         * gst/elements/Makefile.am:
24050         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
24051           Compile fix. Extra debug output.
24052
24053 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24054
24055         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
24056         (gst_pad_suite):
24057           add tests for valid pad naming
24058         * gst/check/gstcheck.c: (gst_check_log_message_func),
24059         (gst_check_log_critical_func):
24060           add ASSERT_WARNING
24061           remove printing of code, it is fragile when the code contains
24062           % and the line number is enough info
24063         * gst/check/gstcheck.h:
24064         * gst/gstpad.c: (gst_pad_template_new):
24065           fix memleaks
24066
24067 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24068
24069         * configure.ac:
24070           say what CHECK flags we use
24071         * docs/libs/gstreamer-libs.types:
24072         * libs/gst/controller/Makefile.am:
24073         * libs/gst/controller/gst-controller.c:
24074         * libs/gst/controller/gst-controller.h:
24075         * libs/gst/controller/gst-helper.c:
24076         * libs/gst/controller/gst-interpolation.c:
24077         * libs/gst/controller/gstcontroller.c:
24078         * libs/gst/controller/gsthelper.c:
24079         * libs/gst/controller/gstinterpolation.c:
24080         * tools/gst-inspect.c: (print_plugin_info):
24081           we don't use dashes in header names
24082
24083 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24084
24085         * check/Makefile.am:
24086         * check/gst/.cvsignore:
24087         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
24088         (gst_pipeline_suite), (main):
24089           adding a test for pipelines and state changes
24090         * gst/gstutils.c: (get_state_func):
24091           add some debugging
24092         * gstreamer.spec.in:
24093           fix up spec file
24094
24095 2005-09-08  Michael Smith <msmith@fluendo.com>
24096
24097         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
24098         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
24099         (gst_file_src_is_seekable), (gst_file_src_get_size),
24100         (gst_file_src_start):
24101         * gst/elements/gstfilesrc.h:
24102           Various fixes for unseekable, unmmapable, and non-normal files, so
24103           that fallback to read() rather than mmap() works.
24104         * gst/gstevent.c: (gst_event_new_newsegment):
24105           Allow newsegment events with segment_start == segment_end, as will
24106           correctly happen if you use filesrc on a zero-size file, for
24107           example.
24108
24109 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
24110
24111         * gst/gstplugin.c: (gst_plugin_load_file):
24112           Call g_module_close when we don't load the module
24113
24114         * gst/registries/gstlibxmlregistry.c:
24115         (gst_xml_registry_get_property):
24116           Port leak fix from 0.8
24117
24118 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24119
24120         * docs/gst/gstreamer-docs.sgml:
24121         * docs/gst/tmpl/.cvsignore:
24122         * docs/gst/tmpl/gsttrace.sgml:
24123         * docs/gst/tmpl/gsttrashstack.sgml:
24124         * gst/Makefile.am:
24125         * gst/gst.h:
24126         * gst/gstelement.h:
24127         * gst/gstevent.h:
24128         * gst/gstmessage.c:
24129         * gst/gstmessage.h:
24130         * gst/gsttag.c:
24131         * gst/gsttag.h:
24132         * gst/gsttaginterface.c:
24133         * gst/gsttaginterface.h:
24134         * gst/gsttaglist.c:
24135         * gst/gsttaglist.h:
24136         * gst/gsttagsetter.c:
24137         * gst/gsttagsetter.h:
24138         * gst/gsttrace.c:
24139         * gst/gsttrace.h:
24140         * gst/gsttrashstack.c:
24141           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
24142           inlined docs for gsttrace, gsttrashstack
24143
24144 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24145
24146         * gst/Makefile.am:
24147         * gst/elements/gstbufferstore.h:
24148         * gst/elements/gsttypefindelement.c:
24149         * gst/elements/gsttypefindelement.h:
24150         * gst/gst.h:
24151         * gst/gsttypefind.c:
24152         * gst/gsttypefind.h:
24153         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
24154         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
24155         (gst_type_find_factory_dispose),
24156         (gst_type_find_factory_unload_thyself),
24157         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
24158         (gst_type_find_factory_get_caps),
24159         (gst_type_find_factory_get_extensions),
24160         (gst_type_find_factory_call_function):
24161         * gst/gsttypefindfactory.h:
24162         * gst/registries/gstlibxmlregistry.c:
24163         * gst/registries/gstxmlregistry.c:
24164           splitted gsttypefind into gsttypefind, gsttypefindfactory
24165
24166 2005-09-07  Andy Wingo  <wingo@pobox.com>
24167
24168         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
24169         condition whereby the pad's task function is entered before the
24170         pad_mode variable was set.
24171
24172 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
24173
24174         * gst/gstpad.c: (gst_pad_alloc_buffer):
24175           Catch misbehaving pad_alloc functions that don't
24176           set up caps and do it for them.
24177
24178 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24179
24180         * check/pipelines/simple_launch_lines.c: (run_pipeline):
24181           test for pipe!=NULL
24182         * docs/gst/tmpl/.cvsignore:
24183         * docs/gst/tmpl/gstmemchunk.sgml:
24184         * docs/gst/tmpl/gstparse.sgml:
24185         * docs/gst/tmpl/gsttaglist.sgml:
24186         * docs/gst/tmpl/gsttagsetter.sgml:
24187         * docs/gst/tmpl/gsttypefind.sgml:
24188         * docs/gst/tmpl/gsttypefindfactory.sgml:
24189         * gst/gstmemchunk.c:
24190         * gst/gstparse.c:
24191         * gst/gsttag.c:
24192         * gst/gsttaginterface.c:
24193         * gst/gsttypefind.c:
24194         * gst/gsttypefind.h:
24195           inlined more docs
24196
24197 === release 0.9.2 ===
24198
24199 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24200
24201         * NEWS:
24202         * RELEASE:
24203         * configure.ac:
24204           releasing 0.9.2, "South"
24205
24206 2005-09-05  Andy Wingo  <wingo@pobox.com>
24207
24208         * gst/registries/gstxmlregistry.h:
24209         * gst/registries/gstxmlregistry.c: Um... resurrect...
24210         
24211         * gst/registries/gstxmlregistry.h:
24212         * gst/registries/gstxmlregistry.c: and update to newer API.
24213         Incidentally they should be a bit faster now that they don't have
24214         to parse the caps.
24215         
24216 2005-09-05  Andy Wingo  <wingo@pobox.com>
24217
24218         * gst/registries/gstxmlregistry.h:
24219         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
24220         replaced by the libxml registry a while back
24221
24222 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24223
24224         * docs/gst/tmpl/gstplugin.sgml:
24225         * gst/elements/gstelements.c:
24226         * gst/gst.c:
24227         * gst/gstplugin.c: (gst_plugin_register_func),
24228         (gst_plugin_desc_copy), (gst_plugin_desc_free),
24229         (gst_plugin_get_source):
24230         * gst/gstplugin.h:
24231         * gst/registries/gstlibxmlregistry.c: (load_plugin),
24232         (gst_xml_registry_save_plugin):
24233         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
24234         (gst_xml_registry_save_plugin):
24235         * tools/gst-inspect.c: (print_plugin_info):
24236           add a "source" plugin description field, to represent the source
24237           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
24238           will set it to PACKAGE, which is automake's idea of the name of
24239           the source project.
24240
24241 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24242
24243         * Makefile.am:
24244         * autogen.sh:
24245         * configure.ac:
24246         * docs/Makefile.am:
24247         * docs/faq/Makefile.am:
24248         * docs/gst/tmpl/gstelement.sgml:
24249         * docs/gst/tmpl/gsttypes.sgml:
24250         * docs/htmlinstall.mak:
24251         * docs/manual/Makefile.am:
24252         * docs/pwg/Makefile.am:
24253           reorganize doc build a little
24254           split out docbook and gtk-doc stuff
24255           have two separate --enable's and enable them through autogen
24256           but disable by default in configure (to be similar to other
24257           projects)
24258         * gstreamer.spec.in:
24259           clean up docs install
24260         * po/af.po:
24261         * po/az.po:
24262         * po/ca.po:
24263         * po/cs.po:
24264         * po/de.po:
24265         * po/en_GB.po:
24266         * po/fr.po:
24267         * po/it.po:
24268         * po/nb.po:
24269         * po/nl.po:
24270         * po/ru.po:
24271         * po/sq.po:
24272         * po/sr.po:
24273         * po/sv.po:
24274         * po/tr.po:
24275         * po/uk.po:
24276         * po/vi.po:
24277           translation updates
24278
24279 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
24280
24281         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24282           Add comment.
24283           
24284         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24285         (gst_fake_sink_change_state):
24286           Make state change function thread-safe.
24287           
24288         * gst/gstpad.c: (gst_pad_alloc_buffer):
24289           Set offset on generic buffer allocated by fallback.
24290
24291 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
24292
24293         * docs/gst/gstreamer-sections.txt:
24294         * docs/gst/tmpl/gstelement.sgml:
24295         * gst/gstpad.c:
24296         * libs/gst/controller/gst-controller.c:
24297         (gst_controlled_property_set_interpolation_mode),
24298         (gst_controlled_property_new),
24299         (gst_controller_find_controlled_property):
24300          run the wingo-magic script against the docs
24301
24302 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24303
24304         * docs/gst/gstreamer-docs.sgml:
24305         * docs/gst/gstreamer-sections.txt:
24306         * docs/gst/tmpl/.cvsignore:
24307         * docs/gst/tmpl/gstelementdetails.sgml:
24308         * docs/gst/tmpl/gstelementfactory.sgml:
24309         * gst/gst.c:
24310         * gst/gstbus.c:
24311         * gst/gstelementfactory.c:
24312         * gst/gstelementfactory.h:
24313           merged elementdetails docs into elementfactory docs
24314           inlined both
24315
24316 2005-09-02  Andy Wingo  <wingo@pobox.com>
24317
24318         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24319         consider this enum an enum and not a flags.
24320
24321 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24322
24323         * docs/gst/gstreamer-docs.sgml:
24324         * docs/gst/tmpl/.cvsignore:
24325         * docs/gst/tmpl/gstghostpad.sgml:
24326         * docs/gst/tmpl/gstiterator.sgml:
24327         * docs/gst/tmpl/gstmacros.sgml:
24328         * docs/gst/tmpl/gstrealpad.sgml:
24329         * docs/gst/tmpl/gstregistry.sgml:
24330         * docs/gst/tmpl/gstregistrypool.sgml:
24331         * docs/gst/tmpl/gststructure.sgml:
24332         * docs/gst/tmpl/gstsystemclock.sgml:
24333         * docs/gst/tmpl/gsttrace.sgml:
24334         * gst/gstghostpad.c:
24335         * gst/gstmacros.h:
24336         * gst/gstmemchunk.c:
24337         * gst/gstmemchunk.h:
24338         * gst/gstqueue.c:
24339         * gst/gstregistry.c:
24340         * gst/gstregistrypool.c:
24341         * gst/gststructure.c:
24342         * gst/gstsystemclock.c:
24343           more docs inlined
24344
24345 2005-09-02  Andy Wingo  <wingo@pobox.com>
24346
24347         * gst/gstelement.h (GstState): Renamed from GstElementState,
24348         changed to be a normal enum instead of flags.
24349         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24350         munged to be GST_STATE_CHANGE_*.
24351         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24352         work with the new state representation.
24353         (GstStateChange): New enumeration of possible state transitions.
24354         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24355         (GstElementClass::change_state): Pass the GstStateChange along as
24356         an argument. Helps language bindings, so they don't have to use
24357         tricky lock-needing macros like GST_STATE_CHANGE ().
24358
24359         * scripts/update-states (file): New script. Run it on a file to
24360         update it for state naming and API changes. Updates files in
24361         place.
24362
24363         * All files updated for the new API.
24364
24365 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24366
24367         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24368         * gst/gstutils.c: (gst_util_set_value_from_string),
24369         (gst_util_set_object_arg):
24370           fix a bunch of unchecked return values
24371         * tools/gst-complete.c: (main):
24372         * gstreamer.spec.in:
24373           clean up a little
24374
24375 2005-09-01  Wim Taymans  <wim@fluendo.com>
24376
24377         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24378         (gst_base_sink_event), (gst_base_sink_do_sync),
24379         (gst_base_sink_handle_event):
24380         * gst/base/gstbasesink.h:
24381         Handle newsegments more correctly.
24382
24383         * gst/gstbus.c:
24384         Fix docs.
24385
24386         * gst/gstevent.c: (gst_event_new_newsegment):
24387         A newsegment cannot have a start_time of -1
24388
24389 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
24390
24391         * win32/gstenumtypes.c:
24392         * win32/gstenumtypes.h:
24393           Update
24394
24395 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24396
24397         * libs/gst/controller/gst-controller.c:
24398         (gst_controlled_property_set_interpolation_mode),
24399         (gst_controlled_property_new):
24400          fixed boolean again
24401
24402 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
24403
24404         * docs/faq/gst-uninstalled:
24405           add -good
24406         * gst/gstevent.c:
24407         * gst/gstevent.h:
24408           remove wrong docs
24409         * gst/gstutils.c: (gst_element_link_filtered):
24410         * gst/gstutils.h:
24411           add gst_element_link_filtered
24412
24413 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24414
24415         * docs/gst/gstreamer-docs.sgml:
24416         * docs/gst/gstreamer-sections.txt:
24417         * docs/gst/tmpl/.cvsignore:
24418         * docs/gst/tmpl/gsterror.sgml:
24419         * docs/gst/tmpl/gstfilter.sgml:
24420         * docs/gst/tmpl/gsturihandler.sgml:
24421         * docs/gst/tmpl/gsturitype.sgml:
24422         * docs/gst/tmpl/gstutils.sgml:
24423         * docs/gst/tmpl/gstxml.sgml:
24424         * gst/gsterror.c:
24425         * gst/gsterror.h:
24426         * gst/gstfilter.c:
24427         * gst/gsturi.c:
24428         * gst/gsturitype.c:
24429         * gst/gstutils.c:
24430         * gst/gstxml.c:
24431           inlined more docs, fixed double id-ref
24432
24433 2005-08-31  Wim Taymans  <wim@fluendo.com>
24434
24435         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24436         (gst_base_transform_handle_buffer):
24437         Passthrough elements don't need the caps as they don't care.
24438
24439 2005-08-31  Wim Taymans  <wim@fluendo.com>
24440
24441         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24442         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24443         Don't leak refcounts on buffers.
24444
24445 2005-08-31  Wim Taymans  <wim@fluendo.com>
24446
24447         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24448         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24449         (gst_base_transform_chain), (gst_base_transform_change_state):
24450         * gst/base/gstbasetransform.h:
24451         Handle the case where we are not negotiated more gracefully.
24452
24453 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
24454
24455         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24456         (gst_file_src_map_region):
24457           Set READONLY flag on mmap'ed buffers, otherwise
24458           gst_buffer_make_writable() won't work properly (#314708).
24459
24460 2005-08-31  Wim Taymans  <wim@fluendo.com>
24461
24462         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24463         passthrough elements can even do inplace on non writable
24464         buffers (as they don't touch them).
24465
24466 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24467
24468         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24469         (gst_test_mono_source_set_property),
24470         (gst_test_mono_source_class_init), (GST_START_TEST),
24471         (gst_controller_suite):
24472           more tests (hehe I have the most)
24473         * gst/gstbus.c:
24474           describe popping messages whenusing mulltiple sources
24475         * libs/gst/controller/gst-controller.c:
24476         (gst_controlled_property_set_interpolation_mode),
24477         (gst_controlled_property_new):
24478         * libs/gst/controller/gst-controller.h:
24479         * libs/gst/controller/gst-interpolation.c:
24480           implement boolean properties
24481
24482 2005-08-31  Wim Taymans  <wim@fluendo.com>
24483
24484         * gst/gstminiobject.c: (gst_mini_object_ref):
24485         Cannot assert that the refcount has to be positive
24486         since a disposed object can be resurrected.
24487
24488 2005-08-31  Wim Taymans  <wim@fluendo.com>
24489
24490         * gst/gstpad.c: (gst_pad_init):
24491         Revert change, need to first fix badly behaving 
24492         apps.
24493
24494 2005-08-30  Wim Taymans  <wim@fluendo.com>
24495
24496         * check/elements/fakesrc.c: (setup_fakesrc):
24497         * check/elements/identity.c: (setup_identity):
24498         Activate pads before using them.
24499
24500 2005-08-30  Wim Taymans  <wim@fluendo.com>
24501
24502         * gst/base/gstadapter.c: (gst_adapter_flush):
24503         Flushing out 0 bytes is ok for this function.
24504
24505         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24506         no newsegment gives a warning and sets the start/stop to 
24507         invalid.
24508
24509         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24510         (gst_base_transform_set_passthrough):
24511         Some debug info.
24512
24513         * gst/gstminiobject.c: (gst_mini_object_ref):
24514         Check refcount here too.
24515
24516         * gst/gstpad.c: (gst_pad_init):
24517         Pads are initially flushing and refusing data.
24518
24519         * gst/gstutils.c: (gst_element_link_pads_filtered):
24520         When adding a capsfilter element make sure it has the
24521         same state as the parent bin.
24522
24523 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24524
24525         * docs/gst/tmpl/.cvsignore:
24526         * docs/gst/tmpl/gstformat.sgml:
24527         * docs/gst/tmpl/gstversion.sgml:
24528         * gst/gstbus.h:
24529         * gst/gstformat.c:
24530         * gst/gstformat.h:
24531         * gst/gstversion.h.in:
24532           more docs and two more inlined
24533
24534 2005-08-30  Wim Taymans  <wim@fluendo.com>
24535
24536         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24537         Don't sync to clock.
24538
24539 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24540
24541         * docs/gst/gstreamer-sections.txt:
24542           ultral33t func10ns deserve to appear in the docs actually
24543         * docs/gst/tmpl/.cvsignore:
24544         * docs/gst/tmpl/gstcompat.sgml:
24545         * docs/gst/tmpl/gstconfig.sgml:
24546         * gst/check/gstcheck.c:
24547         * gst/gstcompat.h:
24548         * gst/gstconfig.h.in:
24549           inlined more docs
24550
24551 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24552
24553         * docs/gst/tmpl/.cvsignore:
24554         * docs/gst/tmpl/gstquery.sgml:
24555         * docs/gst/tmpl/gstutils.sgml:
24556         * gst/gstquery.c:
24557         * gst/gstquery.h:
24558           inlined and extended docs
24559
24560 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24561
24562         * check/gst-libs/controller.c: (GST_START_TEST),
24563         (gst_controller_suite):
24564           more tests
24565         * docs/gst/tmpl/gstutils.sgml:
24566         * docs/libs/gstreamer-libs-sections.txt:
24567         * docs/libs/tmpl/gstdataprotocol.sgml:
24568           include path fixes
24569         * examples/controller/audio-example.c: (main):
24570           controller example works now
24571         * gst/gstclock.h:
24572           doc fixes
24573         * tools/gst-inspect.c: (print_element_properties_info):
24574           show param spec flags
24575
24576 2005-08-29  Andy Wingo  <wingo@pobox.com>
24577
24578         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24579
24580 2005-08-28  Andy Wingo  <wingo@pobox.com>
24581
24582         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24583         as having two arguments instead of just one. Allows superclasses
24584         to access information on subclasses -- see the terrible for() loop
24585         in gtype.c:g_type_create_instance for the reason why. All callers
24586         changed.
24587
24588 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24589
24590         * docs/design/part-messages.txt:
24591           update info
24592         * docs/gst/tmpl/.cvsignore:
24593         * docs/gst/tmpl/gstcaps.sgml:
24594         * docs/gst/tmpl/gstclock.sgml:
24595         * gst/gstbus.c:
24596         * gst/gstcaps.c:
24597         * gst/gstcaps.h:
24598         * gst/gstclock.c:
24599         * gst/gstclock.h:
24600         * gst/gstmessage.c:
24601           added descriptions for bus and message
24602           inline caps and clock docs
24603
24604 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24605
24606         * gst/gstmessage.c:
24607         * gst/gstmessage.h:
24608           doc fixes
24609
24610 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24611
24612         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24613           fix div-by-zero
24614
24615 2005-08-26  Andy Wingo  <wingo@pobox.com>
24616
24617         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24618         element_set_state's return val.
24619         (test_2_elements): Add test that's been disabled for months.
24620
24621         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24622         can-activate-pull properties.
24623
24624         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24625         can-activate-pull properties. Implement is_seekable so fakesrc can
24626         operate in pull mode.
24627
24628         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24629         properties.
24630         (gst_base_sink_activate, gst_base_sink_activate_pull)
24631         (gst_base_sink_activate_push): Make activation mode choosing work.
24632         Cleanups.
24633         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24634         is right. Make pull mode work. Post an eos before pausing in pull
24635         mode.
24636         (gst_base_sink_change_state): Pay attention to the core's
24637         change_state() return val.
24638         
24639         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24640         has-getrange properties. Cleanups.
24641         
24642         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24643         has_getrange and replace with can_activate_pull and
24644         can_activate_push.
24645
24646         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24647         locking comments. Remove has_loop, has_chain and replace with
24648         can_activate_pull and can_activate_push.
24649
24650 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24651
24652         * configure.ac:
24653         * examples/Makefile.am:
24654         * examples/metadata/Makefile.am:
24655         * examples/metadata/read-metadata.c: (message_loop),
24656         (have_pad_handler), (make_pipeline), (print_tag), (main):
24657           Add metadata reading example that loops over a list of filenames,
24658           dumping any tags found.
24659
24660         * gst/gstbus.c: (gst_bus_dispose):
24661         * gst/gstelement.c: (gst_element_dispose):
24662           Release a few potentially-held references in dispose.
24663
24664 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24665
24666         * docs/gst/tmpl/gstminiobject.sgml:
24667           do *not* add tmpl/*.sgml files to CVS!
24668
24669 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24670
24671         * libs/gst/bytestream/.cvsignore:
24672         * libs/gst/bytestream/Makefile.am:
24673         * libs/gst/bytestream/adapter.c:
24674         * libs/gst/bytestream/adapter.h:
24675         * libs/gst/bytestream/bytestream.c:
24676         * libs/gst/bytestream/bytestream.h:
24677         * libs/gst/bytestream/filepad.c:
24678         * libs/gst/bytestream/filepad.h:
24679           removing obsolete files
24680
24681 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24682
24683         * docs/gst/gstreamer-docs.sgml:
24684         * docs/libs/gstreamer-libs-docs.sgml:
24685           disabed additional index entries again, as this makes docs-gen just
24686           slow and they aren't useful yet
24687         * docs/libs/gstreamer-libs-sections.txt:
24688           little -section.txt cleanup for libs
24689
24690 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24691
24692         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24693         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24694           fix up some debugging
24695         (gst_base_transform_get_unit_size),
24696         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24697         (gst_base_transform_handle_buffer):
24698         * gst/base/gstbasetransform.h:
24699           handle and store timed NEWSEGMENT events so that subclasses that
24700           calculate time by counting samples have a segment_start time they
24701           need to add to their timestamps - see audioresample
24702
24703 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24704
24705         * gst/gstbin.h:
24706           removed ';' from the end of macro defs
24707         * docs/gst/gstreamer-docs.sgml:
24708         * docs/gst/gstreamer-sections.txt:
24709         * docs/gst/tmpl/.cvsignore:
24710         * gst/gstbus.h:
24711         * gst/gstelement.c: (gst_element_class_init),
24712         (gst_element_set_state), (activate_pads),
24713         (gst_element_save_thyself):
24714         * gst/gstevent.c: (gst_event_new_newsegment):
24715         * gst/gstevent.h:
24716         * gst/gstiterator.c:
24717         * gst/gstiterator.h:
24718         * gst/gstpad.c:
24719         * gst/gstprobe.h:
24720         * gst/gstutils.c: (gst_pad_query_convert):
24721         * gst/gstutils.h:
24722           fixed parameter name mismatches between source, header and docs
24723           added some more docs, resolved the last batch of unused elements in
24724           docs (now someone needs to doc them)
24725
24726 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24727
24728         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24729         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24730           don't walk through the plugins backwards.  Where is all this
24731           reversed logic coming from ?
24732
24733 2005-08-25  Wim Taymans  <wim@fluendo.com>
24734
24735         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24736         (gst_base_transform_transform_size),
24737         (gst_base_transform_configure_caps),
24738         (gst_base_transform_get_unit_size),
24739         (gst_base_transform_buffer_alloc),
24740         (gst_base_transform_change_state):
24741         * gst/base/gstbasetransform.h:
24742         Cache caps unit_size.
24743         Make sure we cannot negotiate up and downstream at the
24744         same time.
24745
24746 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24747
24748         * gst/gst.c: (init_pre), (init_post):
24749           register the installed plugin path after the env var
24750         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24751         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24752           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24753           directories, so the tests can prefer uninstalled over installed
24754
24755 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24756
24757         * gst/base/gstbasetransform.h:
24758           comment
24759         * gst/gstpad.c:
24760           add to docs
24761
24762 2005-08-25  Wim Taymans  <wim@fluendo.com>
24763
24764         * gst/gstbin.c: (bin_bus_handler):
24765         Be a bit more conservative about the posted message.
24766         
24767         * gst/gstbus.c: (gst_bus_post):
24768         Some cleanups, warn wrong return values.
24769
24770 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24771
24772         * check/gst/gstbin.c: (GST_START_TEST):
24773         * gst/gstbin.c: (bin_bus_handler):
24774         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24775         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24776         (gst_message_new_warning), (gst_message_new_tag),
24777         (gst_message_new_state_changed), (gst_message_new_segment_start),
24778         (gst_message_new_segment_done), (gst_message_new_custom):
24779         * gst/gstmessage.h:
24780         * tools/gst-launch.c: (event_loop):
24781         * tools/gst-md5sum.c: (event_loop):
24782           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24783
24784 2005-08-25  Wim Taymans  <wim@fluendo.com>
24785
24786         * check/generic/states.c: (GST_START_TEST):
24787         Cleanup can be done at the end.
24788
24789         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24790         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24791         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24792         Oh boy.. Thanks for finding this, Thomas. 
24793
24794 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24795
24796         * docs/gst/gstreamer.types:
24797           added missing types
24798
24799 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24800
24801         * docs/gst/gstreamer-docs.sgml:
24802         * docs/gst/gstreamer-sections.txt:
24803         * docs/gst/tmpl/.cvsignore:
24804         * gst/gstbin.c:
24805         * gst/gstiterator.c:
24806         * gst/gstutils.c:
24807         * gst/registries/gstxmlregistry.h:
24808           added missing classes and symbols (123 more to go)
24809           removed removed symbols from section file
24810           fixed many doc-comments
24811
24812 2005-08-24  Wim Taymans  <wim@fluendo.com>
24813
24814         * check/generic/states.c: (GST_START_TEST):
24815         Make sure all tasks are stopped.
24816
24817         * check/gst/gstbin.c: (GST_START_TEST):
24818         Unref after usage for proper valgrinding.
24819
24820         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24821         Really wait for the task to stop before destroying the
24822         mutex.
24823
24824         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24825         (gst_queue_src_activate_push):
24826         Small cleanups. Don't stop the task when we did not start
24827         it.
24828
24829         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24830         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24831         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24832         (gst_task_join):
24833         * gst/gsttask.h:
24834         Protect the stream lock with the object lock.
24835         Disallow setting the stream lock when running.
24836         Add cleanup_all to wait for the threadpool to finish.
24837         Remove code to autoallocate a mutex if none was provided.
24838         Add _join() to wait for a task to stop.
24839         Protect the thread pool with a global lock.
24840
24841 2005-08-24  Wim Taymans  <wim@fluendo.com>
24842
24843         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24844         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24845         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24846         * gst/base/gstbasesink.h:
24847         Handle newsegment events correctly.
24848         Drop buffers out of the segment range.
24849
24850 2005-08-22  Andy Wingo  <wingo@pobox.com>
24851
24852         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24853         macro, implements an interface and gstimplementsinterface for a
24854         new type.
24855
24856 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24857
24858         * check/Makefile.am:
24859         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24860           add a test that does a bunch of state changes on elements
24861           needs some fixing for valgrind
24862         * check/states/sinks.c: (gst_object_suite):
24863           whitespace
24864         * gst/gstcaps.h:
24865           add prototype for gst_caps_is_equal_fixed
24866         * gst/gstplugin.c:
24867         * gst/gstregistrypool.c:
24868           doc fixes
24869
24870 2005-08-24  Andy Wingo  <wingo@pobox.com>
24871
24872         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24873         convert a negative value. Doesn't make much sense. Mostly this is
24874         here to force callers to ensure -1 maps to -1.
24875
24876 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24877
24878         * docs/pwg/advanced-types.xml:
24879           Well done to Michael for catching my deliberate introduction
24880           of this spelling mistake. 
24881         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24882         * gst/gstelement.h:
24883           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24884           unlink pads before removing the element from the bin.
24885
24886 2005-08-24  Andy Wingo  <wingo@pobox.com>
24887
24888         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24889         the same thing as GST_DEBUG=*:4.
24890         (parse_debug_level, parse_debug_category): New helper parsers.
24891
24892 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24893
24894         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24895         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24896         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24897         (gst_base_transform_buffer_alloc),
24898         (gst_base_transform_handle_buffer):
24899           use gboolean return values and pointers to size so we can use the
24900           full GST_BUFFER_SIZE range (guint) for buffer sizes
24901           use GstPadDirection for transform_caps
24902         * gst/base/gstbasetransform.h:
24903           rename get_size to get_unit_size since that's what it is
24904         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24905           use GstPadDirection for transform_caps
24906         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24907         * gst/gstutils.h:
24908           cleanup and debugging
24909
24910 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24911
24912         * gst/gstelement.c: (gst_element_class_init),
24913         (gst_element_set_state), (activate_pads),
24914         (gst_element_save_thyself):
24915         * tools/gst-compprep.c: (main):
24916         * tools/gst-inspect.c: (print_element_properties_info):
24917         * tools/gst-xmlinspect.c: (print_element_properties):
24918           Fixed long standing mem-leak
24919
24920 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24921
24922         * check/gst/gstbin.c: (GST_START_TEST):
24923         * gst/gstbin.c: (bin_bus_handler):
24924         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24925         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24926         (gst_message_new_warning), (gst_message_new_tag),
24927         (gst_message_new_state_changed), (gst_message_new_segment_start),
24928         (gst_message_new_segment_done), (gst_message_new_custom):
24929         * gst/gstmessage.h:
24930         * tools/gst-launch.c: (event_loop):
24931         * tools/gst-md5sum.c: (event_loop):
24932           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24933           that applications can sensibly post custom messages with references
24934           to their own objects.
24935
24936 2005-08-24  Andy Wingo  <wingo@pobox.com>
24937
24938         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24939         already.
24940
24941 2005-08-24  Wim Taymans  <wim@fluendo.com>
24942
24943         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24944         (gst_base_transform_transform_caps),
24945         (gst_base_transform_transform_size),
24946         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24947         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24948         (gst_base_transform_handle_buffer):
24949         * gst/base/gstbasetransform.h:
24950         Many fixes and new features added by Thomas. Can now also do
24951         transforms with variable sizes and a custom fixate_caps function.
24952
24953 2005-08-24  Wim Taymans  <wim@fluendo.com>
24954
24955         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24956         Some debugging.
24957
24958         * gst/gstclock.h:
24959         Cast to ClockTime before formatting to time.
24960
24961         * gst/gstutils.h:
24962         Cleanups.
24963
24964 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24965
24966         * check/gst-libs/controller.c: (GST_START_TEST),
24967         (gst_controller_suite):
24968         * docs/gst/tmpl/gstcaps.sgml:
24969         * docs/gst/tmpl/gstghostpad.sgml:
24970         * docs/gst/tmpl/gstquery.sgml:
24971         * docs/gst/tmpl/gstutils.sgml:
24972         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24973         (gst_object_sink_values), (gst_object_get_value_arrays),
24974         (gst_object_get_value_array):
24975           gracefully handle helper method calls to objects that are not beeing
24976           controlled, added test case for that          
24977
24978 2005-08-23  Wim Taymans  <wim@fluendo.com>
24979
24980         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24981         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24982         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24983         (gst_event_parse_qos), (gst_event_new_seek),
24984         (gst_event_parse_seek):
24985         * gst/gstevent.h:
24986         Some more debugging output and doc cleanups.
24987
24988         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24989         Fix possible deadlock.
24990
24991 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24992
24993         * docs/gst/gstreamer-docs.sgml:
24994         * docs/gst/gstreamer-sections.txt:
24995         * docs/gst/gstreamer.types:
24996         * docs/gst/tmpl/.cvsignore:
24997         * gst/gstbin.h:
24998         * gst/gstbus.c:
24999         * gst/gstelement.c:
25000         * gst/gstevent.h:
25001           added 100 symbols from gstreamer-unused.txt to the right sections
25002           fixed more broken comments
25003           added GstBus to docs
25004
25005 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
25006
25007         * docs/gst/gstreamer-sections.txt:
25008         * docs/gst/tmpl/.cvsignore:
25009         * docs/gst/tmpl/gstbin.sgml:
25010         * docs/gst/tmpl/gstbuffer.sgml:
25011         * gst/base/gstbasesrc.c:
25012         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
25013         * gst/gstbuffer.c:
25014         * gst/gstbuffer.h:
25015         * tools/gst-launch.1.in:
25016           inlined more doc comments, added missing comments and fixed comments
25017           fixed typos
25018
25019 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
25020
25021         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25022           some debugging
25023         * gst/gstcaps.h:
25024           whitespace fixes
25025         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
25026           more debugging
25027         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
25028         * gst/gststructure.h:
25029           add a fixate function for booleans; add a FIXME that these func
25030           names should probably be gst_structure_fixate_*
25031
25032 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
25033
25034         * docs/gst/gstreamer-docs.sgml:
25035         * docs/gst/gstreamer-sections.txt:
25036         * gst/Makefile.am:
25037         * gst/gstbin.c: (gst_bin_get_type),
25038         (gst_bin_child_proxy_get_child_by_index),
25039         (gst_bin_child_proxy_get_children_count),
25040         (gst_bin_child_proxy_init):
25041         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
25042         (gst_child_proxy_get_child_by_index),
25043         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
25044         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
25045         (gst_child_proxy_get), (gst_child_proxy_set_property),
25046         (gst_child_proxy_set_valist), (gst_child_proxy_set),
25047         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
25048         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
25049         * gst/gstchildproxy.h:
25050         * gst/parse/grammar.y:
25051         * tools/gst-inspect.c: (print_interfaces),
25052         (print_element_properties_info), (print_element_info):
25053           ported gstchildproxy over from 0.8
25054           ported gst-inspect fixes and enhancements over from 0.8
25055
25056 2005-08-22  Wim Taymans  <wim@fluendo.com>
25057
25058         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25059         (gst_base_transform_handle_buffer):
25060         Also call the transform function if we have ANY caps.
25061
25062         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
25063         Fix debug info.
25064
25065 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
25066
25067         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
25068           Don't pretend to handle seek events if the source is not seekable
25069
25070 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
25071
25072         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25073           Remove extra parameter to debug output
25074
25075         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25076         (gst_base_src_do_seek), (gst_base_src_activate_push):
25077           Fix seek event handling.
25078
25079         * gst/gstpipeline.c: (gst_pipeline_change_state):
25080         * gst/gstqueue.c: (gst_queue_handle_sink_event),
25081         (gst_queue_src_activate_push):
25082           Don't start the src pad task on FLUSH_STOP if the pad
25083           isn't linked.
25084           Debug changes.
25085
25086 2005-08-22  Wim Taymans  <wim@fluendo.com>
25087
25088         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
25089         Added check for gst_static_caps_get() refcounting.
25090
25091 2005-08-22  Wim Taymans  <wim@fluendo.com>
25092
25093         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
25094         Make _static_caps_get() refcounting sane.
25095         
25096         * gst/gstelement.c: (gst_element_set_state):
25097         Add g_return_val_if_fail() to protect against segfaults.
25098
25099 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
25100
25101         * docs/gst/tmpl/gstevent.sgml:
25102         * gst/gstevent.c:
25103         * gst/gstevent.h:
25104           inlined remaining docs, added missing doc comments
25105
25106 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25107
25108         * check/gst/gstbin.c: (GST_START_TEST):
25109           since we don't know when preroll is done, use refcount range
25110           check for the sink
25111         * gst/check/gstcheck.h:
25112           add macro for checking refcount range
25113
25114 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25115
25116         * check/Makefile.am:
25117           clean up environment for when registry gets built versus
25118           when actual tests are run; valgrind seems to not report
25119           leaks if GST_PLUGIN_PATH is set to some specific values
25120         * check/gst/gstbin.c: (GST_START_TEST):
25121           add more refcounting checks; maybe this exposes a
25122           preroll lock bug ?
25123         * common/check.mak:
25124         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25125         * gst/check/gstcheck.h:
25126         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
25127         (gst_bin_change_state):
25128         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
25129           add/fix debugging/whitespace
25130
25131 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
25132
25133         * check/gst/gstevent.c: (event_probe), (test_event),
25134         (GST_START_TEST):
25135          Er, don't call gst_bin_watch_for_state_change you idiot.
25136
25137 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
25138
25139         * check/Makefile.am:
25140           Use CHECK_CFLAGS and CHECK_LIBS
25141         * check/gst/gstevent.c: (event_probe), (test_event),
25142         (GST_START_TEST):
25143           Don't leak events.
25144         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25145         (gst_base_src_start), (gst_base_src_stop),
25146         (gst_base_src_activate_push), (gst_base_src_activate_pull),
25147         (gst_base_src_change_state):
25148           Sprinkle gst_base_src_stop liberally around error paths to fix
25149           problems reusing a source after failed state changes.
25150         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25151         (helper_find_suggest), (gst_type_find_helper):
25152           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
25153         * gst/gstevent.h:
25154         * docs/gst/tmpl/gstevent.sgml:
25155           Migrate part of the docs from the SGML file. Wait for ensonic to
25156           tell me how I did it wrong ;)
25157         * tools/gst-typefind.c: (main):
25158           Extra robustness to state changes between files.
25159
25160 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25161
25162         * check/Makefile.am:
25163           don't valgrind the controller test - it's leaking - Stefan, HELP
25164         * gst/check/gstcheck.c: (gst_check_message_error),
25165         (gst_check_chain_func), (gst_check_setup_element),
25166         (gst_check_teardown_element), (gst_check_setup_src_pad),
25167         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
25168         (gst_check_teardown_sink_pad):
25169         * gst/check/gstcheck.h:
25170           add a bunch of methods to set up elements, and src and sink pads
25171         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
25172         * check/elements/identity.c: (setup_identity), (cleanup_identity),
25173         (GST_START_TEST):
25174           use them
25175         * gst/gstmessage.c:
25176         * gst/gsttag.h:
25177           whitespace/doc fixes
25178
25179 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25180
25181         * gst/gstelement.h:
25182           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
25183           be handled by the application and not always printed as well
25184
25185 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25186
25187         * check/Makefile.am:
25188           set GST_TOOLS_DIR
25189         * gst/check/gstcheck.c: (gst_check_message_error):
25190         * gst/check/gstcheck.h:
25191           add a fail_unless_equals_int
25192           add fail_unless for error messages
25193
25194 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25195
25196         * check/Makefile.am:
25197         * check/gst.supp:
25198         * common/Makefile.am:
25199         * common/check.mak:
25200         * common/gst.supp:
25201           factor out some of the common stuff so we can use it
25202
25203 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25204
25205         * check/Makefile.am:
25206         * check/gst/gstiterator.c: (GST_START_TEST):
25207         * check/gst/gstsystemclock.c: (GST_START_TEST),
25208         (gst_systemclock_suite):
25209         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25210         * gst/gstclock.c:
25211           valgrind more tests
25212
25213 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25214
25215         * check/elements/.cvsignore:
25216         * check/elements/gstfakesrc.c:
25217           rename to name of element
25218         * check/elements/identity.c: (chain_func), (event_func),
25219         (setup_identity), (cleanup_identity), (GST_START_TEST),
25220         (identity_suite), (main):
25221           add a test for identity
25222         * check/Makefile.am:
25223         * pkgconfig/Makefile.am:
25224         * pkgconfig/gstreamer-check.pc.in:
25225         * pkgconfig/gstreamer-check-uninstalled.pc.in:
25226         * gst/check:
25227         * gst/Makefile.am:
25228         * configure.ac:
25229           move the check stuff to a library that gets installed
25230         * check/gst-libs/controller.c: (GST_START_TEST):
25231         * check/gst-libs/gdp.c:
25232         * check/gst/gst.c: (GST_START_TEST):
25233         * check/gst/gstbin.c:
25234         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25235         * check/gst/gstbus.c:
25236         * check/gst/gstcaps.c: (GST_START_TEST):
25237         * check/gst/gstelement.c:
25238         * check/gst/gstghostpad.c:
25239         * check/gst/gstiterator.c:
25240         * check/gst/gstmessage.c:
25241         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
25242         * check/gst/gstobject.c:
25243         * check/gst/gstpad.c: (GST_START_TEST):
25244         * check/gst/gststructure.c: (GST_START_TEST):
25245         * check/gst/gstsystemclock.c: (GST_START_TEST),
25246         (gst_systemclock_suite):
25247         * check/gst/gsttag.c: (gst_tag_suite):
25248         * check/gst/gstvalue.c:
25249         * check/pipelines/cleanup.c:
25250         * check/pipelines/simple_launch_lines.c:
25251         * check/states/sinks.c:
25252           change include statement
25253
25254         * docs/gst/gstreamer-sections.txt:
25255         * docs/gst/tmpl/gstpad.sgml:
25256           document more pad stuff
25257         * gst/gstminiobject.c: (gst_mini_object_ref),
25258         (gst_mini_object_unref):
25259           debug refcounting
25260
25261 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
25262
25263         * docs/gst/tmpl/gst.sgml:
25264         * gst/gst.c:
25265           eliminate another tmpl file, fix spelling in the long-description
25266
25267 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25268
25269         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25270         (test_event), (timediff), (gstevents_suite):
25271           Should fix build on 64-bit arch's
25272
25273 2005-08-18  Andy Wingo  <wingo@pobox.com>
25274
25275         Make sure that when a pipeline goes to PLAYING, that data has
25276         actually hit the sink.
25277
25278         * check/states/sinks.c (test_sink): A sink that doesn't get any
25279         data shouldn't return SUCCESS for going to either PLAYING or
25280         PAUSED. Test also the return values on the way back down.
25281
25282         * gst/gstelement.c (gst_element_set_state): When changing the
25283         state of an element currently changing state asynchronously, go to
25284         lost-state after commiting the pending state. Makes future calls
25285         to get_state continue to return ASYNC.
25286
25287         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25288         ASYNC when going to PLAYING if we still don't have preroll, as can
25289         happen with live sources.
25290
25291 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25292
25293         * docs/pwg/advanced-types.xml:
25294           Hack long paragraph into 2 chunks as a workaround for buggy
25295           jadetex version in sid and breezy that loops infinitely and
25296           eats all RAM.
25297
25298 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25299
25300         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25301         (test_event), (timediff), (gstevents_suite):
25302           Provide more error margin in clock measurements to allow for 
25303           g_get_current_time inaccuracies.
25304
25305 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25306
25307         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25308         (test_event), (timediff), (gstevents_suite):
25309            Fix error message output so I might be able to tell why the
25310            test works here but fails on the build farm.
25311
25312 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25313
25314         * check/Makefile.am:
25315         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25316         (test_event), (timediff), (gstevents_suite), (main):
25317           I wrote a test!
25318
25319         * docs/design/part-seeking.txt:
25320           Spelling correction
25321
25322         * docs/gst/tmpl/gstevent.sgml:
25323         * docs/gst/tmpl/gstfakesrc.sgml:
25324           Docs updates.
25325
25326         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25327           Treat a buffer-without-newsegment the same as a receiving 
25328           a newsegment not in time format, and disable syncing to the clock
25329           with a warning.
25330
25331         * gst/gstbus.c: (gst_bus_set_sync_handler):
25332           Assert if anyone tries to replace the existing sync_handler for bus, 
25333           as only the owner should be setting it.
25334
25335         * gst/gstevent.h:
25336           Have a fixed set of custom event enums with events identified by
25337           their structure name (as in 0.8), rather than a free-for-all
25338           allowing collisions between enum values from different plugins.
25339
25340         * gst/gstpad.c: (gst_pad_class_init):
25341           Docs change.
25342           
25343         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25344           Handle out-of-band downstream events from the sending thread.
25345
25346 2005-08-17  Andy Wingo  <wingo@pobox.com>
25347
25348         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25349         play-timeout==0 to mean no timeout at all. In that case, don't
25350         bother with a get_state or a warning, just return directly, even
25351         if it's ASYNC.
25352
25353         * gst/base/gstbasetransform.c: Debug changes.
25354
25355         * gst/gstutils.h:
25356         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25357         ensure bins post state change messages. A bit of a hack but I can't
25358         think of a way to avoid it.
25359
25360         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25361
25362 2005-08-16  Andy Wingo  <wingo@pobox.com>
25363
25364         * gst/base/gstadapter.h:
25365         * gst/base/gstadapter.c (gst_adapter_take): New function, like
25366         peek() but you own the data. Not terribly efficient atm.
25367
25368 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25369
25370         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25371         (gst_element_found_tags):
25372         * gst/gstutils.h:
25373           Add two utility functions for tag handling.
25374
25375 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25376
25377         * docs/manual/advanced-dataaccess.xml:
25378         * docs/manual/basics-helloworld.xml:
25379           Fix docs to use _bin_add() before _link(), which fixes the examples
25380           with recent core versions (reported by Madhan Raj M
25381           <raj_madan@rediffmail.com>, #313199).
25382
25383 2005-08-16  Wim Taymans  <wim@fluendo.com>
25384
25385         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25386         Added subtract checks.
25387
25388         * docs/design/part-events.txt:
25389         Some more docs about newsegment
25390
25391         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25392         Fix FIXME
25393
25394         * gst/gstcaps.c: (gst_caps_to_string):
25395         Add comments, cleanups.
25396         
25397         * gst/gstelement.c: (gst_element_save_thyself):
25398         cleanups
25399         
25400         * gst/gstvalue.c: (gst_value_collect_int_range),
25401         (gst_string_unwrap), (gst_value_union_int_int_range),
25402         (gst_value_union_int_range_int_range),
25403         (gst_value_intersect_int_int_range),
25404         (gst_value_intersect_int_range_int_range),
25405         (gst_value_intersect_double_double_range),
25406         (gst_value_intersect_double_range_double_range),
25407         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25408         (gst_value_subtract_int_range_int),
25409         (gst_value_subtract_double_range_double),
25410         (gst_value_subtract_double_range_double_range),
25411         (gst_value_subtract_from_list), (gst_value_subtract_list),
25412         (gst_value_can_compare), (gst_value_compare_fraction):
25413         Cleanups, add comments, remove unneeded asserts.
25414
25415 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25416
25417         * tools/gst-launch.c: (event_loop):
25418           don't convert NULL structures to strings
25419
25420 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
25421
25422         * docs/gst/gstreamer-sections.txt:
25423           made some defines private
25424         * docs/gst/tmpl/gstconfig.sgml:
25425         * docs/gst/tmpl/gstqueue.sgml:
25426         * docs/gst/tmpl/gsttaglist.sgml:
25427         * docs/gst/tmpl/gsttypes.sgml:
25428         * docs/gst/tmpl/gstutils.sgml:
25429         * docs/pwg/appendix-porting.xml:
25430         * gst/base/gstbasesink.h:
25431         * gst/base/gstbasesrc.c:
25432         * gst/base/gstbasesrc.h:
25433         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25434         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25435         * gst/gstelement.c: (gst_element_class_init):
25436         * gst/gstpad.c: (gst_pad_class_init):
25437         * gst/gstqueue.c: (gst_queue_class_init):
25438         * gst/gstxml.c: (gst_xml_class_init):
25439           documented all undocumented signal inline
25440         * libs/gst/controller/gst-controller.h:
25441           added padding
25442
25443 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25444
25445         * docs/pwg/appendix-porting.xml:
25446           Document _set_link_function -> _set_setcaps_function.
25447
25448 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25449
25450         * check/Makefile.am:
25451           add a .check target for running the check
25452         * check/gst-libs/controller.c: (GST_START_TEST):
25453           cosmetic fixups
25454         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25455           complete checks for gstbuffer; would be nice if I could get the
25456           gcov stuff to work so I can see if I actually completed gstbuffer.c
25457         * check/gstcheck.h:
25458           add ASSERT_BUFFER_REFCOUNT
25459
25460 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
25461
25462         * docs/gst/gstreamer-sections.txt:
25463         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25464         * gst/gsttag.h:
25465           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25466           spew out a warning if a tag that is already registered
25467           is re-registered, unless it is re-registered with a 
25468           different type (#308438).
25469
25470 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
25471
25472         * docs/pwg/appendix-porting.xml:
25473         * docs/pwg/building-state.xml:
25474           Add some paragraphs about state changes in 0.9 to the PWG
25475           and the porting guide, in particular about the new meaning
25476           of GST_STATE_PAUSED and how to write state change functions
25477           with concurrent access by multiple threads in mind.
25478
25479 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
25480
25481         * docs/gst/gstreamer-docs.sgml:
25482         * docs/libs/gstreamer-libs-docs.sgml:
25483           added deprecation and since indexes
25484         * libs/gst/controller/gst-controller.c:
25485         * libs/gst/controller/gst-helper.c:
25486           added since tags
25487
25488
25489 2005-08-11  Wim Taymans  <wim@fluendo.com>
25490
25491         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25492         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25493         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25494         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25495         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25496         (gst_ghost_pad_set_target):
25497         Actually implement (re)setting the target on a ghostpad
25498         as described in the docs.
25499
25500 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25501
25502         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25503           Check whether GST_DEBUG_NO_COLOR environment variable is
25504           set and disable coloured debug output if that is the case.
25505
25506 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25507
25508         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25509         (gst_type_find_helper):
25510           The memory returned by gst_type_find_peek() needs to
25511           stay valid until the end of a typefind function, and
25512           typefind functions may keep results from different 
25513           offsets around, so we can't just unref the buffer from
25514           the previous _peek(), but have to save all buffers 
25515           returned by _peek() until typefinding is done and only
25516           free them then.
25517
25518 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
25519
25520         * docs/gst/gstreamer-sections.txt:
25521         * gst/gstutils.h:
25522           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25523
25524 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25525
25526         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25527           Fix a pretty good memleak.
25528
25529 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25530
25531         * gst/gstiterator.h:
25532           Fix wrong include and 'make distcheck'.
25533
25534 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25535
25536         * gst/gstbin.c: (bin_bus_handler):
25537           Use gst_element_post_message() instead.
25538
25539 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25540
25541         * gst/base/gstadapter.h:
25542         * gst/base/gstbasesink.h:
25543         * gst/base/gstbasesrc.h:
25544         * gst/base/gstbasetransform.h:
25545         * gst/base/gstcollectpads.h:
25546         * gst/base/gstpushsrc.h:
25547         * gst/gstiterator.h:
25548           Add padding to our base elements' class and instance structs and
25549           to GstIterator (you will need to rebuild all plugins and apps!)
25550
25551 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25552
25553         * gst/gstbin.c: (bin_bus_handler):
25554           Make default message forwarding from child->bus to bin->bus
25555           threadsafe and make it not emit warnings if the parent has no bus.
25556
25557 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25558
25559         * gst/gstelement.c: (activate_pads):
25560           On paused->ready, set pad->caps to NULL, as is the documented
25561           behaviour in this state change. Fixes playback of series of
25562           media files when visualization is enabled in Totem.
25563
25564 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25565
25566         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25567           Allow NULL as filter-caps (which means "any").
25568
25569 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25570
25571         * docs/libs/gstreamer-libs-sections.txt:
25572         * libs/gst/controller/gst-controller.c:
25573         * libs/gst/controller/gst-controller.h:
25574         * libs/gst/controller/gst-helper.c:
25575           adding more entries to the docs and fix small doc-bugs
25576
25577 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25578
25579         * docs/gst/gstreamer-docs.sgml:
25580         * docs/gst/gstreamer-sections.txt:
25581         * docs/gst/gstreamer.types:
25582         * docs/gst/tmpl/gstbasesink.sgml:
25583         * docs/gst/tmpl/gstbasesrc.sgml:
25584         * docs/gst/tmpl/gstbasetransform.sgml:
25585         * docs/gst/tmpl/gstfakesrc.sgml:
25586         * gst/base/gstcollectpads.c:
25587         * gst/base/gstcollectpads.h:
25588         * libs/gst/controller/gst-controller.c:
25589         * libs/gst/controller/gst-controller.h:
25590         * libs/gst/controller/gst-helper.c:
25591         * libs/gst/controller/gst-interpolation.c:
25592         * libs/gst/controller/lib.c:
25593           added long/short desc for controller docs
25594           added collectpads base class docs
25595           added correct includes to base-class docs
25596
25597 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25598
25599         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25600         (gst_test_mono_source_set_property),
25601         (gst_test_mono_source_class_init), (GST_START_TEST),
25602         (gst_controller_suite):
25603         * docs/gst/gstreamer-docs.sgml:
25604         * docs/gst/gstreamer-sections.txt:
25605         * docs/gst/gstreamer.types:
25606         * docs/libs/gstreamer-libs-docs.sgml:
25607         * docs/libs/gstreamer-libs-sections.txt:
25608         * gst/base/gstadapter.c:
25609         * libs/gst/controller/gst-controller.c:
25610         (gst_controlled_property_new), (gst_controlled_property_free),
25611         (gst_controller_new_valist),
25612         (gst_controller_remove_properties_valist),
25613         (gst_controller_sink_values), (_gst_controller_finalize):
25614         * libs/gst/controller/gst-controller.h:
25615         * libs/gst/controller/gst-helper.c:
25616         (gst_object_control_properties), (gst_object_uncontrol_properties),
25617         (gst_object_get_controller), (gst_object_set_controller),
25618         (gst_object_sink_values), (gst_object_get_value_arrays),
25619         (gst_object_get_value_array):
25620           more tests (and fixes) for the controller
25621           more docs for the controller
25622           integrated companies docs for the adapter 
25623
25624 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25625
25626         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25627         (GST_START_TEST), (fakesrc_suite):
25628           add tests for sizetype
25629
25630 2005-08-04  Andy Wingo  <wingo@pobox.com>
25631
25632         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25633         fixes buffer_alloc proxying among other things.
25634
25635         * gst/base/gstbasetransform.c:
25636         * gst/base/gstbasetransform.h:
25637         Revert patch to gstbasetransform from 7-28 removing
25638         delay_configure.
25639
25640         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25641         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25642         Semantics changed, should return not the size of the output buffer
25643         but the byte size of a buffer with a given caps.
25644
25645         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25646         debug object.
25647         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25648         out) are not the pad caps until setcaps finishes.
25649         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25650         not-in-place case as well. Deal with changing from in-place to
25651         not-in-place within calling pad_alloc_buffer. Still a bit
25652         concerned about the overhead here...
25653
25654 2005-08-03  Andy Wingo  <wingo@pobox.com>
25655
25656         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25657         fixating is an error.
25658
25659 2005-08-04  Edward Hervey  <edward@fluendo.com>
25660
25661         * gst/base/gstadapter.h: 
25662         Added gst_adapter_get_type() to the header
25663
25664 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25665
25666         * check/Makefile.am:
25667         * check/gst-libs/controller.c:
25668         * libs/gst/controller/gst-controller.c:
25669         (gst_controller_new_valist):
25670           added check test suite for the controller
25671         * gst/base/gstpushsrc.c:
25672           fixed a doc typo
25673
25674 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25675
25676         * docs/gst/Makefile.am:
25677         * docs/gst/gstreamer-docs.sgml:
25678         * docs/gst/gstreamer-sections.txt:
25679         * docs/gst/gstreamer.types:
25680         * docs/gst/tmpl/gstfakesrc.sgml:
25681         * gst/base/README:
25682         * gst/base/gstbasesink.c:
25683         * gst/base/gstbasesink.h:
25684         * gst/base/gstbasesrc.c:
25685         * gst/base/gstbasesrc.h:
25686         * gst/base/gstbasetransform.c:
25687         * gst/base/gstpushsrc.c:
25688         * gst/base/gstpushsrc.h:
25689           add short/long description docs to base classes
25690           add pushsrc to the docs
25691           remove consolidated doc fragments
25692
25693 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25694
25695         * configure.ac:
25696         * docs/libs/Makefile.am:
25697         * docs/libs/gstreamer-libs-docs.sgml:
25698         * docs/libs/gstreamer-libs-sections.txt:
25699         * docs/libs/gstreamer-libs.types:
25700         * examples/Makefile.am:
25701         * examples/controller/.cvsignore:
25702         * examples/controller/Makefile.am:
25703         * examples/controller/audio-example.c: (main):
25704         * libs/gst/Makefile.am:
25705         * libs/gst/controller/.cvsignore:
25706         * libs/gst/controller/Makefile.am:
25707         * libs/gst/controller/gst-controller.c:
25708         (on_object_controlled_property_changed), (gst_timed_value_compare),
25709         (gst_timed_value_find),
25710         (gst_controlled_property_set_interpolation_mode),
25711         (gst_controlled_property_new), (gst_controlled_property_free),
25712         (gst_controller_find_controlled_property),
25713         (gst_controller_new_valist), (gst_controller_new),
25714         (gst_controller_remove_properties_valist),
25715         (gst_controller_remove_properties), (gst_controller_set),
25716         (gst_controller_set_from_list), (gst_controller_unset),
25717         (gst_controller_get), (gst_controller_get_all),
25718         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25719         (gst_controller_get_value_array),
25720         (gst_controller_set_interpolation_mode),
25721         (_gst_controller_finalize), (_gst_controller_init),
25722         (_gst_controller_class_init), (gst_controller_get_type):
25723         * libs/gst/controller/gst-controller.h:
25724         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25725         (g_object_uncontrol_properties), (g_object_get_controller),
25726         (g_object_set_controller), (g_object_sink_values),
25727         (g_object_get_value_arrays), (g_object_get_value_array):
25728         * libs/gst/controller/gst-interpolation.c:
25729         (gst_controlled_property_find_timed_value_node),
25730         (interpolate_none_get), (interpolate_trigger_get),
25731         (interpolate_trigger_get_value_array):
25732         * libs/gst/controller/lib.c: (gst_controller_init):
25733         * pkgconfig/Makefile.am:
25734         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25735         * pkgconfig/gstreamer-control.pc.in:
25736         * testsuite/Makefile.am:
25737         * testsuite/controller/.cvsignore:
25738         * testsuite/controller/Makefile.am:
25739         * testsuite/controller/interpolator.c: (main):
25740           added controller code
25741           removed dparam pc files
25742
25743 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25744         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25745         (gst_collectpads_stop):
25746           Broadcast the condition when shutting down, to make sure we wake all
25747           threads up. Shut down pads on finalize, for safety.
25748
25749 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25750         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25751         (gst_base_transform_handle_buffer),
25752         (gst_base_transform_change_state):
25753           Handle PAUSED->READY->PAUSED transition after negotiation
25754           occurred already.
25755         * gst/gstmessage.c: (gst_message_init):
25756           Extra piece of debug for new messages.
25757
25758 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25759
25760         * configure.ac:
25761         * docs/gst/tmpl/gstbasesrc.sgml:
25762         * docs/gst/tmpl/gstelement.sgml:
25763         * docs/gst/tmpl/gstevent.sgml:
25764         * docs/gst/tmpl/gstfakesrc.sgml:
25765         * docs/gst/tmpl/gstformat.sgml:
25766         * docs/gst/tmpl/gstghostpad.sgml:
25767         * docs/gst/tmpl/gstpad.sgml:
25768         * docs/gst/tmpl/gstquery.sgml:
25769         * docs/gst/tmpl/gststructure.sgml:
25770         * docs/gst/tmpl/gsttaglist.sgml:
25771         * docs/gst/tmpl/gstvalue.sgml:
25772         * docs/libs/gstreamer-libs-docs.sgml:
25773         * docs/libs/gstreamer-libs-sections.txt:
25774         * docs/libs/gstreamer-libs.types:
25775         * libs/gst/Makefile.am:
25776         * libs/gst/control/.cvsignore:
25777         * libs/gst/control/Makefile.am:
25778         * libs/gst/control/control.c:
25779         * libs/gst/control/control.h:
25780         * libs/gst/control/dparam.c:
25781         * libs/gst/control/dparam.h:
25782         * libs/gst/control/dparam_smooth.c:
25783         * libs/gst/control/dparam_smooth.h:
25784         * libs/gst/control/dparamcommon.h:
25785         * libs/gst/control/dparammanager.c:
25786         * libs/gst/control/dparammanager.h:
25787         * libs/gst/control/dplinearinterp.c:
25788         * libs/gst/control/dplinearinterp.h:
25789         * libs/gst/control/unitconvert.c:
25790         * libs/gst/control/unitconvert.h:
25791         * testsuite/Makefile.am:
25792         * testsuite/dynparams/.cvsignore:
25793         * testsuite/dynparams/Makefile.am:
25794         * testsuite/dynparams/dparamstest.c:
25795         * tools/Makefile.am:
25796         * tools/gst-inspect.c: (print_element_info), (main):
25797         * tools/gst-xmlinspect.c: (print_element_info), (main):
25798           deactivate and remove dparams (libgstcontrol)
25799
25800 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25801
25802         * gst/elements/gsttypefindelement.c:
25803         (gst_type_find_element_have_type), (gst_type_find_element_init),
25804         (stop_typefinding), (gst_type_find_element_handle_event),
25805         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25806         * gst/elements/gsttypefindelement.h:
25807           Set caps on all outgoing buffers, not just the first one.
25808
25809 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25810
25811         * gst/elements/gsttypefindelement.c:
25812         (gst_type_find_element_have_type),
25813         (gst_type_find_element_check_set_buffer_caps),
25814         (gst_type_find_element_init), (stop_typefinding),
25815         (gst_type_find_element_handle_event),
25816         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25817         * gst/elements/gsttypefindelement.h:
25818           Set caps on first outgoing buffer when we've found the type.
25819
25820 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25821
25822         * docs/gst/gstreamer-docs.sgml:
25823         * docs/gst/gstreamer-sections.txt:
25824         * docs/gst/tmpl/gstscheduler.sgml:
25825         * docs/gst/tmpl/gstschedulerfactory.sgml:
25826           Remove some old cruft from docs.
25827
25828 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25829
25830         * gst/gstpad.h:
25831           Fix inline docs for GstPadLinkReturn.
25832           
25833         * gst/gststructure.c: (gst_structure_has_name):
25834         * gst/gststructure.h:
25835         * docs/gst/gstreamer-sections.txt:
25836           New API: gst_structure_has_name().
25837
25838 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25839
25840         * configure.ac:
25841           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25842           and _LARGEFILE_SOURCE in config.h as required. Do not 
25843           export those flags in our .pc files any longer (#142209).
25844
25845           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25846
25847         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25848         (gst_file_sink_do_seek), (gst_file_sink_event),
25849         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25850           Redo seek/tell calls with large file support in mind; add some
25851           debugging messages; add log message that tells us when large
25852           file support is unavailable or not enabled for some reason.
25853
25854         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25855           Add log message that tells us when large file support 
25856           is unavailable or not enabled for some reason.
25857
25858 2005-07-29  Wim Taymans  <wim@fluendo.com>
25859
25860         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25861         Added test for removing an element with ghostpad from a bin.
25862         Fixed test as current implementation does the right thing.
25863
25864         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25865         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25866         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25867         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25868         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25869         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25870         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25871         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25872         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25873         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25874         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25875         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25876         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25877         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25878         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25879         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25880         * gst/gstghostpad.h:
25881         Clean up ghostpads, remove properties for internal stuff.
25882         Make threadsafe.
25883         Fix refcounting.
25884         Prepare for switching targets, not all use cases work yet.
25885
25886 2005-07-29  Wim Taymans  <wim@fluendo.com>
25887
25888         * docs/design/part-gstghostpad.txt:
25889         Small update.
25890
25891         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25892         (gst_bin_remove_func):
25893         Unlinking pads while holding the bin LOCK is not a good
25894         idea.
25895
25896         * gst/gstpad.c: (gst_pad_class_init),
25897         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25898         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25899         No prob setting template after creating the pad.
25900
25901 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25902
25903         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25904         (gst_bus_peek), (gst_bus_source_dispatch),
25905         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25906         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25907           gst_bus_poll may be called from other threads. Handle
25908           this nicely by not making poll_data disappear off the
25909           stack once gst_bus_poll returns.
25910           gst_bus_peek now increments the refcount on the returned
25911           message.
25912
25913 2005-07-29  Wim Taymans  <wim@fluendo.com>
25914
25915         * docs/design/part-gstghostpad.txt:
25916         Overview of current GhostPad datastructures and use
25917         cases for changing the target.
25918
25919 2005-07-28  Wim Taymans  <wim@fluendo.com>
25920
25921         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25922         Added checks for hierarchy consistency whan adding linked
25923         elements to bins.
25924
25925         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25926         Added check to test element scheduling without bin/pipeline.
25927
25928         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25929         First add elements to bin, then link.
25930         
25931         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25932         (gst_bin_remove_func):
25933         Unlink pads from elements added/removed from bin to maintain
25934         hierarchy consistency.
25935
25936 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25937
25938         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25939         (gst_base_transform_handle_buffer):
25940         * gst/base/gstbasetransform.h:
25941           Remove broken delay_configure (fixes renegotiation of software
25942           scaling pipelines); remove some leftover printf()s.
25943
25944 2005-07-28  Wim Taymans  <wim@fluendo.com>
25945
25946         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25947         Added some more tests for wrong hierarchy
25948
25949         * docs/design/part-overview.txt:
25950         Some updates.
25951
25952         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25953         Cleanups.
25954
25955         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25956         (gst_element_dispose):
25957         Some more cleanups.
25958
25959         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25960         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25961         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25962         (gst_pad_set_caps), (gst_pad_send_event):
25963         Check for correct hierarchy when linking pads. Moving to
25964         strict requirement for ghostpads when linking elements in
25965         different bins.
25966
25967         * gst/gstpad.h:
25968         Clean ups. Added WRONG_HIERARCHY return value.
25969
25970 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25971
25972         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25973           Better debug if no transform is possible.
25974
25975 2005-07-27  Wim Taymans  <wim@fluendo.com>
25976
25977         * docs/random/wtay/network-transp:
25978         Some old doc I had.
25979
25980 2005-07-27  Wim Taymans  <wim@fluendo.com>
25981
25982         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25983         (gst_dp_event_from_packet):
25984         Fix serialization of seek events.
25985
25986 2005-07-27  Wim Taymans  <wim@fluendo.com>
25987
25988         * check/gst-libs/gdp.c: (GST_START_TEST):
25989         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25990         Fix compilation and fix event serialization.
25991
25992 2005-07-27  Wim Taymans  <wim@fluendo.com>
25993
25994         * CHANGES-0.9:
25995         * docs/design/part-TODO.txt:
25996         * docs/design/part-events.txt:
25997         Some docs updates
25998
25999         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26000         (gst_base_sink_event), (gst_base_sink_do_sync),
26001         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26002         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26003         (gst_base_src_do_seek), (gst_base_src_event_handler),
26004         (gst_base_src_loop):
26005         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26006         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26007         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26008         (gst_base_transform_event), (gst_base_transform_handle_buffer),
26009         (gst_base_transform_set_passthrough),
26010         (gst_base_transform_is_passthrough):
26011         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
26012         * gst/elements/gstfilesink.c: (gst_file_sink_event):
26013         Event updates.
26014
26015         * gst/gstbuffer.h:
26016         Use faster casts.
26017
26018         * gst/gstelement.c: (gst_element_seek):
26019         * gst/gstelement.h:
26020         Update gst_element_seek.
26021
26022         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
26023         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
26024         (gst_event_new_flush_start), (gst_event_new_flush_stop),
26025         (gst_event_new_eos), (gst_event_new_newsegment),
26026         (gst_event_parse_newsegment), (gst_event_new_tag),
26027         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
26028         (gst_event_parse_qos), (gst_event_new_seek),
26029         (gst_event_parse_seek), (gst_event_new_navigation):
26030         * gst/gstevent.h:
26031         Make GstEvent use GstStructure. Add parsing code, make sure the
26032         API is sufficiently generic.
26033         Mark possible directions of events and serialization.
26034
26035         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
26036         (_gst_message_copy), (gst_message_new_segment_start),
26037         (gst_message_new_segment_done), (gst_message_new_custom),
26038         (gst_message_parse_segment_start),
26039         (gst_message_parse_segment_done):
26040         Small cleanups.
26041
26042         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26043         (gst_pad_set_caps), (gst_pad_send_event):
26044         Update for new events. 
26045         Catch events sent in wrong directions.
26046
26047         * gst/gstqueue.c: (gst_queue_link_src),
26048         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26049         (gst_queue_handle_src_query):
26050         Event updates.
26051
26052         * gst/gsttag.c:
26053         * gst/gsttag.h:
26054         Remove event code from this file.
26055
26056         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26057         (gst_dp_event_from_packet):
26058         Event updates.
26059
26060 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26061
26062         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
26063         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26064         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
26065           Make debugging actually useful.
26066
26067 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26068
26069         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
26070         (gst_pad_fixate_caps):
26071           Implement default fixation once again, so that gst_pad_fixate()
26072           actually does anything at all. This probably needs to be some
26073           sort of a last resort, and use profile-based fixation first, but
26074           since that doesn't exist yet, this is the best we have. Fixes
26075           visualization in Totem.
26076
26077 2005-07-22  Wim Taymans  <wim@fluendo.com>
26078
26079         * docs/design/part-events.txt:
26080         Small update.
26081
26082         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26083         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
26084         (gst_base_sink_activate_pull):
26085         Some more comments.
26086
26087         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
26088         (gst_fake_src_create):
26089         Fix handoff marshall.
26090
26091         * gst/elements/gstidentity.c: (gst_identity_class_init),
26092         (gst_identity_transform_ip):
26093         We're a real inplace element.
26094
26095         * gst/gstbus.c: (gst_bus_post):
26096         Added some comments.
26097
26098         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
26099         * tests/muxing/case1.c: (main):
26100         * tests/sched/dynamic-pipeline.c: (main):
26101         * tests/sched/interrupt1.c: (main):
26102         * tests/sched/interrupt2.c: (main):
26103         * tests/sched/interrupt3.c: (main):
26104         * tests/sched/runxml.c: (main):
26105         * tests/sched/sched-stress.c: (main):
26106         * tests/seeking/seeking1.c: (event_received), (main):
26107         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
26108         (main):
26109         * tests/threadstate/threadstate3.c: (main):
26110         * tests/threadstate/threadstate4.c: (main):
26111         * tests/threadstate/threadstate5.c: (main):
26112         Fix the tests.
26113
26114 2005-07-21  Wim Taymans  <wim@fluendo.com>
26115
26116         * docs/design/part-seeking.txt:
26117         Some small additions.
26118
26119         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26120         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26121         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26122         * gst/base/gstbasesink.h:
26123         discont values are gint64, handle the math correctly.
26124
26125         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26126         Make the basesrc report error if the source pad is not linked.
26127
26128         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
26129         (gst_queue_loop), (gst_queue_handle_src_query),
26130         (gst_queue_src_activate_push):
26131         Make queue collect data even if the srcpad is not linked.
26132         Start pushing out data as soon as it is linked.
26133
26134         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
26135         * gst/gstutils.h:
26136         Added gst_flow_get_name() to ease error reporting.
26137
26138 2005-07-20  Wim Taymans  <wim@fluendo.com>
26139
26140         * gst/gstmessage.c: (gst_message_new_segment_start),
26141         (gst_message_new_segment_done), (gst_message_parse_segment_start),
26142         (gst_message_parse_segment_done):
26143         * gst/gstmessage.h:
26144         Added a bunch of messages for advanced seeking.
26145
26146         * gst/parse/grammar.y:
26147         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
26148         (gst_dpman_state_changed):
26149         Fix some new-pad -> pad-added signals
26150
26151 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26152
26153         * docs/manual/appendix-porting.xml:
26154         * docs/pwg/appendix-porting.xml:
26155           Document new-pad/state-change signal renames and the FixedList
26156           type rename.
26157
26158 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26159
26160         * docs/manual/advanced-autoplugging.xml:
26161         * docs/manual/basics-helloworld.xml:
26162         * docs/manual/basics-pads.xml:
26163         * docs/random/ds/0.9-suggested-changes:
26164         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
26165         * gst/gstelement.h:
26166         * gst/gstevent.h:
26167         * gst/gstformat.h:
26168         * gst/gstquery.h:
26169         * gst/gststructure.c: (gst_structure_value_get_generic_type),
26170         (gst_structure_parse_array), (gst_structure_parse_value):
26171         * gst/gstvalue.c: (gst_type_is_fixed),
26172         (gst_value_list_prepend_value), (gst_value_list_append_value),
26173         (gst_value_list_get_size), (gst_value_list_get_value),
26174         (gst_value_transform_array_string), (gst_value_serialize_array),
26175         (gst_value_deserialize_array), (gst_value_intersect_array),
26176         (gst_value_is_fixed), (_gst_value_initialize):
26177         * gst/gstvalue.h:
26178           GstElement::new-pad -> pad-added, GstElement::state-change ->
26179           state-changed, GstValueFixedList -> GstValueArray, add format and
26180           flags as their own arguments in gst_element_seek() (should improve
26181           "bindeability"), remove function generators since they don't work
26182           under a whole bunch of compilers (they were deprecated already
26183           anyway).
26184
26185 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26186
26187         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
26188         (_gst_debug_register_funcptr):
26189         * gst/gstinfo.h:
26190           Fix illegal cast on some platforms (#309253).
26191
26192 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26193
26194         * gst/gstmessage.c: (gst_message_new_custom):
26195         * gst/gstmessage.h:
26196           Add _new_custom, make _new_application a macro to _new_custom.
26197
26198 2005-07-20  Wim Taymans  <wim@fluendo.com>
26199
26200         * gst/base/gstbasesrc.c: (gst_base_src_init),
26201         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
26202         * gst/base/gstbasesrc.h:
26203         Add a gboolean to decide when to push out a discont.
26204
26205         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26206         (gst_queue_loop), (gst_queue_handle_src_query),
26207         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
26208         (gst_queue_set_property), (gst_queue_get_property):
26209         Some cleanups.
26210
26211         * tests/threadstate/threadstate1.c: (main):
26212         Make a thread test compile and run... very silly..
26213
26214
26215 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26216
26217         * docs/manual/appendix-porting.xml:
26218           Mention removal of libgstgconf-0.9.la and existence of gconf
26219           elements.
26220
26221 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26222
26223         * docs/pwg/advanced-clock.xml:
26224         * docs/pwg/appendix-porting.xml:
26225         * docs/pwg/intro-preface.xml:
26226         * docs/pwg/other-base.xml:
26227         * docs/pwg/other-manager.xml:
26228         * docs/pwg/other-nton.xml:
26229         * docs/pwg/other-ntoone.xml:
26230         * docs/pwg/other-oneton.xml:
26231         * docs/pwg/pwg.xml:
26232           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
26233           demuxer), remove n-to-n (was never written), fix some code examples
26234           and links and update the porting section to include all this.
26235
26236 2005-07-19  Wim Taymans  <wim@fluendo.com>
26237
26238         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
26239         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
26240         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
26241         (gst_queue_src_activate_push), (gst_queue_change_state),
26242         (gst_queue_get_property):
26243         * gst/gstqueue.h:
26244         Propagate GstFlowReturn more intelligently upstream and output
26245         an ERROR/EOS when streaming stopped due to fatal error.
26246
26247 2005-07-19  Wim Taymans  <wim@fluendo.com>
26248
26249         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26250         Don't block forever for the state change to complete, the
26251         pipeline already did with a sensible timeout.
26252
26253 2005-07-19  Wim Taymans  <wim@fluendo.com>
26254
26255         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
26256         Make sure we never call the create function is we
26257         got deactivated.
26258
26259 2005-07-19  Andy Wingo  <wingo@pobox.com>
26260
26261         * gst/parse/parse.l: Attempt to solve bug #172815.
26262
26263 2005-07-19  Wim Taymans  <wim@fluendo.com>
26264
26265         * docs/design/part-clocks.txt:
26266         * docs/design/part-events.txt:
26267         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
26268         Small docs updates.
26269         Only update the seeking values when we are not
26270         busy streaming.
26271
26272 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
26273
26274         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26275           Oops, ignore the result of gst_pad_push_event here.
26276
26277 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
26278
26279         * gst/base/gstbasesrc.c: (gst_base_src_loop),
26280         (gst_base_src_activate_push):
26281           Send discont event from the loop function, as pads
26282           aren't activated yet in the activate_push handler.
26283
26284         * gst/gstbin.c: (bin_bus_handler):
26285           Don't leak element name.
26286
26287 2005-07-18  Andy Wingo  <wingo@pobox.com>
26288
26289         * configure.ac: Use AS_LIBTOOL_TAGS.
26290
26291 2005-07-18  Wim Taymans  <wim@fluendo.com>
26292
26293         * docs/gst/gstreamer.types:
26294         Remove deleted types.
26295
26296 2005-07-18  Wim Taymans  <wim@fluendo.com>
26297
26298         * check/elements/gstfakesrc.c: (GST_START_TEST):
26299         * configure.ac:
26300         * gst/Makefile.am:
26301         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26302         (init_popt_callback):
26303         * gst/gst.h:
26304         * gst/gst_private.h:
26305         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26306         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26307         * gst/gstbin.h:
26308         * gst/gstbus.h:
26309         * gst/gstconfig.h.in:
26310         * gst/gstelement.c: (gst_element_class_init),
26311         (gst_element_set_base_time), (gst_element_get_base_time),
26312         (iterator_fold_with_resync), (gst_element_change_state),
26313         (gst_element_dispose), (gst_element_get_bus):
26314         * gst/gstelement.h:
26315         * gst/gstelementfactory.h:
26316         * gst/gsterror.c: (_gst_core_errors_init):
26317         * gst/gsterror.h:
26318         * gst/gstevent.h:
26319         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26320         * gst/gstindex.c:
26321         * gst/gstinfo.c: (_gst_debug_init):
26322         * gst/gstmessage.c: (_gst_message_copy):
26323         * gst/gstmessage.h:
26324         * gst/gstminiobject.h:
26325         * gst/gstobject.c:
26326         * gst/gstobject.h:
26327         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26328         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26329         * gst/gstpad.h:
26330         * gst/gstparse.h:
26331         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26332         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26333         (gst_pipeline_get_last_stream_time):
26334         * gst/gstpipeline.h:
26335         * gst/gstpluginfeature.h:
26336         * gst/gstquery.h:
26337         * gst/gstscheduler.c:
26338         * gst/gstscheduler.h:
26339         * gst/gststructure.h:
26340         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26341         (gst_task_finalize), (gst_task_func), (gst_task_create),
26342         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26343         (gst_task_stop), (gst_task_pause):
26344         * gst/gsttask.h:
26345         * gst/gsttypefind.h:
26346         * gst/gsttypes.h:
26347         * gst/registries/gstlibxmlregistry.c: (load_feature),
26348         (gst_xml_registry_load), (gst_xml_registry_save_feature):
26349         * gst/registries/gstxmlregistry.c:
26350         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26351         * gst/schedulers/threadscheduler.c:
26352         * libs/gst/control/dparammanager.h:
26353         * tools/gst-inspect.c: (print_element_list),
26354         (print_plugin_features), (print_element_features):
26355         * tools/gst-xmlinspect.c: (print_element_list),
26356         (print_plugin_info), (main):
26357         Removed plugable schedulers.
26358         Removed Scheduler/Manager from elements.
26359         Removed gsttypes.h, rearranged includes.
26360         Removed dependency pad<->element, element<>pipeline, and
26361         various others,  fix includes.
26362         implement gst_pad_get_parent() with gst_object_get_parent()
26363         Make GstTask sefcontained.
26364         Fix _get_state() on GstBin, it did not return ASYNC with a 0
26365         timeout.
26366         Fix endless loop in iterator_fold_with_resync.
26367
26368
26369 2005-07-18  Wim Taymans  <wim@fluendo.com>
26370
26371         * gst/Makefile.am:
26372         * gst/gstarch.h:
26373         Remove old file.
26374
26375 2005-07-18  Wim Taymans  <wim@fluendo.com>
26376
26377         * gst/Makefile.am:
26378         No more cothreads.h
26379
26380 2005-07-18  Wim Taymans  <wim@fluendo.com>
26381
26382         * gst/cothreads.c:
26383         * gst/cothreads.h:
26384         Let's remove these.
26385
26386 2005-07-18  Wim Taymans  <wim@fluendo.com>
26387
26388         * docs/design/part-dynamic.txt:
26389         * docs/design/part-events.txt:
26390         * docs/design/part-seeking.txt:
26391         Some more docs in the works.
26392
26393         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26394         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26395         (gst_base_transform_setcaps), (gst_base_transform_get_size),
26396         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26397         (gst_base_transform_handle_buffer),
26398         (gst_base_transform_sink_activate_push),
26399         (gst_base_transform_src_activate_pull),
26400         (gst_base_transform_set_passthrough),
26401         (gst_base_transform_is_passthrough):
26402         Refcounting fixes.
26403
26404         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26405         Cleanups.
26406
26407         * gst/gstevent.c: (gst_event_finalize):
26408         Set SRC to NULL.
26409
26410         * gst/gstutils.c: (gst_element_unlink),
26411         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26412         (gst_pad_proxy_setcaps):
26413         * gst/gstutils.h:
26414         Add _get_parent_element() to get a pads parent as an element.
26415
26416 2005-07-18  Wim Taymans  <wim@fluendo.com>
26417
26418         * check/gst/gstbin.c: (GST_START_TEST):
26419         Remove bogus test.
26420
26421 2005-07-18  Wim Taymans  <wim@fluendo.com>
26422
26423         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26424         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26425         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26426         (gst_base_sink_event), (gst_base_sink_do_sync),
26427         (gst_base_sink_chain), (gst_base_sink_loop),
26428         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26429         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26430         Refcounting fixes.
26431         Fix logic for returning ASYNC when not prerolled.
26432
26433 2005-07-18  Wim Taymans  <wim@fluendo.com>
26434
26435         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26436         Fix nasty refcount bug.
26437
26438 2005-07-16 Philippe Khalaf <burger@speedy.org>
26439
26440         * gst/elements/gstfdsrc.c:
26441         * gst/elements/gstfdsrc.h:
26442         * gst/elements/gstelements.c:
26443         * gst/elements/Makefile.am:
26444         Ported fdsrc to 0.9.
26445
26446 2005-07-16  Wim Taymans  <wim@fluendo.com>
26447
26448         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26449         (gst_base_sink_do_sync):
26450         Fix compile error.
26451
26452 2005-07-16  Wim Taymans  <wim@fluendo.com>
26453
26454         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26455         (gst_base_sink_event), (gst_base_sink_get_times),
26456         (gst_base_sink_do_sync), (gst_base_sink_change_state):
26457         * gst/base/gstbasesink.h:
26458         Store and use discont values when syncing buffers as described
26459         in design docs.
26460         
26461         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26462         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26463         (gst_base_src_activate_push):
26464         Push discont event when starting.
26465
26466         * gst/elements/gstidentity.c: (gst_identity_transform):
26467         Small cleanups.
26468
26469         * gst/gstbin.c: (gst_bin_change_state):
26470         Small cleanups in base_time  distribution.
26471
26472         * gst/gstelement.c: (gst_element_set_base_time),
26473         (gst_element_get_base_time), (gst_element_change_state):
26474         * gst/gstelement.h:
26475         Added methods for the base_time of the element.
26476         Some MT fixes.
26477
26478         * gst/gstpipeline.c: (gst_pipeline_send_event),
26479         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26480         (gst_pipeline_get_last_stream_time):
26481         * gst/gstpipeline.h:
26482         MT fixes.
26483         Handle seeking as described in design doc, remove stream_time
26484         hack.
26485         Cleanups clock and stream_time selection code. Added accessors
26486         for the stream_time.
26487         
26488
26489 2005-07-16  Andy Wingo  <wingo@pobox.com>
26490
26491         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26492         (#305291).
26493
26494 2005-07-16  Wim Taymans  <wim@fluendo.com>
26495
26496         * check/gst/gstbin.c: (GST_START_TEST):
26497         Make elements silent as the deep_notify refs the
26498         parent, which might make the test fail.
26499
26500         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26501         Don't hold the lock for too long.
26502
26503 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
26504
26505         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26506           Don't unref the caps we passed to gst_caps_make_writable() after
26507           passing them. gst_caps_make_writable() will do that for us.
26508
26509 2005-07-15  Andy Wingo  <wingo@pobox.com>
26510
26511         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26512         (#157311).
26513
26514         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26515         own marshalling function for the handoff signal. Properly type the
26516         buffer as a buffer. Fixes some warnings. Should do a more general
26517         solution.
26518         (gst_identity_class_init): Plug into the right marshaller.
26519
26520 2005-07-15  Wim Taymans  <wim@fluendo.com>
26521
26522         * docs/design/part-TODO.txt:
26523         * docs/design/part-clocks.txt:
26524         * docs/design/part-element-sink.txt:
26525         * docs/design/part-events.txt:
26526         * docs/design/part-gstpipeline.txt:
26527         Updated docs, mostly DISCONT related.
26528
26529 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
26530
26531         * docs/pwg/building-pads.xml:
26532           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26533
26534 2005-07-15  Andy Wingo  <wingo@pobox.com>
26535
26536         * tools/gst-typefind.c: Update, add copyright block.
26537
26538         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26539         Normalize and truncate caps before fixation.
26540
26541         * gst/gstcaps.h:
26542         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26543         discards all but the first structure from its argument.
26544
26545 2005-07-15  Wim Taymans  <wim@fluendo.com>
26546
26547         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26548         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26549         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26550         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26551         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26552         (gst_base_transform_chain), (gst_base_transform_change_state),
26553         (gst_base_transform_set_passthrough),
26554         (gst_base_transform_is_passthrough):
26555         * gst/base/gstbasetransform.h:
26556         Make passthrough work using the bufferpools.
26557         Changed API a bit, subclasses have to write into a buffer
26558         provided by the base class.
26559         More debug info in nego functions.
26560         
26561         * gst/elements/gstidentity.c: (gst_identity_init),
26562         (gst_identity_transform):
26563         Port to new base class.
26564
26565 2005-07-15  Wim Taymans  <wim@fluendo.com>
26566
26567         * gst/gstmessage.c: (gst_message_new_state_changed):
26568         * tools/gst-launch.c: (event_loop), (main):
26569         Totally dump messages in -launch with the -m option.
26570         Fix message name for State messages,
26571
26572 2005-07-14  Wim Taymans  <wim@fluendo.com>
26573
26574         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26575         Post error messages on errors.
26576
26577 2005-07-14  Wim Taymans  <wim@fluendo.com>
26578
26579         * gst/gstcaps.c: (gst_caps_do_simplify):
26580         Remove debug info.
26581
26582         * gst/gsterror.h:
26583         Define error for stream stopped.
26584
26585         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26586         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26587         Do proper return values.
26588
26589         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26590         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26591         (gst_pad_get_range):
26592         Better return values.
26593
26594         * gst/gstpad.h:
26595         Reorganise return values, add macro to check for fatal errors.
26596
26597         * gst/gstqueue.c: (gst_queue_chain):
26598         Return proper GstFlowReturn values,
26599
26600 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26601
26602         * docs/gst/gstreamer-sections.txt:
26603         * docs/gst/gstreamer.types:
26604         * docs/gst/tmpl/gst.sgml:
26605         * docs/gst/tmpl/gstbasesink.sgml:
26606         * docs/gst/tmpl/gstbasesrc.sgml:
26607         * docs/gst/tmpl/gstbasetransform.sgml:
26608         * docs/gst/tmpl/gstbin.sgml:
26609         * docs/gst/tmpl/gstbuffer.sgml:
26610         * docs/gst/tmpl/gstcaps.sgml:
26611         * docs/gst/tmpl/gstclock.sgml:
26612         * docs/gst/tmpl/gstcompat.sgml:
26613         * docs/gst/tmpl/gstconfig.sgml:
26614         * docs/gst/tmpl/gstelement.sgml:
26615         * docs/gst/tmpl/gstelementdetails.sgml:
26616         * docs/gst/tmpl/gstelementfactory.sgml:
26617         * docs/gst/tmpl/gstenumtypes.sgml:
26618         * docs/gst/tmpl/gsterror.sgml:
26619         * docs/gst/tmpl/gstevent.sgml:
26620         * docs/gst/tmpl/gstfakesink.sgml:
26621         * docs/gst/tmpl/gstfakesrc.sgml:
26622         * docs/gst/tmpl/gstfilesink.sgml:
26623         * docs/gst/tmpl/gstfilesrc.sgml:
26624         * docs/gst/tmpl/gstfilter.sgml:
26625         * docs/gst/tmpl/gstformat.sgml:
26626         * docs/gst/tmpl/gstghostpad.sgml:
26627         * docs/gst/tmpl/gstimplementsinterface.sgml:
26628         * docs/gst/tmpl/gstindex.sgml:
26629         * docs/gst/tmpl/gstindexfactory.sgml:
26630         * docs/gst/tmpl/gstinfo.sgml:
26631         * docs/gst/tmpl/gstiterator.sgml:
26632         * docs/gst/tmpl/gstmacros.sgml:
26633         * docs/gst/tmpl/gstmemchunk.sgml:
26634         * docs/gst/tmpl/gstminiobject.sgml:
26635         * docs/gst/tmpl/gstobject.sgml:
26636         * docs/gst/tmpl/gstpad.sgml:
26637         * docs/gst/tmpl/gstpadtemplate.sgml:
26638         * docs/gst/tmpl/gstparse.sgml:
26639         * docs/gst/tmpl/gstpipeline.sgml:
26640         * docs/gst/tmpl/gstplugin.sgml:
26641         * docs/gst/tmpl/gstpluginfeature.sgml:
26642         * docs/gst/tmpl/gstquery.sgml:
26643         * docs/gst/tmpl/gstqueue.sgml:
26644         * docs/gst/tmpl/gstregistry.sgml:
26645         * docs/gst/tmpl/gstregistrypool.sgml:
26646         * docs/gst/tmpl/gstscheduler.sgml:
26647         * docs/gst/tmpl/gstschedulerfactory.sgml:
26648         * docs/gst/tmpl/gststructure.sgml:
26649         * docs/gst/tmpl/gstsystemclock.sgml:
26650         * docs/gst/tmpl/gsttaglist.sgml:
26651         * docs/gst/tmpl/gsttagsetter.sgml:
26652         * docs/gst/tmpl/gsttrace.sgml:
26653         * docs/gst/tmpl/gsttrashstack.sgml:
26654         * docs/gst/tmpl/gsttypefind.sgml:
26655         * docs/gst/tmpl/gsttypefindfactory.sgml:
26656         * docs/gst/tmpl/gsttypes.sgml:
26657         * docs/gst/tmpl/gsturihandler.sgml:
26658         * docs/gst/tmpl/gsturitype.sgml:
26659         * docs/gst/tmpl/gstutils.sgml:
26660         * docs/gst/tmpl/gstvalue.sgml:
26661         * docs/gst/tmpl/gstversion.sgml:
26662         * docs/gst/tmpl/gstxml.sgml:
26663         * docs/libs/tmpl/gstcontrol.sgml:
26664         * docs/libs/tmpl/gstdataprotocol.sgml:
26665         * docs/libs/tmpl/gstdparam.sgml:
26666         * docs/libs/tmpl/gstdplinint.sgml:
26667         * docs/libs/tmpl/gstdpman.sgml:
26668         * docs/libs/tmpl/gstdpsmooth.sgml:
26669         * docs/libs/tmpl/gstgetbits.sgml:
26670         * docs/libs/tmpl/gstunitconvert.sgml:
26671         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26672         (gst_push_src_base_init), (gst_push_src_class_init),
26673         (gst_push_src_init), (gst_push_src_create):
26674         * gst/base/gstpushsrc.h:
26675         * gst/elements/gstelements.c:
26676         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26677         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26678         (gst_fake_sink_init), (gst_fake_sink_set_property),
26679         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26680         (gst_fake_sink_event), (gst_fake_sink_preroll),
26681         (gst_fake_sink_render), (gst_fake_sink_change_state):
26682         * gst/elements/gstfakesink.h:
26683         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26684         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26685         (gst_fake_src_base_init), (gst_fake_src_class_init),
26686         (gst_fake_src_init), (gst_fake_src_event_handler),
26687         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26688         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26689         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26690         (gst_fake_src_create_buffer), (gst_fake_src_create),
26691         (gst_fake_src_start), (gst_fake_src_stop):
26692         * gst/elements/gstfakesrc.h:
26693         * gst/elements/gstfilesink.c: (_do_init),
26694         (gst_file_sink_base_init), (gst_file_sink_class_init),
26695         (gst_file_sink_init), (gst_file_sink_dispose),
26696         (gst_file_sink_set_location), (gst_file_sink_set_property),
26697         (gst_file_sink_get_property), (gst_file_sink_open_file),
26698         (gst_file_sink_close_file), (gst_file_sink_query),
26699         (gst_file_sink_event), (gst_file_sink_render),
26700         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26701         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26702         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26703         * gst/elements/gstfilesink.h:
26704         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26705         (gst_file_src_class_init), (gst_file_src_init),
26706         (gst_file_src_finalize), (gst_file_src_set_location),
26707         (gst_file_src_set_property), (gst_file_src_get_property),
26708         (gst_file_src_map_region), (gst_file_src_map_small_region),
26709         (gst_file_src_create_mmap), (gst_file_src_create_read),
26710         (gst_file_src_create), (gst_file_src_is_seekable),
26711         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26712         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26713         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26714         (gst_file_src_uri_handler_init):
26715         * gst/elements/gstfilesrc.h:
26716           more autistic cleanliness in functions/names/defines
26717
26718 2005-07-13  Andy Wingo  <wingo@pobox.com>
26719
26720         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26721         source couldn't negotiate.
26722
26723         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26724         connections again.
26725
26726         * gst/gstutils.h:
26727         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26728         function. I am channeling Hades. Put your boots on suckers!!!
26729
26730 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26731
26732         * testsuite/caps/Makefile.am:
26733         * testsuite/caps/value_compare.c:
26734         * testsuite/caps/value_intersect.c:
26735         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26736           move two testsuite apps over to the check dir
26737
26738 2005-07-12  Wim Taymans  <wim@fluendo.com>
26739
26740         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26741         Added more debug info in the negotiate process.
26742
26743         * gst/gstmessage.h:
26744         Prepare for segment playback.
26745
26746         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26747         Better debugging.
26748
26749         * gst/gstutils.c:
26750         Some more docs.
26751
26752         * tools/gst-launch.c: (main):
26753         NULL pipeline on errors.
26754
26755 2005-07-12  Andy Wingo  <wingo@pobox.com>
26756
26757         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26758         not it comes from a malloc region. Make sure our copy gets freed.
26759
26760 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26761
26762         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26763         * check/gst/gstmessage.c: (GST_START_TEST):
26764         * check/gst/gststructure.c: (GST_START_TEST),
26765         (gst_structure_suite), (main):
26766           more testing
26767         * gst/gstelement.c: (gst_element_message_full):
26768           clean up GError and debug string now that they get copied
26769         * gst/gstmessage.c: (gst_message_new_error),
26770         (gst_message_new_warning), (gst_message_parse_error),
26771         (gst_message_parse_warning):
26772           use GST_TYPE_G_ERROR for structure_new, and take copies of
26773           arguments, so that we don't mess up refcounting
26774
26775 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26776
26777         * check/Makefile.am:
26778           add per-test valgrind targets
26779         * check/gst-libs/gdp.c: (GST_START_TEST),
26780         (gst_data_protocol_suite), (main):
26781           clean up
26782
26783 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26784
26785         * check/Makefile.am:
26786           instate more valgrindable tests
26787         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26788         (GST_START_TEST), (fakesrc_suite):
26789         * check/gst/gstpad.c: (GST_START_TEST):
26790         * check/gst/gststructure.c: (GST_START_TEST):
26791           fix test leaks
26792         * docs/gst/tmpl/gstminiobject.sgml:
26793         * gst/gstpad.c: (gst_pad_finalize):
26794           fix the static mutex leak
26795
26796 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26797
26798         * check/Makefile.am:
26799           add two more tests for valgrinding
26800         * check/gst/gstvalue.c: (GST_START_TEST):
26801           test refcount of deserialized buffer, found a leak
26802         * docs/gst/gstreamer-docs.sgml:
26803         * docs/gst/gstreamer-sections.txt:
26804         * docs/gst/gstreamer.types:
26805         * docs/gst/tmpl/gstminiobject.sgml:
26806           add miniobject to docs
26807         * gst/gstminiobject.c:
26808           add some docs
26809         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26810         (gst_string_unwrap):
26811           fix a hard-to-find invalid write for one of the tests
26812           fix a leak for deserialized buffers
26813
26814 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26815
26816         * docs/pwg/advanced-events.xml:
26817         * docs/pwg/advanced-request.xml:
26818         * docs/pwg/advanced-scheduling.xml:
26819         * docs/pwg/appendix-porting.xml:
26820         * docs/pwg/building-boiler.xml:
26821         * docs/pwg/intro-preface.xml:
26822         * docs/pwg/other-ntoone.xml:
26823           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26824           of example code and explanation for pad activation, loop() and
26825           getrange() functions and a bit more. Remove old comments pointing
26826           to loop-functions.
26827         * examples/pwg/Makefile.am:
26828           Add loop/getrange examples.
26829
26830 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26831
26832         * configure.ac:
26833           check for valgrind binary + some fixes
26834         * check/gst.supp:
26835           valgrind suppressions for the tests
26836         * check/Makefile.am:
26837           add a valgrind: target that valgrinds the unit tests
26838         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26839         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26840         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26841         * check/gst/gstghostpad.c:
26842           added some cleanup
26843         * check/gst/gstdata.c:
26844           removed
26845         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26846         (thread_unref), (gst_mini_object_suite), (main):
26847           added
26848         * gst/gst.c: (gst_deinit):
26849         * gst/gst.h:
26850           add a method to clean up.
26851         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26852         (gst_system_clock_obtain):
26853           allow for disposing the system clock.
26854         * tools/gst-launch.c: (main):
26855           deinit
26856
26857 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26858
26859         * docs/gst/tmpl/gstbasesrc.sgml:
26860         * docs/gst/tmpl/gstfakesrc.sgml:
26861         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26862         (gst_base_src_init), (gst_base_src_set_property),
26863         (gst_base_src_get_property), (gst_base_src_get_range),
26864         (gst_base_src_start):
26865         * gst/base/gstbasesrc.h:
26866           add num-buffers property
26867         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26868         (gst_fakesrc_init), (gst_fakesrc_set_property),
26869         (gst_fakesrc_get_property), (gst_fakesrc_create),
26870         (gst_fakesrc_start):
26871           remove num-buffers property
26872
26873 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26874
26875         * docs/gst/gstreamer-sections.txt:
26876         * docs/gst/tmpl/gstbasesink.sgml:
26877         * docs/gst/tmpl/gstbasesrc.sgml:
26878         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26879         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26880         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26881         (gst_base_sink_set_property), (gst_base_sink_get_property),
26882         (gst_base_sink_handle_object), (gst_base_sink_event),
26883         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26884         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26885         (gst_base_sink_loop), (gst_base_sink_deactivate),
26886         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26887         (gst_base_sink_change_state):
26888         * gst/base/gstbasesink.h:
26889         * gst/base/gstbasesrc.h:
26890         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26891         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26892         (gst_filesink_init):
26893           more macro splitting
26894
26895 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26896
26897         * gst/gstelement.c: (gst_element_get_bus):
26898           add debug
26899         * tools/gst-launch.c: (check_intr), (event_loop):
26900           fix bus leaks
26901
26902 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26903
26904         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26905           fix a caps leak
26906
26907 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26908
26909         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26910         (gst_base_src_finalize):
26911           add finalize method and clean up properly
26912         * gst/gstpipeline.c: (gst_pipeline_dispose):
26913           add debug
26914
26915 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26916
26917         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26918         (gst_bin_suite):
26919           add more things to check
26920         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26921         * gst/gstelement.c:
26922           more debug
26923
26924 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26925
26926         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26927         (GST_START_TEST), (fakesrc_suite):
26928         * check/gst-libs/gdp.c: (GST_START_TEST):
26929         * check/gst/gst.c: (GST_START_TEST):
26930         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26931         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26932         * check/gst/gstbus.c: (GST_START_TEST):
26933         * check/gst/gstcaps.c: (GST_START_TEST):
26934         * check/gst/gstdata.c: (GST_START_TEST):
26935         * check/gst/gstelement.c: (GST_START_TEST):
26936         * check/gst/gstghostpad.c: (GST_START_TEST):
26937         * check/gst/gstiterator.c: (GST_START_TEST):
26938         * check/gst/gstmessage.c: (GST_START_TEST):
26939         * check/gst/gstobject.c: (GST_START_TEST):
26940         * check/gst/gstpad.c: (GST_START_TEST):
26941         * check/gst/gststructure.c: (GST_START_TEST):
26942         * check/gst/gstsystemclock.c: (GST_START_TEST),
26943         (gst_systemclock_suite):
26944         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26945         * check/gst/gstvalue.c: (GST_START_TEST):
26946         * check/pipelines/cleanup.c: (GST_START_TEST):
26947         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26948         * check/states/sinks.c: (GST_START_TEST):
26949         * check/gstcheck.c: (gst_check_init):
26950         * check/gstcheck.h:
26951           add debugging category
26952           use GST_START_TEST now, so we add a debug line
26953
26954 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26955
26956         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26957           add test for state change message on a bin
26958         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26959           add another test
26960         * gst/gstbin.c: (gst_bin_init):
26961         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26962         * gst/gstelement.c: (gst_element_post_message),
26963         (gst_element_set_state):
26964         * gst/gstelementfactory.c: (gst_element_factory_create):
26965         * gst/gstmessage.c: (gst_message_new):
26966         * gst/gstscheduler.c:
26967           various debugging additions and cleanups
26968
26969 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26970
26971         * check/Makefile.am:
26972         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26973         (main):
26974           adding tests for elements
26975         * gst/gstelement.c: (gst_element_dispose):
26976
26977 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26978
26979         * gst/registries/gstlibxmlregistry.c: (load_feature):
26980           plug more leaks.  A simple gst_init() now is leakfree, yay.
26981
26982 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26983
26984         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26985         (gst_xml_registry_load):
26986           plug another memleak
26987
26988 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26989
26990         * configure.ac:
26991           use GST_SET_ERROR_CFLAGS
26992         * docs/faq/cvs.xml:
26993           change to ERROR_CFLAGS
26994
26995 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26996
26997         * configure.ac:
26998           make GST_ERROR_CFLAGS overridable and re-enable Werror
26999         * docs/faq/cvs.xml:
27000           add a note about error CFLAGS
27001         * docs/gst/tmpl/gstfakesrc.sgml:
27002         * gst/elements/gstfakesrc.c:
27003           comment out some unused code
27004         * gst/gst.c: (split_and_iterate):
27005         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
27006         (load_feature):
27007           plug some memleaks
27008
27009 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
27010
27011         * common/Makefile.am:
27012         * common/gtk-doc.mak:
27013         * docs/gst/Makefile.am:
27014           factor out gtk-doc.mak
27015
27016 2005-07-07  Wim Taymans  <wim@fluendo.com>
27017
27018         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
27019         (gst_thread_scheduler_dispose):
27020         Unlock the STREAM_LOCK completely.
27021
27022 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
27023
27024         * check/Makefile.am:
27025         * check/elements/.cvsignore:
27026         * check/elements/gstfakesrc.c: (chain_func), (event_func),
27027         (START_TEST), (fakesrc_suite), (main):
27028         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27029         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27030         (gst_fakesrc_create), (gst_fakesrc_start):
27031         * gst/elements/gstfakesrc.h:
27032           adding a first element test
27033
27034 2005-07-07  Andy Wingo  <wingo@pobox.com>
27035
27036         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
27037         debug message.
27038
27039 2005-07-07  Wim Taymans  <wim@fluendo.com>
27040
27041         * gst/gstquery.c:
27042         * gst/gstquery.h:
27043         Remove old types
27044
27045 2005-07-07  Wim Taymans  <wim@fluendo.com>
27046
27047         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
27048         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
27049         Allow subclasses to implement their own negotiation.
27050
27051 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
27052
27053         * docs/design/part-gstbin.txt:
27054         * docs/design/part-gstpipeline.txt:
27055           Update design notes to reflect the movement of
27056           responsibility for bus handling from GstPipeline to
27057           GstBin
27058
27059 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
27060
27061         * configure.ac:
27062           Remove unnecessary queue2/3/4 examples.
27063
27064 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
27065
27066         * examples/Makefile.am:
27067         * examples/helloworld/helloworld.c: (event_loop), (main):
27068         * examples/queue/queue.c: (event_loop), (main):
27069         * examples/queue2/queue2.c: (main):
27070           Update a couple of the examples to work again.
27071
27072         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27073         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
27074          Spelling corrections and extra debug.
27075         
27076         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
27077         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
27078         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
27079         * gst/gstbin.h:
27080         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27081         (gst_pipeline_change_state):
27082         * gst/gstpipeline.h:
27083           Move the bus handler for children to the GstBin, and create a
27084           separate bus for receiving messages from children to the one the
27085           bus sends 'upwards' on.
27086
27087 2005-07-06  Wim Taymans  <wim@fluendo.com>
27088
27089         * gst/base/README:
27090         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27091         (gst_base_sink_handle_object), (gst_base_sink_loop),
27092         (gst_base_sink_change_state):
27093         * gst/base/gstbasesink.h:
27094         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27095         (gst_base_src_init), (gst_base_src_setcaps),
27096         (gst_base_src_getcaps), (gst_base_src_loop),
27097         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
27098         (gst_base_src_start), (gst_base_src_change_state):
27099         * gst/base/gstbasesrc.h:
27100         Make basesrc negotiate.
27101         Handle the case where preroll fails in basesink.
27102         Update README.
27103
27104 2005-07-06  Wim Taymans  <wim@fluendo.com>
27105
27106         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
27107         Implement the fixate function.
27108         Clean up acceptcaps.
27109
27110 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27111
27112         * docs/pwg/building-filterfactory.xml:
27113         * docs/pwg/pwg.xml:
27114           Remove never-written filter-factory chapter; I'll add the various
27115           base classes to part 4 ("other element types") later on.
27116
27117 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27118
27119         * docs/pwg/advanced-negotiation.xml:
27120         * docs/pwg/building-boiler.xml:
27121         * docs/pwg/building-pads.xml:
27122         * docs/pwg/pwg.xml:
27123         * examples/pwg/Makefile.am:
27124           Add a chapter on caps negotiation, simplify the original code
27125           samples a bit w.r.t. caps negotiation, add link to the advanced
27126           section. Add a bunch of examples showing different use cases of
27127           different types of caps negotiation. Upstream renegotiation isn't
27128           fully documented yet since nobody knows how that works.
27129
27130 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
27131
27132         * check/gst/gstpad.c:
27133         * check/gstcheck.c:
27134         * gst/gstpad.c: (gst_pad_get_internal_links_default):
27135           if pad has no parent, return NULL as list of internal links
27136
27137 2005-07-05  Andy Wingo  <wingo@pobox.com>
27138
27139         * gst/elements/gstfilesrc.c:
27140         * gst/elements/gstfakesrc.c: 
27141         * gst/base/gstpushsrc.c:
27142         * gst/base/gstbasesrc.h: 
27143         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
27144         
27145 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
27146
27147         * Makefile.am:
27148           better report generation target (lcov needs a patch)
27149
27150 2005-07-05  Andy Wingo  <wingo@pobox.com>
27151
27152         * gst/elements, testsuite: Null if we got it...
27153
27154 2005-07-05  Wim Taymans  <wim@fluendo.com>
27155
27156         * configure.ac:
27157         * libs/gst/dataprotocol/Makefile.am:
27158         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
27159         * libs/gst/dataprotocol/dataprotocol.h:
27160         * pkgconfig/Makefile.am:
27161         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
27162         * pkgconfig/gstreamer-dataprotocol.pc.in:
27163         Ported dataprotol to 0.9. 
27164         Added pkgconfig files.
27165
27166 2005-07-05  Andy Wingo  <wingo@pobox.com>
27167
27168         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
27169         Default to returning TRUE for the case when tranform_caps returns
27170         a fixed caps, like for identity or volume.
27171
27172         * check/gst/gstbus.c (pound_bus_with_messages): 
27173         * check/gst/gstmessage.c (START_TEST): 
27174         * check/pipelines/simple_launch_lines.c (got_handoff): Application
27175         message API change.
27176
27177         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
27178         logic weaks here: always run transform_caps, trying passthrough
27179         operation only if the original caps intersects with the transform.
27180
27181         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
27182         source and sink caps.
27183
27184         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
27185         Intersect the peer caps with the pad template before going into
27186         transform_caps.
27187         (gst_base_transform_transform_caps): More debugging.
27188
27189         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
27190         src argument.
27191
27192 2005-07-04  Edward Hervey  <edward@fluendo.com>
27193
27194         * gst/gstutils.c:
27195         * gst/gstutils.h:
27196         (gst_pad_add_*_probe): now returns the signal id for better wrapping
27197         in bindings.
27198
27199 2005-07-04  Andy Wingo  <wingo@pobox.com>
27200
27201         * check/gst/gstpad.c: Only set explicit caps on pads.
27202
27203 2005-07-01  Andy Wingo  <wingo@pobox.com>
27204
27205         * tests/network-clock.scm: Commentary update.
27206
27207         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
27208         Didn't really make sense, not implementable with basetransform,
27209         etc.
27210         (gst_identity_transform): Unref inbuf via make_writable. Feeble
27211         attempt at implementing the sync property, needs an unlock method.
27212
27213         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
27214         New func, by default returns the same caps (the identity
27215         transformation).
27216         (gst_base_transform_getcaps): Uses transform_caps to return
27217         something sensible.
27218         (gst_base_transform_setcaps): Complicated logic to get caps on
27219         both pads, even if they are different, and to call set_caps once
27220         for every time both pads get their caps set.
27221         (gst_base_transform_handle_buffer): Give the ref to the transform
27222         function. Allows in-place modification of the buffer.
27223
27224         * gst/base/gstbasetransform.h (transform_caps): New class method.
27225         Given caps on one side, what can I do on the other.
27226         (set_caps): Take two caps, one for each side of the element.
27227
27228         * gst/gstpad.h:
27229         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
27230         caps in place. This is safe because we can check the mutability of
27231         the caps, and a good idea because fixate functions are just called
27232         as a matter of last resort. (Not actually implemented.)
27233         (gst_pad_set_caps): If the caps we're setting is actually the same
27234         as the existing pad caps, just update the pointer without calling
27235         setcaps. Assert that caps is either NULL or fixed, as per the
27236         docs.
27237
27238         * gst/gstghostpad.c: Update for fixate changes.
27239
27240 2005-07-02  Andy Wingo  <wingo@pobox.com>
27241
27242         * gst/gstcaps.c:
27243         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
27244         two refcounts makes it immutable, which is enough. Doc more.
27245
27246 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
27247
27248         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
27249           Put the mini_object into GValue as a mini_object,
27250           not a gpointer, since that's how we declared
27251           the signal.
27252
27253 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27254
27255         * examples/pwg/Makefile.am:
27256           Fix buildbot again.
27257
27258 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27259
27260         * docs/pwg/building-testapp.xml:
27261           Add extra check.
27262         * examples/pwg/Makefile.am:
27263           Fix buildbot.
27264
27265 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27266
27267         * configure.ac:
27268         * examples/Makefile.am:
27269         * examples/pwg/Makefile.am:
27270         * examples/pwg/extract.pl:
27271           Enable building the PWG examples.
27272         * docs/pwg/advanced-interfaces.xml:
27273           Add URI interface stub.
27274         * docs/pwg/advanced-types.xml:
27275         * docs/pwg/other-autoplugger.xml:
27276         * docs/pwg/appendix-porting.xml:
27277         * docs/pwg/pwg.xml:
27278           Add porting guide (mostly stubs), remove autoplugging (see ADM).
27279         * docs/pwg/building-boiler.xml:
27280         * docs/pwg/building-chainfn.xml:
27281         * docs/pwg/building-pads.xml:
27282         * docs/pwg/building-props.xml:
27283         * docs/pwg/building-state.xml:
27284         * docs/pwg/building-testapp.xml:
27285           Update the building-*.xml parts for 0.9 changes. All examples
27286           code blocks compile in examples/pwg/*.
27287
27288 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27289
27290         * docs/manual/advanced-autoplugging.xml:
27291         * docs/manual/appendix-checklist.xml:
27292         * docs/manual/appendix-integration.xml:
27293         * docs/manual/highlevel-components.xml:
27294           Fix playbin/decodebin examples, update docs a bit, mention bus
27295           instead of signals in various places, mention kmplayer and
27296           kaffeine since they have a working GStreamer backend in the KDE
27297           section.
27298
27299 2005-06-30  Wim Taymans  <wim@fluendo.com>
27300
27301         * CHANGES-0.9:
27302         * docs/design/draft-ghostpads.txt:
27303         * docs/design/draft-push-pull.txt:
27304         * docs/design/draft-query.txt:
27305         * docs/design/part-TODO.txt:
27306         * docs/design/part-query.txt:
27307         Added CHANGES-0.9 doc, updated status of other docs.
27308         
27309         * gst/gstquery.h:
27310         Remove "hmm" macro
27311
27312 2005-06-30  Wim Taymans  <wim@fluendo.com>
27313
27314         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27315         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27316         (gst_base_sink_change_state):
27317         * gst/base/gstbasesink.h:
27318         Some tweaks, only EOS and a buffer complete a preroll.
27319
27320 2005-06-30  Andy Wingo  <wingo@pobox.com>
27321
27322         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27323         activate_push down to the internal pad as well.
27324
27325 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
27326
27327         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27328
27329         * gst/gsttaginterface.c:
27330           Some documentation fixes (#307394 and #307397).
27331
27332 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
27333
27334         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27335
27336         * gst/gstvalue.c: (gst_value_intersect_list):
27337           Fix memleak (#309125).
27338
27339 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27340
27341         * docs/manual/advanced-dataaccess.xml:
27342           Fix fakesrc example to compile; doesn't work, bug somewhere...?
27343         * docs/manual/basics-pads.xml:
27344           Add reference for filtered caps to above chapter.
27345
27346 2005-06-30  Wim Taymans  <wim@fluendo.com>
27347
27348         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27349         (gst_bin_change_state):
27350         Probes are gone.
27351         Lame attempt at making the state change function a bit
27352         more readable.
27353
27354 2005-06-30  Wim Taymans  <wim@fluendo.com>
27355
27356         * docs/design/part-clocks.txt:
27357         * docs/design/part-element-sink.txt:
27358         * docs/design/part-events.txt:
27359         * docs/design/part-preroll.txt:
27360         * docs/design/part-states.txt:
27361         Some more tweeks and additions to the docs.
27362
27363 2005-06-30  Wim Taymans  <wim@fluendo.com>
27364
27365         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27366         (default_have_data), (gst_pad_class_init), (gst_pad_init),
27367         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27368         (gst_pad_check_pull_range), (gst_pad_get_range),
27369         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27370         * gst/gstpad.h:
27371         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27372         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27373         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27374         (gst_pad_remove_buffer_probe):
27375         Removed atomic operations, use existing LOCK.
27376         Move exception handling out of main code path.
27377
27378 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27379
27380         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27381         (silly_return_true_function), (gst_pad_class_init),
27382         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27383         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27384         (gst_pad_send_event):
27385           Fix accumulator, add default value by using _emitv() instead
27386           of _emit() for signal emission.
27387
27388 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27389
27390         * docs/manual/advanced-dataaccess.xml:
27391         * examples/manual/Makefile.am:
27392           Add probe example.
27393         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27394           Make work (??).
27395
27396 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
27397
27398         * gst/elements/gstfilesink.c: (gst_filesink_render):
27399           Simplify code so that we don't have to handle short
27400           writes and return GST_FLOW_ERROR if an error occured.
27401
27402 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27403
27404         * docs/gst/gstreamer-docs.sgml:
27405           Remove probes more.
27406
27407 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27408
27409         * docs/gst/gstreamer-sections.txt:
27410         * docs/gst/tmpl/gstpad.sgml:
27411         * docs/gst/tmpl/gstprobe.sgml:
27412         * gst/Makefile.am:
27413         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27414         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27415         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27416         (gst_pad_push_event), (gst_pad_send_event):
27417         * gst/gstpad.h:
27418         * gst/gstutils.c: (gst_pad_add_data_probe),
27419         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27420         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27421         (gst_pad_remove_buffer_probe):
27422         * gst/gstutils.h:
27423           Remove old probes, add new g-signal-based probes and some utility
27424           functions.
27425
27426 2005-06-29  Edward Hervey  <edward@fluendo.com>
27427
27428         * gst/gstelementfactory.c:
27429         * gst/gstutils.h:
27430         * gst/gstutils.c:
27431         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27432         the definition to the header file.
27433
27434 2005-06-29  Andy Wingo  <wingo@pobox.com>
27435
27436         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27437         plugins from the source directory.
27438
27439 2005-06-29  Wim Taymans  <wim@fluendo.com>
27440
27441         * docs/gst/tmpl/gstbuffer.sgml:
27442         * docs/gst/tmpl/gstclock.sgml:
27443         Some fixings for blantently wrong text.
27444
27445 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27446
27447         * check/Makefile.am:
27448         * gst/gst.c: (add_path_func), (init_pre):
27449         * gst/gstregistry.c: (gst_registry_add_path):
27450           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27451           only scan the GST_PLUGIN_PATH locations, and not add
27452           system locations
27453
27454 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27455
27456         * docs/gst/gstreamer-sections.txt:
27457         * docs/gst/tmpl/gstbasesrc.sgml:
27458         * gst/gstelement.c:
27459         * gst/gstelement.h:
27460         * gst/gstevent.c:
27461         * gst/gstutils.c:
27462           doc fixes
27463
27464 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27465
27466         * docs/manual/advanced-autoplugging.xml:
27467           Fix autoplugging example.
27468
27469 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27470
27471         * docs/manual/advanced-autoplugging.xml:
27472         * docs/manual/mime-world.fig:
27473           Try to get autoplugging working, fix type detection. Fix text
27474           in hello-world image.
27475
27476 2005-06-29  Wim Taymans  <wim@fluendo.com>
27477
27478         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27479         (gst_base_sink_change_state):
27480         Small debug line.
27481
27482         * gst/gstclock.h:
27483         map SIGNAL and BROADCAST to the right function.
27484
27485         * gst/gstobject.h:
27486         Remove redundant braces.
27487
27488         * gst/gstpad.c: (gst_pad_set_caps):
27489         Don't call setcaps function when reseting caps to NULL.
27490
27491         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27492         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27493         (gst_system_clock_id_unschedule):
27494         Use BROADCAST as this is what we do.
27495
27496 2005-06-29  Wim Taymans  <wim@fluendo.com>
27497
27498         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27499         We are actually prerolling before commiting the state
27500         change. 
27501
27502 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27503
27504         * docs/manual/advanced-clocks.xml:
27505         * docs/manual/advanced-interfaces.xml:
27506         * docs/manual/advanced-metadata.xml:
27507         * docs/manual/advanced-position.xml:
27508         * docs/manual/advanced-schedulers.xml:
27509         * docs/manual/advanced-threads.xml:
27510         * docs/manual/appendix-porting.xml:
27511         * docs/manual/basics-bins.xml:
27512         * docs/manual/basics-bus.xml:
27513         * docs/manual/basics-elements.xml:
27514         * docs/manual/basics-helloworld.xml:
27515         * docs/manual/basics-pads.xml:
27516         * docs/manual/highlevel-components.xml:
27517         * docs/manual/manual.xml:
27518         * docs/manual/thread.fig:
27519           Update (until threads/scheduling) Application Development Manual;
27520           remove GstThread, add GstBus, add simple porting checklist, add
27521           documentation for tag writing, clocks, make all examples until this
27522           part compile and run.
27523         * examples/manual/Makefile.am:
27524           Update from changes to Application Development Manual; add bus
27525           example, remove thread example.
27526
27527 2005-06-28  Wim Taymans  <wim@fluendo.com>
27528
27529         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27530         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27531         (gst_bus_source_dispatch):
27532         Add debugging messages.
27533         Make internal methods static.
27534         Handle the case where the bus is flushed in the handler.
27535         
27536         * gst/gstelement.c: (gst_element_get_bus):
27537         Fix refcount in _get_bus();
27538
27539         * gst/gstpipeline.c: (gst_pipeline_change_state),
27540         (gst_pipeline_get_clock_func):
27541         Clock refcounting fixes.
27542         Handle the case where preroll timed out more gracefully.
27543         
27544         * gst/gstsystemclock.c: (gst_system_clock_dispose):
27545         Clean up the internal thread in dispose. This is needed
27546         for subclasses that actually get disposed.
27547         
27548         * gst/schedulers/threadscheduler.c:
27549         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27550         (gst_thread_scheduler_dispose):
27551         Free thread pool in dispose.
27552
27553 2005-06-28  Andy Wingo  <wingo@pobox.com>
27554
27555         * tests/network-clock-utils.scm (debug, print-event): New utils.
27556
27557         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27558         (*packet-loss*): Unified loss probability.
27559         (network-time): Report out-of-band events.
27560
27561         * tests/plot-data: Add support for out-of-band events. Hack it
27562         into this script instead of passing it down the pipe; should fix
27563         this later.
27564
27565 2005-06-28  Wim Taymans  <wim@fluendo.com>
27566
27567         * docs/gst/gstreamer.types:
27568         * docs/gst/tmpl/gstbasesrc.sgml:
27569         * docs/gst/tmpl/gstpad.sgml:
27570         Docs fixes.
27571
27572 2005-06-28  Wim Taymans  <wim@fluendo.com>
27573
27574         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27575         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27576         (gst_proxy_pad_do_fixatecaps):
27577         Correctly proxy the check_pull_range function.
27578
27579 2005-06-28  Andy Wingo  <wingo@pobox.com>
27580
27581         * tests/network-clock.scm: Removed need for slib.
27582         
27583 2005-06-28  Wim Taymans  <wim@fluendo.com>
27584
27585         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27586         (gst_basesink_preroll_queue_flush):
27587         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27588         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27589         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27590         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27591         (gst_proxy_pad_set_property):
27592         * gst/gstpad.c:
27593         * gst/gstpad.h:
27594         * gst/gstqueue.c: (gst_queue_init):
27595         The deprecated pad loop function is removed now.
27596
27597 2005-06-28  Andy Wingo  <wingo@pobox.com>
27598
27599         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27600         New parameters, simulate network packet loss.
27601
27602         * tests/network-clock-utils.scm: Initialize the RNG.
27603
27604 2005-06-28  Wim Taymans  <wim@fluendo.com>
27605
27606         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27607         (gst_basesink_event), (gst_basesink_deactivate):
27608         Flushing the preroll queue always needs to unlock the waiters.
27609
27610 2005-06-28  Edward Hervey  <edward@fluendo.com>
27611
27612         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27613         Wheen a seek was successful on a pipeline, set the stream_time to the
27614         seek offset in order to have a synchronized stream_time.
27615
27616 2005-06-28  Wim Taymans  <wim@fluendo.com>
27617
27618         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27619         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27620         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27621         (gst_proxy_pad_do_fixatecaps):
27622         Call wrapper function instead of just calling the function
27623         pointers. This takes care of any locking and whatmore.
27624
27625 2005-06-28  Wim Taymans  <wim@fluendo.com>
27626
27627         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27628         (gst_pad_pull_range):
27629         * gst/gstpad.h:
27630         CONNECTED -> LINKED.
27631
27632 2005-06-28  Andy Wingo  <wingo@pobox.com>
27633
27634         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27635         source-munging commit!!!
27636
27637         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27638         (gst_object_sink): Take gpointer arguments, not GstObject --
27639         avoids casts. Like GLib.
27640
27641         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27642         activate.
27643
27644 2005-06-27  Andy Wingo  <wingo@pobox.com>
27645
27646         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27647         remaining buffer.
27648
27649         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27650         returns a sorted copy of the trace list.
27651         (gst_alloc_trace_print_live): New API, only prints traces with
27652         live objects. Sort the list.
27653         (gst_alloc_trace_print_all): Sort the list.
27654         (gst_alloc_trace_print): Align columns.
27655
27656         * gst/elements/gstttypefindelement.c:
27657         * gst/elements/gsttee.c:
27658         * gst/base/gstbasesrc.c:
27659         * gst/base/gstbasesink.c:
27660         * gst/base/gstbasetransform.c:
27661         * gst/gstqueue.c: Adapt for pad activation changes.
27662
27663         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27664         sched.
27665         (gst_pipeline_dispose): Drop ref on sched.
27666
27667         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27668         (gst_pad_activate_default): Push mode by default.
27669         (pre_activate_switch, post_activate_switch): New stubs, things to
27670         do before and after switching activation modes on pads.
27671         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27672         the pad's activate function to choose which mode to activate.
27673         Shortcut on deactivation and call the right function directly.
27674         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27675         mode.
27676         (gst_pad_activate_push): New API, same for push mode.
27677         (gst_pad_set_activate_function) 
27678         (gst_pad_set_activatepull_function) 
27679         (gst_pad_set_activatepush_function): Setters for new API.
27680
27681         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27682         Trace all miniobjects.
27683         (gst_mini_object_make_writable): Unref the arg if we copy, like
27684         gst_caps_make_writable.
27685
27686         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27687
27688         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27689         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27690         Adapt for new pad API.
27691
27692         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27693
27694         * gst/gstelement.h:
27695         * gst/gstelement.c (gst_element_iterate_src_pads) 
27696         (gst_element_iterate_sink_pads): New API functions.
27697         
27698         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27699         should fold into gstiterator.c in some form.
27700         (gst_element_pads_activate): Simplified via use of fold and
27701         delegation of decisions to gstpad->activate.
27702
27703         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27704         help in debugging.
27705
27706         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27707         class once in init, like gstmessage. Didn't run into this issue
27708         but it seems correct. Don't initialize a trace, gstminiobject does
27709         that.
27710
27711         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27712         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27713         to the bus.
27714         (assert_live_count): New util function, uses alloc traces to check
27715         cleanup.
27716
27717         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27718         To be modified when unlink drops the internal pad.
27719
27720 2005-06-27  Wim Taymans  <wim@fluendo.com>
27721
27722         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27723         (gst_bin_change_state):
27724         Cleanup the get_state() function a little, make sure it
27725         iterates the same set of elements.
27726         Added stub iterate_state_order().
27727
27728 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27729
27730         * docs/gst/gstreamer-docs.sgml:
27731         * docs/gst/gstreamer-sections.txt:
27732         * docs/gst/gstreamer.types:
27733         * docs/gst/tmpl/gstbasesink.sgml:
27734         * docs/gst/tmpl/gstbasesrc.sgml:
27735         * docs/gst/tmpl/gstbasetransform.sgml:
27736         * docs/gst/tmpl/gstelement.sgml:
27737         * docs/gst/tmpl/gstiterator.sgml:
27738         * gst/base/gstbasesrc.c:
27739         * gst/base/gstbasesrc.h:
27740         * gst/base/gstbasetransform.h:
27741         * gst/gstelement.c:
27742         * gst/gstiterator.h:
27743           adding basetransform and iterator docs
27744
27745 2005-06-27  Andy Wingo  <wingo@pobox.com>
27746
27747         * docs/design/part-activation.txt: Notes on how activation should
27748         work -- not quite implemented yet.
27749
27750 2005-06-25  Wim Taymans  <wim@fluendo.com>
27751
27752         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27753         At least get the chain function correct, needs more
27754         fixing.
27755
27756 2005-06-25  Wim Taymans  <wim@fluendo.com>
27757
27758         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27759         (gst_basesink_handle_object), (gst_basesink_event),
27760         (gst_basesink_do_sync), (gst_basesink_handle_event),
27761         (gst_basesink_change_state):
27762         * gst/gsttask.h:
27763         Right, two problems here: ghostpads don't take locks and
27764         glib _rec_mutex_lock_full() with depth==0 still locks.
27765         Catch illegal locking and g_warn them.
27766
27767 2005-06-25  Wim Taymans  <wim@fluendo.com>
27768
27769         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27770         Have to check for completion now...
27771
27772 2005-06-25  Wim Taymans  <wim@fluendo.com>
27773
27774         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27775         (gst_basesink_handle_object), (gst_basesink_event),
27776         (gst_basesink_do_sync), (gst_basesink_handle_event),
27777         (gst_basesink_change_state):
27778         * gst/gstpad.h:
27779         Unlock STREAM_LOCK whatever the recursion was.
27780
27781 2005-06-25  Wim Taymans  <wim@fluendo.com>
27782
27783         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27784         (gst_basesink_preroll_queue_empty),
27785         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27786         (gst_basesink_event), (gst_basesink_do_sync),
27787         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27788         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27789         (gst_basesink_change_state):
27790         Reworked the base sink, handle event and buffer serialisation
27791         correctly and removed possible deadlock.
27792         Handle EOS correctly.
27793
27794 2005-06-25  Wim Taymans  <wim@fluendo.com>
27795
27796         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27797         (gst_pipeline_change_state):
27798         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27799         Allow elements to post EOS in the state change function.
27800         Fix up -launch, make it exit the poll loop when the
27801         pipeline actually changed state.
27802         Fix up warning parsing in -launch.
27803
27804 2005-06-25  Wim Taymans  <wim@fluendo.com>
27805
27806         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27807         (gst_tee_sink_activate):
27808         Core takes STREAM_LOCK for us now.
27809
27810 2005-06-25  Wim Taymans  <wim@fluendo.com>
27811
27812         * gst/gstelement.c: (gst_element_get_state_func),
27813         (gst_element_set_state):
27814         * gst/gstelement.h:
27815         * gst/gstmessage.c: (gst_message_parse_error),
27816         (gst_message_parse_warning):
27817         Keep track of current target state while performing a state
27818         change so that subclasses can do something interesting.
27819         Fix parsing of warning/error messages when GError is NULL.
27820
27821 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27822
27823         * docs/gst/Makefile.am:
27824         * docs/gst/gstreamer-docs.sgml:
27825         * docs/gst/gstreamer-sections.txt:
27826         * docs/gst/gstreamer.types:
27827         * docs/gst/tmpl/gstbasesink.sgml:
27828         * docs/gst/tmpl/gstbasesrc.sgml:
27829         * docs/gst/tmpl/gstbin.sgml:
27830         * docs/gst/tmpl/gstcompat.sgml:
27831         * docs/gst/tmpl/gstfakesink.sgml:
27832         * docs/gst/tmpl/gstfakesrc.sgml:
27833         * docs/gst/tmpl/gstfilesink.sgml:
27834         * docs/gst/tmpl/gstfilesrc.sgml:
27835         * docs/gst/tmpl/gstindex.sgml:
27836         * docs/manual/appendix-quotes.xml:
27837         * gst/base/gstbasesrc.h:
27838         * gst/elements/gstfakesrc.h:
27839         * gst/gstmessage.h:
27840           start pulling in base classes and elements in our docs
27841
27842 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27843
27844         * docs/gst/Makefile.am:
27845         * docs/libs/Makefile.am:
27846           fixed make distcheck with gtk-doc 1.3
27847
27848 2005-06-23  Wim Taymans  <wim@fluendo.com>
27849
27850         * gst/gstelement.c: (gst_element_get_state_func),
27851         (gst_element_set_state), (gst_element_change_state):
27852         When the state did not change, also report NO_PREROLL
27853         when it matters.
27854
27855 2005-06-23  Wim Taymans  <wim@fluendo.com>
27856
27857         * gst/gstpad.c: (gst_pad_event_default):
27858         * gst/gstqueue.c: (gst_queue_loop):
27859         No unsafe task pausing please.
27860
27861 2005-06-23  Wim Taymans  <wim@fluendo.com>
27862
27863         * gst/schedulers/threadscheduler.c:
27864         (gst_thread_scheduler_task_start),
27865         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27866         Ref the task before pushing it on the threadpool. This
27867         makes sure that we have a ref when the threadfunction is
27868         actually called.
27869
27870 2005-06-23  Andy Wingo  <wingo@pobox.com>
27871
27872         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27873         offset is greater than the file's size.
27874
27875         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27876         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27877         * gst/gstobject.c (gst_object_class_init): Make the class lock
27878         recursive. Wim won't let me drop deep_notify. Decodebin works
27879         again, whoopdy doo.
27880
27881         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27882         internal pad, and hacks accordingly. Doesn't do it on the target
27883         pad because we change its caps. Probably catches all cases of
27884         interest tho.
27885         (gst_ghost_pad_set_property): Connect to notify::caps as
27886         appropritate.
27887
27888         * tests/network-clock.scm (plot-simulation): Pipe data to the
27889         elite python skript.
27890
27891         * tests/network-clock-utils.scm (define-parameter): New macro,
27892         defines a parameter that can be set via the command line.
27893         (set-parameter!, parse-parameter-arguments): Command line args
27894         parser.
27895
27896         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27897         stdin.
27898
27899 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27900
27901         * gst/elements/gsttypefindelement.c:
27902         (gst_type_find_element_handle_event):
27903           Don't restart typefinding on a discont.
27904         * gst/gstelement.c: (gst_element_set_state):
27905           Debug spelling fix.
27906         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27907           Allow changing mode of an active pad.
27908           Debug output fixes.
27909         * gst/registries/gstlibxmlregistry.c: (load_feature):
27910           Don't cast a static pad template to a normal pad template.
27911
27912 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27913
27914         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27915         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27916           remove gst_strtoll completely, since it didn't actually do
27917           anything more than what g_ascii_strtoull already does.
27918           check for range errors when deserializing
27919           do a cast for the unsigned cases; but further fixing needs
27920           a decision on what the interpretation of "(int)" and
27921           deserialization should be for values that fall outside the
27922           type's boundaries (ie, refuse, or interpret as casting)
27923
27924 2005-06-23  Wim Taymans  <wim@fluendo.com>
27925
27926         * check/Makefile.am:
27927         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27928         * docs/design/part-live-source.txt:
27929         * docs/design/part-states.txt:
27930         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27931         (gst_basesrc_set_live), (gst_basesrc_is_live),
27932         (gst_basesrc_get_range), (gst_basesrc_activate),
27933         (gst_basesrc_change_state):
27934         * gst/base/gstbasesrc.h:
27935         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27936         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27937         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27938         * gst/gstelement.c: (gst_element_get_state_func),
27939         (gst_element_set_state):
27940         * gst/gstelement.h:
27941         * gst/gsttypes.h:
27942         * tools/gst-launch.c: (event_loop), (main):
27943         Added support for live sources and other elements that
27944         cannot do preroll.
27945         Updated design docs, added live-source design doc.
27946         Implemented live source functionality in basesrc
27947         Fix error condition in _bin_get_state()
27948         Implement live source handling in -launch.
27949         Added check for live sources.
27950         Fixed case in GstBin where elements were changed state
27951         multiple times.
27952
27953
27954 2005-06-23  Andy Wingo  <wingo@pobox.com>
27955
27956         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27957         borken refcounting.
27958
27959         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27960         gst_caps_replace takes care of this for us.
27961
27962         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27963         gst_pad_set_caps on the target, not just its setcaps() function.
27964
27965         * tests/network-clock.scm: 
27966         * tests/network-clock-utils.scm: A network clock simulator.
27967         Something of an algorithmic testbed before doing something in C.
27968
27969 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27970
27971         * check/Makefile.am:
27972         * check/gst/capslist.h:
27973           copy over from 0.8, and add two with bitmasks specified with
27974           (int) 0xFF...
27975         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27976           add test to parse everything from capslist.h
27977         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27978         (main):
27979           add test for structure deserialization
27980         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27981           add tests for deserialization of strings to int types
27982         * gst/gststructure.c: (gst_structure_nth_field_name):
27983         * gst/gststructure.h:
27984           add a way to get the name of a field referenced by index
27985         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27986           instead of checking if the resulting long long lies between
27987           min and max, we check if the long long would fit into
27988           a number of bytes for the final type.
27989           This fixes cases where a string represents 2^32 - 1, which
27990           when cast to int would be the (valid) -1, but is bigger than
27991           G_MAXINT
27992
27993 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27994
27995         * gst/parse/grammar.y:
27996           add a log line for type deserialization
27997
27998 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27999
28000         * check/gst/gstvalue.c: (START_TEST):
28001         * gst/gstvalue.c: (gst_value_deserialize):
28002           return long long, not int, so gint64 deserialization actually
28003           works.  Is there any flag that makes the compiler check this ?
28004           Fixes #308559
28005
28006 2005-06-22  Wim Taymans  <wim@fluendo.com>
28007
28008         * gst/gstbuffer.h:
28009         Added convenience macros for setting buffers in GValue.
28010
28011 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
28012
28013         * check/gst/.cvsignore:
28014         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28015           add a test deserializing int64, and comment part out because
28016           it fails, yay !
28017
28018 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
28019
28020         * check/Makefile.am:
28021         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
28022         * testsuite/Makefile.am:
28023         * testsuite/caps/Makefile.am:
28024         * testsuite/caps/value_serialize.c:
28025         * testsuite/test_gst_init.c:
28026           move a value_serialize test over
28027
28028 2005-06-20  Wim Taymans  <wim@fluendo.com>
28029
28030         * gst/gstpad.c:
28031         Small doc updates.
28032         
28033         * gst/gstvalue.c: (gst_value_compare_buffer),
28034         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
28035         (gst_value_compare_flags), (gst_value_serialize_flags),
28036         (gst_value_deserialize_flags), (_gst_value_initialize):
28037         Fix serialisation of buffers, they are not boxed types anymore
28038
28039 2005-06-20  Wim Taymans  <wim@fluendo.com>
28040
28041         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
28042         Testcase to show error in buffer-on-caps serialisation.
28043
28044 2005-06-20  Andy Wingo  <wingo@pobox.com>
28045
28046         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
28047         will be adding to later.
28048
28049         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
28050         if its socks fill with rocks.
28051         (gst_system_clock_obtain): Set the name on object construction.
28052         Avoid double-checked locking.
28053
28054 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
28055
28056         * gst/gsturi.c: (gst_element_make_from_uri):
28057           Fix potential endless loop.
28058
28059 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28060
28061         * check/Makefile.am:
28062           add gsttag
28063         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
28064         (main):
28065           move over from testsuite dir and clean up
28066         * configure.ac:
28067         * gst/gsttag.c:
28068         * testsuite/Makefile.am:
28069         * testsuite/tags/.cvsignore:
28070         * testsuite/tags/Makefile.am:
28071         * testsuite/tags/merge.c:
28072           remove testsuite/tags
28073
28074 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28075
28076         * docs/gst/gstreamer-sections.txt:
28077         * docs/gst/tmpl/gstenumtypes.sgml:
28078         * win32/gstenumtypes.c:
28079           clean up documentation build a little
28080
28081 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28082
28083         * check/gstcheck.h:
28084           add macros for checking refcounts on objects and caps
28085         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
28086           add some more unit tests
28087         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
28088         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
28089           fix leaked refcounts (I hope :)) so unittest works
28090         * gst/gstpad.h:
28091           whitespace removal
28092
28093 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28094
28095         * configure.ac: back to HEAD
28096
28097 === release 0.9.1 ===
28098
28099 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28100
28101         * NEWS:
28102         * RELEASE:
28103           updated
28104
28105 2005-06-17  Andy Wingo  <wingo@pobox.com>
28106
28107         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
28108         assert; it's always possible that the pad gets deactivated in
28109         between the checks in gstpad.c and the implementation. Rely on
28110         finish_preroll() to return a FLUSHING or similar instead of on the
28111         assert.
28112         
28113         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
28114         clock and post an EOS message if we come out of finish_preroll in
28115         the playing state.
28116
28117 2005-06-16  David Schleef  <ds@schleef.org>
28118
28119         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
28120         (gst_capsfilter_set_property): Allow NULL as possible value
28121         for filter_caps property, indicating GST_CAPS_ANY.
28122
28123 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28124
28125         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
28126           fix debug output
28127         * gst/schedulers/Makefile.am:
28128           use libgst prefix
28129         * gstreamer.spec.in:
28130           fix spec for it
28131
28132 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28133
28134         * gstreamer.spec.in:
28135           clean up
28136
28137 2005-06-08  Andy Wingo  <wingo@pobox.com>
28138
28139         * gst/gstutils.c: RPAD fixes all around.
28140         (gst_element_link_pads): Refcounting fixes.
28141
28142         * tools/gst-inspect.c:
28143         * tools/gst-xmlinspect.c:
28144         * parse/grammar.y:
28145         * gst/base/gsttypefindhelper.c:
28146         * gst/base/gstbasesink.c:
28147         * gst/gstqueue.c: RPAD fixes.
28148
28149         * gst/gstghostpad.h:
28150         * gst/gstghostpad.c: New ghost pad implementation as full proxy
28151         pads. The tricky thing is they provide both source and sink
28152         interfaces, since they proxy the internal pad for the external
28153         pad, and vice versa. Implement with lower-level ProxyPad objects,
28154         with the interior proxy pad as a child of the exterior ghost pad.
28155         Should write a doc on this.
28156         
28157         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
28158         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
28159         gst_object API.
28160         
28161         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
28162         pads are real pads. No ghost pads in this file. Not documenting
28163         the myriad s/RPAD/PAD/ and REALIZE fixes.
28164         (gst_pad_class_init): Add properties for "direction" and
28165         "template". Both are construct-only, so they can't change during
28166         the life of the pad. Fixes properly deriving from GstPad.
28167         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
28168         derived objects, just set properties when creating the objects via
28169         g_object_new.
28170         (gst_pad_get_parent): Implement as a function, return NULL if the
28171         parent is not an element.
28172         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
28173         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
28174         
28175         * gst/gstobject.c (gst_object_class_init): Make name a construct
28176         property. Don't set it in the object init.
28177
28178         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
28179         with UNKNOWN direction.
28180         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
28181         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
28182         (gst_element_remove_pad): Remove ghost-pad special cases.
28183         (gst_element_pads_activate): Remove rpad cruft.
28184
28185         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
28186         catch the pad's-parent-not-an-element case.
28187
28188         * gst/gst.h: Include gstghostpad.h.
28189
28190         * gst/gst.c (init_post): No more real, ghost pads.
28191
28192         * gst/Makefile.am: Add gstghostpad.[ch].
28193
28194         * check/Makefile.am:
28195         * check/gst/gstbin.c:
28196         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
28197         into a bin creates ghost pads, and that the refcounts are right.
28198         Partly moved from gstbin.c.
28199
28200 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28201
28202         * check/gst-libs/.cvsignore:
28203         * check/gst/.cvsignore:
28204         * check/pipelines/.cvsignore:
28205           ignore more
28206         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
28207         (START_TEST), (cleanup_suite), (main):
28208           add some tests related to cleanup after running pipelines
28209
28210 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28211
28212         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
28213           add a testsuite for GstBuffer
28214
28215 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28216
28217         * gst/gstminiobject.h:
28218           add defines for accessing the refcount
28219
28220 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
28221
28222         * Makefile.am: added support for html unit test coverage reports
28223
28224 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
28225
28226         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
28227           Free existing caps if the capsfilter changes. Add a FIXME about
28228           setting those caps on the pads.
28229
28230         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
28231           Before adding a ghost pad to a parent bin, check that there isn't
28232           already one for the element on the bin. Prevents infinite recursion
28233           when using decodebin in parse pipelines. Andy says he'll rewrite the
28234           way this works anyway, so ignore the hack.
28235
28236 2005-06-02  Andy Wingo  <wingo@pobox.com>
28237
28238         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
28239         file size, pass it on to the type find helper.
28240
28241         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
28242         segment_start and segment_end properly according to the seek
28243         method. Segment_end is still a bit flaky because offset can be
28244         negative for CUR and END cases, but it takes -1 as an "unset"
28245         value.
28246
28247 2005-06-02  Wim Taymans  <wim@fluendo.com>
28248
28249         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
28250         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
28251         (gst_basesink_activate):
28252         * gst/base/gstbasesink.h:
28253         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28254         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28255         (gst_pad_query), (gst_pad_start_task):
28256         * gst/gstpad.h:
28257         * gst/gstqueue.c: (gst_queue_bufferalloc),
28258         (gst_queue_handle_sink_event), (gst_queue_chain):
28259         Bufferalloc: return GstFlowReturn to more accuratly report
28260         why allocation failed.
28261
28262 2005-06-02  Wim Taymans  <wim@fluendo.com>
28263
28264         * gst/gstpipeline.c: (gst_pipeline_send_event):
28265         Take snapshot of state without blocking.
28266
28267 2005-06-02  Wim Taymans  <wim@fluendo.com>
28268
28269         * docs/design/part-TODO.txt:
28270         * docs/design/part-caps.txt:
28271         * docs/design/part-clocks.txt:
28272         * docs/design/part-negotiation.txt:
28273         * docs/design/part-preroll.txt:
28274         Small doc updates 
28275
28276 2005-05-30  Wim Taymans  <wim@fluendo.com>
28277
28278         * gst/elements/gstidentity.c: (gst_identity_event),
28279         (gst_identity_transform), (gst_identity_get_property):
28280         Protect last_message property as it is accessed from
28281         multiple threads.
28282
28283 2005-05-30  Wim Taymans  <wim@fluendo.com>
28284
28285         * gst/gstelement.c: (gst_element_init),
28286         (gst_element_pads_activate), (gst_element_change_state):
28287         Slicker pad activation code.
28288
28289 2005-05-30  Wim Taymans  <wim@fluendo.com>
28290
28291         * gst/Makefile.am:
28292         * gst/gstelement.h:
28293         * gst/gstelementfactory.h:
28294         * gst/gsttypes.h:
28295         Move elementfactory methods to separate .h file.
28296
28297 2005-05-30  Wim Taymans  <wim@fluendo.com>
28298
28299         * docs/design/part-overview.txt:
28300         * gst/gstsystemclock.h:
28301         Small typo fixes, doc updates.
28302
28303 2005-05-30  Wim Taymans  <wim@fluendo.com>
28304
28305         * gst/gst.c: (gst_init_get_popt_table), (init_post),
28306         (init_popt_callback):
28307         Remove cpu-opt flag.
28308
28309 2005-05-30  Wim Taymans  <wim@fluendo.com>
28310
28311         * gst/gstbuffer.c: (gst_subbuffer_finalize),
28312         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28313         * gst/gstbuffer.h:
28314         Avoid typechecking in places where not needed.
28315         Added accessor for malloc_data.
28316
28317 2005-05-30  Wim Taymans  <wim@fluendo.com>
28318
28319         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28320         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28321         (gst_pad_configure_sink), (gst_pad_configure_src),
28322         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28323         (gst_pad_start_task):
28324         Propagate errors from _set_caps() in configure_src/sink
28325         functions instead of returning TRUE.
28326         FLUSH events can travel up and downstream
28327
28328
28329 2005-05-30  Wim Taymans  <wim@fluendo.com>
28330
28331         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28332         (gst_basesink_activate):
28333         Handle EOS in preroll.
28334
28335 2005-05-30  Wim Taymans  <wim@fluendo.com>
28336
28337         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28338         (gst_queue_loop), (gst_queue_handle_src_event):
28339         Remove old pieces of code
28340         Flushing the queue in an upstream event is a very bad idea.
28341
28342 2005-05-26  Andy Wingo  <wingo@pobox.com>
28343
28344         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28345         gst_value_set_mini_object so as to add a ref on the object (which
28346         will be removed when the value is unset).
28347
28348         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28349         arg type in ::handoff.
28350
28351         * gst/gstelement.c (gst_element_change_state): Also deactivate
28352         pads in READY->NULL, just in case the element didn't make it to
28353         PAUSED. Wingo tested, Wim approved.
28354
28355 2005-05-26  Wim Taymans  <wim@fluendo.com>
28356
28357         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28358         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28359         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28360         A flushing pad cannot be used to alloc_buffer from.
28361
28362 2005-05-26  Wim Taymans  <wim@fluendo.com>
28363
28364         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28365         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28366         (gst_bus_source_dispatch), (gst_bus_source_finalize),
28367         (gst_bus_create_watch), (gst_bus_add_watch_full):
28368         * gst/gstbus.h:
28369         Implement a real GSource and use g_main_context_wakeup() to
28370         signal new messages instead of the socketpair.
28371
28372 2005-05-25  Wim Taymans  <wim@fluendo.com>
28373
28374         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28375         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28376         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28377         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28378         (gst_pad_send_event), (gst_pad_start_task):
28379         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28380         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28381         (gst_queue_sink_activate), (gst_queue_src_activate),
28382         (gst_queue_change_state):
28383         * gst/gstqueue.h:
28384         Fix state changes for non sinks. We now change sinks, then elements
28385         with unconnected srcpads, then the rest.
28386         More efficient queue unlocking in flush and state changes.
28387         Set the pad activate mode even if it does not have an activate
28388         function.
28389
28390 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28391
28392         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28393           Don't go in pull mode for non-seekable sources.
28394         * gst/elements/gsttypefindelement.h:
28395         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28396         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28397         (free_entry), (stop_typefinding),
28398         (gst_type_find_element_handle_event), (find_peek),
28399         (gst_type_find_element_chain), (do_pull_typefind),
28400         (gst_type_find_element_change_state):
28401           Allow typefinding (w/o seeking) in push-mode, simplified version
28402           of what was in 0.8.
28403         * gst/gstutils.c: (gst_buffer_join):
28404         * gst/gstutils.h:
28405           gst_buffer_join() from 0.8.
28406
28407 2005-05-25  Wim Taymans  <wim@fluendo.com>
28408
28409         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28410         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28411         (gst_pad_send_event), (gst_pad_start_task):
28412         Disable attempt at mode switching until it is figured out.
28413
28414 2005-05-25  Wim Taymans  <wim@fluendo.com>
28415
28416         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28417         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28418         (gst_basesink_finish_preroll), (gst_basesink_chain),
28419         (gst_basesink_loop), (gst_basesink_activate),
28420         (gst_basesink_change_state):
28421         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28422         (gst_basesrc_get_range), (gst_basesrc_loop),
28423         (gst_basesrc_activate):
28424         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28425         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28426         (gst_real_pad_init), (gst_real_pad_set_property),
28427         (gst_real_pad_get_property), (gst_pad_set_active),
28428         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28429         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28430         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28431         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28432         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28433         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28434         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28435         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28436         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28437         (gst_pad_stop_task):
28438         * gst/gstpad.h:
28439         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28440         (gst_queue_loop), (gst_queue_src_activate):
28441         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28442         (gst_task_get_state):
28443         * gst/gsttask.h:
28444         * gst/schedulers/threadscheduler.c:
28445         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28446         Implement gst_pad_pause/start/stop_task(), take STREAM lock
28447         in task function.
28448         Remove ACTIVE pad flag, use FLUSHING everywhere
28449         Added _pad_chain(), _pad_get_range() to call chain/getrange 
28450         functions.
28451         Add locks around IS_FLUSHING when reading.
28452         Take STREAM lock in chain(), get_range() functions so plugins
28453         don't need to take it anymore.
28454         
28455
28456
28457 2005-05-25  Wim Taymans  <wim@fluendo.com>
28458
28459         * tools/gst-launch.c: (event_loop):
28460         Unref message after using its contents instead of
28461         before.
28462
28463 2005-05-24  Wim Taymans  <wim@fluendo.com>
28464
28465         * docs/design/draft-ghostpads.txt:
28466         * docs/design/draft-push-pull.txt:
28467         * docs/design/draft-query.txt:
28468         * docs/design/part-overview.txt:
28469         Docs updates, added general overview doc.
28470
28471 2005-05-21  David Schleef  <ds@schleef.org>
28472
28473         * docs/gst/tmpl/old/GstBin.sgml:
28474         * docs/gst/tmpl/old/GstBuffer.sgml:
28475         * docs/gst/tmpl/old/GstCaps.sgml:
28476         * docs/gst/tmpl/old/GstClock.sgml:
28477         * docs/gst/tmpl/old/GstCompat.sgml:
28478         * docs/gst/tmpl/old/GstData.sgml:
28479         * docs/gst/tmpl/old/GstElement.sgml:
28480         * docs/gst/tmpl/old/GstEvent.sgml:
28481         * docs/gst/tmpl/old/GstIndex.sgml:
28482         * docs/gst/tmpl/old/GstStructure.sgml:
28483         * docs/gst/tmpl/old/GstTag.sgml:
28484         * docs/gst/tmpl/old/cothreads.sgml:
28485         * docs/gst/tmpl/old/cothreads_compat.sgml:
28486         * docs/gst/tmpl/old/gettext.sgml:
28487         * docs/gst/tmpl/old/gobject2gtk.sgml:
28488         * docs/gst/tmpl/old/grammar.tab.sgml:
28489         * docs/gst/tmpl/old/gst-i18n-app.sgml:
28490         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28491         * docs/gst/tmpl/old/gst_private.sgml:
28492         * docs/gst/tmpl/old/gstaggregator.sgml:
28493         * docs/gst/tmpl/old/gstarch.sgml:
28494         * docs/gst/tmpl/old/gstatomic_impl.sgml:
28495         * docs/gst/tmpl/old/gstbufferstore.sgml:
28496         * docs/gst/tmpl/old/gstdata_private.sgml:
28497         * docs/gst/tmpl/old/gstdisksink.sgml:
28498         * docs/gst/tmpl/old/gstdisksrc.sgml:
28499         * docs/gst/tmpl/old/gstelementfactory.sgml:
28500         * docs/gst/tmpl/old/gstextratypes.sgml:
28501         * docs/gst/tmpl/old/gstfakesink.sgml:
28502         * docs/gst/tmpl/old/gstfakesrc.sgml:
28503         * docs/gst/tmpl/old/gstfdsink.sgml:
28504         * docs/gst/tmpl/old/gstfdsrc.sgml:
28505         * docs/gst/tmpl/old/gstfilesink.sgml:
28506         * docs/gst/tmpl/old/gstfilesrc.sgml:
28507         * docs/gst/tmpl/old/gsthttpsrc.sgml:
28508         * docs/gst/tmpl/old/gstidentity.sgml:
28509         * docs/gst/tmpl/old/gstindexfactory.sgml:
28510         * docs/gst/tmpl/old/gstmarshal.sgml:
28511         * docs/gst/tmpl/old/gstmd5sink.sgml:
28512         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28513         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28514         * docs/gst/tmpl/old/gstpadtemplate.sgml:
28515         * docs/gst/tmpl/old/gstpipefilter.sgml:
28516         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28517         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28518         * docs/gst/tmpl/old/gstshaper.sgml:
28519         * docs/gst/tmpl/old/gstspider.sgml:
28520         * docs/gst/tmpl/old/gstspideridentity.sgml:
28521         * docs/gst/tmpl/old/gststatistics.sgml:
28522         * docs/gst/tmpl/old/gsttee.sgml:
28523         * docs/gst/tmpl/old/gsttimecache.sgml:
28524         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28525         * docs/gst/tmpl/old/gstxmlregistry.sgml:
28526         * docs/gst/tmpl/old/gthread-cothreads.sgml:
28527         * docs/gst/tmpl/old/types.sgml:
28528           I didn't intend to add these or check them in.
28529
28530 2005-05-19  David Schleef  <ds@schleef.org>
28531
28532         * configure.ac: Use -no-common everywhere.  In a sane world, it
28533           would be the default in libtool, because without it, you can't
28534           build DLLs on Windows.
28535         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28536         * docs/gst/gstreamer-sections.txt:
28537         * docs/gst/tmpl/gstcpu.sgml:
28538         * docs/gst/tmpl/gstdata.sgml:
28539         * docs/gst/tmpl/gstthread.sgml:
28540
28541 2005-05-19  David Schleef  <ds@schleef.org>
28542
28543         * gst/gstminiobject.c: (gst_value_set_mini_object),
28544         (gst_value_take_mini_object), (gst_value_get_mini_object):
28545         * gst/gstminiobject.h: Add GValue set/get functions.
28546
28547 2005-05-19  Wim Taymans  <wim@fluendo.com>
28548
28549         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28550         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28551         (gst_subbuffer_init), (gst_buffer_is_span_fast):
28552         * gst/gstbuffer.h:
28553         * gst/gstbus.c: (gst_bus_post):
28554         * gst/gstelement.c: (gst_element_get_random_pad):
28555         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28556         Make subbufer unref the parent in finalize.
28557         some more debugging info.
28558
28559
28560 2005-05-19  Wim Taymans  <wim@fluendo.com>
28561
28562         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28563         (gst_basesink_init), (gst_basesink_finalize),
28564         (gst_basesink_activate), (gst_basesink_change_state):
28565         Don't free preroll queue too early.
28566
28567 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28568
28569         * gst/Makefile.am:
28570         * gst/ROADMAP:
28571           Hi, I'm outdated. Please shoot me.
28572
28573 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28574
28575         * gst/gstpipeline.c: (gst_pipeline_send_event):
28576           Do not access variables after they have been deleted.
28577
28578 2005-05-19  Wim Taymans  <wim@fluendo.com>
28579
28580         * tools/gst-inspect.c: (print_plugin_features):
28581         A plugin feature does unfortunatly not use the
28582         object name yet...
28583
28584 2005-05-18  Wim Taymans  <wim@fluendo.com>
28585
28586         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28587         Port _span() functions to new subbuffers.
28588
28589 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28590
28591         * gst/gstbin.c: (gst_bin_add_func):
28592           Fix clock settery in bins when adding kids after the clock has
28593           been selected.
28594
28595 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28596
28597         * gst/elements/gstidentity.c: (gst_identity_class_init):
28598           Workaround until signals support GstMiniObject.
28599
28600 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28601
28602         * gst/gstbuffer.c:
28603         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28604
28605 2005-05-18  Wim Taymans  <wim@fluendo.com>
28606
28607         * gst/base/Makefile.am:
28608         * gst/base/gstadapter.c: (gst_adapter_base_init),
28609         (gst_adapter_class_init), (gst_adapter_init),
28610         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28611         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28612         (gst_adapter_flush), (gst_adapter_available),
28613         (gst_adapter_available_fast):
28614         * gst/base/gstadapter.h:
28615         Ported and added adapter to the base classes.
28616
28617 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28618
28619         * gst/gst.c:
28620         * gst/gstmessage.c:
28621           Make sure the class is reffed/unreffed once before threads can be
28622           used.  Fixes #304551.
28623
28624 2005-05-17  Wim Taymans  <wim@fluendo.com>
28625
28626         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28627         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28628         * gst/gstminiobject.c: (gst_mini_object_get_type),
28629         (gst_mini_object_free):
28630         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28631         (gst_pad_push), (gst_pad_push_event):
28632         * gst/gstqueue.c: (gst_queue_change_state):
28633         Don't queue buffers in basesink when we are flushing.
28634         Unref buffer when flushing in basesink.
28635         Flush queue when going to READY
28636         Unref buffer when _push() returns an error.
28637         Don't free MiniObject instance when refcount is incremented
28638         in _finalize() so that we can recover objects.
28639
28640 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28641
28642         * docs/manual/advanced-schedulers.xml:
28643         * docs/manual/appendix-checklist.xml:
28644         * docs/pwg/advanced-clock.xml:
28645         * docs/pwg/advanced-interfaces.xml:
28646         * docs/pwg/advanced-request.xml:
28647         * docs/pwg/advanced-types.xml:
28648         * docs/pwg/intro-preface.xml:
28649         * examples/plugins/example.c: (gst_example_get_type),
28650         (gst_example_class_init), (gst_example_chain),
28651         (gst_example_set_property), (gst_example_get_property),
28652         (gst_example_change_state), (plugin_init):
28653         * examples/plugins/example.h:
28654           small doc fixes
28655
28656 2005-05-17  Wim Taymans  <wim@fluendo.com>
28657
28658         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28659         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28660         * gst/gstqueue.c: (gst_queue_change_state):
28661         Clear queue when going to READY.
28662         Remove IN_SETCAPS flag too.
28663
28664 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28665
28666         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28667           Remove implicit cast from gboolean to GstElementStateReturn;
28668           make sure we still return failure in paused => ready case if
28669           the parent class fails to change state and our own stop 
28670           vfunc succeeds.
28671
28672 2005-05-17  Wim Taymans  <wim@fluendo.com>
28673
28674         * tools/gst-launch.c: (event_loop):
28675         Message was unreffed too soon.
28676
28677 2005-05-16  Andy Wingo  <wingo@pobox.com>
28678
28679         * gst/gstbin.c (sink_iterator_filter): Err... um...
28680
28681         * check/gst/gstbin.c (test_ghost_pads): New test for the
28682         ghosting-if-elements-not-in-same-bin behavior.
28683
28684 2005-05-16  David Schleef  <ds@schleef.org>
28685
28686         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28687         accessing refcount directly.
28688
28689 2005-05-15  David Schleef  <ds@schleef.org>
28690
28691         * check/Makefile.am: remove GstData checks
28692         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28693         * gst/Makefile.am: add miniobject, remove data
28694         * gst/gst.h: add miniobject, remove data
28695         * gst/gstdata.c: remove
28696         * gst/gstdata.h: remove
28697         * gst/gstdata_private.h: remove
28698         * gst/gsttypes.h: remove GstEvent and GstMessage
28699         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28700         * gst/gstmarshal.list: change BOXED -> OBJECT
28701
28702         Implement GstMiniObject.
28703         * gst/gstminiobject.c:
28704         * gst/gstminiobject.h:
28705
28706         Modify to be subclasses of GstMiniObject.
28707         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28708         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28709         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28710         (gst_subbuffer_get_type), (gst_subbuffer_init),
28711         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28712         (gst_buffer_span):
28713         * gst/gstbuffer.h:
28714         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28715         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28716         (_gst_event_copy), (gst_event_new):
28717         * gst/gstevent.h:
28718         * gst/gstmessage.c: (_gst_message_initialize),
28719         (gst_message_get_type), (gst_message_class_init),
28720         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28721         (gst_message_new), (gst_message_new_error),
28722         (gst_message_new_warning), (gst_message_new_tag),
28723         (gst_message_new_state_changed), (gst_message_new_application):
28724         * gst/gstmessage.h:
28725         * gst/gstprobe.c: (gst_probe_perform),
28726         (gst_probe_dispatcher_dispatch):
28727         * gst/gstprobe.h:
28728         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28729         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28730         (_gst_query_copy), (gst_query_new):
28731
28732         Update elements for GstData -> GstMiniObject changes
28733         * gst/gstquery.h:
28734         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28735         (gst_queue_chain), (gst_queue_loop):
28736         * gst/elements/gstbufferstore.c:
28737         (gst_buffer_store_add_buffer_func),
28738         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28739         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28740         (gst_fakesink_render):
28741         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28742         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28743         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28744         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28745         (gst_filesrc_create_read):
28746         * gst/elements/gstidentity.c: (gst_identity_class_init):
28747         * gst/elements/gsttypefindelement.c:
28748         (gst_type_find_element_src_event), (free_entry_buffers),
28749         (gst_type_find_element_handle_event):
28750         * libs/gst/dataprotocol/dataprotocol.c:
28751         (gst_dp_header_from_buffer):
28752         * libs/gst/dataprotocol/dataprotocol.h:
28753         * libs/gst/dataprotocol/dp-private.h:
28754
28755 2005-05-15  David Schleef  <ds@schleef.org>
28756
28757         * gst/elements/gstelements.c: Don't include headers that were
28758         just removed.
28759
28760 2005-05-15  David Schleef  <ds@schleef.org>
28761
28762         * gst/elements/Makefile.am: Remove some elements that don't
28763         need to be in the core (or even exist at all).
28764         * gst/elements/gstaggregator.c:
28765         * gst/elements/gstaggregator.h:
28766         * gst/elements/gstmd5sink.c:
28767         * gst/elements/gstmd5sink.h:
28768         * gst/elements/gstmultifilesrc.c:
28769         * gst/elements/gstmultifilesrc.h:
28770         * gst/elements/gstpipefilter.c:
28771         * gst/elements/gstpipefilter.h:
28772         * gst/elements/gstshaper.c:
28773         * gst/elements/gstshaper.h:
28774         * gst/elements/gststatistics.c:
28775         * gst/elements/gststatistics.h:
28776         * po/POTFILES.in: Remove above files.
28777
28778 2005-05-14  Andy Wingo  <wingo@pobox.com>
28779
28780         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28781         so as to get the refs right.
28782         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28783         unreffing objects that don't pass the filter.
28784
28785         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28786         gst_element_set_bus.
28787         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28788         normal cases, this will destroy the bus.
28789
28790         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28791         object.
28792
28793         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28794         has no sinks.
28795
28796 2005-05-13  Andy Wingo  <wingo@pobox.com>
28797
28798         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28799         gst_pad_link, call pad_link_maybe_ghosting,
28800         (pad_link_maybe_ghosting): Links pads, making sure that the
28801         elements being linked are in the same bin.
28802         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28803         Helpers for pad_link_maybe_ghosting.
28804
28805 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28806
28807         * configure.ac:
28808           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28809
28810 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28811
28812         * docs/design/part-element-source.txt:
28813           Mention GstPushSrc
28814
28815 2005-05-12  Wim Taymans  <wim@fluendo.com>
28816
28817         * gst/base/gstbasesink.c: (gst_basesink_init),
28818         (gst_basesink_activate):
28819         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28820         (gst_basesrc_is_seekable):
28821         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28822         (bin_element_is_sink), (gst_bin_change_state):
28823         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28824         * gst/gstelement.h:
28825         Identify sinks by their flag to avoid overly complicated
28826         checks (fow now).
28827         Do state changes even for elements not reachable from the
28828         sinks.
28829         BaseSink is a sink now :)
28830         Some more debugging info in the basesrc.
28831
28832
28833 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28834
28835         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28836           Implement _query on a bin, similar to _send_event.
28837
28838 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28839
28840         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28841           Discont event offset format should be GST_FORMAT_BYTES,
28842           not GST_FORMAT_TIME.
28843
28844 2005-05-12  Wim Taymans  <wim@fluendo.com>
28845
28846         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28847         Same fix as Ronald's but without the signal. 
28848
28849 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28850
28851         * gst/gstutils.c: (gst_element_query_position):
28852           No, an element is not a pad.
28853
28854 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28855
28856         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28857         (gst_bin_get_state):
28858           If a child is removed from a bin while we remove the child from
28859           the bin and while we're retrieving its state, signal this to the
28860           get_state function so we abort the wait (instead of waiting for
28861           a timeout) and can immediately re-iterate over all other elements.
28862
28863 2005-05-12  Wim Taymans  <wim@fluendo.com>
28864
28865         * gst/base/Makefile.am:
28866         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28867         (gst_basesrc_start):
28868         * gst/base/gstbasesrc.h:
28869         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28870         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28871         (gst_pushsrc_init), (gst_pushsrc_create):
28872         * gst/base/gstpushsrc.h:
28873         Added is_seekable to BaseSrc
28874         Added simple PushSrc.
28875
28876 2005-05-11  Wim Taymans  <wim@fluendo.com>
28877
28878         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28879         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28880         (gst_element_link_pads), (gst_element_query_position),
28881         (gst_element_query_convert), (intersect_caps_func),
28882         (gst_pad_query_position), (gst_pad_query_convert):
28883         Fix refcounting in utils function.
28884         No point in trying to activate a pad when it's added, it could
28885         be added from the state change function and then we deadlock, the
28886         element has to decide what to do.
28887
28888 2005-05-10  Andy Wingo  <wingo@pobox.com>
28889
28890         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28891         *all* the arguments.
28892
28893         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28894         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28895         lock (according to the docs -- if this is wrong change the docs).
28896
28897         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28898         flush messages in the NULL state.
28899
28900         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28901         message immediately and return.
28902         (gst_bus_set_flushing): New function. If a bus is flushing, it
28903         flushes out any queued messages and immediately unrefs new
28904         messages. This is so when an element goes to NULL, all of the
28905         unhandled messages coming from it can be freed, and their
28906         references to the element dropped. In other words: message source
28907         ref considered harmful :P
28908
28909         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28910         we're finished with it.
28911
28912         * gst/gstmessage.c (gst_message_new_state_changed): 
28913
28914 2005-05-10  Wim Taymans  <wim@fluendo.com>
28915
28916         * gst/gstvalue.c: (gst_value_compare_flags),
28917         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28918         (_gst_value_initialize):
28919         Added flags serialize/deserialize/compare code.
28920
28921 2005-05-09  Andy Wingo  <wingo@pobox.com>
28922
28923         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28924         Intersect the peer's caps with our caps.
28925
28926 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28927
28928         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28929         * gst/elements/gsttypefindelement.c: (find_peek):
28930           Handle negative offsets better. Fixes decodebin.
28931
28932 2005-05-09  Wim Taymans  <wim@fluendo.com>
28933
28934         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28935         (gst_base_transform_event):
28936         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28937         Implement accept_caps.
28938         Fix silly lock/unlock mismatch in base class.
28939
28940 2005-05-09  Wim Taymans  <wim@fluendo.com>
28941
28942         * docs/design/draft-push-pull.txt:
28943         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28944         * gst/elements/gstfilesink.c: (gst_filesink_init),
28945         (gst_filesink_query):
28946         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28947         (gst_type_find_handle_src_query), (find_element_get_length):
28948         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28949         * gst/gstelement.h:
28950         * gst/gstmessage.c:
28951         * gst/gstmessage.h:
28952         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28953         (gst_real_pad_get_caps_unlocked),
28954         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28955         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28956         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28957         (gst_real_pad_dispose), (gst_real_pad_finalize),
28958         (gst_pad_load_and_link), (gst_pad_save_thyself),
28959         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28960         (gst_pad_check_pull_range), (gst_pad_pull_range),
28961         (gst_pad_template_get_type), (gst_pad_template_class_init),
28962         (gst_pad_template_init), (gst_pad_template_dispose),
28963         (name_is_valid), (gst_static_pad_template_get),
28964         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28965         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28966         (gst_pad_get_element_private), (gst_pad_start_task),
28967         (gst_pad_pause_task), (gst_pad_stop_task),
28968         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28969         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28970         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28971         (gst_ghost_pad_new):
28972         * gst/gstpad.h:
28973         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28974         (gst_query_new_position), (gst_query_set_position),
28975         (gst_query_parse_position), (gst_query_new_convert),
28976         (gst_query_set_convert), (gst_query_parse_convert):
28977         * gst/gstquery.h:
28978         * gst/gstqueryutils.c:
28979         * gst/gstqueryutils.h:
28980         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28981         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28982         (gst_queue_handle_src_query):
28983         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28984         (gst_element_query_position), (gst_element_query_convert),
28985         (intersect_caps_func), (gst_pad_query_position),
28986         (gst_pad_query_convert):
28987         * gst/gstutils.h:
28988         * tools/gst-inspect.c: (print_pad_info):
28989         * tools/gst-xmlinspect.c: (print_element_info):
28990         Remove old query functions. Ported old code.
28991         Added position/convert helper functions to gstutils.
28992         Reordered gstpad.c code, grouping relevant things.
28993         Remove gst_message_new(), always need to speficy a specific
28994         message.
28995
28996
28997 2005-05-09  Andy Wingo  <wingo@pobox.com>
28998
28999         * gst/gstiterator.h: Add some includes.
29000
29001         * gst/gstqueryutils.h: Include more headers.
29002
29003         * gst/gstpad.h:
29004         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
29005         some uses of gst_pad_query.
29006
29007         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
29008         NULL out parameters.
29009         (gst_query_new_position): New proc, allocates a new position
29010         query.
29011
29012         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
29013         gstqueryutils.c to the build.
29014
29015         * gst/gststructure.c (gst_structure_set_valist): Implement with
29016         the generic G_VALUE_COLLECT.
29017         
29018 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
29019
29020         * gst/Makefile.am: (gst_headers):
29021         Added gstqueryutils.h to the list of headers to install, that was
29022         a 'nachty' move wingo :)
29023
29024 2005-05-06  Andy Wingo  <wingo@pobox.com>
29025
29026         * gst/gstquery.h
29027         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
29028         GstData, init a memchunk.
29029         (standard_definitions): Add a few query types, deprecate a few.
29030         (gst_query_get_type): New proc.
29031         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
29032         implementation.
29033         (gst_query_new_application, gst_query_get_structure): New public
29034         procs.
29035
29036         * docs/design/draft-query.txt: Removed LINKS from the query types,
29037         because all the rest can be dispatched to other pads -- seemed
29038         ugly to have a query that couldn't be dispatched. internal_links
29039         is fine as a pad method.
29040
29041         * gst/gstpad.h: Add query2 as a pad method, add the new functions
29042         in gstpad.c, but maintain binary compatibility for the moment.
29043         Will fix before 0.9 is out.
29044
29045         * gst/gstqueryutils.c: 
29046         * gst/gstqueryutils.h: New files, implement 3 methods for each
29047         query type: parse_query, parse_response, and set. Probably need an
29048         allocator as well.
29049
29050         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
29051
29052         * gst/elements/gstfilesink.c (gst_filesink_query2):
29053         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
29054         query_types, and formats methods.
29055
29056         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
29057         (gst_pad_set_query2_function): New functions.
29058         (gst_real_pad_init): Set query2_default as the default query2
29059         function. Basically just dispatches to internally linked pads.
29060
29061         Needs review!
29062         
29063         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
29064         without using the atomic operations. Only one thread can possibly
29065         be accessing the data at this point. Changed so as to avoid
29066         gst_atomic operations.
29067
29068 2005-05-06  Wim Taymans  <wim@fluendo.com>
29069
29070         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
29071         Also set caps if we use the fallback buffer alloc.
29072
29073 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
29074
29075         * docs/gst/Makefile.am:
29076         * docs/gst/gstreamer-docs.sgml:
29077         * docs/gst/gstreamer-sections.txt:
29078         * docs/gst/tmpl/gstatomic.sgml:
29079         * docs/gst/tmpl/gstmemchunk.sgml:
29080         * testsuite/elements/struct_i386.h:
29081         * win32/GStreamer.vcproj:
29082         * win32/Makefile:
29083           Purge GstAtomic stuff from docs and win32 makefiles as well
29084
29085 2005-05-06  Wim Taymans  <wim@fluendo.com>
29086
29087         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
29088         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
29089         * gst/gstpad.c: (gst_pad_peer_get_caps):
29090         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
29091         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
29092         (gst_queue_src_activate), (gst_queue_change_state):
29093         * gst/gstqueue.h:
29094         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29095         (intersect_caps_func):
29096         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
29097         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
29098         Some fixes for the peer_get_caps() change.
29099
29100 2005-05-06  Wim Taymans  <wim@fluendo.com>
29101
29102         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29103         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
29104         (gst_basesink_activate):
29105         Actually do something with error codes returned from the push
29106         functions.
29107
29108 2005-05-06  Wim Taymans  <wim@fluendo.com>
29109
29110         * docs/design/part-element-sink.txt:
29111         * docs/design/part-element-source.txt:
29112         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29113         (gst_basesink_event), (gst_basesink_activate):
29114         * gst/base/gstbasesink.h:
29115         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
29116         (gst_basesrc_activate):
29117         * gst/base/gstbasesrc.h:
29118         * gst/gstelement.c: (gst_element_pads_activate):
29119         Some more documentation.
29120         Fixed scheduling decision in _pads_activate().
29121
29122 2005-05-05  Andy Wingo  <wingo@pobox.com>
29123
29124         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
29125         the test suite.
29126
29127 2005-05-05  Wim Taymans  <wim@fluendo.com>
29128
29129         * gst/base/Makefile.am:
29130         * gst/base/gstbasesink.h:
29131         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29132         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
29133         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
29134         (gst_collectpads_class_init), (gst_collectpads_init),
29135         (gst_collectpads_finalize), (gst_collectpads_new),
29136         (gst_collectpads_set_function), (gst_collectpads_add_pad),
29137         (find_pad), (gst_collectpads_remove_pad),
29138         (gst_collectpads_is_active), (gst_collectpads_collect),
29139         (gst_collectpads_collect_range), (gst_collectpads_start),
29140         (gst_collectpads_stop), (gst_collectpads_peek),
29141         (gst_collectpads_pop), (gst_collectpads_available),
29142         (gst_collectpads_read), (gst_collectpads_flush),
29143         (gst_collectpads_chain):
29144         * gst/base/gstcollectpads.h:
29145         * gst/elements/Makefile.am:
29146         * gst/elements/gstelements.c:
29147         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29148         (gst_fakesink_get_times), (gst_fakesink_event),
29149         (gst_fakesink_preroll), (gst_fakesink_render):
29150         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
29151         (gst_filesink_init), (gst_filesink_set_location),
29152         (gst_filesink_open_file), (gst_filesink_close_file),
29153         (gst_filesink_pad_query), (gst_filesink_event),
29154         (gst_filesink_render), (gst_filesink_change_state):
29155         * gst/elements/gstfilesink.h:
29156         Added object to help in making collect pad based elements.
29157         Ported filesink.
29158         Make event function in sink baseclass return gboolean.
29159
29160 2005-05-05  Wim Taymans  <wim@fluendo.com>
29161
29162         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
29163         (gst_bin_get_by_name):
29164         * gst/gstbuffer.h:
29165         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
29166         (gst_clock_finalize):
29167         * gst/gstdata.c: (gst_data_replace):
29168         * gst/gstdata.h:
29169         * gst/gstelement.c: (gst_element_request_pad),
29170         (gst_element_pads_activate):
29171         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
29172         (gst_object_unref):
29173         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29174         (gst_pad_set_checkgetrange_function),
29175         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
29176         (gst_pad_check_pull_range), (gst_pad_pull_range),
29177         (gst_static_pad_template_get_caps), (gst_pad_start_task),
29178         (gst_pad_pause_task), (gst_pad_stop_task):
29179         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29180         (gst_element_request_pad), (gst_pad_proxy_getcaps):
29181         Fix name lookup in GstBin.
29182         Added _data_replace() function and _buffer_replace()
29183         Use finalize method to clean up clock.
29184         Fix refcounting on request pads.
29185         Fix pad schedule mode error.
29186         Some more object refcounting debug info,
29187
29188
29189 2005-05-04  Andy Wingo <wingo@pobox.com>
29190
29191         * check/Makefile.am:
29192         * docs/gst/tmpl/gstatomic.sgml:
29193         * docs/gst/tmpl/gstplugin.sgml:
29194         * gst/base/gstbasesink.c: (gst_basesink_activate):
29195         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
29196         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
29197         (gst_basesrc_query), (gst_basesrc_set_property),
29198         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
29199         (gst_basesrc_activate):
29200         * gst/base/gstbasesrc.h:
29201         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
29202         (gst_base_transform_src_activate):
29203         * gst/elements/gstelements.c:
29204         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29205         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29206         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29207         * gst/elements/gsttypefindelement.c: (find_element_get_length),
29208         (gst_type_find_element_checkgetrange),
29209         (gst_type_find_element_activate):
29210         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
29211         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
29212         (gst_caps_load_thyself):
29213         * gst/gstelement.c: (gst_element_pads_activate),
29214         (gst_element_save_thyself), (gst_element_restore_thyself):
29215         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
29216         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
29217         * gst/gstpad.h:
29218         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
29219         (gst_xml_parse_file), (gst_xml_parse_memory),
29220         (gst_xml_get_element), (gst_xml_make_element):
29221         * gst/indexers/gstfileindex.c: (gst_file_index_load),
29222         (_file_index_id_save_xml), (gst_file_index_commit):
29223         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
29224         (read_enum), (load_pad_template), (load_feature), (load_plugin),
29225         (load_paths):
29226         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
29227         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
29228         * tools/gst-complete.c: (main):
29229         * tools/gst-compprep.c: (main):
29230         * tools/gst-inspect.c: (print_element_properties_info):
29231         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
29232         * tools/gst-xmlinspect.c: (print_element_properties):
29233         GCC 4 fixen.
29234         
29235 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
29236
29237         * gst/gstplugin.c: (gst_plugin_check_module),
29238         (gst_plugin_check_file), (gst_plugin_load_file):
29239             apply patch from #172526 to make register work on MacOSX
29240
29241 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29242
29243         * docs/gst/tmpl/gstconfig.sgml:
29244         * gst/gstconfig.h.in:
29245           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
29246         * testsuite/debug/printf_extension.c: (main):
29247           Do not use GST_PTR_FORMAT on pointers to types with
29248           sizeof < sizeof(gpointer).  Fixes test on 64-bit
29249         * testsuite/elements/property.h:
29250           use correct printf format
29251
29252 2005-05-02  Wim Taymans  <wim@fluendo.com>
29253
29254         * docs/design/draft-push-pull.txt:
29255         * docs/design/draft-query.txt:
29256         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
29257         (gst_basesrc_start):
29258         Added draft for new query API.
29259         Added draft for better selecting scheduling methods.
29260         Make basesrc ignore length if the subclass does not support
29261         it.
29262
29263 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29264
29265         * gst/Makefile.am:
29266           possible fixes for automake-1.5 - _LIBADD is reserved
29267
29268 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29269
29270         * docs/faq/Makefile.am:
29271         * docs/manual/Makefile.am:
29272         * docs/manuals.mak:
29273         * docs/pwg/Makefile.am:
29274         * gst/Makefile.am:
29275           possible fixes for automake-1.5
29276
29277 2005-04-28  Wim Taymans  <wim@fluendo.com>
29278
29279         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29280         (gst_basesink_pad_getcaps), (gst_basesink_init),
29281         (gst_basesink_do_sync):
29282         * gst/gstclock.c: (gst_clock_entry_new):
29283         * gst/gstevent.c: (gst_event_discont_get_value):
29284         * gst/gstpipeline.c: (pipeline_bus_handler),
29285         (gst_pipeline_change_state):
29286         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29287         Better debugging of clocking info.
29288         Allow NULL values when getting discont values.
29289
29290 2005-04-27  Wim Taymans  <wim@fluendo.com>
29291
29292         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29293         * check/gst/gstpad.c: (gst_pad_suite):
29294         Increase timeout for checks.
29295
29296 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29297
29298         * check/Makefile.am:
29299           fix the broken rule for cleanup.  Apparently this rule is
29300           only needed on FC2, so maybe this warrants further autotool
29301           inspection.
29302
29303 2005-04-26  Wim Taymans  <wim@fluendo.com>
29304
29305         * gst/gsttrashstack.h:
29306         Ooohh. a nasty one! After having a failed pop() from the stack,
29307         it's possible that the stack is empty. In that case, don't
29308         follow the NULL pointer.
29309
29310 2005-04-25  Wim Taymans  <wim@fluendo.com>
29311
29312         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29313         (gst_pad_set_checkgetrange_function),
29314         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29315         (gst_pad_check_pull_range), (gst_pad_pull_range),
29316         (gst_static_pad_template_get_caps), (gst_pad_start_task),
29317         (gst_pad_pause_task), (gst_pad_stop_task):
29318         * gst/gstplugin.c: (gst_plugin_load):
29319         * gst/gstplugin.h:
29320         Remove gst_library_load as it does more harm than good with
29321         the new g_module flags.
29322         Revert bogus caps template check in pad linking, pad caps
29323         are important when linking not the template, which is more
29324         general than the current caps.
29325
29326 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29327
29328         * gst/autoplug/.cvsignore:
29329         * gst/autoplug/Makefile.am:
29330         * gst/autoplug/gstsearchfuncs.c:
29331         * gst/autoplug/gstsearchfuncs.h:
29332         * gst/autoplug/gstspider.c:
29333         * gst/autoplug/gstspider.h:
29334         * gst/autoplug/gstspideridentity.c:
29335         * gst/autoplug/gstspideridentity.h:
29336         * gst/autoplug/spidertest.c:
29337           Die, spider, die.
29338
29339 2005-04-25  Wim Taymans  <wim@fluendo.com>
29340
29341         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29342         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29343         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29344         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29345         * gst/gstpad.h:
29346         Added stubs for unimplemented functions. 
29347
29348 2005-04-24  David Schleef  <ds@schleef.org>
29349
29350         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
29351         please fix.
29352
29353 2005-04-24  David Schleef  <ds@schleef.org>
29354
29355         Convert everything from GstAtomicInt to g_atomic_int_*, and
29356         remove gstatomic.
29357         * gst/Makefile.am:
29358         * gst/gstatomic.c:
29359         * gst/gstatomic.h:
29360         * gst/gstatomic_impl.h:
29361         * gst/gstbuffer.c:
29362         * gst/gstcaps.c:
29363         * gst/gstcaps.h:
29364         * gst/gstclock.c:
29365         * gst/gstclock.h:
29366         * gst/gstdata.c:
29367         * gst/gstdata.h:
29368         * gst/gstdata_private.h:
29369         * gst/gstevent.c:
29370         * gst/gstinfo.c:
29371         * gst/gstinfo.h:
29372         * gst/gstmessage.c:
29373         * gst/gstobject.c:
29374         * gst/gstobject.h:
29375         * gst/gststructure.c:
29376         * gst/gststructure.h:
29377         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29378         * gst/gstutils.h:
29379
29380 2005-04-24  David Schleef  <ds@schleef.org>
29381
29382         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29383         make the regressions tests work.  Remove some code that is no
29384         longer true.
29385         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29386         Disable warning for pads without templates.
29387
29388 2005-04-24  David Schleef  <ds@schleef.org>
29389
29390         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
29391         functions that handle filtered links.
29392         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29393         removed functions.
29394         * gst/gstutils.c: Fix/remove utility functions that handle
29395         filtered caps.
29396         * gst/gstutils.h:
29397         * gst/gstvalue.c: Add serialization/deserialization of caps
29398         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
29399         requires fixing so that the filter caps notation creates
29400         a capsfilter element and sets the filter_caps property.  I
29401         think everyone probably wants to keep the shorthand notation.
29402         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29403         * docs/gst/tmpl/gstpad.sgml:
29404
29405         * gst/elements/gstelements.c: Register capsfilter element.
29406         * gst/Makefile.am: fix spacing
29407         * docs/random/ds/0.9-suggested-changes: random
29408
29409 2005-04-23  David Schleef  <ds@schleef.org>
29410
29411         * gst/elements/Makefile.am:
29412         * gst/elements/gstcapsfilter.c: New element that acts like an
29413         identity, but filters caps.  Will eventually replace filtered
29414         caps in pad linking.
29415         * gst/gstutils.c: (gst_element_create_all_pads): New function
29416         to create all the ALWAYS pads that are registered with an
29417         element class.  This functionality should eventually be
29418         merged in with GstElement initialization.
29419         * gst/gstutils.h:
29420         * testsuite/trigger/README: part of trigger test code that should
29421         have been checked in a long time ago.
29422
29423 2005-04-23  David Schleef  <ds@schleef.org>
29424
29425         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
29426         needed with new versions of libtool (nobody will confirm this),
29427         and hard to carry around.
29428         * gst/autoplug/Makefile.am:
29429         * gst/base/Makefile.am:
29430         * gst/elements/Makefile.am:
29431         * gst/indexers/Makefile.am:
29432         * gst/schedulers/Makefile.am:
29433         * libs/gst/bytestream/Makefile.am:
29434         * libs/gst/control/Makefile.am:
29435         * libs/gst/dataprotocol/Makefile.am:
29436         * libs/gst/getbits/Makefile.am:
29437
29438 2005-04-21  Wim Taymans  <wim@fluendo.com>
29439
29440         * docs/design/draft-push-pull.txt:
29441         * docs/design/part-MT-refcounting.txt:
29442         * docs/design/part-TODO.txt:
29443         * docs/design/part-caps.txt:
29444         * docs/design/part-events.txt:
29445         * docs/design/part-gstbus.txt:
29446         * docs/design/part-gstpipeline.txt:
29447         * docs/design/part-messages.txt:
29448         * docs/design/part-push-pull.txt:
29449         * docs/design/part-query.txt:
29450         Some more docs.
29451
29452 2005-04-21  Wim Taymans  <wim@fluendo.com>
29453
29454         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29455         (gst_message_new), (gst_message_new_error),
29456         (gst_message_new_warning), (gst_message_new_tag),
29457         (gst_message_new_state_changed), (gst_message_new_application),
29458         (gst_message_get_structure):
29459         * gst/gstmessage.h:
29460         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29461         (gst_structure_copy_conditional):
29462         Use parent refcount in GstMessage to ensure GstStructure
29463         consistency.
29464         Cleaned up headers a bit.
29465         
29466
29467 2005-04-20  Wim Taymans  <wim@fluendo.com>
29468
29469         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29470         (gst_basesink_pad_getcaps), (gst_basesink_init),
29471         (gst_basesink_chain_unlocked):
29472         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29473         (gst_type_find_helper):
29474         * gst/elements/gsttypefindelement.c:
29475         (gst_type_find_element_have_type), (gst_type_find_element_init),
29476         (stop_typefinding), (gst_type_find_element_handle_event),
29477         (find_suggest), (gst_type_find_element_chain),
29478         (gst_type_find_element_checkgetrange),
29479         (gst_type_find_element_getrange), (do_typefind),
29480         (gst_type_find_element_activate):
29481         * gst/gstbuffer.c: (_gst_buffer_sub_free),
29482         (gst_buffer_default_free), (gst_buffer_default_copy),
29483         (gst_buffer_set_caps):
29484         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29485         (gst_caps_replace):
29486         * gst/gstmessage.c: (gst_message_new),
29487         (gst_message_new_state_changed):
29488         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29489         (gst_pad_set_checkgetrange_function),
29490         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29491         (gst_pad_set_caps), (gst_pad_check_pull_range),
29492         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29493         * gst/gstpad.h:
29494         * gst/gsttypefind.c: (gst_type_find_register):
29495         Make gst_caps_replace() work like other _replace() functions.
29496         Use _caps_replace() where possible.
29497         Make sure _message_new() initialises its field.
29498         Add gst_static_pad_template_get_caps()
29499
29500
29501 2005-04-18  Andy Wingo  <wingo@pobox.com>
29502
29503         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29504         on the peer, not the pad. I think that was a typo. Pass an extra
29505         arg to see if random access is possible. Activate the pads as
29506         PULL_RANGE if possible.
29507
29508         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29509
29510         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
29511         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29512         to PROP_....
29513
29514 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29515
29516         * docs/faq/using.xml:
29517           Add note on gstreamer-properties (#154996).
29518
29519 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29520
29521         * docs/random/bbb/optional-properties:
29522           Some analysis on optional properties.
29523
29524 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29525
29526         * docs/gst/tmpl/gstelementfactory.sgml:
29527         * gst/gstelement.h:
29528         * gst/gstelementfactory.c: (gst_element_factory_init),
29529         (gst_element_factory_cleanup), (gst_element_register),
29530         (__gst_element_factory_add_static_pad_template),
29531         (gst_element_factory_get_static_pad_templates),
29532         (gst_element_factory_can_src_caps),
29533         (gst_element_factory_can_sink_caps):
29534         * gst/registries/Makefile.am:
29535         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29536         (gst_xml_registry_class_init), (gst_xml_registry_init),
29537         (gst_xml_registry_new), (gst_xml_registry_set_property),
29538         (gst_xml_registry_get_property), (get_time), (make_dir),
29539         (gst_xml_registry_get_perms_func),
29540         (plugin_times_older_than_recurse), (plugin_times_older_than),
29541         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29542         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29543         (add_to_char_array), (read_string), (read_uint), (read_enum),
29544         (load_pad_template), (load_feature), (load_plugin), (load_paths),
29545         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29546         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29547         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29548         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29549         (gst_xml_registry_rebuild):
29550         * gst/registries/gstlibxmlregistry.h:
29551         * tools/gst-compprep.c: (main):
29552         * tools/gst-inspect.c: (print_pad_templates_info):
29553         * tools/gst-xmlinspect.c: (print_element_info):
29554           Use libxml2 for registry parsing, use staticpadtemplates in
29555           elementfactories. Makes gst_init() +/- 10x faster.
29556
29557 2005-04-12  Wim Taymans  <wim@fluendo.com>
29558
29559         * gst/base/Makefile.am:
29560         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29561         (gst_basesink_pad_getcaps), (gst_basesink_init),
29562         (gst_basesink_event), (gst_basesink_change_state):
29563         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29564         (gst_basesrc_init), (gst_basesrc_query),
29565         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29566         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29567         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29568         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29569         (gst_basesrc_stop), (gst_basesrc_activate),
29570         (gst_basesrc_change_state):
29571         * gst/base/gsttypefindhelper.c: (helper_find_peek),
29572         (helper_find_suggest), (gst_type_find_helper):
29573         * gst/base/gsttypefindhelper.h:
29574         * gst/elements/Makefile.am:
29575         * gst/elements/gstelements.c:
29576         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29577         (gst_fakesink_get_times), (gst_fakesink_event),
29578         (gst_fakesink_preroll), (gst_fakesink_render):
29579         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29580         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29581         (gst_fakesrc_get_property), (gst_fakesrc_create),
29582         (gst_fakesrc_start), (gst_fakesrc_stop):
29583         * gst/elements/gstfakesrc.h:
29584         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29585         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29586         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29587         (gst_filesrc_create_read), (gst_filesrc_create),
29588         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29589         (gst_filesrc_start):
29590         * gst/elements/gsttypefindelement.c:
29591         (gst_type_find_element_have_type), (gst_type_find_element_init),
29592         (start_typefinding), (stop_typefinding), (push_buffer_store),
29593         (gst_type_find_element_handle_event),
29594         (gst_type_find_element_chain),
29595         (gst_type_find_element_checkgetrange),
29596         (gst_type_find_element_getrange), (do_typefind),
29597         (gst_type_find_element_activate),
29598         (gst_type_find_element_change_state):
29599         * gst/elements/gsttypefindelement.h:
29600         * gst/gstpipeline.c: (pipeline_bus_handler):
29601         Added typefind helper.
29602         Small preroll fix in the base sink.
29603         Disable typefind code in basesrc.
29604         Crude port of typefindelement.
29605         Fakesrc cleanups.
29606
29607
29608 2005-04-11  Wim Taymans  <wim@fluendo.com>
29609
29610         * check/gst/gstbus.c: (gstbus_suite):
29611         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29612         * check/gstcheck.h:
29613           Fix up the timeout so that the test does not fail.
29614
29615 2005-04-06  Wim Taymans  <wim@fluendo.com>
29616
29617         * gst/base/README:
29618         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29619         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29620         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29621         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29622         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29623         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29624         (gst_basesrc_stop), (gst_basesrc_activate),
29625         (gst_basesrc_change_state), (basesrc_find_peek),
29626         (basesrc_find_suggest), (gst_basesrc_type_find):
29627         * gst/base/gstbasesrc.h:
29628         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29629         (gst_filesrc_class_init), (gst_filesrc_init),
29630         (gst_filesrc_finalize), (gst_filesrc_set_location),
29631         (gst_filesrc_set_property), (gst_filesrc_get_property),
29632         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29633         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29634         (gst_filesrc_create_read), (gst_filesrc_create),
29635         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29636         * gst/elements/gstfilesrc.h:
29637         * gst/gstelement.c: (gst_element_get_state_func),
29638         (gst_element_lost_state), (gst_element_pads_activate):
29639         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29640         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29641         (gst_pad_pull_range):
29642         * gst/gstpad.h:
29643         More work on the generic source base class, implement seeking,
29644         query.
29645         Make filesrc extend the base source class.
29646         Added gst_pad_set_checkgetrange_function to GstPad.
29647
29648 2005-04-06  Andy Wingo  <wingo@pobox.com>
29649
29650         * pkgconfig/gstreamer-base.pc.in:
29651         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29652
29653         * pkgconfig/Makefile.am:
29654         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29655
29656 2005-04-04  Wim Taymans  <wim@fluendo.com>
29657
29658         * gst/base/Makefile.am:
29659         * gst/base/README:
29660         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29661         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29662         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29663         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29664         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29665         (gst_basesrc_base_init), (gst_basesrc_class_init),
29666         (gst_basesrc_init), (gst_basesrc_get_formats),
29667         (gst_basesrc_get_query_types), (gst_basesrc_query),
29668         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29669         (gst_basesrc_set_property), (gst_basesrc_get_property),
29670         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29671         (gst_basesrc_loop), (gst_basesrc_activate),
29672         (gst_basesrc_change_state):
29673         * gst/base/gstbasesrc.h:
29674         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29675         (gst_fakesrc_class_init), (gst_fakesrc_init),
29676         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29677         (gst_fakesrc_get_property), (gst_fakesrc_create):
29678         * gst/elements/gstfakesrc.h:
29679         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29680         (gst_filesrc_open_file), (gst_filesrc_loop),
29681         (gst_filesrc_activate), (filesrc_find_peek),
29682         (gst_filesrc_type_find):
29683         Made base source class, make fakesrc extend it.
29684         Add comments to basesink class.
29685         Some filesrc cleanup.
29686
29687 2005-03-31  David Schleef  <ds@schleef.org>
29688
29689         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29690         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29691         expected to link against libgstreamer.
29692         * gst/base/Makefile.am: link against libgstreamer
29693         * gst/elements/Makefile.am: same
29694
29695 2005-03-31  Andy Wingo  <wingo@pobox.com>
29696
29697         * tests/instantiate/Makefile.am:
29698         * tests/instantiate/caps.c: Add test to test speed of caps copy
29699         and free.
29700
29701         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29702         GMemChunk to be fair.
29703
29704         * gst/gsttrashstack.h: Remove warning about using the fallback
29705         trash stack implementation, it's still faster than malloc.
29706
29707 2005-03-30  Andy Wingo  <wingo@pobox.com>
29708
29709         * tests/complexity.c: Add a copyright.
29710
29711 2005-03-31  Wim Taymans  <wim@fluendo.com>
29712
29713         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29714         (gst_base_transform_class_init), (gst_base_transform_init),
29715         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29716         (gst_base_transform_get_property),
29717         (gst_base_transform_sink_activate),
29718         (gst_base_transform_src_activate),
29719         (gst_base_transform_change_state):
29720         * gst/base/gstbasetransform.h:
29721         * gst/elements/gstidentity.c: (gst_identity_class_init),
29722         (gst_identity_event), (gst_identity_check_perfect),
29723         (gst_identity_transform), (gst_identity_start),
29724         (gst_identity_stop):
29725         Added start/stop methods to transform base class so subclasses 
29726         don't need to deal with state changes even.
29727
29728 2005-03-31  Wim Taymans  <wim@fluendo.com>
29729
29730         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29731         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29732         * gst/gstevent.h:
29733         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29734         (gst_pad_pull_range):
29735         Added rate to the discont event to prepare for variable speed
29736         and reverse playback.
29737
29738 2005-03-29  David Schleef  <ds@schleef.org>
29739
29740         * configure.ac:
29741         * testsuite/trigger/Makefile.am:
29742         * testsuite/trigger/trigger.c: A little example program to show
29743         how trigger-based elements can work.
29744
29745 2005-03-29  Wim Taymans  <wim@fluendo.com>
29746
29747         * gst/base/Makefile.am:
29748         * gst/base/README:
29749         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29750         (gst_basesink_base_init), (gst_basesink_class_init),
29751         (gst_basesink_pad_getcaps), (gst_basesink_init),
29752         (gst_basesink_activate), (gst_basesink_change_state):
29753         * gst/base/gstbasesink.h:
29754         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29755         (gst_base_transform_base_init), (gst_base_transform_finalize),
29756         (gst_base_transform_class_init), (gst_base_transform_init),
29757         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29758         (gst_base_transform_event), (gst_base_transform_getrange),
29759         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29760         (gst_base_transform_set_property),
29761         (gst_base_transform_get_property),
29762         (gst_base_transform_sink_activate),
29763         (gst_base_transform_src_activate),
29764         (gst_base_transform_change_state):
29765         * gst/base/gstbasetransform.h:
29766         * gst/elements/gstidentity.c: (gst_identity_finalize),
29767         (gst_identity_class_init), (gst_identity_init),
29768         (gst_identity_event), (gst_identity_check_perfect),
29769         (gst_identity_transform), (gst_identity_set_property),
29770         (gst_identity_get_property), (gst_identity_change_state):
29771         * gst/elements/gstidentity.h:
29772         * gst/gstelement.c: (gst_element_get_state_func),
29773         (gst_element_lost_state), (gst_element_pads_activate):
29774         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29775         (gst_pad_check_pull_range), (gst_pad_pull_range):
29776         * gst/gstpad.h:
29777         Simplify pad activation.
29778         Added function to check if pull_range can be performed.
29779         Error out when pulling inactive or flushing pads.
29780         Removed const from refcounted types as it does not make sense.
29781         Simplify pad templates in basesink
29782         Added base class for simple 1-to-1 transforms.
29783         Make identity subclass the base transform.
29784
29785 2005-03-29  Andy Wingo  <wingo@pobox.com>
29786
29787         * docs/libs/gstreamer-libs-overrides.txt: 
29788         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29789         really don't understand what's going on, but like whatever. I want
29790         green buildbot!
29791
29792         * docs/gst/Makefile.am:
29793         * docs/libs/Makefile.am: Dist the overrides files.
29794
29795         * check/Makefile.am (clean-local): Remove .libs directories.
29796
29797         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29798         elements to EXTRA_DIST, so po/ files are happy.
29799
29800         * po/POTFILES.in: Er, remove it here.
29801
29802         * po/POTFILES: Remove gstspider.c.
29803
29804         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29805
29806         * docs/libs/gstreamer-libs-docs.sgml: 
29807         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29808         bytestream.
29809
29810         * tests/complexity.c (main): Set the length of the preroll queue
29811         on the sinks to prevent a lockup.
29812
29813         * libs/gst/dataprotocol/Makefile.am: 
29814         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29815         the same as the one in check/gst-libs/gdp.c.
29816
29817         * po/, docs/gst/: Commit automatic changes to docs and po files.
29818
29819         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29820         the versioned libgstbase.
29821
29822         * check/Makefile.am: Depend on an unversioned gst-register, seems
29823         to make autoconf happier.
29824
29825         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29826
29827 2005-03-28  Wim Taymans  <wim@fluendo.com>
29828
29829         * configure.ac:
29830         * docs/design/part-gstelement.txt:
29831         * docs/design/part-negotiation.txt:
29832         * docs/design/part-preroll.txt:
29833         * docs/design/part-scheduling.txt:
29834         * docs/design/part-states.txt:
29835         * gst/Makefile.am:
29836         * gst/base/Makefile.am:
29837         * gst/base/README:
29838         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29839         (gst_basesink_base_init), (gst_basesink_class_init),
29840         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29841         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29842         (gst_basesink_set_pad_functions),
29843         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29844         (gst_basesink_set_property), (gst_basesink_get_property),
29845         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29846         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29847         (gst_basesink_preroll_queue_push),
29848         (gst_basesink_preroll_queue_empty),
29849         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29850         (gst_basesink_event), (gst_basesink_get_times),
29851         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29852         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29853         (gst_basesink_loop), (gst_basesink_activate),
29854         (gst_basesink_change_state):
29855         * gst/base/gstbasesink.h:
29856         * gst/elements/Makefile.am:
29857         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29858         (gst_fakesink_class_init), (gst_fakesink_init),
29859         (gst_fakesink_set_property), (gst_fakesink_get_property),
29860         (gst_fakesink_get_times), (gst_fakesink_event),
29861         (gst_fakesink_preroll), (gst_fakesink_render),
29862         (gst_fakesink_change_state):
29863         * gst/elements/gstfakesink.h:
29864         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29865         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29866         * gst/gstelement.c: (gst_element_add_pad),
29867         (gst_element_get_state_func), (gst_element_abort_state),
29868         (gst_element_commit_state), (gst_element_lost_state),
29869         (gst_element_set_state), (gst_element_pads_activate):
29870         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29871         * gst/gstpipeline.c: (gst_pipeline_send_event),
29872         (gst_pipeline_change_state):
29873         Added state change code.
29874         Added/updated docs.
29875         Added sink base class, make fakesink extend the base class.
29876         Small cleanups in GstPipeline.
29877
29878 2005-03-26  David Schleef  <ds@schleef.org>
29879
29880         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29881         is broken and should be implemented in a different library.
29882         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29883         * gst/gst.h: remove gstcpu.h
29884         * gst/gstcpu.c: remove
29885         * gst/gstcpu.h: remove
29886         * gst/Makefile.am.future: Remove this file.  It's ancient.
29887
29888 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29889
29890         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29891         (gst_bin_send_event):
29892           Add default event/set_manager handlers. The set_manager handler
29893           takes care that the manager is distributed over kids that were
29894           already in the bin before the manager was set. The event handler
29895           is a utility virtual function that sends the event over all sinks,
29896           so that gst_element_send_event (bin, event); has the expected
29897           behaviour.
29898         * gst/gstpad.c: (gst_pad_event_default):
29899           Re-install default event handling for discontinuities, so that
29900           seeking works without requiring hacks in applications or extra
29901           code in sinks.
29902         * gst/gstpipeline.c: (gst_pipeline_class_init),
29903         (gst_pipeline_send_event):
29904           Half hack, half utility: set a pipeline to PAUSED for seek events,
29905           since that is the only way we can guarantee a/v sync. Means that
29906           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29907           and it "just works".
29908
29909 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29910
29911         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29912           Lock/unlock mismatch.
29913
29914 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29915
29916         * docs/faq/gst-uninstalled:
29917           add gst-plugins-base
29918         * docs/gst/Makefile.am:
29919           don't error out until docs are fixed
29920         * docs/gst/gstreamer.types:
29921           remove thread
29922
29923 2005-03-22  Wim Taymans  <wim@fluendo.com>
29924
29925         * check/Makefile.am:
29926         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29927         * gst/gststructure.c: (gst_structure_set_valist),
29928         (gst_structure_copy_conditional):
29929         Activated more tests.
29930         Added message test.
29931         Added G_TYPE_POINTER to GstStructure.
29932         
29933
29934 2005-03-22  Wim Taymans  <wim@fluendo.com>
29935
29936         * docs/design/part-TODO.txt:
29937         * docs/design/part-events.txt:
29938         * docs/design/part-gstbin.txt:
29939         * docs/design/part-gstbus.txt:
29940         * docs/design/part-gstpipeline.txt:
29941         * docs/design/part-messages.txt:
29942         * gst/gstbus.c:
29943         * gst/gstmessage.c:
29944         Docs updates
29945
29946 2005-03-21  Wim Taymans  <wim@fluendo.com>
29947
29948         * gst/gstbus.c: (gst_bus_post):
29949         Fix copy-and-paste error.
29950
29951 2005-03-21  Wim Taymans  <wim@fluendo.com>
29952
29953         * check/Makefile.am:
29954         * gst/Makefile.am:
29955         * gst/elements/Makefile.am:
29956         * gst/elements/gstelements.c:
29957         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29958         (gst_fakesink_event), (gst_fakesink_chain):
29959         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29960         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29961         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29962         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29963         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29964         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29965         (gst_fakesrc_loop), (gst_fakesrc_activate),
29966         (gst_fakesrc_change_state):
29967         * gst/elements/gstfakesrc.h:
29968         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29969         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29970         (gst_filesrc_open_file), (gst_filesrc_loop),
29971         (gst_filesrc_activate), (gst_filesrc_change_state),
29972         (filesrc_find_peek), (filesrc_find_suggest),
29973         (gst_filesrc_type_find):
29974         * gst/elements/gstidentity.c: (gst_identity_finalize),
29975         (gst_identity_class_init), (gst_identity_init),
29976         (gst_identity_proxy_getcaps), (identity_queue_push),
29977         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29978         (gst_identity_getrange), (gst_identity_chain),
29979         (gst_identity_sink_loop), (gst_identity_src_loop),
29980         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29981         (gst_identity_set_property), (gst_identity_get_property),
29982         (gst_identity_change_state):
29983         * gst/elements/gstidentity.h:
29984         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29985         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29986         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29987         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29988         (gst_tee_sink_activate):
29989         * gst/elements/gsttee.h:
29990         * gst/gst.c: (gst_register_core_elements), (init_post):
29991         * gst/gst.h:
29992         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29993         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29994         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29995         (gst_bin_change_state):
29996         * gst/gstbin.h:
29997         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29998         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29999         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
30000         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
30001         (gst_bus_set_sync_handler), (gst_bus_create_watch),
30002         (bus_watch_callback), (bus_watch_destroy),
30003         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
30004         (poll_timeout), (gst_bus_poll):
30005         * gst/gstbus.h:
30006         * gst/gstcaps.h:
30007         * gst/gstdata.h:
30008         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30009         (gst_element_post_message), (gst_element_message_full),
30010         (gst_element_get_state_func), (gst_element_get_state),
30011         (gst_element_abort_state), (gst_element_commit_state),
30012         (gst_element_lost_state), (gst_element_set_state),
30013         (gst_element_pads_activate), (gst_element_change_state),
30014         (gst_element_dispose), (gst_element_set_manager_func),
30015         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
30016         (gst_element_set_manager), (gst_element_get_manager),
30017         (gst_element_set_bus), (gst_element_get_bus),
30018         (gst_element_set_scheduler), (gst_element_get_scheduler):
30019         * gst/gstelement.h:
30020         * gst/gstevent.c: (gst_event_new_segment_seek),
30021         (gst_event_new_flush):
30022         * gst/gstevent.h:
30023         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
30024         (_gst_message_free), (gst_message_get_type), (gst_message_new),
30025         (gst_message_new_eos), (gst_message_new_error),
30026         (gst_message_new_warning), (gst_message_new_tag),
30027         (gst_message_new_state_changed), (gst_message_new_application),
30028         (gst_message_get_structure), (gst_message_parse_tag),
30029         (gst_message_parse_state_changed), (gst_message_parse_error),
30030         (gst_message_parse_warning):
30031         * gst/gstmessage.h:
30032         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
30033         (gst_real_pad_set_property), (gst_pad_set_active),
30034         (gst_pad_is_active), (gst_pad_set_blocked_async),
30035         (gst_pad_set_blocked), (gst_pad_is_blocked),
30036         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
30037         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
30038         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
30039         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
30040         (gst_pad_link_filtered), (gst_pad_relink_filtered),
30041         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
30042         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
30043         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
30044         (gst_pad_set_caps), (gst_pad_configure_sink),
30045         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
30046         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
30047         (gst_real_pad_dispose), (gst_real_pad_finalize),
30048         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
30049         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30050         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
30051         * gst/gstpad.h:
30052         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
30053         (pipeline_bus_handler), (gst_pipeline_change_state),
30054         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
30055         * gst/gstpipeline.h:
30056         * gst/gstprobe.h:
30057         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
30058         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
30059         (gst_queue_link_src), (gst_queue_bufferalloc),
30060         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
30061         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
30062         (gst_queue_loop), (gst_queue_handle_src_event),
30063         (gst_queue_handle_src_query), (gst_queue_src_activate),
30064         (gst_queue_change_state):
30065         * gst/gstqueue.h:
30066         * gst/gstscheduler.c: (gst_scheduler_init),
30067         (gst_scheduler_dispose), (gst_scheduler_create_task),
30068         (gst_scheduler_factory_create):
30069         * gst/gstscheduler.h:
30070         * gst/gststructure.c: (gst_structure_get_type),
30071         (gst_structure_copy_conditional):
30072         * gst/gststructure.h:
30073         * gst/gsttaginterface.h:
30074         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
30075         (gst_task_init), (gst_task_dispose), (gst_task_create),
30076         (gst_task_get_state), (gst_task_start), (gst_task_stop),
30077         (gst_task_pause):
30078         * gst/gsttask.h:
30079         * gst/gstthread.c:
30080         * gst/gstthread.h:
30081         * gst/gsttypes.h:
30082         * gst/schedulers/Makefile.am:
30083         * gst/schedulers/cothreads_compat.h:
30084         * gst/schedulers/entryscheduler.c:
30085         * gst/schedulers/faircothreads.c:
30086         * gst/schedulers/faircothreads.h:
30087         * gst/schedulers/fairscheduler.c:
30088         * gst/schedulers/gstbasicscheduler.c:
30089         * gst/schedulers/gstoptimalscheduler.c:
30090         * gst/schedulers/gthread-cothreads.h:
30091         * gst/schedulers/threadscheduler.c:
30092         (gst_thread_scheduler_task_get_type),
30093         (gst_thread_scheduler_task_class_init),
30094         (gst_thread_scheduler_task_init),
30095         (gst_thread_scheduler_task_start),
30096         (gst_thread_scheduler_task_stop),
30097         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
30098         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
30099         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
30100         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
30101         (plugin_init):
30102         * libs/gst/Makefile.am:
30103         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
30104         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
30105         (gst_file_pad_parent_set):
30106         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
30107         (gst_dp_event_from_packet):
30108         * tests/complexity.c: (main):
30109         * tests/mass_elements.c: (main):
30110         * testsuite/states/locked.c: (message_received), (main):
30111         * testsuite/states/parent.c: (main):
30112         * tools/gst-inspect.c: (print_element_flag_info),
30113         (print_implementation_info), (print_pad_info):
30114         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
30115         (main):
30116         * tools/gst-md5sum.c: (event_loop), (main):
30117         * tools/gst-typefind.c: (main):
30118         * tools/gst-xmlinspect.c: (print_element_info):
30119         Next big merge.
30120         Added GstBus for mainloop integration.
30121         Added GstMessage for sending notifications on the bus.
30122         Added GstTask as an abstraction for pipeline entry points.
30123         Removed GstThread.
30124         Removed Schedulers.
30125         Simplified GstQueue for multithreaded core.
30126         Made _link threadsafe, removed old capsnego.
30127         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
30128         Added pad blocking functions.
30129         Reworked scheduling functions in GstPad to prepare for
30130         scheduling updates soon.
30131         Moved events out of data stream.
30132         Simplified GstEvent types.
30133         Added return values to push/pull.
30134         Removed clocking from GstElement.
30135         Added prototypes for state change function for next merge.
30136         Removed iterate from bins and state change management.
30137         Fixed some elements, disabled others for now.
30138         Fixed -inspect and -launch.
30139         Added check for GstBus.
30140
30141 2005-03-10  Wim Taymans  <wim@fluendo.com>
30142
30143         * docs/design/part-MT-refcounting.txt:
30144         * docs/design/part-clocks.txt:
30145         * docs/design/part-gstelement.txt:
30146         * docs/design/part-gstobject.txt:
30147         * docs/design/part-standards.txt:
30148         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30149         (gst_bin_remove_func), (gst_bin_remove):
30150         * gst/gstbin.h:
30151         * gst/gstbuffer.c:
30152         * gst/gstcaps.h:
30153         * testsuite/clock/clock1.c: (main):
30154         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
30155         (main):
30156         * testsuite/dlopen/loadgst.c: (do_test):
30157         * testsuite/refcounting/bin.c: (add_remove_test1),
30158         (add_remove_test2), (main):
30159         * testsuite/refcounting/element.c: (main):
30160         * testsuite/refcounting/element_pad.c: (main):
30161         * testsuite/refcounting/pad.c: (main):
30162         * tools/gst-launch.c: (sigint_handler_sighandler):
30163         * tools/gst-typefind.c: (main):
30164         Doc updates.
30165         Added doc about clock.
30166         removed gst_bin_iterate_recurse_up(), marked methods
30167         for removal.
30168         Fix more testsuites.
30169
30170 2005-03-09  Wim Taymans  <wim@fluendo.com>
30171
30172         * gst/gstpad.c: (gst_pad_get_direction),
30173         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
30174         (gst_pad_collect_valist):
30175         * testsuite/bins/interface.c: (main):
30176         * testsuite/caps/audioscale.c: (test_caps):
30177         * testsuite/caps/caps.c: (test1), (test2), (test3):
30178         * testsuite/caps/deserialize.c: (main):
30179         * testsuite/caps/enumcaps.c: (main):
30180         * testsuite/caps/filtercaps.c: (main):
30181         * testsuite/caps/intersect2.c: (main):
30182         * testsuite/caps/random.c: (main):
30183         * testsuite/caps/renegotiate.c: (my_fixate), (main):
30184         * testsuite/caps/sets.c: (check_caps):
30185         * testsuite/caps/simplify.c: (check_caps), (main):
30186         * testsuite/caps/subtract.c: (check_caps):
30187         Fix _pad_get_direction wrt ghostpads.
30188         Fix caps testsuite.
30189
30190 2005-03-09  Wim Taymans  <wim@fluendo.com>
30191
30192         * check/Makefile.am:
30193         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
30194         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
30195         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
30196         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
30197         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
30198         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
30199         (gst_bin_remove), (gst_bin_iterate_recurse_up),
30200         (bin_element_is_sink), (gst_bin_iterate_sinks),
30201         (gst_bin_iterate_all_by_interface):
30202         * gst/gstbin.h:
30203         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
30204         (gst_element_change_state), (gst_element_dispose),
30205         (gst_element_finalize), (gst_element_set_loop_function):
30206         * gst/gstelement.h:
30207         * gst/gstiterator.c: (find_custom_fold_func):
30208         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30209         (gst_pad_collectv), (gst_pad_collect_valist),
30210         (gst_pad_template_new):
30211         * gst/gstpipeline.c: (gst_pipeline_class_init),
30212         (gst_pipeline_dispose), (gst_pipeline_set_property),
30213         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
30214         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
30215         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
30216         * gst/gstutils.h:
30217         * gst/schedulers/entryscheduler.c:
30218         * gst/schedulers/gstbasicscheduler.c:
30219         (gst_basic_scheduler_cothreaded_chain),
30220         (gst_basic_scheduler_chain_add_element):
30221         * testsuite/bins/interface.c: (main):
30222         Added GstBin test.
30223         Added GstSystemClock test.
30224         Implemented clock distribution code in GstBin.
30225         Implemented iterate sinks method for future use.
30226         Rearranged gstelement.h
30227         Fix GstIterator comparison bug.
30228         Moved some code to GstPipeline, mostly clocking related.
30229
30230 2005-03-09  Wim Taymans  <wim@fluendo.com>
30231
30232         * configure.ac:
30233         * gst/gst_private.h:
30234         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30235         (gst_bin_remove_func), (gst_bin_remove),
30236         (gst_bin_get_by_name_recurse_up):
30237         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
30238         (gst_clock_id_compare_func), (gst_clock_id_wait),
30239         (gst_clock_id_wait_async), (gst_clock_init),
30240         (gst_clock_adjust_unlocked), (gst_clock_get_time):
30241         * gst/gstelement.h:
30242         * gst/gstinfo.c: (_gst_debug_init):
30243         * gst/gstobject.h:
30244         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30245         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
30246         * gst/gstpad.h:
30247         Bump version number, we're now 0.9.0
30248         Add future debugging category.
30249         Fix NULL _unref() in _get_by_name_recurse_up
30250         Rearrange gstpad.h.
30251         Update some docs.
30252
30253 2005-03-08  Wim Taymans  <wim@fluendo.com>
30254
30255         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
30256         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
30257         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30258         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
30259         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
30260         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
30261         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
30262         * gst/elements/gstidentity.c: (gst_identity_class_init):
30263         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
30264         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
30265         * gst/elements/gstshaper.c: (gst_shaper_class_init):
30266         * gst/elements/gststatistics.c: (gst_statistics_class_init):
30267         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
30268         (gst_tee_link):
30269         * gst/gstelement.c: (gst_element_class_init),
30270         (gst_element_base_class_init), (gst_element_init),
30271         (gst_element_get_random_pad), (gst_element_wait_state_change),
30272         (gst_element_change_state), (gst_element_dispose),
30273         (gst_element_finalize), (gst_element_set_loop_function):
30274         * gst/gstelement.h:
30275         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
30276         * gst/gstthread.c: (gst_thread_class_init),
30277         (gst_thread_release_children_locks), (gst_thread_change_state):
30278         * gst/schedulers/gstbasicscheduler.c:
30279         (gst_basic_scheduler_loopfunc_wrapper),
30280         (gst_basic_scheduler_chain_wrapper),
30281         (gst_basic_scheduler_src_wrapper),
30282         (gst_basic_scheduler_remove_element):
30283         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30284         Remove threadsafe properties. Fix elements because GObject
30285         complains when installing a property before declaring a
30286         set/get_property handler.
30287         Rearrange gstelement.h file, use STATE macros for state locks.
30288         Free mutexes in the finalize method instead of dispose.
30289
30290 2005-03-08  Wim Taymans  <wim@fluendo.com>
30291
30292         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30293         * gst/gstthread.c: (gst_thread_release_children_locks):
30294         Added parentage check.
30295         Fix build og GstThread again.
30296
30297 2005-03-08  Wim Taymans  <wim@fluendo.com>
30298
30299         * docs/design/part-MT-refcounting.txt:
30300         * docs/design/part-conventions.txt:
30301         * docs/design/part-gstobject.txt:
30302         * docs/design/part-relations.txt:
30303         * docs/design/part-standards.txt:
30304         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30305         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30306         (gst_bin_get_by_name), (gst_bin_get_by_interface),
30307         (gst_bin_iterate_all_by_interface):
30308         * gst/gstbuffer.h:
30309         * gst/gstclock.h:
30310         * gst/gstelement.c: (gst_element_class_init),
30311         (gst_element_change_state), (gst_element_set_loop_function):
30312         * gst/gstelement.h:
30313         * gst/gstiterator.c:
30314         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30315         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30316         (gst_object_dispatch_properties_changed), (gst_object_set_name),
30317         (gst_object_set_parent), (gst_object_unparent),
30318         (gst_object_check_uniqueness):
30319         * gst/gstobject.h:
30320         Docs updates, clean up some headers.
30321
30322 2005-03-07  Wim Taymans  <wim@fluendo.com>
30323
30324         * check/.cvsignore:
30325         * check/Makefile.am:
30326         * check/gst-libs/.cvsignore:
30327         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30328         * check/gst/.cvsignore:
30329         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30330         (START_TEST), (gstbus_suite), (main):
30331         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30332         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30333         (gst_data_suite), (main):
30334         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30335         (add_fold_func), (gstiterator_suite), (main):
30336         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30337         (thread_name_object), (thread_name_object_default),
30338         (gst_object_name_compare), (gst_object_suite), (main):
30339         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30340         (gst_pad_suite), (main):
30341         * check/gstcheck.c: (gst_check_log_message_func),
30342         (gst_check_log_critical_func), (gst_check_init):
30343         * check/gstcheck.h:
30344         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30345         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30346         Added checks.
30347
30348 2005-03-07  Wim Taymans  <wim@fluendo.com>
30349
30350         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30351         (gst_list_iterator_next), (gst_list_iterator_resync),
30352         (gst_list_iterator_free), (gst_iterator_new_list),
30353         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30354         (gst_iterator_free), (gst_iterator_push), (filter_next),
30355         (filter_resync), (filter_uninit), (filter_free),
30356         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30357         (gst_iterator_foreach), (find_custom_fold_func),
30358         (gst_iterator_find_custom):
30359         * gst/gstiterator.h:
30360         Added missing files.
30361
30362 2005-03-07  Wim Taymans  <wim@fluendo.com>
30363
30364         * Makefile.am:
30365         * configure.ac:
30366         * docs/design/part-MT-refcounting.txt:
30367         * docs/design/part-conventions.txt:
30368         * docs/design/part-gstobject.txt:
30369         * docs/design/part-relations.txt:
30370         * examples/mixer/mixer.c: (main):
30371         * examples/thread/thread.c: (eos), (main):
30372         * gst/Makefile.am:
30373         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30374         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30375         (gst_spider_plug_from_srcpad):
30376         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30377         (gst_spider_identity_change_state),
30378         (gst_spider_identity_sink_loop_type_finding):
30379         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30380         * gst/elements/gstidentity.c: (gst_identity_init):
30381         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30382         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30383         * gst/elements/gsttypefindelement.c: (free_entry):
30384         * gst/gst.c:
30385         * gst/gst.h:
30386         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30387         (gst_bin_set_clock_func), (gst_bin_auto_clock),
30388         (gst_bin_set_index), (gst_bin_set_element_sched),
30389         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30390         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30391         (gst_bin_iterate_elements), (iterate_child_recurse),
30392         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30393         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30394         (compare_interface), (gst_bin_get_by_interface),
30395         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30396         * gst/gstbin.h:
30397         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30398         (gst_buffer_default_free), (gst_buffer_default_copy),
30399         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30400         (gst_buffer_create_sub):
30401         * gst/gstbuffer.h:
30402         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30403         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30404         (gst_caps_unref), (gst_static_caps_get),
30405         (gst_caps_remove_and_get_structure), (gst_caps_append),
30406         (gst_caps_append_structure), (gst_caps_remove_structure),
30407         (gst_caps_copy_nth), (gst_caps_set_simple),
30408         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30409         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30410         (gst_caps_structure_intersect_field), (gst_caps_intersect),
30411         (gst_caps_structure_subtract_field), (gst_caps_subtract),
30412         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30413         (gst_caps_structure_figure_out_union),
30414         (gst_caps_switch_structures), (gst_caps_do_simplify),
30415         (gst_caps_replace), (gst_caps_from_string),
30416         (gst_caps_copy_conditional):
30417         * gst/gstcaps.h:
30418         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30419         (_gst_clock_id_free), (gst_clock_id_unref),
30420         (gst_clock_id_compare_func), (gst_clock_id_wait),
30421         (gst_clock_id_wait_async), (gst_clock_class_init),
30422         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30423         (gst_clock_get_time), (gst_clock_set_time_adjust),
30424         (gst_clock_set_property), (gst_clock_get_property):
30425         * gst/gstclock.h:
30426         * gst/gstcompat.h:
30427         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30428         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30429         * gst/gstdata.h:
30430         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30431         (gst_element_requires_clock), (gst_element_provides_clock),
30432         (gst_element_set_clock), (gst_element_clock_wait),
30433         (gst_element_wait), (gst_element_set_time_delay),
30434         (gst_element_is_indexable), (gst_element_add_pad),
30435         (gst_element_add_ghost_pad), (gst_element_remove_pad),
30436         (pad_compare_name), (gst_element_get_static_pad),
30437         (gst_element_request_pad), (gst_element_get_request_pad),
30438         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30439         (gst_element_class_get_pad_template_list),
30440         (gst_element_class_get_pad_template), (gst_element_error_func),
30441         (gst_element_get_random_pad), (gst_element_get_event_masks),
30442         (gst_element_send_event), (gst_element_seek),
30443         (gst_element_get_query_types), (gst_element_query),
30444         (gst_element_get_formats), (gst_element_convert),
30445         (gst_element_is_locked_state), (gst_element_set_locked_state),
30446         (gst_element_sync_state_with_parent), (gst_element_change_state),
30447         (gst_element_finalize), (gst_element_yield),
30448         (gst_element_interrupt), (gst_element_set_scheduler),
30449         (gst_element_get_scheduler), (gst_element_set_loop_function):
30450         * gst/gstelement.h:
30451         * gst/gstevent.h:
30452         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30453         (gst_format_get_by_nick), (gst_format_get_details),
30454         (gst_format_iterate_definitions):
30455         * gst/gstformat.h:
30456         * gst/gstindex.c: (gst_index_gtype_resolver):
30457         * gst/gstinfo.c:
30458         * gst/gstinfo.h:
30459         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30460         (gst_mem_chunk_free):
30461         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30462         (gst_object_ref), (gst_object_unref), (gst_object_sink),
30463         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30464         (gst_object_dispatch_properties_changed),
30465         (gst_object_set_name_default), (gst_object_set_name),
30466         (gst_object_get_name), (gst_object_set_name_prefix),
30467         (gst_object_get_name_prefix), (gst_object_set_parent),
30468         (gst_object_get_parent), (gst_object_unparent),
30469         (gst_object_check_uniqueness), (gst_object_save_thyself),
30470         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30471         (gst_object_set_property), (gst_object_get_property),
30472         (gst_object_get_path_string):
30473         * gst/gstobject.h:
30474         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30475         (gst_real_pad_init), (gst_real_pad_get_property),
30476         (gst_pad_custom_new), (gst_pad_get_direction),
30477         (gst_pad_set_active), (gst_pad_is_active),
30478         (gst_pad_set_event_function), (gst_pad_is_linked),
30479         (gst_pad_link_free), (gst_pad_link_intersect),
30480         (gst_pad_link_fixate), (gst_pad_set_caps),
30481         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30482         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30483         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30484         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30485         (gst_pad_get_caps), (gst_pad_peer_get_caps),
30486         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30487         (gst_pad_realize), (gst_pad_get_allowed_caps),
30488         (gst_real_pad_dispose), (gst_real_pad_finalize),
30489         (gst_pad_collectv), (gst_pad_collect_valist),
30490         (gst_pad_template_dispose), (gst_pad_template_new),
30491         (gst_pad_get_internal_links):
30492         * gst/gstpad.h:
30493         * gst/gstpipeline.c: (gst_pipeline_dispose),
30494         (gst_pipeline_change_state):
30495         * gst/gstpipeline.h:
30496         * gst/gstplugin.c:
30497         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30498         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30499         * gst/gstpluginfeature.h:
30500         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30501         * gst/gstquery.c: (_gst_query_type_initialize),
30502         (gst_query_type_register), (gst_query_type_get_by_nick),
30503         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30504         * gst/gstquery.h:
30505         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30506         * gst/gstscheduler.c: (gst_scheduler_add_element),
30507         (gst_scheduler_factory_create):
30508         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30509         (gst_structure_free), (gst_structure_set_name),
30510         (gst_structure_id_set_value), (gst_structure_set_value),
30511         (gst_structure_set_valist), (gst_structure_remove_field),
30512         (gst_structure_remove_fields),
30513         (gst_structure_remove_fields_valist),
30514         (gst_structure_remove_all_fields), (gst_structure_foreach),
30515         (gst_structure_map_in_place),
30516         (gst_caps_structure_fixate_field_nearest_int),
30517         (gst_caps_structure_fixate_field_nearest_double):
30518         * gst/gststructure.h:
30519         * gst/gstsystemclock.c: (gst_system_clock_class_init),
30520         (gst_system_clock_init), (gst_system_clock_dispose),
30521         (gst_system_clock_async_thread),
30522         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30523         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30524         * gst/gstsystemclock.h:
30525         * gst/gsttag.c: (gst_tag_list_add_value_internal),
30526         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30527         * gst/gsttaginterface.c:
30528         * gst/gstthread.c: (gst_thread_dispose),
30529         (gst_thread_release_children_locks), (gst_thread_change_state),
30530         (gst_thread_main_loop):
30531         * gst/gsttrashstack.h:
30532         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30533         * gst/gsttypes.h:
30534         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30535         (gst_element_request_pad), (gst_element_get_pad_from_template),
30536         (gst_element_request_compatible_pad),
30537         (gst_element_get_compatible_pad_filtered),
30538         (gst_element_get_compatible_pad), (gst_element_state_get_name),
30539         (gst_element_link_pads_filtered), (gst_element_link_filtered),
30540         (gst_element_link_many), (gst_element_link),
30541         (gst_element_link_pads), (gst_element_unlink_pads),
30542         (gst_element_unlink_many), (gst_element_unlink),
30543         (gst_pad_can_link_filtered), (gst_pad_can_link),
30544         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30545         (gst_object_default_error), (gst_bin_add_many),
30546         (gst_bin_remove_many), (gst_element_populate_std_props),
30547         (gst_element_class_install_std_props), (gst_buffer_merge),
30548         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30549         (link_fold_func), (gst_pad_proxy_setcaps):
30550         * gst/gstutils.h:
30551         * gst/gstvalue.c: (gst_value_deserialize_string):
30552         * gst/parse/grammar.y:
30553         * gst/schedulers/gstbasicscheduler.c:
30554         (gst_basic_scheduler_cothreaded_chain),
30555         (gst_basic_scheduler_chain_recursive_add),
30556         (gst_basic_scheduler_pad_link):
30557         * gst/schedulers/gstoptimalscheduler.c:
30558         (get_group_schedule_function),
30559         (gst_opt_scheduler_state_transition),
30560         (gst_opt_scheduler_add_element), (element_get_reachables_func):
30561         * libs/gst/bytestream/bytestream.c:
30562         * libs/gst/dataprotocol/dataprotocol.c:
30563         (gst_dp_header_from_buffer):
30564         * po/nb.po:
30565         * po/ru.po:
30566         * tests/threadstate/threadstate2.c: (eos):
30567         * tools/gst-compprep.c: (main):
30568         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30569         (print_pad_info), (print_children_info):
30570         * tools/gst-launch.c: (idle_func), (main):
30571         * tools/gst-md5sum.c: (idle_func), (main):
30572         * tools/gst-xmlinspect.c: (print_element_info):
30573         First THREADED backport attempt, focusing on adding locks and
30574         making sure the API is threadsafe. Needs more work. More docs
30575         follow this week.
30576
30577 2005-02-24  Andy Wingo  <wingo@pobox.com>
30578
30579         * tests/bench-complexity.scm:
30580         * tests/complexity.gnuplot: New files, good for running complexity
30581         benchmarks.
30582
30583         * tests/Makefile.am:
30584         * tests/complexity.c: New test, sets up N elements, at each level
30585         teeing into M streams per element. Eeeenteresting.
30586
30587         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30588         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30589         running bench-mass_elements.scm.
30590
30591         * tests/bench-mass_elements.scm: New script, runs mass_elements
30592         for various numbers of identities, outputting the results to a
30593         file. Requires guile 1.6. Just for testing.
30594
30595 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30596
30597         * gst/schedulers/fairscheduler.c:
30598           compile with debug disabled
30599
30600 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30601
30602         * configure.ac:
30603           hunting season on 0.9 is now OPEN